Everything posted by HeyImJamie
-
Progamerz AIO Cows
Why would you not just make this into an AIO Combat?
-
SetWalkTo(false) not working
I'd suggest stopping the other script from walking away? The only checks I can see you doing from this end are making sure the players animation is -1 and that they're within 1 tile at the time of accepting the trade. If your player moves, just walk back?
-
Layout onstart script
Just grab a String like Apaec's done and split at ","'s for example, then just iterate the values and add them to an ArrayList
-
Error need help. Boolean.
You're not null checking. Also, you can simplify your methods by just returning the boolean value of widget.getAmount > 0
-
issues with widgets
Just wondering if it never actually updates. What exactly are you using this for? Possibly a workaround.
-
issues with widgets
How often are you updating your variable?
-
Bot Busting Methodology and Counter?
No one truly knows.
-
Our newest S3
I got excited for @Explv for a second. Gz Project.
-
Paint won't show
Print the value of guiOptionChose and make sure it's being set correctly.
-
AIO F2P Cutter - Progressive
Why level 16 and not 15? ?
-
onExit()
I doubt it, I can't see there being a relation with closing the JVM and onExit being called. onExit is for when the script code exits 'naturally', i.e via use of the stop button.
-
Bot not eating
There's literally a fuck off warning and you're questioning why things aren't running fine?
-
Exporting jars from multiple main classes
Na bro do what I did when I was learning and release all your private scripts in one jar
-
Ok guys, spill the beans
I mean it's on the same screen but... ?
-
Making a script in mirror mode
Just write as you would normally.
-
Stuck adding external libraries to local script for api calls.
I might be wrong, but I don't think osbot supports external libraries.
-
Inconstancies with Entity getHeight()
Are you reassigning the RSObject?
-
Scripting Question
Just check you're not in combat while trying to hop
-
"Or" ||
It'd be slightly useful if any part of it was correct. As mentioned above, your walking call will be made no matter the outcome of your if statement, and your if statement as it stands currently checks if you're in the bank and your inventory contains rune essence OR your inventory contains pure essence, with no bank check. The correct code would be: if (Banks.FALADOR_EAST.contains(myPlayer()) && (getInventory().contains("Rune essence") || getInventory().contains("Pure essence"))) { // walk } although, you could just simplify it to: if (Banks.FALADOR_EAST.contains(myPlayer()) && getInventory().contains("Rune essence", "Pure essence")) { // walk }
-
Connecting to Database
JDBC / External libraries are blocked by OSBot.
-
Script stacking somehow
Are you planning on showing us some code or?
-
Auto-Muling
I wouldn't do something like this via a text file. If you were going to use .txt, I'd probably just output the username and then have the mule script remain logged in and only accept trades from usernames found within the .txt file. If you wanted something like you've mentioned, Sockets are likely the best way. They're fairly simple to use, and you can send a request from your slave to your mule, i.e -> NAME/LOCATION. The mule will then receive the request and you can handle that accordingly, by either returning a confirmed message or doing nothing at all. Here's some information: https://www.tutorialspoint.com/java/java_networking.htm
- Auto-Muling
-
Script interacting with database
You'll probably need to do something like Java -> Php -> Sql as Osbot's security features block a fair amount.
-
World Hopper for Mirror Mode (API is broken atm)
Why would you need to set w to 0 in your onStart when you can just initialise it as 0?