Jump to content

progamerz

Scripter II
  • Posts

    3466
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    100%

Everything posted by progamerz

  1. Osbot's hooks got broke, we will need to wait for devs to update it.
  2. Can help you in testing and looks awesome
  3. Please for the bugs to be fixed, fill in the bug report form in the OP. Thanks
  4. The pathing issue isn't my problem its the webwalker, tho i can create custom paths which would make it more accurate, as for the first problem, is there any error in the logger when it says "Walking to yew location"?
  5. Can u check the logger for me? edit: If possible please use the format provided in the OP to report a bug? Thanks
  6. did u select "bank" or "depositbox" in the GUI? what was the status saying in the paint?
  7. Again why u used that in the onstart() method? onstart is only for the script to run specific code when started what i sent should be in the onloop. Edit: not being rude, but do you know basic java? and did you try looking at the tutorial section? would help you out https://osbot.org/forum/forum/250-tutorials/
  8. for (int i = 0; i < 53; i++) { if (!bankArea[i].contains(myPlayer())) { walking.webWalk(bankArea); if (bankArea[i].contains(myPosition())) { } else if (!getBank().isOpen()); { getBank().open(); new ConditionalSleep(2000, 100) { @Override public boolean condition() throws InterruptedException { return getInventory().isEmpty(); } }.sleep(); } } } return random(2000, 500); why return random(2000,500)? that would simply not work i think, the first param should always be less than the second return(500,2000) instead of doing for(int i = 0; i < 53, i++) you could simply do for(int i = 0; i < bankArea.size, i++) And you have done many non logical things here, your logic currently is if bankArea[0] does not contain your player walk to it? so that would probably walk you to everybank, cause to walk to the closest you need to use WebWalkEvent. Instead of all this just do an object booth and assign to it the closest object with name "Bank Booth" if object is null(as it will be null if you aren't in the bank) u will create a webwalkevent and walk to nearest bank, or else open bank and etc. As for the ConditionalSleep please check out the docs, and why would you wait for the inventory being empty? instead wait for the bank to be open. for (int i = 0; i < bankArea.length; i++) { if (!bankArea[i].contains(myPlayer())) { WebWalkEvent event = new WebWalkEvent(bankArea); execute(event); } else { if(getBank().isOpen()) { if(getBank().depositAll()) { new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return getInventory().isEmpty(); } }; } } else { if(getBank().open()) { new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return getBank().isOpen(); } }; } } } } OR RS2Object bankBooth = getObjects().closest("Bank booth"); if(bankBooth != null) { if(getBank().isOpen()) { if(getBank().depositAll()) { new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return getInventory().isEmpty(); } }; } } else { if(getBank().open()) { new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return getBank().isOpen(); } }; } } } else { WebWalkEvent event = new WebWalkEvent(bankArea); execute(event); }
  9. Hey, can u make sure what is the latest script version? as when i am currently running it shows v202 and i saw that you posted an update V207 so i am confused:
    ZzCQStN.png

    1. PKDealer

      PKDealer

      same to me

      please help with this

       

    2. PKDealer

      PKDealer

      Czar i really need help with ur script, im not sure if im doing something wrong but i can make my acc take its stuffs after dead, deathwalk not working for me.

      i pm u in the past but no anwesr till these days

       

       

  10. Can pm me/add my skype in signature for a private script
  11. V2.1 Pushed some various changes made: Full re-write done Changed paint a bit Fixed a small bug in ChangeAxe task where it wouldn't change axe untill you are having 21+ wc Added 3 new more locations Added more accurate logs counting(seperated yew logs from normal logs) Added stop script if you had "ChangeAxe" mode on and you didn't have in the bank the axe which u need to use
  12. He was asking you "what version you are running" cause it says it in the paint bottom i think iirc
  13. progamerz

    C# Hw

    Any more before closing ?
  14. progamerz

    C# Hw

    If i am "scripter" doesn't mean i am an expert in math, i have done already 4 exercices before this using "for" loop lol
  15. progamerz

    C# Hw

    the factorial didn't make sense for me lol, unless i knew the question wanted like if i entered 10, it will multiply it with all number less than 10 lol
  16. progamerz

    C# Hw

    Thanks appreciate it i didn't understand the question thats why Solution found, Request close
  17. progamerz

    C# Hw

    Q- Write a program and ask the user to enter a number. Compute the factorial of the number and print it on the console. For example, if the user enters 5, the program should calculate 5 x 4 x 3 x 2 x 1 and display it as 5 ! = 120. Can someone help me in this? @The Hero of Time maybe?
  18. Looks awesome looking forward to using it or testing it as usually i am sure it will be awesome as your other scripts!
  19. Hey eagle, i might start tomorrow if that is np? as i am busy today to babysit and report bugs + i don't have a bond atm but have the money so i am planning to start tomorrow ill let you know how it will go and gonna try it on a lvl 1 farming acc for sure!
×
×
  • Create New...