Jump to content

Polymorphism

Members
  • Posts

    368
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Polymorphism

  1. So assuming threshold=1 would be exact position or threshold=0 would be? I'm giving this a go, still new to this API so haven't learned the ins and outs
  2. In one of my scripts, there is a safespot tile the player should be moved back to under certain conditions. I have the conditions laid out properly, as the webwalking event is firing (also another issue, seems to take it at least 2 seconds to start walking) It's obvious that the final destination had not been reached but it's sitting there indefinitely saying it had been, causing the script to hang a flood the logger. (the safespot is that tucked away corner of the bones) Below is some code, please don't nag about the sleeping. Dynamic sleeping is irrelevant in this snippet
  3. Meh, looks overcomplicated to hell. You'd still have to parse out the quantity by going with substring and trim. I found it easier on my eyes to do it this way, and the speed difference is so little it's laughable. Now if we were doing like 20k of these in one go this would be done a little different.
  4. Takes a little bit of regex but it's simple to do. Instead of adding the item name to a list, in my loop() I do if valuableLootName !empty then force loot the one item, then resume normal function. String tmpLootName = ""; if (msg.contains("aluable drop")) { tmpLootName = msg.replace("<col=ef1020>", "").replace("</col>", "") .replaceFirst("(.{0,15})", "").replaceFirst("(\\d x)", "") .replaceFirst("\\(([^\\)]+)\\)", "").trim(); log("DROP MESSAGE: " + tmpLootName); valuableLootName = tmpLootName; }
  5. holy hell, mustve sucked writing this up. Gotta be only of the only efficient ways to do it though
  6. This is awesome, I love webwalking lol. Thank you!
  7. Good to know, do you know how it'll react to not having the key to get to hill giants in edge dung
  8. does it handle doors, ladders, etc? is the stronghold of security mapped for webwalking? if so, do the bot take care of the questions? if not, whats the best method to take care of navigating the stronghold & answering the questions. I believe that's it for now...
  9. Instead of checking your health, check if youre under attack. Also use dynamic sleep, not that while static sleep crap
  10. This? " [OPEN] SDN Upload Requests " http://osbot.org/forum/forum/181-open-sdn-upload-requests/
  11. This script will curse whatever NPC name you type, until you can't any more. It will attempt to walk back to the starting position if moved Will wait a few seconds after each "npc is already cursed" (or whatever the game says) Logout when can't cast anymore and dumps stats in logger 1-28=-1 = Script hasn't really had any testing by me, but is based off my teleporter that had a few changes made to it. DOWNLOAD POLY CURSER HERE
  12. To those of you who were interested in seeing my script release. It's a tad later than "tomorrow" but i decided to add a few more features and improve stability. http://osbot.org/forum/topic/114629-poly-powertrainer-powerfight-powerbones-powerlooting/
  13. Thank you everyone! You guys seem a bit more active than other places. You mind me asking, where can I find information on scripter reqs? I've done a few searches and skimmed the topics but can't find much thats relevant.
  14. Hi guys, some of you may know me from other places as oneluckyduck or polymorphism. Lately I have been feeling a little "Runescapey" and have been on a solid 5 months programming binge...sooo...here I am! I'll be releasing a script tomorrow, just a quickie for my alt account to boost some levels.
×
×
  • Create New...