Jump to content

Search the Community

Showing results for tags 'pouch'.



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 24 results

  1. Hi! i wonder if anyone knows how i can make myself able to buy stuff from stores using the money pouch? :D i also wonder if someone knows how i can move the teleport panel from the notes, to the quest tab? :D
  2. Alright, well I started working on my client today and everything was going smooth added coin pouch came with no errors so I was getting ready to move on to the next thing however I decided to log on and check what it looks like and if it needs any modifications but when I logged in I didn't have a coin pouch, or so I thought apparently everything is added but the sprite isn't visible in the client+ it doesn't open up the interface to see what would be in the money pouch anyone know what I could of possibly done wrong that the sprite isn't showing up nor does it open up the interface? [url]http://prntscr.com/1dqyvx[/url] <--- Proof the coin pouch is there
  3. devinb

    Money Pouch

    Hi, My money pouch seems to have a bit of an issue not sure why it does this or the cause but, I can put money into it but when I try to take money out it stays in there and I just disconnect.. need help with this please. Okay sorry I didn't realize I could take the money out in a different way... its only when I do 100m ill lag but if I did 100,000000 it takes it out.
  4. Beastly14

    Money Pouch

    Does anyone know how to make it so when you buy something it automatically comes out of the pouch.
  5. I'm not sure how on earth this money pouch is giving people max cash, but they've told me it's giving them max cash and I have checked their bank and seen max cash. Other than that, the money pouch is defected and not working properly. And I can't figure out why. Here's my InventoryOptionsHandler.java: [code]package com.rs.net.decoders.handlers; //import com.rs.game.player.ClueScrolls; import java.util.List; import com.rs.game.player.content.TreasureTrails; import com.rs.Settings; import com.rs.cores.WorldThread; import com.rs.game.Animation; import com.rs.game.Graphics; import com.rs.game.World; import com.rs.game.WorldTile; import com.rs.game.item.Item; import com.rs.game.minigames.CrystalChest; import com.rs.game.minigames.RandomEventGift; import com.rs.game.npc.NPC; import com.rs.game.npc.familiar.Familiar.SpecialAttack; import com.rs.game.npc.pet.Pet; import com.rs.game.player.ClueScrolls; import com.rs.game.player.CoordsEvent; import com.rs.game.player.Equipment; import com.rs.game.player.Inventory; import com.rs.game.player.Player; import com.rs.game.player.Skills; import com.rs.game.player.content.LividFarm; import com.rs.game.player.actions.BoxAction; import com.rs.game.player.actions.BoxAction.HunterEquipment; import com.rs.game.player.actions.Firemaking; import com.rs.game.player.actions.Fletching; import com.rs.game.player.actions.Fletching.Fletch; import com.rs.game.player.actions.GemCutting; import com.rs.game.player.actions.GemCutting.Gem; import com.rs.game.player.actions.HerbCleaning; import com.rs.game.player.actions.Herblore; import com.rs.game.player.actions.LeatherCrafting; import com.rs.game.player.actions.Summoning; import com.rs.game.player.actions.Summoning.Pouches; import com.rs.game.player.content.AncientEffigies; import com.rs.game.player.content.ArmourSets; import com.rs.game.player.content.ArmourSets.Sets; import com.rs.game.player.content.Burying.Bone; import com.rs.game.player.content.Dicing; import com.rs.game.player.content.Foods; import com.rs.game.player.content.Magic; import com.rs.game.player.content.Pots; import com.rs.game.player.content.Runecrafting; import com.rs.game.player.content.SkillCapeCustomizer; import com.rs.game.player.controlers.Barrows; import com.rs.game.player.controlers.FightKiln; import com.rs.game.tasks.WorldTask; import com.rs.game.tasks.WorldTasksManager; import com.rs.io.InputStream; import com.rs.utils.Logger; import com.rs.utils.Utils; public class InventoryOptionsHandler { public static void handleItemOption2(final Player player, final int slotId, final int itemId, Item item) { if (Firemaking.isFiremaking(player, itemId)) return; if (itemId >= 5509 && itemId <= 5514) { int pouch = -1; if (itemId == 5509) pouch = 0; if (itemId == 5510) pouch = 1; if (itemId == 5512) pouch = 2; if (itemId == 5514) pouch = 3; Runecrafting.emptyPouch(player, pouch); player.stopAll(false); } else if (itemId >= 15086 && itemId <= 15100) { Dicing.handleRoll(player, itemId, true); return; } else { if (player.isEquipDisabled()) return; long passedTime = Utils.currentTimeMillis() - WorldThread.LAST_CYCLE_CTM; WorldTasksManager.schedule(new WorldTask() { [MENTION=15855]Over[/MENTION]ride public void run() { List<Integer> slots = player.getSwitchItemCache(); int[] slot = new int[slots.size()]; for (int i = 0; i < slot.length; i++) slot[i] = slots.get(i); player.getSwitchItemCache().clear(); ButtonHandler.sendWear(player, slot); player.stopAll(false, true, false); } }, passedTime >= 600 ? 0 : passedTime > 330 ? 1 : 0); if (player.getSwitchItemCache().contains(slotId)) return; player.getSwitchItemCache().add(slotId); } } public static void dig(final Player player) { player.resetWalkSteps(); player.setNextAnimation(new Animation(830)); player.lock(); WorldTasksManager.schedule(new WorldTask() { [MENTION=15855]Over[/MENTION]ride public void run() { player.unlock(); if (Barrows.digIntoGrave(player)) return; if(player.getX() == 3005 && player.getY() == 3376 || player.getX() == 2999 && player.getY() == 3375 || player.getX() == 2996 && player.getY() == 3377 || player.getX() == 2989 && player.getY() == 3378 || player.getX() == 2987 && player.getY() == 3387 || player.getX() == 2984 && player.getY() == 3387) { //mole player.setNextWorldTile(new WorldTile(1752, 5137, 0)); player.getPackets().sendGameMessage("You seem to have dropped down into a network of mole tunnels."); return; } if (ClueScrolls.digSpot(player)){ return; } player.getPackets().sendGameMessage("You find nothing."); } }); } public static void handleItemOption1(Player player, final int slotId, final int itemId, Item item) { long time = Utils.currentTimeMillis(); if (player.getLockDelay() >= time || player.getEmotesManager().getNextEmoteEnd() >= time) return; player.stopAll(false); if (Foods.eat(player, item, slotId)) return; if (itemId >= 15086 && itemId <= 15100) { Dicing.handleRoll(player, itemId, false); return; } if (itemId == 6) //Cannon player.getDwarfCannon().checkLocation(); if (itemId == 20494) {//Gold Cannon if (player.isDonator()) { player.getDwarfCannon().checkGoldLocation(); } else { player.sm("You must be an Extreme Donator to set up a Royal Cannon."); } } if (itemId == 20498) {//Royal Cannon if (player.isExtremeDonator()) { player.getDwarfCannon().checkRoyalLocation(); } else { player.sm("You must be an Extreme Donator to set up a Royal Cannon."); } } if (itemId == 20667) { Magic.VecnaSkull(player); } if (Pots.pot(player, item, slotId)) return; if (itemId == 2677) { TreasureTrails.handleClues(player); } if (itemId == 2678) { TreasureTrails.handleClues1(player); } if (itemId == 2679) { TreasureTrails.handleClues2(player); } if (itemId >= 5509 && itemId <= 5514) { int pouch = -1; if (itemId == 5509) pouch = 0; if (itemId == 5510) pouch = 1; if (itemId == 5512) pouch = 2; if (itemId == 5514) pouch = 3; Runecrafting.fillPouch(player, pouch); return; } if (itemId == 22370) { Summoning.openDreadnipInterface(player); } if (itemId == 6950) { player.getDialogueManager().startDialogue("LividOrb"); } if (itemId == 20704) { LividFarm.bunchPlants(player); } if (itemId == 10846) { player.getDialogueManager().startDialogue("PrizeOptions"); } if (itemId == 10847) { player.getDialogueManager().startDialogue("PrizeOptions"); } if (itemId == 10845) { player.getDialogueManager().startDialogue("PrizeOptions"); } if (itemId == 10844) { player.getDialogueManager().startDialogue("PrizeOptions"); } if (itemId == 2689) { player.getDialogueManager().startDialogue("ExtremeDonatorPanel"); } if (itemId == 952) {// spade dig(player); return; } for (int i: ClueScrolls.ScrollIds){ if (itemId == i){ if (ClueScrolls.Scrolls.getMap(itemId) != null){ ClueScrolls.showMap(player, ClueScrolls.Scrolls.getMap(itemId)); return; } if (ClueScrolls.Scrolls.getObjMap(itemId) != null){ ClueScrolls.showObjectMap(player, ClueScrolls.Scrolls.getObjMap(itemId)); return; } if (ClueScrolls.Scrolls.getRiddles(itemId) != null){ ClueScrolls.showRiddle(player, ClueScrolls.Scrolls.getRiddles(itemId)); return; } } } if (itemId == 2717){ ClueScrolls.giveReward(player); } if (HerbCleaning.clean(player, item, slotId)) return; Bone bone = Bone.forId(itemId); if (bone != null) { Bone.bury(player, slotId); return; } if (Magic.useTabTeleport(player, itemId)) return; if (itemId == AncientEffigies.SATED_ANCIENT_EFFIGY || itemId == AncientEffigies.GORGED_ANCIENT_EFFIGY || itemId == AncientEffigies.NOURISHED_ANCIENT_EFFIGY || itemId == AncientEffigies.STARVED_ANCIENT_EFFIGY) player.getDialogueManager().startDialogue("AncientEffigiesD", itemId); else if (itemId == 4155) player.getDialogueManager().startDialogue("EnchantedGemDialouge"); else if (itemId == 611) player.getLocationCrystal().handleClick(); else if (itemId == 6183) RandomEventGift.openGift(player); else if (itemId == 23749) { player.getSkills().addXp(Skills.DUNGEONEERING, 20); player.getInventory().deleteItem(23749, 1); } else if (itemId == 23750) { player.getSkills().addXp(Skills.DUNGEONEERING, 125); player.getInventory().deleteItem(23750, 1); } else if (itemId == 24155) { // Double Spin ticket player.getPackets().sendGameMessage("You opened your spin ticket and got two spins."); player.setSpins(player.getSpins() + 2); player.getPackets().sendIComponentText(1139, 10, " "+ player.getSpins() +" "); player.getInventory().deleteItem(24155, 1); } else if (itemId == 24154) { // Spin ticket player.getPackets().sendGameMessage("You opened your spin ticket and got one spin."); player.setSpins(player.getSpins() + 1); player.getPackets().sendIComponentText(1139, 10, " "+ player.getSpins() +" "); player.getInventory().deleteItem(24154, 1); } else if (itemId == 23717) { player.getSkills().addXp(Skills.ATTACK, 2500); player.getInventory().deleteItem(23717, 1); } else if (itemId == 23721) { player.getSkills().addXp(Skills.STRENGTH, 2500); player.getInventory().deleteItem(23721, 1); } else if (itemId == 23725) { player.getSkills().addXp(Skills.DEFENCE, 2500); player.getInventory().deleteItem(23725, 1); } else if (itemId == 23729) { player.getSkills().addXp(Skills.RANGE, 2500); player.getInventory().deleteItem(23729, 1); } else if (itemId == 23733) { player.getSkills().addXp(Skills.MAGIC, 2500); player.getInventory().deleteItem(23733, 1); } else if (itemId == 23737) { player.getSkills().addXp(Skills.PRAYER, 2500); player.getInventory().deleteItem(23737, 1); } else if (itemId == 23741) { player.getSkills().addXp(Skills.RUNECRAFTING, 2500); player.getInventory().deleteItem(23741, 1); } else if (itemId == 23745) { player.getSkills().addXp(Skills.CONSTRUCTION, 2500); player.getInventory().deleteItem(23745, 1); } else if (itemId == 23749) { player.getSkills().addXp(Skills.DUNGEONEERING, 2500); player.getInventory().deleteItem(23749, 1); } else if (itemId == 23753) { player.getSkills().addXp(Skills.HITPOINTS, 2500); player.getInventory().deleteItem(23753, 1); } else if (itemId == 23757) { player.getSkills().addXp(Skills.AGILITY, 2500); player.getInventory().deleteItem(23757, 1); } else if (itemId == 23761) { player.getSkills().addXp(Skills.HERBLORE, 2500); player.getInventory().deleteItem(23761, 1); } else if (itemId == 23765) { player.getSkills().addXp(Skills.THIEVING, 2500); player.getInventory().deleteItem(23765, 1); } else if (itemId == 23769) { player.getSkills().addXp(Skills.CRAFTING, 2500); player.getInventory().deleteItem(23769, 1); } else if (itemId == 23774) { player.getSkills().addXp(Skills.FLETCHING, 2500); player.getInventory().deleteItem(23774, 1); } else if (itemId == 23778) { player.getSkills().addXp(Skills.SLAYER, 2500); player.getInventory().deleteItem(23778, 1); } else if (itemId == 23782) { player.getSkills().addXp(Skills.HUNTER, 2500); player.getInventory().deleteItem(23782, 1); } else if (itemId == 23786) { player.getSkills().addXp(Skills.MINING, 2500); player.getInventory().deleteItem(23786, 1); } else if (itemId == 23790) { player.getSkills().addXp(Skills.SMITHING, 2500); player.getInventory().deleteItem(23790, 1); } else if (itemId == 23794) { player.getSkills().addXp(Skills.FISHING, 2500); player.getInventory().deleteItem(23794, 1); } else if (itemId == 23798) { player.getSkills().addXp(Skills.COOKING, 2500); player.getInventory().deleteItem(23798, 1); } else if (itemId == 23802) { player.getSkills().addXp(Skills.FIREMAKING, 2500); player.getInventory().deleteItem(23802, 1); } else if (itemId == 23806) { player.getSkills().addXp(Skills.WOODCUTTING, 2500); player.getInventory().deleteItem(23806, 1); } else if (itemId == 23810) { player.getSkills().addXp(Skills.FARMING, 2500); player.getInventory().deleteItem(23810, 1); } else if (itemId == 23814) { player.getSkills().addXp(Skills.SUMMONING, 2500); player.getInventory().deleteItem(23814, 1); } else if (itemId == 23718) { player.getSkills().addXp(Skills.ATTACK, 5000); player.getInventory().deleteItem(23718, 1); } else if (itemId == 23722) { player.getSkills().addXp(Skills.STRENGTH, 5000); player.getInventory().deleteItem(23722, 1); } else if (itemId == 23726) { player.getSkills().addXp(Skills.DEFENCE, 5000); player.getInventory().deleteItem(23726, 1); } else if (itemId == 23730) { player.getSkills().addXp(Skills.RANGE, 5000); player.getInventory().deleteItem(23730, 1); } else if (itemId == 23734) { player.getSkills().addXp(Skills.MAGIC, 5000); player.getInventory().deleteItem(23734, 1); } else if (itemId == 23738) { player.getSkills().addXp(Skills.PRAYER, 5000); player.getInventory().deleteItem(23738, 1); } else if (itemId == 23742) { player.getSkills().addXp(Skills.RUNECRAFTING, 5000); player.getInventory().deleteItem(23742, 1); } else if (itemId == 23746) { player.getSkills().addXp(Skills.CONSTRUCTION, 5000); player.getInventory().deleteItem(23746, 1); } else if (itemId == 23750) { player.getSkills().addXp(Skills.DUNGEONEERING, 5000); player.getInventory().deleteItem(23750, 1); } else if (itemId == 23754) { player.getSkills().addXp(Skills.HITPOINTS, 5000); player.getInventory().deleteItem(23754, 1); } else if (itemId == 23758) { player.getSkills().addXp(Skills.AGILITY, 5000); player.getInventory().deleteItem(23758, 1); } else if (itemId == 23762) { player.getSkills().addXp(Skills.HERBLORE, 5000); player.getInventory().deleteItem(23762, 1); } else if (itemId == 23766) { player.getSkills().addXp(Skills.THIEVING, 5000); player.getInventory().deleteItem(23766, 1); } else if (itemId == 23770) { player.getSkills().addXp(Skills.CRAFTING, 5000); player.getInventory().deleteItem(23770, 1); } else if (itemId == 23775) { player.getSkills().addXp(Skills.FLETCHING, 5000); player.getInventory().deleteItem(23775, 1); } else if (itemId == 23779) { player.getSkills().addXp(Skills.SLAYER, 5000); player.getInventory().deleteItem(23779, 1); } else if (itemId == 23783) { player.getSkills().addXp(Skills.HUNTER, 5000); player.getInventory().deleteItem(23783, 1); } else if (itemId == 23787) { player.getSkills().addXp(Skills.MINING, 5000); player.getInventory().deleteItem(23787, 1); } else if (itemId == 23791) { player.getSkills().addXp(Skills.SMITHING, 5000); player.getInventory().deleteItem(23791, 1); } else if (itemId == 23795) { player.getSkills().addXp(Skills.FISHING, 5000); player.getInventory().deleteItem(23795, 1); } else if (itemId == 23799) { player.getSkills().addXp(Skills.COOKING, 5000); player.getInventory().deleteItem(23799, 1); } else if (itemId == 23803) { player.getSkills().addXp(Skills.FIREMAKING, 5000); player.getInventory().deleteItem(23803, 1); } else if (itemId == 23807) { player.getSkills().addXp(Skills.WOODCUTTING, 5000); player.getInventory().deleteItem(23807, 1); } else if (itemId == 23811) { player.getSkills().addXp(Skills.FARMING, 5000); player.getInventory().deleteItem(23811, 1); } else if (itemId == 23815) { player.getSkills().addXp(Skills.SUMMONING, 5000); player.getInventory().deleteItem(23815, 1); } else if (itemId == 23719) { player.getSkills().addXp(Skills.ATTACK, 7500); player.getInventory().deleteItem(23719, 1); } else if (itemId == 23723) { player.getSkills().addXp(Skills.STRENGTH, 7500); player.getInventory().deleteItem(23723, 1); } else if (itemId == 23727) { player.getSkills().addXp(Skills.DEFENCE, 7500); player.getInventory().deleteItem(23727, 1); } else if (itemId == 23731) { player.getSkills().addXp(Skills.RANGE, 7500); player.getInventory().deleteItem(23731, 1); } else if (itemId == 23735) { player.getSkills().addXp(Skills.MAGIC, 7500); player.getInventory().deleteItem(23735, 1); } else if (itemId == 23739) { player.getSkills().addXp(Skills.PRAYER, 7500); player.getInventory().deleteItem(23739, 1); } else if (itemId == 23743) { player.getSkills().addXp(Skills.RUNECRAFTING, 7500); player.getInventory().deleteItem(23743, 1); } else if (itemId == 23747) { player.getSkills().addXp(Skills.CONSTRUCTION, 7500); player.getInventory().deleteItem(23747, 1); } else if (itemId == 23751) { player.getSkills().addXp(Skills.DUNGEONEERING, 7500); player.getInventory().deleteItem(23751, 1); } else if (itemId == 23755) { player.getSkills().addXp(Skills.HITPOINTS, 7500); player.getInventory().deleteItem(23755, 1); } else if (itemId == 23759) { player.getSkills().addXp(Skills.AGILITY, 7500); player.getInventory().deleteItem(23759, 1); } else if (itemId == 23763) { player.getSkills().addXp(Skills.HERBLORE, 7500); player.getInventory().deleteItem(23763, 1); } else if (itemId == 23767) { player.getSkills().addXp(Skills.THIEVING, 7500); player.getInventory().deleteItem(23767, 1); } else if (itemId == 23771) { player.getSkills().addXp(Skills.CRAFTING, 7500); player.getInventory().deleteItem(23771, 1); } else if (itemId == 23776) { player.getSkills().addXp(Skills.FLETCHING, 7500); player.getInventory().deleteItem(23776, 1); } else if (itemId == 23780) { player.getSkills().addXp(Skills.SLAYER, 7500); player.getInventory().deleteItem(23780, 1); } else if (itemId == 23784) { player.getSkills().addXp(Skills.HUNTER, 7500); player.getInventory().deleteItem(23784, 1); } else if (itemId == 23788) { player.getSkills().addXp(Skills.MINING, 7500); player.getInventory().deleteItem(23788, 1); } else if (itemId == 23792) { player.getSkills().addXp(Skills.SMITHING, 7500); player.getInventory().deleteItem(23792, 1); } else if (itemId == 23796) { player.getSkills().addXp(Skills.FISHING, 7500); player.getInventory().deleteItem(23796, 1); } else if (itemId == 23800) { player.getSkills().addXp(Skills.COOKING, 7500); player.getInventory().deleteItem(23800, 1); } else if (itemId == 23804) { player.getSkills().addXp(Skills.FIREMAKING, 7500); player.getInventory().deleteItem(23804, 1); } else if (itemId == 23808) { player.getSkills().addXp(Skills.WOODCUTTING, 7500); player.getInventory().deleteItem(23808, 1); } else if (itemId == 23812) { player.getSkills().addXp(Skills.FARMING, 7500); player.getInventory().deleteItem(23812, 1); } else if (itemId == 23816) { player.getSkills().addXp(Skills.SUMMONING, 7500); player.getInventory().deleteItem(23816, 1); } else if (itemId == 23720) { player.getSkills().addXp(Skills.ATTACK, 10000); player.getInventory().deleteItem(23720, 1); } else if (itemId == 23724) { player.getSkills().addXp(Skills.STRENGTH, 10000); player.getInventory().deleteItem(23724, 1); } else if (itemId == 23728) { player.getSkills().addXp(Skills.DEFENCE, 10000); player.getInventory().deleteItem(23728, 1); } else if (itemId == 23732) { player.getSkills().addXp(Skills.RANGE, 10000); player.getInventory().deleteItem(23732, 1); } else if (itemId == 23736) { player.getSkills().addXp(Skills.MAGIC, 10000); player.getInventory().deleteItem(23736, 1); } else if (itemId == 23740) { player.getSkills().addXp(Skills.PRAYER, 10000); player.getInventory().deleteItem(23740, 1); } else if (itemId == 23744) { player.getSkills().addXp(Skills.RUNECRAFTING, 10000); player.getInventory().deleteItem(23744, 1); } else if (itemId == 23748) { player.getSkills().addXp(Skills.CONSTRUCTION, 10000); player.getInventory().deleteItem(23748, 1); } else if (itemId == 23752) { player.getSkills().addXp(Skills.DUNGEONEERING, 10000); player.getInventory().deleteItem(23752, 1); } else if (itemId == 23756) { player.getSkills().addXp(Skills.HITPOINTS, 10000); player.getInventory().deleteItem(23756, 1); } else if (itemId == 23760) { player.getSkills().addXp(Skills.AGILITY, 10000); player.getInventory().deleteItem(23760, 1); } else if (itemId == 23764) { player.getSkills().addXp(Skills.HERBLORE, 10000); player.getInventory().deleteItem(23764, 1); } else if (itemId == 23768) { player.getSkills().addXp(Skills.THIEVING, 10000); player.getInventory().deleteItem(23768, 1); } else if (itemId == 23772) { player.getSkills().addXp(Skills.CRAFTING, 10000); player.getInventory().deleteItem(23772, 1); } else if (itemId == 23777) { player.getSkills().addXp(Skills.FLETCHING, 10000); player.getInventory().deleteItem(23777, 1); } else if (itemId == 23781) { player.getSkills().addXp(Skills.SLAYER, 10000); player.getInventory().deleteItem(23781, 1); } else if (itemId == 23785) { player.getSkills().addXp(Skills.HUNTER, 10000); player.getInventory().deleteItem(23785, 1); } else if (itemId == 23789) { player.getSkills().addXp(Skills.MINING, 10000); player.getInventory().deleteItem(23789, 1); } else if (itemId == 23793) { player.getSkills().addXp(Skills.SMITHING, 10000); player.getInventory().deleteItem(23793, 1); } else if (itemId == 23797) { player.getSkills().addXp(Skills.FISHING, 10000); player.getInventory().deleteItem(23797, 1); } else if (itemId == 23801) { player.getSkills().addXp(Skills.COOKING, 10000); player.getInventory().deleteItem(23801, 1); } else if (itemId == 23805) { player.getSkills().addXp(Skills.FIREMAKING, 10000); player.getInventory().deleteItem(23805, 1); } else if (itemId == 23809) { player.getSkills().addXp(Skills.WOODCUTTING, 10000); player.getInventory().deleteItem(23809, 1); } else if (itemId == 23813) { player.getSkills().addXp(Skills.FARMING, 10000); player.getInventory().deleteItem(23813, 1); } else if (itemId == 23817) { player.getSkills().addXp(Skills.SUMMONING, 10000); player.getInventory().deleteItem(23817, 1); } else if (itemId == 24300) { player.getSkills().addXp(Skills.ATTACK, 2000000); player.getSkills().addXp(Skills.STRENGTH, 2000000); player.getSkills().addXp(Skills.DEFENCE, 200000); player.getSkills().addXp(Skills.RANGE, 200000); player.getSkills().addXp(Skills.MAGIC, 200000); player.getSkills().addXp(Skills.PRAYER, 200000); player.getSkills().addXp(Skills.RUNECRAFTING, 200000); player.getSkills().addXp(Skills.CONSTRUCTION, 200000); player.getSkills().addXp(Skills.DUNGEONEERING, 200000); player.getSkills().addXp(Skills.HITPOINTS, 200000); player.getSkills().addXp(Skills.AGILITY, 200000); player.getSkills().addXp(Skills.HERBLORE, 200000); player.getSkills().addXp(Skills.THIEVING, 200000); player.getSkills().addXp(Skills.CRAFTING, 200000); player.getSkills().addXp(Skills.FLETCHING, 200000); player.getSkills().addXp(Skills.SLAYER, 200000); player.getSkills().addXp(Skills.HUNTER, 200000); player.getSkills().addXp(Skills.MINING, 200000); player.getSkills().addXp(Skills.SMITHING, 200000); player.getSkills().addXp(Skills.FISHING, 200000); player.getSkills().addXp(Skills.COOKING, 200000); player.getSkills().addXp(Skills.FIREMAKING, 200000); player.getSkills().addXp(Skills.WOODCUTTING, 200000); player.getSkills().addXp(Skills.FARMING, 200000); player.getSkills().addXp(Skills.SUMMONING, 200000); player.getInventory().deleteItem(24300, 1); } else if (itemId >= 23653 && itemId <= 23658) FightKiln.useCrystal(player, itemId); else if (itemId == 7681) {// Information Book player.getInterfaceManager().sendInterface(275); for (int i = 0; i < 100; i++) { player.getPackets().sendIComponentText(275, i, ""); }player.getPackets().sendIComponentText(275, 1, Settings.SERVER_NAME+" Quest Information!"); player.getPackets().sendIComponentText(275, 10, "What Are Quests?"); player.getPackets().sendIComponentText(275, 11, "___________"); player.getPackets().sendIComponentText(275, 12, "Quests are Adventures you can go on,"); player.getPackets().sendIComponentText(275, 13, "and when completed you can earn, special"); player.getPackets().sendIComponentText(275, 14, "items or even gold. Some are easy some are"); player.getPackets().sendIComponentText(275, 15, "hard. We want our players to always have fun, if"); player.getPackets().sendIComponentText(275, 16, "you need any help on a quest refer to the quest guide"); player.getPackets().sendIComponentText(275, 17, "for a book that will help you complete the quest available!"); player.getPackets().sendIComponentText(275, 18, "___________"); player.getPackets().sendIComponentText(275, 19, "Quests Available"); player.getPackets().sendIComponentText(275, 20, "___________"); player.getPackets().sendIComponentText(275, 21, "Meet me in the sky"); player.getPackets().sendIComponentText(275, 22, "-_-_-_-_-_-_-_-"); player.getPackets().sendIComponentText(275, 23, "Dragon Killer"); player.getPackets().sendIComponentText(275, 24, "-_-_-_-_-_-_-_-"); player.getPackets().sendIComponentText(275, 25, "Kill the Robber"); player.getPackets().sendIComponentText(275, 26, "-_-_-_-_-_-_-_-"); player.getPackets().sendIComponentText(275, 27, "Get the Meat Pie"); player.getPackets().sendIComponentText(275, 28, "-_-_-_-_-_-_-_-"); player.getPackets().sendIComponentText(275, 29, "Demons are here"); player.getPackets().sendIComponentText(275, 30, "-_-_-_-_-_-_-_-"); player.getPackets().sendIComponentText(275, 31, "Kalphite Gold"); player.getPackets().sendIComponentText(275, 32, "-_-_-_-_-_-_-_-"); player.getPackets().sendIComponentText(275, 33, "StarWars"); player.getPackets().sendIComponentText(275, 34, "-_-_-_-_-_-_-_-"); player.getPackets().sendIComponentText(275, 35, "Blood Trader"); player.getPackets().sendIComponentText(275, 36, "-_-_-_-_-_-_-_-"); player.getPackets().sendIComponentText(275, 37, "Dwarven Cake"); } else if (itemId == HunterEquipment.BOX.getId()) // almost done player.getActionManager().setAction(new BoxAction(HunterEquipment.BOX)); else if (itemId == HunterEquipment.BRID_SNARE.getId()) player.getActionManager().setAction( new BoxAction(HunterEquipment.BRID_SNARE)); else if (item.getDefinitions().getName().startsWith("Burnt")) player.getDialogueManager().startDialogue("SimplePlayerMessage", "Ugh, this is inedible."); if (Settings.DEBUG) Logger.log("ItemHandler", "Item Select:" + itemId + ", Slot Id:" + slotId); } /* * returns the other */ public static Item contains(int id1, Item item1, Item item2) { if (item1.getId() == id1) return item2; if (item2.getId() == id1) return item1; return null; } public static boolean contains(int id1, int id2, Item... items) { boolean containsId1 = false; boolean containsId2 = false; for (Item item : items) { if (item.getId() == id1) containsId1 = true; else if (item.getId() == id2) containsId2 = true; } return containsId1 && containsId2; } public static void handleItemOnItem(final Player player, InputStream stream) { int itemUsedWithId = stream.readShort(); int toSlot = stream.readShortLE128(); int interfaceId = stream.readInt() >> 16; int interfaceId2 = stream.readInt() >> 16; int fromSlot = stream.readShort(); int itemUsedId = stream.readShortLE128(); if ((interfaceId2 == 747 || interfaceId2 == 662) && interfaceId == Inventory.INVENTORY_INTERFACE) { if (player.getFamiliar() != null) { player.getFamiliar().setSpecial(true); if (player.getFamiliar().getSpecialAttack() == SpecialAttack.ITEM) { if (player.getFamiliar().hasSpecialOn()) player.getFamiliar().submitSpecial(toSlot); } } return; } if (interfaceId == Inventory.INVENTORY_INTERFACE && interfaceId == interfaceId2 && !player.getInterfaceManager().containsInventoryInter()) { if (toSlot >= 28 || fromSlot >= 28) return; Item usedWith = player.getInventory().getItem(toSlot); Item itemUsed = player.getInventory().getItem(fromSlot); if (itemUsed == null || usedWith == null || itemUsed.getId() != itemUsedId || usedWith.getId() != itemUsedWithId) return; player.stopAll(); if (itemUsed.getId() == CrystalChest.toothHalf() && usedWith.getId() == CrystalChest.loopHalf() || itemUsed.getId() == CrystalChest.loopHalf() && usedWith.getId() == CrystalChest.toothHalf()){ CrystalChest.makeKey(player); return; } if (!player.getControlerManager().canUseItemOnItem(itemUsed, usedWith)) return; Fletch fletch = Fletching.isFletching(usedWith, itemUsed); if (fletch != null) { player.getDialogueManager().startDialogue("FletchingD", fletch); return; } int herblore = Herblore.isHerbloreSkill(itemUsed, usedWith); if (herblore > -1) { player.getDialogueManager().startDialogue("HerbloreD", herblore, itemUsed, usedWith); return; } if (itemUsed.getId() == LeatherCrafting.NEEDLE.getId() || usedWith.getId() == LeatherCrafting.NEEDLE.getId()) { if (LeatherCrafting .handleItemOnItem(player, itemUsed, usedWith)) { return; } } Sets set = ArmourSets.getArmourSet(itemUsedId, itemUsedWithId); if (set != null) { ArmourSets.exchangeSets(player, set); return; } if (Firemaking.isFiremaking(player, itemUsed, usedWith)) return; else if (contains(1755, Gem.OPAL.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.OPAL); else if (contains(1755, Gem.JADE.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.JADE); else if (contains(1755, Gem.RED_TOPAZ.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.RED_TOPAZ); else if (contains(1755, Gem.SAPPHIRE.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.SAPPHIRE); else if (contains(1755, Gem.EMERALD.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.EMERALD); else if (contains(1755, Gem.RUBY.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.RUBY); else if (contains(1755, Gem.DIAMOND.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.DIAMOND); else if (contains(1755, Gem.DRAGONSTONE.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.DRAGONSTONE); else if (itemUsed.getId() == 13734 && usedWith.getId() == 13754){ player.getInventory().deleteItem(13734, 1); player.getInventory().deleteItem(13754, 1); player.getInventory().addItem(13736, 1); player.getPackets().sendGameMessage("You have poured the holy elixir on a spirit shield making it unleash Blessed powers."); } else if (itemUsed.getId() == 13754 && usedWith.getId() == 13734){ player.getInventory().deleteItem(13734, 1); player.getInventory().deleteItem(13754, 1); player.getInventory().addItem(13736, 1); player.getPackets().sendGameMessage("You have poured the holy elixir on a spirit shield making it unleash Blessed powers."); } else if (itemUsed.getId() == 13736 && usedWith.getId() == 13748){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13748, 1); player.getInventory().addItem(13740, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Divine Powers."); } else if (itemUsed.getId() == 13736 && usedWith.getId() == 13750){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13750, 1); player.getInventory().addItem(13742, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Elysian Powers."); } else if (itemUsed.getId() == 13736 && usedWith.getId() == 13746){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13746, 1); player.getInventory().addItem(13738, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Arcane Powers."); } else if (itemUsed.getId() == 13746 && usedWith.getId() == 13736){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13746, 1); player.getInventory().addItem(13738, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Arcane Powers."); } else if (itemUsed.getId() == 13736 && usedWith.getId() == 13752){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13752, 1); player.getInventory().addItem(13744, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Spectral Powers."); } else if (itemUsed.getId() == 13752 && usedWith.getId() == 13736){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13752, 1); player.getInventory().addItem(13744, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Spectral Powers."); } else if (itemUsed.getId() == 1540 && usedWith.getId() == 11286){ player.getInventory().deleteItem(1540, 1); player.getInventory().deleteItem(11286, 1); player.getInventory().addItem(11283, 1); player.getPackets().sendGameMessage("Congratulations You have made a Dragonfire Shield."); } else if (itemUsed.getId() == 11286 && usedWith.getId() == 1540){ player.getInventory().deleteItem(11286, 1); player.getInventory().deleteItem(1540, 1); player.getInventory().addItem(11283, 1); player.getPackets().sendGameMessage("Congratulations You have made a Dragonfire Shield."); } if (itemUsed.getId() == 11710 || usedWith.getId() == 11712 || usedWith.getId() == 11714) { if (player.getInventory().containsItem(11710, 1) && player.getInventory().containsItem(11712, 1) && player.getInventory().containsItem(11714, 1)) { player.getInventory().deleteItem(11710, 1); player.getInventory().deleteItem(11712, 1); player.getInventory().deleteItem(11714, 1); player.getInventory().addItem(11690, 1); player.getPackets().sendGameMessage("You made a godsword blade."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 11702) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11702, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11702, 1); player.getInventory().addItem(11694, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Armadyl godsword."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 11704) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11704, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11704, 1); player.getInventory().addItem(11696, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Bandos godsword."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 11706) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11706, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11706, 1); player.getInventory().addItem(11698, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Saradomin godsword."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 11708) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11708, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11708, 1); player.getInventory().addItem(11700, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Zamorak godsword."); } } else if (contains(1755, Gem.ONYX.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.ONYX); else player.getPackets().sendGameMessage( "Nothing interesting happens."); if (Settings.DEBUG) Logger.log("ItemHandler", "Used:" + itemUsed.getId() + ", With:" + usedWith.getId()); } } public static void handleItemOption3(Player player, int slotId, int itemId, Item item) { long time = Utils.currentTimeMillis(); if (player.getLockDelay() >= time || player.getEmotesManager().getNextEmoteEnd() >= time) return; player.stopAll(false); if (itemId == 20767 || itemId == 20769 || itemId == 20771) SkillCapeCustomizer.startCustomizing(player, itemId); else if(itemId >= 15084 && itemId <= 15100) player.getDialogueManager().startDialogue("DiceBag", itemId); else if(itemId == 24437 || itemId == 24439 || itemId == 24440 || itemId == 24441) player.getDialogueManager().startDialogue("FlamingSkull", item, slotId); else if (Equipment.getItemSlot(itemId) == Equipment.SLOT_AURA) player.getAuraManager().sendTimeRemaining(itemId); } public static void handleItemOption4(Player player, int slotId, int itemId, Item item) { System.out.println("Option 4"); } public static void handleItemOption5(Player player, int slotId, int itemId, Item item) { System.out.println("Option 5"); } public static void handleItemOption6(Player player, int slotId, int itemId, Item item) { long time = Utils.currentTimeMillis(); if (player.getLockDelay() >= time || player.getEmotesManager().getNextEmoteEnd() >= time) return; player.stopAll(false); Pouches pouches = Pouches.forId(itemId); if (pouches != null) Summoning.spawnFamiliar(player, pouches); else if (itemId == 995) { int amount = player.getInventory().getItems().getNumberOf(995); if (player.money + amount > 0) { player.getInventory().deleteItem(995, amount); player.getPackets().sendRunScript(5561, 1, amount); player.money += amount; player.refreshMoneyPouch(); } else { player.getPackets().sendGameMessage("You can't have more then 2147483647 coins in your pouch.") } } if (itemId == 1438) Runecrafting.locate(player, 3127, 3405); else if (itemId == 1440) Runecrafting.locate(player, 3306, 3474); else if (itemId == 1442) Runecrafting.locate(player, 3313, 3255); else if (itemId == 1444) Runecrafting.locate(player, 3185, 3165); else if (itemId == 1446) Runecrafting.locate(player, 3053, 3445); else if (itemId == 1448) Runecrafting.locate(player, 2982, 3514); else if (itemId <= 1712 && itemId >= 1706 || itemId >= 10354 && itemId <= 10362) player.getDialogueManager().startDialogue("Transportation", "Edgeville", new WorldTile(3087, 3496, 0), "Karamja", new WorldTile(2918, 3176, 0), "Draynor Village", new WorldTile(3105, 3251, 0), "Al Kharid", new WorldTile(3293, 3163, 0), itemId); else if (itemId == 1704 || itemId == 10352) player.getPackets() .sendGameMessage( "The amulet has ran out of charges. You need to recharge it if you wish it use it once more."); else if (itemId >= 3853 && itemId <= 3867) player.getDialogueManager().startDialogue("Transportation", "Burthrope Games Room", new WorldTile(2880, 3559, 0), "Barbarian Outpost", new WorldTile(2519, 3571, 0), "Gamers' Grotto", new WorldTile(2970, 9679, 0), "Corporeal Beast", new WorldTile(2886, 4377, 0), itemId);} /* } public static void handleItemOption7(Player player, int slotId, int itemId, Item item) { long time = Utils.currentTimeMillis(); if (player.getLockDelay() >= time || player.getEmotesManager().getNextEmoteEnd() >= time) return; if (!player.getControlerManager().canDropItem(item)) return; player.stopAll(false); if (item.getDefinitions().isOverSized()) { player.getPackets().sendGameMessage("The item appears to be oversized."); player.getInventory().deleteItem(item); return; } if (item.getDefinitions().isDestroyItem()) { player.getDialogueManager().startDialogue("DestroyItemOption", slotId, item); return; } if (player.getPetManager().spawnPet(itemId, true)) { return; } player.getInventory().deleteItem(slotId, item); if (player.getCharges().degradeCompletly(item)) return; World.addGroundItem(item, new WorldTile(player), player, false, 180, true); player.getPackets().sendSound(2739, 0, 1); } */ } public static void handleItemOption7(Player player, int slotId, int itemId, Item item) { long time = Utils.currentTimeMillis(); if (player.getLockDelay() >= time || player.getEmotesManager().getNextEmoteEnd() >= time) return; if (!player.getControlerManager().canDropItem(item)) return; player.stopAll(false); if (item.getDefinitions().isOverSized()) { player.getPackets().sendGameMessage("The item appears to be oversized."); player.getInventory().deleteItem(item); return; } if (item.getDefinitions().isDestroyItem()) { player.getDialogueManager().startDialogue("DestroyItemOption", slotId, item); return; } if (player.getPetManager().spawnPet(itemId, true)) { return; } player.getInventory().deleteItem(slotId, item); if (player.getCharges().degradeCompletly(item)) return; World.addGroundItem(item, new WorldTile(player), player, false, 180, true); player.getPackets().sendSound(2739, 0, 1); } public static void handleItemOption8(Player player, int slotId, int itemId, Item item) { player.getInventory().sendExamine(slotId); } public static void handleItemOnNPC(final Player player, final NPC npc, final Item item) { if (item == null) { return; } player.setCoordsEvent(new CoordsEvent(npc, new Runnable() { [MENTION=15855]Over[/MENTION]ride public void run() { if (!player.getInventory().containsItem(item.getId(), item.getAmount())) { return; } if (npc instanceof Pet) { player.faceEntity(npc); player.getPetManager().eat(item.getId(), (Pet) npc); return; } } }, npc.getSize())); } }[/code] And here's my MoneyPouch.java: [code]package com.rs.game.player.content; import java.io.Serializable; import java.text.DecimalFormat; import com.rs.game.item.Item; import com.rs.game.player.Bank; import com.rs.game.player.Player; public class MoneyPouch implements Serializable { private static final long serialVersionUID = -3847090682601697992L; private transient Player player; public boolean usingPouch; public int amount; public MoneyPouch(Player player) { this.player = player; } public void switchPouch() { usingPouch = !usingPouch; refresh(true); } private void refresh(boolean swap) { if (swap) player.getPackets().sendRunScript(5557, 1); player.getPackets().sendRunScript(5560, getCoinAmount()); } public void sendDynamicInteraction(int amount, boolean remove) { int newAmount = remove ? amount - player.coinamount : amount + player.coinamount; if (usingPouch || !usingPouch) { Item item = new Item(995, amount - (remove ? 0 : Integer.MAX_VALUE)); if (remove) { if (newAmount < 0) { if (player.getInventory().containsItem(item.getId(), item.getAmount())) { player.getPackets().sendGameMessage("You dont have enough money in your pouch. Your coins will be taken from your inventory instead."); player.getInventory().deleteItem(item); } else player.getPackets().sendGameMessage("You don't have enough coins."); return; } else if (player.coinamount == 0){ player.getPackets().sendGameMessage("Your money-pouch is currently empty."); return; } else if (player.getInventory().getItems().getNumberOf(995) + player.coinamount > 2147483647 || player.getInventory().getItems().getNumberOf(995) + player.coinamount <= 0) { int dif = 2147483647 - player.getInventory().getItems().getNumberOf(995); if (dif > 0) player.getPackets().sendRunScript(5561, new Object[] {0, dif}); player.coinamount -= dif; player.getPackets().sendRunScript(5560, new Object[] {player.coinamount}); if (dif > 0) player.getInventory().addItem(995, dif); if (dif > 0) player.getPackets().sendGameMessage(getFormattedNumber(dif) +" coins have been removed from your money pouch."); return; } else player.getPackets().sendRunScript(5561, new Object[] {0, amount}); player.coinamount -= amount; player.getPackets().sendRunScript(5560, new Object[] {player.coinamount}); player.getInventory().addItem(995, amount); player.getPackets().sendGameMessage(getFormattedNumber(amount) +" coins have been removed from your money pouch."); } else { if (newAmount > 2147483647 || newAmount <= 0) { int dif = 2147483647 - player.coinamount; if (dif > 0) player.getPackets().sendRunScript(5561, new Object[] {1, dif}); player.coinamount += dif; player.getPackets().sendRunScript(5560, new Object[] {player.coinamount}); if (dif > 0) player.getInventory().deleteItem(995, dif); if (dif > 0) player.getPackets().sendGameMessage(getFormattedNumber(dif) +" coins have been added to your money pouch."); return; } else player.getPackets().sendRunScript(5561, new Object[] {1, amount}); player.coinamount += amount; player.getPackets().sendRunScript(5560, new Object[] {player.coinamount}); player.getInventory().deleteItem(995, amount); player.getPackets().sendGameMessage(getFormattedNumber(amount) +" coins have been added to your money pouch."); } setAmount(newAmount, amount, remove); } else { if (remove) player.getInventory().deleteItem(new Item(995, amount)); else player.getInventory().addItem(new Item(995, amount)); } } public String getFormattedNumber(int amount) { return new DecimalFormat("#,###,##0").format(amount).toString(); } public void sendExamine() { player.getPackets().sendGameMessage("Your money pouch current contains " + getFormattedNumber(getCoinAmount()) + " coins."); } private void setAmount(int coinAmount, int addedAmount, boolean remove) { this.setCoinAmount(coinAmount); player.getPackets().sendRunScript(5561 , remove ? 0 : 1, addedAmount); refresh(false); } public int getCoinAmount() { return player.coinamount; } public void setCoinAmount(int coinAmount) { this.player.coinamount = coinAmount; } }[/code] Any help would be appreciated as I cannot figure it out :(
  6. scapinscape

    667 money pouch

    how do i add Money pouch to a 667 rsps?
  7. Hey guys, I haven't seen this anywhere out anywhere so I thought I would release it for you guys. This didn't take me long to make at all and was relatively simple. I would like to point out that my [COLOR="#008000"]Money Pouch[/COLOR] method [COLOR="#FF0000"]may be different[/COLOR] from [COLOR="#FF0000"]yours[/COLOR], so change anything around if needed. I am posting the codes with the appropriate class file as I assume you would know where to put it. [COLOR="#FF0000"]Player.java[/COLOR] [CODE] public int moneyPouchTrade; public boolean addedFromPouch;[/CODE] [COLOR="#FF0000"]Trade.java[/COLOR] [CODE] public void addMoneyPouch(int value) { Item item = player.getInventory().getItem(0); Item[] itemsBefore = items.getItemsCopy(); item = new Item(995, value); items.add(item); refreshItems(itemsBefore); cancelAccepted(); player.addedFromPouch = true; }[/CODE] [COLOR="#FF0000"]WorldPacketsDecoder.java[/COLOR] [CODE]Integer add_To_Trade = (Integer) player.getTemporaryAttributtes().remove("add_Money_Pouch_To_Trade"); if (add_To_Trade == null) return; if (value <= 0) return; if (player.getTemporaryAttributtes().remove("add_money_pouch_trade") != null) { /* * Below contains adding coins to trade. */ if (value > player.getPouch().getMoney()) { player.out("You do not have enough coins in your money pouch."); return; } else if (value <= player.getPouch().getMoney()) { player.getPouch().removeMoney(value); player.getPackets().sendRunScript(5561, 0, value); player.getPouch().refreshPouch(true); player.moneyPouchTrade = value; player.getTrade().addMoneyPouch(value); } }[/CODE] [COLOR="#FF0000"]ButtonHandler.java[/COLOR] [CODE]} else if (componentId == 53) { player.getTemporaryAttributtes().put("add_Money_Pouch_To_Trade", 995); player.getTemporaryAttributtes().put("add_money_pouch_trade", Boolean.TRUE); player.getPackets().sendRunScript(108, new Object[] { " Your money pouch contains " + player.getPouch().getMoney() + " coins." + " How much would you like to offer?"}); }[/CODE] If you have any further comments, questions, or concerns, don't hesitate to ask me! Thank you and enjoy, ~Derek
  8. this guide: [url]http://www.rune - server.org/runescape-development/rs2-client/tutorials/364738-new-runescape-money-orb.html[/url] remove spacces Has had its Sprite Url taken down so i cannot download the sprite, does anyone have it? thanks!
  9. I found a fix, please close this thread.
  10. Well there is a dupe I just found out about the money pouch. Idk if this has been released so here it is. Heres what you do to dupe: 1. Take all your money out of the money pouch (except for 1 coin) 2. Bank all your money 3. Withdraw from money pouch "-2147000000" 4. You will have max cash in the money pouch Here is the fix: In the withdraw command add this: [CODE] if(amount <= 0) { for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c3 = (Client) Server.playerHandler.players[j]; c3.sendMessage("<shad=65535>" + c.playerName + " tried to dupe and failed! If no staff is on report this!"); } } return; }[/CODE] That also makes it yell to the server that someone tried duping.
  11. hey, i tried taking the pouch files out of mentios and compiling but never worked just got errors so, figured ill ask the pros lol. if u got anything add me on skype or reply here. skype - brandon.nash3
  12. [B]Player.java[/B] Declare this: [code] //money pouch public int money = 0; [/code] And add this method: [code] public void refreshMoneyPouch() { //getPackets().sendConfig(1438, (money >> 16) | (money >> 8) & money); getPackets().sendRunScript(5560, money); } [/code] [B]ButtonHandler.java[/B] Replace: [code] else if ((interfaceId == 746 && componentId == 207) || (interfaceId == 548 && componentId == 159)) { if (packetId == WorldPacketsDecoder.ACTION_BUTTON4_PACKET) { if (player.getInterfaceManager().containsScreenInter()) { player.getPackets() .sendGameMessage( "Please finish what you're doing before opening the price checker."); return; } player.stopAll(); player.getPriceCheckManager().openPriceCheck(); } } [/code] With: [code] else if ((interfaceId == 746 && componentId == 207) || (interfaceId == 548 && componentId == 159) || (interfaceId == 548 && componentId == 194)) { if (packetId == WorldPacketsDecoder.ACTION_BUTTON1_PACKET) { if (!player.getInterfaceManager().containsScreenInter()) { player.getPackets().sendRunScript(5557, 1); player.refreshMoneyPouch(); } else player.getPackets().sendGameMessage("Please finish first with what your doing."); } else if (packetId == WorldPacketsDecoder.ACTION_BUTTON2_PACKET){ player.getTemporaryAttributtes().put("remove_X_money", 995); player.getTemporaryAttributtes().put("remove_money", Boolean.TRUE); player.getPackets().sendRunScript(108, new Object[] { " Your money pouch contains " + player.money + " coins." + " How many would you like to withdraw?"}); } else if (packetId == WorldPacketsDecoder.ACTION_BUTTON3_PACKET){ player.getPackets().sendGameMessage("Your money pouch currently contains " + player.money + " coins."); } else if (packetId == WorldPacketsDecoder.ACTION_BUTTON4_PACKET) { if (player.getInterfaceManager().containsScreenInter()) { player.getPackets() .sendGameMessage( "Please finish what you're doing before opening the price checker."); return; } player.stopAll(); player.getPriceCheckManager().openPriceCheck(); } } [/code] [B]WorldPacketsDecoder.java[/B] In the ENTER_INTEGER_PACKET: [code] else if (player.getInterfaceManager().containsInterface(548) || player.getInterfaceManager().containsInterface(746)) { if (value < 0) return; Integer remove_X_money = (Integer) player.getTemporaryAttributtes().remove("remove_X_money"); if (remove_X_money == null) return; int amount = player.getInventory().getItems().getNumberOf(remove_X_money); if (player.getTemporaryAttributtes().remove("remove_money") != null) { if (value <= player.money) { if (amount + value > 0) { player.getInventory().addItem(remove_X_money, value); player.getPackets().sendRunScript(5561, 0, value); player.money -= value; player.refreshMoneyPouch(); } else { player.getPackets().sendGameMessage("You can't have more then 2147483647 coins in your inventory."); } } else { player.getPackets().sendGameMessage("You don't have enough coins to withdraw that many."); } } } [/code] [B]InventoryOptionsHandler.java[/B] In handleitemoption6: [code] else if (itemId == 995) { int amount = player.getInventory().getItems().getNumberOf(995); if (player.money + amount > 0) { player.getInventory().deleteItem(995, amount); player.getPackets().sendRunScript(5561, 1, amount); player.money += amount; player.refreshMoneyPouch(); } else { player.getPackets().sendGameMessage("You can't have more then 2147483647 coins in your pouch."); } } [/code] [B] Shop.java[/B] Replace your buy and sell method with these: [code] public void buy(Player player, int clickSlot, int quantity) { if (clickSlot >= getStoreSize()) return; Item item = clickSlot >= mainStock.length ? generalStock[clickSlot - mainStock.length] : mainStock[clickSlot]; if (item == null) return; if (item.getAmount() == 0) { player.getPackets().sendGameMessage( "There is no stock of that item at the moment."); return; } int dq = clickSlot >= mainStock.length ? 0 : defaultQuantity[clickSlot]; int price = getBuyPrice(item, dq); int amountCoins = player.getInventory().getItems().getNumberOf(money); int amountInPouch = player.money; int maxPouch = amountInPouch / price; int maxQuantity = amountCoins / price; int buyQ = item.getAmount() > quantity ? quantity : item.getAmount(); boolean enoughCoins = maxQuantity >= buyQ; boolean enoughInPouch = maxPouch >= buyQ; if (!enoughCoins && !enoughInPouch) { player.getPackets().sendGameMessage("You don't have enough coins."); buyQ = maxQuantity; } else if (quantity > buyQ) { player.getPackets().sendGameMessage("The shop has run out of stock."); if (item.getDefinitions().isStackable()) { if (player.getInventory().getFreeSlots() < 1) { player.getPackets().sendGameMessage("Not enough space in your inventory."); return; } } } else { int freeSlots = player.getInventory().getFreeSlots(); if (buyQ > freeSlots) { buyQ = freeSlots; player.getPackets().sendGameMessage("Not enough space in your inventory."); } } if (buyQ != 0) { int totalPrice = price * buyQ; if (amountCoins + price < 2147000001) { if (enoughInPouch) { player.getPackets().sendRunScript(5561, 0, totalPrice); player.money -= totalPrice; player.getInventory().addItem(item.getId(), buyQ); player.refreshMoneyPouch(); } else { player.getInventory().deleteItem(money, totalPrice); player.getInventory().addItem(item.getId(), buyQ); } item.setAmount(item.getAmount() - buyQ); if (item.getAmount() <= 0 && clickSlot >= mainStock.length) generalStock[clickSlot - mainStock.length] = null; refreshShop(); sendInventory(player); } else { player.getPackets().sendGameMessage("You can't have more then 2147M coins in your inventory."); return; } } } [/code] [code] public void sell(Player player, int slotId, int quantity) { if (player.getInventory().getItemsContainerSize() < slotId) return; Item item = player.getInventory().getItem(slotId); if (item == null) return; int originalId = item.getId(); if (item.getDefinitions().isNoted()) item = new Item(item.getDefinitions().getCertId(), item.getAmount()); if (item.getDefinitions().isDestroyItem() || ItemConstants.getItemDefaultCharges(item.getId()) != -1 || !ItemConstants.isTradeable(item) || item.getId() == money) { player.getPackets().sendGameMessage("You can't sell this item."); return; } int dq = getDefaultQuantity(item.getId()); if (dq == -1 && generalStock == null) { player.getPackets().sendGameMessage( "You can't sell this item to this shop."); return; } int price = getSellPrice(item, dq); int numberOff = player.getInventory().getItems().getNumberOf(originalId); if (quantity > numberOff) quantity = numberOff; if (!addItem(item.getId(), quantity)) { player.getPackets().sendGameMessage("Shop is currently full."); return; } if (player.money + price > 0) { player.getInventory().deleteItem(originalId, quantity); //player.getInventory().addItem(money, price * quantity); player.money += price * quantity; player.getPackets().sendRunScript(5561, 1, price * quantity); } else { player.getPackets().sendGameMessage("You can't have more then 2147483647 coins in your pouch."); return; } } [/code] Credits: noobscape (script ids) me
  13. This isn't even probably worth a show-off but here. [IMG]http://i.imgur.com/N3QUHqD.jpg?1[/IMG] [IMG]http://i.imgur.com/PhX8RWS.jpg?1[/IMG] 89Quad wut [IMG]http://i.imgur.com/tmIryFp.jpg?1[/IMG] 9 Quintillion lolwut [IMG]http://i.imgur.com/5A6McD9.jpg?1[/IMG]
  14. Money pouch was released a buncha times. But whatever ;P [CODE]package com.rs.game.player; import java.io.Serializable; import java.text.NumberFormat; import com.rs.Settings; import com.rs.utils.Utils; /** * * [MENTION=52317]auth[/MENTION]or Taylor<Axter> * Skype: axter12345 */ public class MoneyPouch implements Serializable { /** * Serial ID */ private static final long serialVersionUID = -1699637125839716969L; /** * The player using the pouch */ public Player player; /** * Determines if the money pouch is * toggled or isn't */ private static boolean isToggled; /** * Initializes the class for the * player logging in * [MENTION=75098]Para[/MENTION]m x - the player logging in */ public void init(Player x) { player = x; isToggled = false; refresh(); } /** * Removes a specific amount from the pouch * [MENTION=75098]Para[/MENTION]m amount - the amount to remove */ public void remove(int amount) { int index = player.getMoneyInPouch(); player.getPackets().sendRunScript(5561, 0, "n", (amount > index) ? index : (amount)); player.moneyInPouch = amount > index ? 0 : index - amount; player.getInventory().addCoins(amount > index ? index : amount); refresh(); print(true, (amount > index) ? (index) : (amount)); } /** * Adds a specific amount to the pouch * [MENTION=75098]Para[/MENTION]m amount - amount to add */ public void add(int amount) { int index = player.getMoneyInPouch(); if (index + amount >= Integer.MAX_VALUE || index + amount < 0) {//because if it goes over max value //it will equal a negative player.out("You do not have enough room in your money pouch!"); return; } player.getPackets().sendRunScript(5561, 1, amount); player.getInventory().deleteItem(995, amount == 0 ? player.getInventory().getNumerOf(995) : amount); player.moneyInPouch += amount; refresh(); System.out.println("add"); print(false, amount); } /** * Toggles the money pouch */ public void toggle() { player.getPackets().sendRunScript(5557, 1); refresh(); isToggled = !isToggled; } /** * Refreshes the money pouch */ public void refresh() { int index = player.getMoneyInPouch(); player.getPackets().sendRunScript(5560, index < 1 ? 0 : index, "n"); } /** * A method that checks if the pouch * contains money inside it * @return - true if it does, false otherwise */ public boolean contains() { return (player.moneyInPouch > 0); } /** * Adds the whole pouch value * to the players' bank */ public void addToBank() { int index = player.getMoneyInPouch(); if (!((player.getBank().getItem(995).getAmount() + index) < Integer.MAX_VALUE || ((player.getBank().getItem(995).getAmount() + index) < 1))) { player.out("You don't have enough bank space!"); return; } player.getBank().addItem(995, index, true); player.getPackets().sendRunScript(5561, 0, "n", index); player.moneyInPouch = 0; } /** * Sends the added money/removed money * to the player removing/adding the money * [MENTION=75098]Para[/MENTION]m remove - sends the removing message if true * [MENTION=75098]Para[/MENTION]m amount - amount being removed */ public void print(boolean remove, int amount) { player.out(remove ? (amount == 1 ? "One coin has been removed from your money pouch." : Utils.formatTypicalInteger(amount) + " coins have been removed from your money pouch.") : (amount == 1 ? "One coin has been added to your money pouch." : Utils.formatTypicalInteger(amount) + " coins have been added to your money pouch.")); } } [/CODE] ButtonHandler [CODE] } else if (interfaceId == 746 && componentId == 207 && packetId == 14 || (interfaceId == 548 && componentId == 159 && packetId == 14)) { player.getMoneyPouch().toggle(); } else if (interfaceId == 746 && componentId == 207 && packetId == 67 || (interfaceId == 548 && componentId == 159 && packetId == 67)) { player.getTemporaryAttributtes().put("money_pouch_remove", Boolean.TRUE); player.getPackets() .sendRunScript( 108, new Object[] { "Your money pouch contains " + Utils.formatTypicalInteger(player .getMoneyInPouch()) + " coins. How many would you like to withdraw?" });[/CODE] Utils.java [CODE] public static String formatTypicalInteger(int integer) { return NumberFormat.getInstance().format(integer); }[/CODE] In player.java declare moneypouch as a varible [CODE]private MoneyPouch moneypouch;[/CODE] under runnable method in player.java, add [CODE]moneypouch.init(this)[/CODE] under init() method in player.java, add the class instance [CODE]if(moneypouch == null) { moneypouch = new MoneyPouch(); }[/CODE] now add a getter [CODE]public MoneyPouch getMoneyPouch() { return moneypouch; }[/CODE] Now, in your Packet input handling class, add this for packet 81 And add this as the integer value intered into the interface if you haven't already int value = stream.readInt(); [CODE]} else if (player.getTemporaryAttributtes().get( "money_pouch_remove") == Boolean.TRUE) { player.getMoneyPouch().remove(value); player.getTemporaryAttributtes().put("money_pouch_remove", Boolean.FALSE); return;[/CODE] and if you want the money to go in your pouch, everytime it goes in your inv, here's the inventory.java class (Has the addCoins method) [SPOILER=inventory.java][CODE]package com.rs.game.player; import java.io.Serializable; import com.rs.cache.loaders.ItemDefinitions; import com.rs.game.item.Item; import com.rs.game.item.ItemsContainer; import com.rs.utils.ItemExamines; import com.rs.utils.Utils; public final class Inventory implements Serializable { private static final long serialVersionUID = 8842800123753277093L; private ItemsContainer<Item> items; private transient Player player; public static final int INVENTORY_INTERFACE = 679; public Inventory() { items = new ItemsContainer<Item>(28, false); } public void setPlayer(Player player) { this.player = player; } public void init() { player.getPackets().sendItems(93, items); } public void unlockInventoryOptions() { player.getPackets().sendIComponentSettings(INVENTORY_INTERFACE, 0, 0, 27, 4554126); player.getPackets().sendIComponentSettings(INVENTORY_INTERFACE, 0, 28, 55, 2097152); } public void reset() { items.reset(); init(); // as all slots reseted better just send all again } public void refresh(int... slots) { player.getPackets().sendUpdateItems(93, items, slots); } //used for money pouch public boolean addCoins(int amount) { if (amount < 0) return false; Item[] itemsBefore = items.getItemsCopy(); if (!items.add(new Item(995, amount))) { items.add(new Item(995, items.getFreeSlots())); player.getPackets().sendGameMessage( "Not enough space in your inventory."); refreshItems(itemsBefore); return false; } refreshItems(itemsBefore); return true; } public boolean addItem(int itemId, int amount) { if (itemId < 0 || amount < 0 || !Utils.itemExists(itemId) || !player.getControlerManager().canAddInventoryItem(itemId, amount) || ItemDefinitions.getItemDefinitions(itemId) == null || ItemDefinitions.getItemDefinitions(itemId).getName() == null) return false; if(itemId == 995 || ItemDefinitions.getItemDefinitions(itemId).getName().equals("coins") || ItemDefinitions.getItemDefinitions(itemId).containsOption("add-to-pouch")) { player.getMoneyPouch().add(amount); return true; } Item[] itemsBefore = items.getItemsCopy(); if (!items.add(new Item(itemId, amount))) { items.add(new Item(itemId, items.getFreeSlots())); player.getPackets().sendGameMessage( "Not enough space in your inventory."); refreshItems(itemsBefore); return false; } refreshItems(itemsBefore); return true; } public boolean addItem(Item item) { if (item.getId() < 0 || item.getAmount() < 0 || !Utils.itemExists(item.getId()) || !player.getControlerManager().canAddInventoryItem( item.getId(), item.getAmount())) return false; if(item.getId() == 995 || item.getName().equals("coins") || item.getDefinitions().containsOption("add-to-pouch")) { player.getMoneyPouch().add(item.getAmount()); return true; } Item[] itemsBefore = items.getItemsCopy(); if (!items.add(item)) { items.add(new Item(item.getId(), items.getFreeSlots())); player.getPackets().sendGameMessage( "Not enough space in your inventory."); refreshItems(itemsBefore); return false; } refreshItems(itemsBefore); return true; } public void deleteItem(int slot, Item item) { if (!player.getControlerManager().canDeleteInventoryItem(item.getId(), item.getAmount())) return; Item[] itemsBefore = items.getItemsCopy(); items.remove(slot, item); refreshItems(itemsBefore); } public boolean removeItems(Item... list) { for (Item item : list) { if(item == null) continue; deleteItem(item); } return true; } public void deleteItem(int itemId, int amount) { if (!player.getControlerManager() .canDeleteInventoryItem(itemId, amount)) return; Item[] itemsBefore = items.getItemsCopy(); items.remove(new Item(itemId, amount)); refreshItems(itemsBefore); } public void deleteItem(Item item) { if (!player.getControlerManager().canDeleteInventoryItem(item.getId(), item.getAmount())) return; Item[] itemsBefore = items.getItemsCopy(); items.remove(item); refreshItems(itemsBefore); } /* * No refresh needed its client to who does it :p */ public void switchItem(int fromSlot, int toSlot) { Item[] itemsBefore = items.getItemsCopy(); Item fromItem = items.get(fromSlot); Item toItem = items.get(toSlot); items.set(fromSlot, toItem); items.set(toSlot, fromItem); refreshItems(itemsBefore); } public void refreshItems(Item[] itemsBefore) { int[] changedSlots = new int[itemsBefore.length]; int count = 0; for (int index = 0; index < itemsBefore.length; index++) { if (itemsBefore[index] != items.getItems()[index]) changedSlots[count++] = index; } int[] finalChangedSlots = new int[count]; System.arraycopy(changedSlots, 0, finalChangedSlots, 0, count); refresh(finalChangedSlots); } public ItemsContainer<Item> getItems() { return items; } public boolean hasFreeSlots() { return items.getFreeSlot() != -1; } public int getFreeSlots() { return items.getFreeSlots(); } public int getNumerOf(int itemId) { return items.getNumberOf(itemId); } public Item getItem(int slot) { return items.get(slot); } public int getItemsContainerSize() { return items.getSize(); } public boolean containsItems(Item[] item) { for (int i = 0; i < item.length; i++) if (!items.contains(item[i]) || item[i].getId() == 995 && !player.getMoneyPouch().contains()) return false; return true; } public boolean containsItems(int[] itemIds, int[] ammounts) { int size = itemIds.length > ammounts.length ? ammounts.length : itemIds.length; for (int i = 0; i < size; i++) if (!items.contains(new Item(itemIds[i], ammounts[i]))) return false; return true; } public boolean containsItem(int itemId, int ammount) { return items.contains(new Item(itemId, ammount)); } public boolean containsOneItem(int... itemIds) { for (int itemId : itemIds) { if (items.containsOne(new Item(itemId, 1))) return true; } return false; } public void sendExamine(int slotId) { if (slotId >= getItemsContainerSize()) return; Item item = items.get(slotId); if (item == null) return; player.getPackets().sendInventoryMessage(0, slotId, ItemExamines.getExamine(item)); } public void refresh() { player.getPackets().sendItems(93, items); } } [/CODE] [/SPOILER] This one is air tight of bugs, enjoy
  15. [FONT=Century Gothic][COLOR="#00FFFF"]Owner is an asshole...Server is not good. :/[/COLOR][/FONT]
  16. [B]how does this dupe work? you add one coin in your moneypouch and withdraw it as -214700000 and that adds max cash in to your pouch. i found a fix for that from rune-server but then i noticed you could've done it by adding 2 coins in your pouch and typing 2145000000. ok so then i found out you can do it with any amount by typing in -+amount.[/B] so how did i fix this? [code]if(amount == 0) { c.sendMessage("Why would I withdraw no coins?"); return; } if(amount == -c.MoneyCash ) { c.logout(); return; } if(c.MoneyCash < amount) { if(amount == -c.MoneyCash ) { c.logout(); } else { c.sendMessage("You withdraw "+c.MoneyCash+" coins."); }[/code] just for some people that might need this.
  17. Yo guys was wondering if you can add money pouch to zenithscape and if so how. will thank whoever helps me from both my RL accs.
  18. i cant find money pouch for 667/*** could anybody send me link or something for a guide to set the codes + Where can i set donor ranks such as reg. donor , super donor , extreme donor such a thing. is there a rights or sumthing for it?
  19. Hi, I was using Displee's 718 Money pouch + Shops tutorial, and I keep getting these 3 errors. [code]starting... src\com\rs\net\decoders\WorldPacketsDecoder.java:1224: error: unreachable statem ent if (player.getInterfaceManager().containsInterface(548) || ^ src\com\rs\net\decoders\WorldPacketsDecoder.java:1227: error: variable value mig ht not have been initialized if (value < 0) ^ src\com\rs\net\decoders\WorldPacketsDecoder.java:1249: error: unreachable statem ent int value = stream.readInt(); ^ 3 errors Press any key to continue. . .[/code]
  20. Is there anyone can help me what to do for adding a Money pouch? Is there something who made a Snippet about this? Would like to have this if so Much appreciated. HFSkiezo
  21. If some one could please dump the money pouch configs or at least give me a tip on how to get configs from the client. Thanks in advance if you do. heres some thread music: [video=youtube;xaKqfMz7fx8?autoplay=1]http://www.youtube.com/watch?v=xaKqfMz7fx8&autoplay=1[/video]
  22. I got problem with adding add-money to pouch i tried to follow this guide [url]http://www.rune-server.org/runescape-development/rs2-client/tutorials/364738-new-runescape-money-orb.html[/url] But i don't got "processMinimapActions()" to add the [code] if(!coinToggle){ if (super.mouseX >= 512 && super.mouseX <= 546 && super.mouseY >= 87 && super.mouseY <= 118) { menuActionName[4] = coinToggle ? "Toggle money pouch" : "Toggle money pouch"; menuActionID[4] = 712; menuActionName[3] = "Withdraw money pouch"; menuActionID[3] = 713; menuActionName[2] = "Examine money pouch"; menuActionID[2] = 714; menuActionName[1] = "Price checker"; menuActionID[1] = 715; menuActionRow = 5; } } else if(coinToggle){ if (super.mouseX >= 436 && super.mouseX <= 546 && super.mouseY >= 87 && super.mouseY <= 118) { menuActionName[4] = coinToggle ? "Toggle money pouch" : "Toggle money pouch"; menuActionID[4] = 712; menuActionName[3] = "Withdraw money pouch"; menuActionID[3] = 713; menuActionName[2] = "Examine money pouch"; menuActionID[2] = 714; menuActionName[1] = "Price checker"; menuActionID[1] = 715; menuActionRow = 5; } }[/code] Help me to fix that, btw i'm using this source+client [url]http://www.rune-server.org/runescape-development/rs2-server/downloads/397167-divine-fury-pi.html[/url]
  23. I need to add requirments to summoning pouches like you need 100 KC to summon this pouche etc. Mind tellnig me in what file do i change this? Thanks. Also im using PI source EdgePkers
  24. Hey, This is my first tut, It is quite simple but it takes a long time to write up so I thought Id make that time quicker. Plus some people dont know how to fix it. This is for the RuneSlay Source and you need to have it loading 602. There is a tutorial on how to do that [URL="http://www.runelocus.com/forums/showthread.php?24776-562-RS2HD-Making-your-Server-Run-with-the-562-loading-602-client&highlight=making+server+loading+client"][B][U]Here[/U][/B][/URL]. This tutorial lets you infuse any pouch, with the right resources and quite good xp. Ok, Go into your Source and then: src-com-rs2hd-packethandler-ActionButtonPacketHandler.java and search up: [code] case 669: [/code] That is your Summoning case. Next scroll down untill you find something like: [code] case 21: player.getSummonTrain().CreatePouch(player, 41, 78,12159,249, -1,12071,585); break; case 64: player.getSummonTrain().CreatePouch(player, 85, 150,12160,10149,1,12776,3736); break; [/code] As you can see there is no cases for 22-63. So, Thats what were doing. inbetween those (between the break; and the case 64) add this: [code] case 22: player.getSummonTrain().CreatePouch(player, 42, 104,12160,12153, -1,12051,647); break; case 23: player.getSummonTrain().CreatePouch(player, 43, 88,12159,12109, -1,12095,1000); break; case 24: player.getSummonTrain().CreatePouch(player, 43, 88,12159,12111, -1,12097,1000); break; case 25: player.getSummonTrain().CreatePouch(player, 43, 88,12159,12113, -1,12099,1000); break; case 26: player.getSummonTrain().CreatePouch(player, 43, 88,12159,12115, -1,12101,1000); break; case 27: player.getSummonTrain().CreatePouch(player, 43, 88,12159,12117, -1,12103,1000); break; case 28: player.getSummonTrain().CreatePouch(player, 43, 88,12159,12119, -1,12105,1000); break; case 29: player.getSummonTrain().CreatePouch(player, 43, 88,12159,12121, -1,12107,1000); break; case 30: player.getSummonTrain().CreatePouch(player, 46, 111,12160,590, -1,12816,1114); break; case 31: player.getSummonTrain().CreatePouch(player, 47, 117,12159,1635, -1,12041,1258); break; case 32: player.getSummonTrain().CreatePouch(player, 49, 12,12160,2132, -1,12061,1400); break; case 33: player.getSummonTrain().CreatePouch(player, 52, 106,12158,9978, -1,12007,1632); break; case 34: player.getSummonTrain().CreatePouch(player, 54, 151,12160,12161, -1,12035,1873); break; case 35: player.getSummonTrain().CreatePouch(player, 55, 109,12163,1937, -1,12027,1945); break; case 36: player.getSummonTrain().CreatePouch(player, 56, 153,12159,311, -1,12531,2016); break; case 37: player.getSummonTrain().CreatePouch(player, 57, 155,12163,10103, -1,12812,2100); break; case 38: player.getSummonTrain().CreatePouch(player, 57, 154,12163,10095, -1,12784,2100); break; case 39: player.getSummonTrain().CreatePouch(player, 57, 144,12163,10099, -1,12810,2100); break; case 40: player.getSummonTrain().CreatePouch(player, 58, 141,12163,6667, -1,12023,2180); break; case 41: player.getSummonTrain().CreatePouch(player, 61, 119,12160,9736, -1,12085,2234); break; case 42: player.getSummonTrain().CreatePouch(player, 62, 128,12159,12161, -1,12037,2290); break; case 43: player.getSummonTrain().CreatePouch(player, 63, 11,12160,7801, -1,12016,2350); break; case 44: player.getSummonTrain().CreatePouch(player, 64, 1,12160,8431, -1,12045,2400); break; case 45: player.getSummonTrain().CreatePouch(player, 66, 110,12158,2150, -1,12123,2510); break; case 46: player.getSummonTrain().CreatePouch(player, 67, 130,12158,7939, -1,12031,2590); break; case 47: player.getSummonTrain().CreatePouch(player, 68, 79,12159,383, -1,12029,2640); break; case 48: player.getSummonTrain().CreatePouch(player, 69, 14,12159,1963, -1,12033,2800); break; case 49: player.getSummonTrain().CreatePouch(player, 70, 165,12160,1933, -1,12820,2980); break; case 50: player.getSummonTrain().CreatePouch(player, 71, 195,12158,10117, -1,12057,3042); break; case 51: player.getSummonTrain().CreatePouch(player, 72, 166,12160,14616, -1,14623,3204); break; case 52: player.getSummonTrain().CreatePouch(player, 73, 168,12163,12168, -1,12792,3390); break; case 53: player.getSummonTrain().CreatePouch(player, 74, 141,12160,6979, -1,12069,3867); break; case 54: player.getSummonTrain().CreatePouch(player, 75, 174,12160,2462, -1,12011,4240); break; case 55: player.getSummonTrain().CreatePouch(player, 76, 124,12159,10020, -1,12782,4480); break; case 56: player.getSummonTrain().CreatePouch(player, 77, 198,12160,12162, -1,12794,5674); break; case 57: player.getSummonTrain().CreatePouch(player, 78, 202,12159,5933, -1,12014,5899); break; case 58: player.getSummonTrain().CreatePouch(player, 79, 198,12163,1442, -1,12802,6343); break; case 59: player.getSummonTrain().CreatePouch(player, 79, 128,12163,1440, -1,12804,6500); break; case 60: player.getSummonTrain().CreatePouch(player, 79, 1,12163,1444, 1438,12806,6800); break; case 61: player.getSummonTrain().CreatePouch(player, 80, 219,12159,571, -1,12025,6900); break; case 62: player.getSummonTrain().CreatePouch(player, 83, 150,12160,6155, -1,12017,7132); break; case 63: player.getSummonTrain().CreatePouch(player, 83, 102,12163,12168, -1,12788,7350); break; [/code] The last number on the line of code: [code] player.getSummonTrain().CreatePouch(player, 83, 102,12163,12168, -1,12788,[COLOR="darkred"][B][U]7350[/U][/B][/COLOR]); [/code] is the XP you receive from that pouch, be happy to change that to whatever you like. Thanks for reading this and you could flame it for being so easy, I dont care, its difficult for some people to start off and when you figure it out it takes a while to write up. You could say this is a snippet but yeah. Thanks for reading this. :)
×