Jump to content

Ace

Members
  • Posts

    592
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Ace

  1. Hey, For a private nmz script I'm having the issue to check wether the player already has a dream bought or not. It's the config id 1058 that changes but the value changes. Suppose you buy a dream and the config changes to a number, then you cancel the dream and the config changes again. This would work but the problem is that when you enter the dream and exit it, the configs from before are not the same anymore when having or not having a dream. I figured out that the hexadecimal value can be used to compare that, since it's always the same two values. How can I get the hexadecimal value of a config? Hexadecimal values: https://gyazo.com/9d690c6998f935b08d672f0adc42a167 Thanks a lot for your time!
  2. Ace

    85 mining

    Messaged you on skype: acehd. With the dot
  3. Nice, is it going to be free?
  4. The problem is, when getting the widget by its root and child id, that it gets the wrong id when there are fewer options available in the looting bag option. So it would be A LOT easier to just use getWidgetContainingText.
  5. Thanks for the reply, choosing the widget by its root and child id works fine too?
  6. Mirror client version v2.13.107 Console output / terminal output: None Crash report if a crash occurred: None Script that you ran: own script Hooks that failed: None JVM/Browser bit version (32 / 64): 64 Hey, on my own green dragon killer script it supports looting bag. I'm using getWidget().getWidgetContainingText("All") to make sure the script deposits all items into the looting bag but for some reason when using the mirror client it always selectes the widget that contains ("One") and not ("All"). It works perfectly fine when running the same script on injection mode so I guess it has something to do with the mirror mode. The method I'm using: @Override public boolean execute() throws InterruptedException { Item i = sA.getInventory().getItem(new Filter<Item>() { @Override public boolean match(Item i) { return i.getName().equalsIgnoreCase("Green dragonhide") || i.getName().equalsIgnoreCase("Dragon bones"); } }); if(i != null && sA.getInventory().getAmount(i.getName()) > 2){ if(sA.getInventory().getItem(i.getName()).interact("Use"));{ new ConditionalSleep(2000, 100, 50) { @Override public boolean condition() throws InterruptedException { return sA.getInventory().isItemSelected(); } }.sleep(); } if(sA.getInventory().isItemSelected()){ sA.getInventory().getItem("Looting bag").interact(); new ConditionalSleep(4000, 100, 50) { @Override public boolean condition() throws InterruptedException { return sA.getWidgets().getWidgetContainingText("All") != null; } }.sleep(); } if(sA.getWidgets().getWidgetContainingText("All") != null){ sA.getWidgets().getWidgetContainingText("All").interact("Continue"); sA.sleep(MethodProvider.random(600, 800)); } } return true; }Thanks for your time!
  7. Thanks guys how could I miss this lol
  8. Hey, I'm trying to figuring out how to write integers with the getKeyboard class but it doesn't seem to work. What I've tried so far is: getKeyboard().typeString(String.valueOf(Integer, true); and this from bobrocket: http://osbot.org/forum/topic/73829-smartkeyboard-better-human-typing/ None of those are working, it just doesn't type anything. Do you guys have any suggestions? Thanks in advance!
  9. Hey, just tried it out and it doesn't seem to work if I try to type an integer, it just doesn't type anything
  10. Thanks for the updates! Is getWalking().webWalk(Position) still deprecated?
  11. The same problem happened to me, all I had to do is change all similar class names, variables etc. And then after a re-push it worked
  12. Pm me your skype if you want to test it :p
  13. Ace

    Explv's Walker

    Second :p Looks great!
  14. okay I got it working so that it counts correctly but the thing is that the counter starts not at 0 but at the number that the widget is showing. So for example: You start the script and in GWD you already have 50 kill count, so the script starts to count at 50 instead of 0. And once you leave the GWD the kill count will be reset
  15. and would I compare them onLoop? wouldn't then the values always be the same?
  16. Alright, I've already tried what kevzilla suggested and I think I'm thinking too far. So the current kill count is always the widget text and how would I define the old/new one so I can compare them?
  17. Hey, I'm trying to figuring out how I could best detect the change of an integer's value. In the GWD there are widgets for the current kill count and what I'm trying to do is parse the message of the widget to an integer and then detect when this integer increases so you can get a pretty accurate kill counter. Do you guys have any ideas of how to detect if an integer has increased in its value? Any help is greatly appreciated!
×
×
  • Create New...