Jump to content

Toph

Members
  • Posts

    608
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by Toph

  1. Another gorgeous shot.
  2. Toph

    Select menu option

    Feel free to change it and I'll update the main post with credit given
  3. It doesn't matter whether I read from the interface or IDs I get the same result I know. That's why I'm saying read interface instead of getting IDs. Getting all 110 IDs may take weeks. Getting all the interface text will take like an hour of copying from the wiki.
  4. Why not just read the text from the clue interface? Instead of getting all 110 IDs. This leaves only the what ~10 map clue IDs.
  5. This will return the character that your fairy ring interface shows. public char getRingPosition(int ring) { int s = script.client.getConfig(816); int a, b, c; int shift = (1 << 6) - 1; s = s & shift; c = s >> 4; s -= c << 4; b = s >> 2; s -= b << 2; a = s; switch (ring) { case 0: switch (a) { case 0x0: return 'a'; case 0x1: return 'd'; case 0x2: return 'c'; case 0x3: return 'b'; } break; case 1: switch (b) { case 0x0: return 'i'; case 0x1: return 'l'; case 0x2: return 'k'; case 0x3: return 'j'; } break; case 2: switch (c) { case 0x0: return 'p'; case 0x1: return 's'; case 0x2: return 'r'; case 0x3: return 'q'; } break; } return 0; }
  6. For some reason, OSBot doesn't have this already. So here: public boolean selectMenuOption(String action, String noun) throws InterruptedException { if (!client.isMenuOpen()) return false; boolean found = false; int index = 0; List<Option> menu = client.getMenu(); for (; index < menu.size(); index++) { if (menu.get(index).action.equals(action) && menu.get(index).noun.contains(noun)) { found = true; break; } } if (found) { int x = client.getMenuX(); int y = client.getMenuY() + 21 + index * 14; return client.moveMouseTo(new RectangleDestination(x, y, client.getMenuWidth(), 10), false, true, false); } return found; } Clicks a menu option from a currently visible menu.
  7. It's still not working@?#?@#? Premium writers are continuously underpaid and it is unclear why. They have yet to release a more clear payment system. All we see are sales numbers and the payments we get. The numbers for payments do not match up with sales, with some people like me being short about $100. I personally am not updating any scripts until this is resolved. Sorry users, complain to admins if you don't like this.
  8. Meh. Not that important. Fix script writer payments first.
  9. Well I'd start by looking at what numbers between 100,000 and 999,999 don't repeat any digits, and then figure out if those are "anagram numbers". The amount of numbers that don't repeat digits in that range are: 9*9*8*7*6*5 = 136080. So you have 136080 numbers between 102,345 and 987,654 that don't repeat a digit. Then to check if they're anagram numbers, you have to do *at most* 8 multiplications of those numbers by a single digit 2 through 9. Lets say it takes 6 tries on average (assuming most numbers aren't anagram numbers). That's still only ~600,000 multiplications you have to do, which any modern-day computer could do very quickly. Edit: OH LOL I WAS LOOKING AT Q1 PART 3
  10. Oh also, when using walker.walkPath(walker.randomizePath(toBank,2,2)); in your loop, you're effectively calling the randomizePath function every time you loop around. Not only is this a huge waste of time/resources, but it also leads to the path being less "random". As you randomize it many times per tile walked possibly, you'd get a distribution centered toward your actual tile, rather than closer to true random. It's more like gaussian random.
  11. Toph

    Toph Druids

    Yeah I know, it'll be great Mine's pretty simple, so I'm looking forward to seeing what you guys put together. What are you planning to price yours at then? It's such a simple script, I'd feel like a thief if I charged much more than $5. I'm not telling you how to price your script, by all means make it $5 or even less if you'd like! Just be careful to monitor what your script is doing to the RS economy and adjust prices accordingly. And I'm not joining in the Druid wars (see what I did there) I have enough premium scripts to manage and update right now Haha druid wars Okay. I'll be releasing a beta to the Local Moneymaking forum very soon to see what users think of the super-beta version.
  12. Toph

    Toph Druids

    Yeah I know, it'll be great :p Mine's pretty simple, so I'm looking forward to seeing what you guys put together. What are you planning to price yours at then? It's such a simple script, I'd feel like a thief if I charged much more than $5.
  13. Toph

    Toph Druids

    This still has to be approved by Alek to be for sale on the SDN, but I'm planning to do a beta like last time with NMZ until it's accepted.
  14. Toph

    Toph Druids

    Aannnnndd I'm done! Just putting together the paint and GUI now. Edit: I'll go $5. May have to lower it if others put one out for lower, but we'll see :p
  15. Toph

    Toph Druids

    I'm basically pulling from my slayer script and making this a very specialized case, so I have most of the code written, but I literally just "started" this script. Just have to put it all together. Should have it working in about an hour I'm not sure yet on price.
  16. Toph

    Toph Druids

    Hey y'all, I'm also making a druid script now. Watch out ;) If anyone has anything they want added/changed from 5uck's old one, PM me or post here.
  17. SDN script writer should at least get something. Give me the most fugly color you have.
  18. Not sure what other path walker your talking about. This is easier as you can use cory's path grabber to grab the path array and then you can feed it as a parameter. The other path walkers use multi dimensional arrays which isn't practical. How is a multidimensional array not practical? Yours uses an array of Position objects. I'd say the multidimensional array is more practical in that it uses less memory because each "element" stores 2 ints rather than a Position object that is (slightly) larger than 2 ints.
  19. Hi Mr.Waters 'Bay

  20. This isn't really pathfinding, more just finding the next tile to walk on given a manually entered path. Pathfinding would be entering, tile A and tile B, and walking all the way from A to B, without knowing what's in between ahead of time.
  21. Wait can it run RS3 since RS3 is HTML5 now? Hahah
×
×
  • Create New...