Jump to content

ryan191

Member
  • Content count

    12
  • Joined

  • Last visited

  1. [quote name='Emily']Ryan, The issue that you are facing is due to the route finding within your source. Each object within the cache has a size attribute tied to it. Some objects, such as a bank booth have a size of 1, because you can stand directly next to the object to use it, while others, such as a tree; may be 2-3 tiles large. This allows a player to stand up to 2-3 tiles away and still use the object. A best guess would say the object you are attempting to click has no value in the cache, and your source is probably using a multi-decision (case) structure to handle assigning sizes to objects. By default, that code is most likely assigning a value of 1 to the object, where it truly needs to be much larger. I would recommend looking within your source for any code that is assigning object ids to a specific tile size. Next, I would find the id of the object for the gnome course. Finally, I would assign a larger value for that specific ID, and see if the problem persists.[/QUOTE] I can click on the pole now and it starts the animation but then it stops and says can't reach that. You have any idea how to fix this?
  2. Hey guys, I fixed al the errors but now when i reach the pole for the swing it always says "You can't reach that." Can someone help me with this?
  3. Hey guys, fixed some errors but can't fix those, someone know what i need to do? Compiler error[QUOTE]Compiling... src\com\rs\net\decoders\handlers\ObjectHandler.java:1606: error: cannot find sym bol AdvancedGnomeAgility.RunGnomeBoard(player); ^ symbol: variable AdvancedGnomeAgility src\com\rs\net\decoders\handlers\ObjectHandler.java:1608: error: cannot find sym bol AdvancedGnomeAgility.PreSwing(player); ^ symbol: variable AdvancedGnomeAgility src\com\rs\net\decoders\handlers\ObjectHandler.java:1610: error: cannot find sym bol AdvancedGnomeAgility.Swing(player); ^ symbol: variable AdvancedGnomeAgility src\com\rs\net\decoders\handlers\ObjectHandler.java:1612: error: cannot find sym bol AdvancedGnomeAgility.Swing1(player); ^ symbol: variable AdvancedGnomeAgility src\com\rs\net\decoders\handlers\ObjectHandler.java:1614: error: cannot find sym bol AdvancedGnomeAgility.Swing2(player); ^ symbol: variable AdvancedGnomeAgility src\com\rs\net\decoders\handlers\ObjectHandler.java:1616: error: cannot find sym bol AdvancedGnomeAgility.JumpDown(player); ^ symbol: variable AdvancedGnomeAgility 6 errors Press any key to continue . . .[/QUOTE] Source code [url=http://pastebin.com/FescfLb1][Java] Source code agility - Pastebin.com[/url]
  4. i fixed the errors, but my spirit tree still doesn't work
  5. <spoiler> if (hunterNpc != null) { if (OwnedObjectManager.removeObject(player, object)) { player.setNextAnimation(hunterNpc.getEquipment().getPickUpAnimation()); player.getInventory().getItems().addAll(hunterNpc.getItems()); player.getInventory().addItem(hunterNpc.getEquipment().getId(), 1); player.getSkills().addXp(Skills.HUNTER, hunterNpc.getXp()); } else { player.getPackets().sendGameMessage("This isn't your trap."); } } else if (id == HunterEquipment.BOX.getObjectId() || id == 19192) { if (OwnedObjectManager.removeObject(player, object)) { player.setNextAnimation(new Animation(5208)); player.getInventory().addItem(HunterEquipment.BOX.getId(), 1); } else { player.getPackets().sendGameMessage("This isn't your trap."); } } else if (id == HunterEquipment.BRID_SNARE.getObjectId() || id == 19174) { if (OwnedObjectManager.removeObject(player, object)) { player.setNextAnimation(new Animation(5207)); player.getInventory().addItem(HunterEquipment.BRID_SNARE.getId(), 1); } else { player.getPackets().sendGameMessage("This isn't your trap."); } } else if (id == 2350 && (object.getX() == 3352 && object.getY() == 3417 && object .getPlane() == 0)) { player.useStairs(832, new WorldTile(3177, 5731, 0), 1, 2); } else if (id == 2353 && (object.getX() == 3177 && object.getY() == 5730 && object .getPlane() == 0)) { player.useStairs(828, new WorldTile(3353, 3416, 0), 1, 2); } else if (id == 11554 || id == 11552) { player.getPackets().sendGameMessage( "That rock is currently unavailable."); else if (id == 68974) player.getDialogueManager().startDialogue("SpiritTreeD"); else if (id == 1317) player.getDialogueManager().startDialogue("SpiritTreeD"); else if (id == 68973) player.getDialogueManager().startDialogue("SpiritTreeD"); } else if (id == 38279) { player.getDialogueManager().startDialogue("RunespanPortalD"); } else if (id == 2491) { player.getActionManager() .setAction( new EssenceMining( object, player.getSkills().getLevel( Skills.MINING) < 30 ? EssenceDefinitions.Rune_Essence : EssenceDefinitions.Pure_Essence)); </spoiler> <spoiler>if (!player.getControlerManager().processObjectClick2(object)) { return; } else if (object.getDefinitions().containsOption("Smelt")) { player.getDialogueManager().startDialogue("SmeltingD", object); } else if (object.getDefinitions().name.equalsIgnoreCase("furnace")) { player.getDialogueManager().startDialogue("SmeltingD", object); } else if (id == 17010) { player.getDialogueManager().startDialogue("LunarAltar"); else if (id == 68974) SpiritTree.openSpiritTree(player); else if (id == 1317) SpiritTree.openSpiritTree(player); else if (id == 68973) SpiritTree.openSpiritTree(player); } else if (id == 6) { player.getCannon().pickUpDwarfCannon(object); }</spoiler>
  6. Hey guys, Can someone help me with this error? starting... src\com\rs\net\decoders\handlers\ObjectHandler.java:533: error: 'else' without if' else if (id == 68974) ^ src\com\rs\net\decoders\handlers\ObjectHandler.java:1613: error: 'else' without 'if' else if (id == 68974) ^ 2 errors Press any key to continue . . . -Ryan
  7. [quote name='falconpunch']-sigh- The 14 warnings are fine, but to fix the errors, make a folder in your client called "libs" and put the clientlibs.jar in it.[/QUOTE] Can you help me on Skype? I tried everything and nothing work my Skype is "jonerdimis"
  8. [quote name='officiallulzs3c'][code]src\Class466.java:12: error: cannot find symbol JSObject.getWindow(applet).eval(string); ^ symbol: method getWindow(Applet) location: class JSObject src\Class466.java:20: error: cannot find symbol return JSObject.getWindow(applet).call(string, null); ^ symbol: method getWindow(Applet) location: class JSObject src\Class466.java:28: error: cannot find symbol return JSObject.getWindow(applet).call(string, objects); ^[/code] it may be an anti-leech, you would be better off asking on the topic you downloaded the source from and seeing if anyone else had this issue and managed to fix it[/QUOTE] oke, i need to do something with a libs folder, you know how to do that?
  9. [quote name='officiallulzs3c']post the errors[/QUOTE] src\Class_ra_Sub3.java:15: warning: Unsafe is internal proprietary API and may b e removed in a future release import sun.misc.Unsafe; ^ src\Class387_Sub3.java:6: warning: Unsafe is internal proprietary API and may be removed in a future release import sun.misc.Unsafe; ^ src\Class457.java:78: warning: Win32GraphicsDevice is internal proprietary API a nd may be removed in a future release Field field = sun.awt.Win32GraphicsDevice.class. getDeclaredField("valid"); ^ src\Class457.java:93: warning: Win32GraphicsDevice is internal proprietary API a nd may be removed in a future release Field field = sun.awt.Win32Graph icsDevice.class.getDeclaredField("valid"); ^ src\Class457.java:103: warning: Win32GraphicsDevice is internal proprietary API and may be removed in a future release Field field = sun.awt.Win32GraphicsDevic e.class.getDeclaredField("valid"); ^ src\Class_ra_Sub3.java:35: warning: Unsafe is internal proprietary API and may b e removed in a future release public Unsafe anUnsafe8219; ^ src\Class_ra_Sub3.java:2864: warning: Unsafe is internal proprietary API and may be removed in a future release Field field = sun.misc.Unsafe.class.getDeclaredF ield("theUnsafe"); ^ src\Class_ra_Sub3.java:2866: warning: Unsafe is internal proprietary API and may be removed in a future release anUnsafe8219 = (Unsafe) field.get(null); ^ src\Class387_Sub3.java:157: warning: Unsafe is internal proprietary API and may be removed in a future release Unsafe unsafe = ((Class387_Sub3) this).aClass_ra_Sub3_7894.anUns afe8219; ^ src\Class387_Sub3.java:2636: warning: Unsafe is internal proprietary API and may be removed in a future release Unsafe unsafe = ((Class387_Sub3) this).aClass_ra_Sub3_78 94.anUnsafe8219; ^ src\Class387_Sub3.java:2668: warning: Unsafe is internal proprietary API and may be removed in a future release Unsafe unsafe = ((Class387_Sub3) this).aClass_ra_Sub3_78 94.anUnsafe8219; ^ src\Class387_Sub3.java:2815: warning: Unsafe is internal proprietary API and may be removed in a future release Unsafe unsafe = ((Class387_Sub3) this).aClass_ra_Sub3_78 94.anUnsafe8219; ^ src\Class387_Sub3.java:2854: warning: Unsafe is internal proprietary API and may be removed in a future release Unsafe unsafe = ((Class387_Sub3) this).aClass_ra_Sub3_78 94.anUnsafe8219; ^ src\Class466.java:12: error: cannot find symbol JSObject.getWindow(applet).eval(string); ^ symbol: method getWindow(Applet) location: class JSObject src\Class466.java:20: error: cannot find symbol return JSObject.getWindow(applet).call(string, null); ^ symbol: method getWindow(Applet) location: class JSObject src\Class466.java:28: error: cannot find symbol return JSObject.getWindow(applet).call(string, objects); ^ symbol: method getWindow(Applet) location: class JSObject src\Class481_Sub1.java:74: warning: AuthenticationInfo is internal proprietary A PI and may be removed in a future release Class var_class = sun.net.[url]www.protocol.h[/url] ttp.AuthenticationInfo.class; ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors 14 warnings Druk op een toets om door te gaan. . .
  10. how can i solve these 3 errors? ( they are in the bottum of the compiler) src\Class_ra_Sub3.java:15: warning: Unsafe is internal proprietary API and may b e removed in a future release import sun.misc.Unsafe; ^ src\Class387_Sub3.java:6: warning: Unsafe is internal proprietary API and may be removed in a future release import sun.misc.Unsafe; ^ src\Class457.java:78: warning: Win32GraphicsDevice is internal proprietary API a nd may be removed in a future release Field field = sun.awt.Win32GraphicsDevice.class. getDeclaredField("valid"); ^ src\Class457.java:93: warning: Win32GraphicsDevice is internal proprietary API a nd may be removed in a future release Field field = sun.awt.Win32Graph icsDevice.class.getDeclaredField("valid"); ^ src\Class457.java:103: warning: Win32GraphicsDevice is internal proprietary API and may be removed in a future release Field field = sun.awt.Win32GraphicsDevic e.class.getDeclaredField("valid"); ^ src\Class_ra_Sub3.java:35: warning: Unsafe is internal proprietary API and may b e removed in a future release public Unsafe anUnsafe8219; ^ src\Class_ra_Sub3.java:2864: warning: Unsafe is internal proprietary API and may be removed in a future release Field field = sun.misc.Unsafe.class.getDeclaredF ield("theUnsafe"); ^ src\Class_ra_Sub3.java:2866: warning: Unsafe is internal proprietary API and may be removed in a future release anUnsafe8219 = (Unsafe) field.get(null); ^ src\Class387_Sub3.java:157: warning: Unsafe is internal proprietary API and may be removed in a future release Unsafe unsafe = ((Class387_Sub3) this).aClass_ra_Sub3_7894.anUns afe8219; ^ src\Class387_Sub3.java:2636: warning: Unsafe is internal proprietary API and may be removed in a future release Unsafe unsafe = ((Class387_Sub3) this).aClass_ra_Sub3_78 94.anUnsafe8219; ^ src\Class387_Sub3.java:2668: warning: Unsafe is internal proprietary API and may be removed in a future release Unsafe unsafe = ((Class387_Sub3) this).aClass_ra_Sub3_78 94.anUnsafe8219; ^ src\Class387_Sub3.java:2815: warning: Unsafe is internal proprietary API and may be removed in a future release Unsafe unsafe = ((Class387_Sub3) this).aClass_ra_Sub3_78 94.anUnsafe8219; ^ src\Class387_Sub3.java:2854: warning: Unsafe is internal proprietary API and may be removed in a future release Unsafe unsafe = ((Class387_Sub3) this).aClass_ra_Sub3_78 94.anUnsafe8219; ^ [B]src\Class466.java:12: error: cannot find symbol JSObject.getWindow(applet).eval(string); ^ symbol: method getWindow(Applet) location: class JSObject src\Class466.java:20: error: cannot find symbol return JSObject.getWindow(applet).call(string, null); ^ symbol: method getWindow(Applet) location: class JSObject src\Class466.java:28: error: cannot find symbol return JSObject.getWindow(applet).call(string, objects); ^ symbol: method getWindow(Applet) location: class JSObject[/B] src\Class481_Sub1.java:74: warning: AuthenticationInfo is internal proprietary A PI and may be removed in a future release ttp.AuthenticationInfo.class; ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors 14 warnings Druk op een toets om door te gaan. . . ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors 14 warnings Druk op een toets om door te gaan. . .
  11. Hello. I have a rsps for my friends and the compiler gives me some errors that i can't fix. Can somebody help me with it? My skype: jonerdimus I hope somebody will help me! -ryan
×