Everything posted by todamach
-
Local scripts are not working
Yeah, works for me too.
-
Local scripts are not working
java.lang.NullPointerException at org.osbot.Gc.<init>(wo:158) at org.osbot.rs07.event.ScriptExecutor.prepare(qh:171) at org.osbot.rs07.event.ScriptExecutor.start(qh:197) at org.osbot.nUL.run(ak:448) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Worked perfectly yesterday.
-
Interacting (clicking) with widget w/o any interactActions
Yeah, I, kind of, figured it out at the start. Just made a silly mistake implementing it.
-
Interacting (clicking) with widget w/o any interactActions
Oh, I did. There's nothing in there for selecting an item from the widget that I've mentioned higher. Also, api for button to confirm offer (sell or buy) doesn't work too. setQuantity and getQuantity isn't working either. I made custom methods for all of that. Still, GE API is pretty decent. Can't complain.
-
Interacting (clicking) with widget w/o any interactActions
Yeah, that was a silly mistake. Thank you very much for responding. It's a separate class with a constructor public MinMaxPrice(Script sI) { this.sI = sI; } So I have to do it like this: sI.mouse.click(sI.mouse.getPosition().x, sI.mouse.getPosition().y, false);
-
Interacting (clicking) with widget w/o any interactActions
It doesn't work without the first line though. edit: not like it works with it
-
Interacting (clicking) with widget w/o any interactActions
I can only hover() this widget, but how could I click it? What I've tried so far: Mouse mouse = new Mouse(); mouse.click(mouse.getPosition().x, mouse.getPosition().y, false); ava.lang.NullPointerException at org.osbot.rs07.script.MethodProvider.execute(kc:642) at org.osbot.rs07.api.Mouse.click(no:157)
-
Buying item using GE
Hey, using grandExchange API how do I select an item to buy? I manage to get GE open, select a slot, but can't find anything there about selecting an item? Should I simply use TypeStringEvent, and choose item that way? Either way, can I get an example? Thanks.
-
Toda's Motherlode miner OPEN Beta
Yes, no hammer. Script is supposed to search for it in the create when needed. Also, this script is very unstable atm, and shouldn't be run without babysitting. Moterlode mines are IMO very bot-proof, and it's really hard to program good script for unexperencied guy like me. I might rewrite it all together, but I don't have much time atm.
-
Toda's Motherlode miner OPEN Beta
Is sack empty? Do you have pickaxe equiped or in inventory?
-
Toda's Motherlode miner OPEN Beta
Thanks everyone for the feedback. Script will be open beta till it's flawless. Also, can anyone confirm or deny, that attaching pickaxe heads is working/not working? Because I implemented it, but I don't know if it's working.
-
Which browser do you use?
http://ultronbrowser.info/
- ★___Sean's Bonds/Upgrades Buying & Selling Store ___★
-
Toda's Motherlode miner OPEN Beta
Released v0.03 today. Running it for almost an hour. Much more stable.
- ★___Sean's Bonds/Upgrades Buying & Selling Store ___★
-
Toda's Motherlode miner OPEN Beta
Script updated. More info in the OP. Thanks everyone for the feedback . There's still some bugs, but I'm sure I can figure it out.
-
Toda's Motherlode miner OPEN Beta
Thank you for the feedback I've been busy over the weekend, but I started working on the bugs yesterday. Already fixed couple of things, like fixing the strut, mining amost flawlessly (still vulnerable to miss clicks). After I fix missclicks, "pick-head" problem, and continue after level-up, I will release v0.1.1
-
Toda's Motherlode miner OPEN Beta
Yeah, I totaly forgot about re-attaching pickaxe heads. This will be fixed. It is supposed to fix the "wooden things", it did for me the numerous times I tested it. Option to drop the Pay-dirt? Is that fast xp or something? I can definetly add it. Also, I'll try to make fail-safe for misclicking. It is supposed to stand by the hopper, while ores are not in the sack. Can you elaborate more on what's happening during that time? Maybe wheels fail? (although that shouldn't break it) What do you mean by "or it just stands while mining the pay dirt.."? What is it supposed to do while mining the pay dirt? Do you mean antiban or something? BTW. Really appreciate the feedback
-
Toda's Motherlode miner OPEN Beta
i'll look at this after i get back home.
-
Need help with walking a path
Khaleesi, have you tried osbot pathFinder ? i use iy for walking when i only have one point
-
Need help with walking a path
well, but it traverses back. doesny that mean that loop oterates back to zero?
-
Need help with walking a path
try tu use something like: if p = length of the array, break it
-
Osbot alternative to useDefaultPaint(false)?
Honestly? No idea. Mine works, and I'm happy
-
Toda's Motherlode miner OPEN Beta
Toda's Motherlode miner OPEN Beta This is my first ever rsbot script. This BETA version will be free for everyone for a week. Next Saturday I will make it premium. Even though it's beta, it works pretty much flawless. Enjoy while you can. What is MotherLode? http://2007.runescape.wikia.com/wiki/Motherlode_Mine Features: Mines pay-dirt Supports all paths (this version (beta) randomizes, if it will be requested I will make an option to chooce a path for yourself) Cleans pay-dirt Fixes machine (no need for hammer, script searches for it in the box, and drops it after it fixed the machine) Banks ores Supports wielded pickaxe and pickaxe in the inventory Smart mining (if someone steels last rock, it doesn't stand in place animating, it imediatly goes to the next vein) Instructions: Start with pickaxe equiped or in inventory Empty out the sack before starting the script Start anywhere in the Motherlode mines. Known bugs this version (v0.03): Banking with pickaxe in invetory works, but should work smoother Mining still buggy Random events that doesn't interact with player can screw script up (like if Mysterious man, gives box and teleports out. script won't continue after random event unless you click on the vein) Only adds 1 gold nugget even if you got 2 or more. If someone fixes the wheel, while script was running to take a hammer, it will not search the sack, and go mining without banking DOWNLOAD HERE v0.03 Changelog: v0.03: Fixed: * Strut fixing should work now v0.02: Fixed: * No longer stuck after level ups * Strut fixing works better * No longer stuck after missclick * Clicks rockfall only once * Improved paint * Various small improvements Implemented: * Re-ataching pick heads (not tested yet) v0.01: * Release Special thanks to the forum member Khaleesi. Wouldn't have done it without you
-
Osbot alternative to useDefaultPaint(false)?
public void onPaint(Graphics2D g) { Graphics2D gr = (Graphics2D) g; } Does your onPaint method looks like this? Because I had the same problem, and it was Graphics instead of Graphics2D, i think. I was watching osbot1 paint guide to make a paint for osbot v2, so situation is the same.