What do you mean? Are you using Delta or something different?
|
Hey guys, I have been trying to make the Ring Of Wealth work on my server, but I have no clue of where to edit the codes in this tutorial, any of the codes. Could anyone please help me?
http://www.rune-server.org/runescape...ng-wealth.html
What do you mean? Are you using Delta or something different?
Hello,
So where he says replace "public void rareDrops" you will need to go into client class and "ctrl + f" then search for "public void raredrops" then replace that with the method he has give you, for the next part is located in npchandler.java i believe so again "ctrl + f" then search for if(this.rareDrops(i)) { then replace the "insides of it with,
if(this.rareDrops(c,i)) {
random = Misc.random(((int[][])NPCDrops.rareDrops.get(Integer.valueOf(npcs[i].npcType))).length - 1);
Server.itemHandler.createGroundItem(c, ((int[][])NPCDrops.rareDrops.get(Integer.valueOf(npcs[i].npcType)))[random][0], npcs[i].absX, npcs[i].absY, ((int[][])NPCDrops.rareDrops.get(Integer.valueOf(npcs[i].npcType)))[random][1], c.playerId);
if(c.playerEquipment[c.playerRing] == 2752) {
c.sendMessage("@whi@Your ring of wealth glows brightly");
}
if(c.clanId >= 0) {
Server.clanChat.handleLootShare(c, ((int[][])NPCDrops.rareDrops.get(Integer.valueOf(npcs[i].npcType)))[random][0], ((int[][])NPCDrops.rareDrops.get(Integer.valueOf(npcs[i].npcType)))[random][1]);
}
}
None of them are located in those files, and im using PI. Anyone else want to give it a try please?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |