Jump to content

PolishCivil

Members
  • Posts

    669
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    100%

Everything posted by PolishCivil

  1. Use non AT scripts.
  2. lol, are you serious.
  3. Pssh until you guys pay, i will update my script. #Polishmaterialist
  4. This is so old.
  5. https://www.youtube.com/watch?v=G1moQNlCA8g
  6. ._. It was a joke...
  7. spam my skype, im going to take a nap.
  8. Hey, I need 91+ thieving account for 30 min to fix my script, add my skype : softnyxpolska !!! It needs to have access to sophanem (pyramid plunder) !!!
  9. Na, osbot 1 is cool and even stable if you know how to script. But v1 doesnt have decent api ;/
  10. I don't want v3, i want cool, stable bot with decent api, thats all.
  11. PolishCivil

    v1.7.82-6

    Where is ghost version .85? Cuz i have conflicts on sdn
  12. Whats even the point of donor use "unofficial private beta" client? 1. Even script devs cant run dis. 2. 50% of scripts doesnt work in dis. 3. Donors probably dont write scripts so? Imho dis and other beta releases should be only for scripters.
  13. Um, how would you walk from lumb to edge if you dont have collision data ;o As i remember from rsbot's webwalker had collisiondata dumping itself. If you dont use collision flags, explain me what is the point in using this.
  14. You can't find good path w.o collision data. Atm with this pf you can walk max 104 tiles assuming you wrap local region mapdata. Try to find old rsps collision data and implement loader to it, then it will be true web walker. ;P This is better simulation to understand dijskra: (imagine that object is wall) Vs a*
  15. Umh its really no use if we dont have collision data. There are tons of this implementation on internet. However ty.
  16. Im java expert heeh ;34;
  17. Ok, lets start shitstorm. "You need to retrieve two fields to check if an item is selected whereas I only need to retrieve one" You're doing the same thing, except im doing it on slot which can be used to checking if magic spell is selected. "you are creating a new class loader when you could have simply used the one created by OSBot" I'm getting the same class loader as you (only one time tho) Using osbot class loader will cause changing method name ... Ok, my time: You are searching for field each time you check if your item is selected which is very bad, also you're seaching for loaded classes each time you check which is bad too. "As for my code, it's not working as I haven't updated it which would literally take a second." If it does, why wouldnt you do it instead of flaming my one, working?
  18. PolishCivil

    BETA v1.7.69

    Im just tired of changing keyevents class names ;s Can you exclude them from renaming?
  19. Na, you're getting field each time you check, also you're getting item name not slot id which is bad too. Also, you are getting classloader from renamed method which is bad. And its not working at all, thats why i added mine lol.
  20. private final String selectedItemCheckFieldName = "is", selectedSlotIdFieldName = "gw"; private Field selectedItemCheck = null, selectedSlotId = null; public boolean isItemSelected(String name) { try { if (selectedItemCheck == null) { try { ClassLoader loader = client.instance.getClass().getClassLoader(); Class clazz = Class.forName("client", false, loader); selectedItemCheck = clazz.getDeclaredField(selectedItemCheckFieldName); selectedSlotId = clazz.getDeclaredField(selectedSlotIdFieldName); selectedSlotId.setAccessible(true); selectedItemCheck.setAccessible(true); } catch (NoSuchFieldException | SecurityException | ClassNotFoundException ex) { Logger.getLogger(AbstractScript.class.getName()).log(Level.SEVERE, null, ex); } } int i = (int) selectedItemCheck.get(null); if (i == 0) { return false; } else { final Item item = client.getInventory().getItems()[(int) selectedSlotId.get(null) * 1168746611]; if (item.getName().equalsIgnoreCase(name)) { return true; } } } catch (IllegalArgumentException | IllegalAccessException ex) { Logger.getLogger(AbstractScript.class.getName()).log(Level.SEVERE, null, ex); } return false; }
  21. Firewall, antivirus may be blocking your connection.
×
×
  • Create New...