Jump to content


  • Content count

  • Joined

  • Last visited

About Zoda

  • Rank
    Bronze Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hey i've replaced the old tabs under the chat box with another type.. When i try to click them the client crashes.. I knew i have to do something in the client.. Does some1 know which class or method i should be looking in. i might be able to figure it out from there.. Here's a pic if u dont know what i mean; [IMG]http://www.upload.ee/image/2560494/Namnlos.png[/IMG] hold ctrl and scroll if u can't see :)
  2. [quote name='displee']Idk what you guys are talking about but I only made this to edit the price. And it works fine.[/QUOTE] It crashes even if u change 1 number :s What client do you use? If it isn't your own client, where did u download it? :)
  3. Why does the f***ing client crash when you change anything in the cache?
  4. Zoda

    [718] Dialouges help?

    Here's my dial Don't mind the imports just imported the 1's i thought had to do with inventory and item.. [CODE]package com.rs.game.player.dialogues; import com.rs.cache.loaders.ItemDefinitions; import com.rs.game.item.Item; import com.rs.game.ItemsContainer; import com.rs.game.player.Skills; import com.rs.game.player.Player; import com.rs.game.player.Inventory; import com.rs.game.net.decoders.handlers.InventoryOptionsHandler; public class WhipChanger extends Dialogue { int npcId; [MENTION=15855]Over[/MENTION]ride public void start() { npcId = (Integer) parameters[0]; if (!player.getInventory().containsItem(995, 2500000) || !player.getInventory().containsItem(4151, 1)) { sendDialogue( "You need 2500000 coins and a regular whip to change the colour of it."); }else{ sendOptionsDialogue("Select a colour.", "Yellow", "Blue", "White", "Green", "None."); } [MENTION=15855]Over[/MENTION]ride public void run(int interfaceId, int componentId) { if (stage == -1) { if (componentId == OPTION_1) { player.getInventory().deleteItem(995, 2500000); player.getInventory().deleteItem(4151, 1); player.getInventory().addItem(15441, 1); } else if (componentId == OPTION_2) { player.getInventory().deleteItem(995, 2500000); player.getInventory().deleteItem(4151, 1); player.getInventory().addItem(15442, 1); } else if (componentId == OPTION_3) { player.getInventory().deleteItem(995, 2500000); player.getInventory().deleteItem(4151, 1); player.getInventory().addItem(15443, 1); } else if (componentId == OPTION_4) { player.getInventory().deleteItem(995, 2500000); player.getInventory().deleteItem(4151, 1); player.getInventory().addItem(15444, 1); } else if (componentId == OPTION_5) { end(); } } [MENTION=15855]Over[/MENTION]ride public void finish() { } } [/CODE] Error i get: [CODE]src\com\rs\game\player\dialogues\WhipChanger.java:31: error: ';' expected public void run(int interfaceId, int componentId) { ^ src\com\rs\game\player\dialogues\WhipChanger.java:31: error: <identifier> expect ed public void run(int interfaceId, int componentId) { ^ src\com\rs\game\player\dialogues\WhipChanger.java:31: error: not a statement public void run(int interfaceId, int componentId) { ^ src\com\rs\game\player\dialogues\WhipChanger.java:31: error: ';' expected public void run(int interfaceId, int componentId) { ^ src\com\rs\game\player\dialogues\WhipChanger.java:57: error: ';' expected public void finish() { ^ src\com\rs\game\player\dialogues\WhipChanger.java:62: error: reached end of file while parsing } ^ 6 errors[/CODE]
  5. Doesn't work wor me :S
  6. [quote name='displee']Unlocks the quests in the quest tab (now you can send custom text to the quests trough the slotId) [CODE] getPackets().sendUnlockIComponentOptionSlots(190, 15, 0, 201, 0, 1, 2, 3); [/CODE] Unlocks remove button in the equipment stats interface [CODE] player.getPackets().sendUnlockIComponentOptionSlots(667, 9, 0, 14, 0); [/CODE] Unlocks drag item to inventory (shop) [CODE] player.getPackets().sendIComponentSettings(1265, 26, 0, getStoreSize() * 6, 82903066); [/CODE][/QUOTE] Does the 1 in the middle make so you can remove items when the big equipment interface is open? And i don't get how to add it.. should i add it in this method? [CODE] public static void openEquipmentBonuses(final Player player, boolean banking) { player.stopAll(); player.getInterfaceManager().sendInventoryInterface(670); player.getInterfaceManager().sendInterface(667); player.getPackets().sendConfigByFile(4894, banking ? 1 : 0); player.getPackets().sendItems(93, player.getInventory().getItems()); player.getPackets().sendInterSetItemsOptionsScript(670, 0, 93, 4, 7, "Equip", "Compare", "Stats", "Examine"); player.getPackets().sendUnlockIComponentOptionSlots(670, 0, 0, 27, 0, 1, 2, 3); player.getPackets().sendIComponentSettings(667, 14, 0, 13, 1030); refreshEquipBonuses(player); if(banking) { player.getTemporaryAttributtes().put("Banking", Boolean.TRUE); player.setCloseInterfacesEvent(new Runnable() { [MENTION=15855]Over[/MENTION]ride public void run() { player.getTemporaryAttributtes().remove("Banking"); } }); } }[/CODE] And do i replace it with this? [CODE] player.getPackets().sendUnlockIComponentOptionSlots(670, 0, 0, 27, 0, 1, 2, 3);[/CODE] I have no idea... Maybye you could help a newbie :)
  7. [quote name='turdle']Need help fixing broken stairs option at dung , so it teleports me below the stairs. I am using rscally matrix thing source. Thanks, Kevin Bowers [IMG]http://img24.imageshack.us/img24/7136/brokenstairs.jpg[/IMG][/QUOTE] [CODE] } else if (id == 3784) { player.setNextWorldTile(new WorldTile(3454, 3725, 0));[/CODE] there u go just add it to objecthandler
  8. Need this so bad :S
  9. [quote name='Prothieum']Handle under inventory options, 3 i had the same problem when i was doing flaming skull switching.[/QUOTE] Lol i've just figured it out when you posted this... But option 3 didn't work for me i had to use option 5 :P thx anyways :)
  10. [quote name='Musicmasta']Your compiler probably isn't including that file when it's compiling because that package isn't called by and of the classes the client is compiling, so just add another line to your compiler using the line that says something like this: [code] "C:/Program Files (x86)/Java/jdk1.7.0_05/bin/javac.exe" -cp lib/*; -d bin -sourcepath src src/com/rs/*.java [/code] After [code] rs/ [/code] Just add the rest of the path to the folder that contains that file.[/QUOTE] I've already done that. :)
  11. you forgot: import com.rs.game.ForceTalk;
  12. Zoda

    718 Npc's help.

    Hey i've added normal lvl 74 daggs to my 718.. all anims gfx's and stuff. I've imported the npcspawning.java from my 667.. the npc's spawns just fine, but i cant attack it.. the strange thing is that if i spawn it with the ::npc (id) command everything works just fine. i'm stuck please help
  13. I dunno what its called but If you have any tips or any thought on this or how to add the thing with some kind of red circle that i made around please help. like say where i edit id's or if i need a newer cache or smt i have no idea. :) [IMG]http://www.upload.ee/image/2483181/tabs.png[/IMG]
  14. [quote name='Darker']What does it exactly do? i dont see any teleports/destroydung/leavedung on your code :c can you explain what does it exactly does :) On my view its like, reseting armors,inv and stuff, adding xp, and sending a message on the chat.[/QUOTE] If you haven't messed with ur dung files you should be teleported automaticly else you have to add a teleport in the code if you messed with them it stops the dung controler also.