Jump to content

Search the Community

Showing results for tags 'cap'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 5 results

  1. On corp ruby (e) bolts have a max hit of 1000, on nex they should have a max hit of 500, but on rune-evo source it hit's like 1500 sometimes? I need to find a way to make the damage cap to 500
  2. I was first searching around Npcs. I couldn't find it and went straight to Rune Wiki, then I got the information of that it's an object. Could anyone help me by giving the object id? I couldn't find it from object list. [img]http://images4.wikia.nocookie.net/__cb20110528160141/runescape/images/2/21/Wildstalker_statue.jpg[/img] [img]http://images3.wikia.nocookie.net/__cb20110525155258/runescape/images/thumb/4/4c/Dhats_wildstalker.jpg/128px-Dhats_wildstalker.jpg[/img]
  3. [COLOR=#800080][SIZE=4][FONT=georgia]Okay.. so I know for a fact that people are going to ask me why I want to do this, so I'll explain that at the end. My question though: I would like to make it so that players can level up past 99 in their skills. I have already removed part of the cap, and now the max level you can reach is 200 in every skill. But there is one issue.. If a player goes over 99, it only shows the first half leveling up, as if the player had used a potion to boost it. Like this: [IMG]http://img805.imageshack.us/img805/4341/15d916871f434a568a8daad.png[/IMG] And when I log out, then back in, the skills start to slowly drain back to 99. Could someone please tell me how to fix this? I would like to make it say: Farming 107/107 Instead of: Farming 107/99 There was a few files that I went into, and changed. They are: player.java, skills.java, and levelup.java. -------- In the levelup.java, I changed the [/FONT][/SIZE][/COLOR] [CODE](level == 120 || level == 99)[/CODE] [COLOR=#800080][SIZE=4][FONT=georgia]to this:[/FONT][/SIZE][/COLOR] [CODE]@Override public void start() { skill = (Integer) parameters[0]; int level = player.getSkills().getLevelForXp(skill); player.getTemporaryAttributtes().put("leveledUp", skill); player.getTemporaryAttributtes().put("leveledUp[" + skill + "]", Boolean.TRUE); player.setNextGraphics(new Graphics(199)); if (level == 200 || level == 200) player.setNextGraphics(new Graphics(1765)); player.getInterfaceManager().sendChatBoxInterface(740); String name = Skills.SKILL_NAME[skill]; player.getPackets().sendIComponentText( 740, 0, "Congratulations, you have just advanced a" + (name.startsWith("A") ? "n" : "") + " " + name + " level!"); player.getPackets().sendIComponentText(740, 1, "You have now reached level " + level + "."); player.getPackets().sendGameMessage( "You've just advanced a" + (name.startsWith("A") ? "n" : "") + " " + name + " level! You have reached level " + level + "."); player.getPackets().sendConfigByFile(4757, getIconValue(skill)); switchFlash(player, skill, true); int musicEffect = SKILL_LEVEL_UP_MUSIC_EFFECTS[skill]; if (musicEffect != -1) player.getPackets().sendMusicEffect(musicEffect); if (level == 200) { sendNews(player, skill, level); } } public static void sendNews(Player player, int skill, int level) { boolean reachedAll = true; for (int i = 0; i < Skills.SKILL_NAME.length; i++) { if (player.getSkills().getLevelForXp(i) < 200) { reachedAll = false; break; } } if(!reachedAll) { World.sendWorldMessage("<img=6><col=ff8c38>News: "+player.getDisplayName()+" has achieved "+level+" "+Skills.SKILL_NAME[skill]+".", false); return; } World.sendWorldMessage("<img=7><col=ff0000>News: "+player.getDisplayName()+" has just achieved at least level 200 in all skills!", false); player.getInventory().addItem(20767, 1); player.getInventory().addItem(20768, 1); }[/CODE] [FONT=georgia][SIZE=4][COLOR=#800080] And in the skills.java, I changed the 120 || 99 thing too. It looks like this now: [/COLOR][/SIZE][/FONT][CODE]} public int getLevelForXp(int skill) { double exp = xp[skill]; int points = 0; int output = 0; for (int lvl = 1; lvl <= (skill == DUNGEONEERING ? 200 : 200); lvl++) { points += Math.floor(lvl + 300.0 * Math.pow(2.0, lvl / 7.0)); output = (int) Math.floor(points / 4); if ((output - 1) >= exp) { return lvl; } } return skill == DUNGEONEERING ? 200 : 200; } public int getTotalLevel(Player player) { int totallevel = 0; for(int i = 0; i <= 24; i++) { totallevel += player.getSkills().getLevelForXp(i); } return totallevel; } public String getTotalXp(Player player) { double totalxp = 0; for(double xp : player.getSkills().getXp()) { totalxp += xp; } NumberFormat formatter = new DecimalFormat("#######"); return formatter.format(totalxp); }[/CODE] [SIZE=4][COLOR=#800080] [FONT=georgia]What am I missing...?[/FONT] [FONT=georgia]I was told by a friend that it could have something to do with adding a mathematical equation into one of those files...? [/FONT] [FONT=georgia]I would greatly appreciate any help that is offered. [/FONT] [FONT=georgia]------ As far as why I would want to do this, [/FONT] [FONT=georgia]Its because usually when players max out at all 99's, they get bored. They tend to quit after that as well. So I thought that I would make it a little more interesting, as well as making the Completionist cape harder to get. You still get Max at 99 though. [/FONT] [FONT=georgia]This would also make PvM'ing a little easier, and PvP'ing would be kind of unique in my server. [/FONT] [FONT=georgia]Again.. any help would be greatly appreciated.[/FONT] [/COLOR][/SIZE]
  4. [code] case 162: if(player.getTemporaryAttribute("buying") == Boolean.TRUE) { amount += 1; } else { amount = 1; } break; case 164: if(player.getTemporaryAttribute("buying") == Boolean.TRUE) { amount += 10; } else { amount = 10; } break; case 166: if(player.getTemporaryAttribute("buying") == Boolean.TRUE) { amount += 100; } else { amount = 100; } break; case 168: if(player.getTemporaryAttribute("buying") == Boolean.TRUE) { amount += 1000; } else { amount = player.getInventory().getContainer().getNumberOff(id); } break; [/code] how would i add a cap to how much you can buy in a ge
  5. Eghhh, thought i found them but all around the ones i found it isnt the one for tier six just tier 1-5
×