Everything posted by Explv
-
Explv's AIO [13 skill AIO in 1 script]
I will push a fix tonight, some widgets got changed I think and silly me used hardcoded IDs here.
-
Explv's Tutorial Island [Free] [Random Characters]
Yep think they changed widgets, will update tonight.
-
Explv's OSBot Manager
When you login to OSBot do you use Jeune Padawan as your username? If so, try surrounding it with quotes in the input box: "Jeune Padawan" If that does not work try \"Jeune Padawam\" I don't think my code currently accounts for a space in the username, I will add a fix asap
-
interact() weird behavior
@Tylersbored Like Token said, you should be using .equals() to compare the String values for equality, not ==. For primitives such as int, boolean etc. you use == For non-primitives such as String, Integer you use . equals() because == will only return true if the object references are the same, whereas equals() will compare the values
-
can't get acceptTrade() to work
In my opinion, it should be more like: if not is currently trading: if interact "Trade with" on worker is successful: Conditional sleep until is currently trading else if not my offer contains coins: if enter amount dialog is visible: type 35k else if interact "Offer-x" on "Coins" is successful: Conditional sleep until enter amount dialog is visible else if not accepted trade: accept trade Interactions can fail, so you shouldn't continue with other interactions unless you know the first one succeeded. For example, in your code you type 35k after interacting with the Coins, but the Coin interaction might fail (it probably won't), and your bot will just type 35k into the chatbox.
-
can't get acceptTrade() to work
Why are you using while loops? Firstly the script is already looping, (the method is even called onLoop) and you also only want to be offering items and accepting trade once. Your code should be structured more like: If not in trade with player then trade player Else if first window and not offered coins then offer coins Else if not accepted trade window accept trade window
-
Some questions
1. Write it yourself, not hard 2. Your IDE might give you a warning, but it does still recompile the .jar. If you then press refresh in the script selector, the script will be reloaded.
-
List of all OSBot CLI arguments
Should be: -proxy: ip:port or ip:port:username:password
-
Explv's Walker
It's working for me. It is likely that it cannot find a route to your destination (you can check the log), try walking to somewhere else.
-
getlocalWalker
getWalking().walk(area) Next time please check the API: https://osbot.org/api/org/osbot/rs07/api/Walking.html https://osbot.org/api/org/osbot/rs07/script/MethodProvider.html#getWalking--
-
Checking prayer and hp?
You have to call interact(interaction name) on the item returned by getItem
-
Typing instantly
With that import you would have to change it to KeyEvent.KEY_TYPED.....
-
Explv's OSBot Manager
Looks like you possibly have a broken local script that it tries to load. I will update the code so that it doesn't break when trying to load a broken local script, but for now you should figure out which one it is (it won't load in OSBot either) and remove it from your scripts folder.
-
Explv's OSBot Manager
Yes. In the bot settings tab Are you saying the manager doesn't even open?
-
Explv's OSBot Manager
Are you sure the path to your OSBot.jar is correct? Try running the manager from the command line and see if it outputs any errors
-
Explv's OSBot Manager
What operating system are you using? When you say nothing happens do you mean the client doesn't even open? Have you checked that you have set the path to the OSBot.jar in the Bot Settings tab?
-
Typing instantly
You have to import it from this class https://docs.oracle.com/javase/7/docs/api/java/awt/event/KeyEvent.html
- Explv's Map
-
How to implement a method from another class?
https://www.tutorialspoint.com/java/java_object_classes.htm
-
How to show x number of logs chopped?
For xp, like I show in my paint tutorial, you use the XP tracker. In onStart() call: getExperienceTracker().start(Skill.WOODCUTTING); Then in your paint: g.drawString("XP Gained: " + formatValue(getExperienceTracker().getGainedXP(Skill.WOODCUTTING)), x, y); Or for xp/hour you can use getExperienceTracker().getGainedXPPerHour(Skill.WOODCUTTING)
-
Explv's AIO [13 skill AIO in 1 script]
Dark wizards by the willow trees? No it does not Yes the pathing is randomized Yes I will add more simple quests in the future (probably only to ~8qp), not sure when though
-
Explv's AIO [13 skill AIO in 1 script]
I am currently working on fixing saving/loading, I hope to have a fix pushed by the end of today. I will take a look at the firemaking issue
-
Explv's AIO [13 skill AIO in 1 script]
Just pushed a fix for that, it will no longer spam click after the SDN is updated. And yes, i'm working on combat soon
-
This makes abso-fuckin-lutely no sense...
Please post in the scripting help section in the future if you have questions about scripting. This section is more for general updates on scripts people are making
-
My first script <3 (Couple of questions)
Hovering WC XP sounds like amazing antiban, you should add that for sure!! Also for scripter 1 rank you can apply for your script to be uploaded here: https://osbot.org/forum/forum/181-open-sdn-upload-requests/