Jump to content

Explv

Scripter II
  • Posts

    2314
  • Joined

  • Last visited

  • Days Won

    6
  • Feedback

    100%

Everything posted by Explv

  1. OP is asking if the time and space complexities he stated are correct, not for a 'shortcut'. Also big O notation is very useful as it is a high level way of expressing the efficiency of an algorithm, allowing you to see how it will scale and compare it with other algorithms. It isn't for showing off or just for homework...
  2. Do you have to do it that way? It seems very inefficient
  3. I support having a list of banned users and the reason for them being banned. However, the email suggestion I disagree with. Consider the case where someone is falsely banned for scamming, their personal email is now released for people to abuse. Secondly, it is unlikely a scammer created their OSBot account with a non-throwaway email address anyway, and even if they have, they will just make a new account after this rule is enforced. Even if the scammer did create an OSBot account with a non-throwaway email address, what are you going to do with that information? I'm pretty sure doxing them is illegal Hacking their email is illegal So all you have done by releasing their email address is cause the above. Regardless of those points, it is probably illegal for OSBot to release that information in the first place.
  4. You have several options. If you know what items you want to buy, just hardcode the item ids Write your own buy method that uses item names instead of ids Use an existing buy method that uses item names instead of ids, there are already snippets around on the forum, for example: http://osbot.org/forum/topic/90148-simple-ge-api
  5. The source code is publicly available here: https://github.com/Explv/Explv.github.io
  6. Map has been updated to latest. If it does not show, empty your browser cache and reload.
  7. I'll update it when I get the chance, thanks!
  8. UPDATED 2016-11-24: - Added copy/paste functionality - Added Ctrl-c copy keyboard shortcut - Added Ctrl-v paste keyboard shortcut - Added delete keyboard shortcut
  9. You can get them using filters like in the example you posted, and then just store the result. You would only need to do it once and it wouldn't be that inefficient
  10. Enable widgets in options. Hover over the widget, you will see the widget IDs in the same colour as the box surrounding your widget. Input those IDs into the debugger
  11. The tutorial bug is a new update to tutorial island, haven't had the time to fix it yet, but will do it ASAP, hopefully tonight Thanks for the fishing bug report, I will take a look at that too.
  12. Do your scripts have a completion point where they stop? Or do you have to manually stop the script?
  13. Do you have access to the source code of these scripts?
  14. Sure, I can add some kind of grouping functionality like that
  15. I wrote a snippet for this a while ago: http://osbot.org/forum/topic/88389-mining-rocks-with-ore-no-ids/
  16. It will work with any script, if the script has no CLI parameters, just leave that field blank
  17. if (getGrandExchange().getStatus(GrandExchange.Box.BOX_1) == GrandExchange.Status.PENDING_SALE) { }
  18. You can get the status for a specific box like so: GrandExchange.Status status = getGrandExchange().getStatus(GrandExchange.Box.BOX_1); Where the Box value is from BOX_1 to BOX_8: And the status' returned are: INITIALIZING_SALE FINISHED_SALE CANCELLING_BUY INITIALIZING_BUY COMPLETING_SALE PENDING_BUY FINISHED_BUY CANCELLING_SALE PENDING_SALE COMPLETING_BUY EMPTY
  19. A configuration should be highlighted in green while the client that the configuration was run on is open.
  20. You can use an AreaFilter: NPC warrior = getNpcs().closest(new NameFilter<>("Al-Kharid warrior"), new AreaFilter<>(area), Character::isAttackable);
  21. I did not misunderstand what you are trying to do. The registerHook method has been removed from the API, to achieve what you want to do, you will need to disable all randoms, and write your own login handler, like this: http://osbot.org/forum/topic/109560-a-simple-login-handler/
  22. You can now disable randoms all together using the: -allow norandoms CLI flag, and then write your own custom login handler
×
×
  • Create New...