Everything posted by Camaro
-
Improvements for Looting Ground Items?
Using my Simple Continuous Loop Class,
-
Issue with GUI & NPE
Could do public void onStart() throws InterruptedException { gui = new fighterGUI(); while (gui.isVisible()) { sleep(1000); } . . . } to make it wait
-
Wine Telegrab
If you could lend an account with 500 total, yes
-
Wine Telegrab
I can add a CLI interface to define worlds to use ex. -script name:300-301-302, will this work for you?
-
Wine Telegrab
Hmm not exactly sure what this could be. Im guessing this happens when you press the pause button?
-
Collision Data Helper
Hey guys, made a simple app to help gather collision data for specific positions. Source Code Download Jar
-
First Ban, Without Botting!
Ive been banned before within 30 minutes of creating the account without botting. I'd suggest throwing out that proxy.
-
Wine Telegrab
Sure, ill add that in soon
-
Wine Telegrab
Issues should now be fixed.
-
Wine Telegrab
Can you give me some more information on the freezing? Was there anything in the logs? Was it able to fill the inventory? Did it happen every time?
-
getNearestBank();
If you're calling the method in onLoop(), it would be 'this' (Main extends Script) Although passing the script instance is bad practice... and I would suggest against using this due to the comments from above. You can pass multiple areas to the webWalker and it will automatically choose the closest.
-
Feedback for my first script
Optional<NPC> cageFishingSpot = this.getNpcs().getAll().stream() .filter(o -> o.hasAction("Cage")).min(closestCageFishingSpot); if (cageFishingSpot.isPresent()) { cageFishingSpot.get().interact("Cage"); fishingConditionalSleep.sleep(); } can be replaced with NPC cageFishingSpot = getNpcs().closest(o -> o != null && o.hasAction("Cage")); if (cageFishingSpot != null && cageFishingSpot.interact("Cage")) { fishingConditionalSleep.sleep(); } Notice How there is a null check in the lambda expression itself. Also, I moved the interact() method into the if condition. Only sleep if the interact() was successful.
- Wine Telegrab
-
Simple Continuous Loop Class
Yeah, I could have extended ConditionalLoop instead of event, but it wouldn't be different internally because ConditionalLoop executes an event anyway. Either way, enables lambda expressions similar to the custom sleep methods that are around.
-
Simple Continuous Loop Class
Added something similar
-
How To Use Widgets
So... in a lot of these methods, you're calling getWidget() multiple times back to back. This stresses the MethodProvider more than it has to as it retrieves an instance of this object every time you call it. You should only call the getWidget() method once in the entirety of the method you're using it in. For example, private boolean isMyWidgetWorking() { RS2Widget wid = getMyWidget(); return wid != null && wid.isVisible(); } Also, having the above method just to check if the widget is working isn't really necessary. Just put it right in the if condition in onLoop(). Finally, I hear getWidget().singleFilter() works pretty nice 😉
-
Simple Continuous Loop Class
Here's a little class to help execute a self-contained loop under a certain condition Usage
-
Bot accounts , and mass account creation
Making the account is a completely separate process from doing tut island. First, you would have to make a program that would generate an email address and then register an account on the runescape site. After that is complete, you could start the osbot client through CLI in that same program (think python subprocess module) and pass the email and password as parameters. Along with that, you would pass the name of a script that would complete tutorial island. Multithread, and you have millions of accounts instantly.
-
HitSplat API
The XCharacter interface seems to have some methods related to hitsplats that you could try to mess around with. Once you have a player object, you can access these by player.accessor. I would probably set off an async event to loop over all players and check their hitsplat info individually.
-
Conditional Sleep With Lambda Expressions
The condition() method gets called in the super class. It stops sleeping as soon as condition() return true. basically; while (condition() == false) { sleep(sleepTime) if (System.currentTimeMillis() > startTime + maxSleepTime) { break; } } And that's coming from the ConditionalSleep class's sleep() method in the decompiled osbot jar
-
Nice try jagex
Doesn't have to necessarily be anti botting. Any messages that come up in the chatbox show like that on tutorial island, including when you examine stuff. I think they recently added that unlocking songs generates a game message, but im not sure.
-
Account banned without botting
Amazon elastic ip, only I had access. Although there could be the chance that someone used it for that before I allocated it
-
Proxifier HELP!
VirtualBox is a type-2 hypervisor, which means it runs on top of your operating system. A type-1 runs directly on the hardware and requires less resources. It may be worth looking into a type-1 hypervisor if he wants to go down that route https://www.linux-kvm.org/ https://www.funtoo.org/Windows_10_Virtualization_with_KVM
- Wine Telegrab
-
Account banned without botting
Created account last night on an Amazon EC2 IP, hand did tutorial island, didn't touch overnight. Woke up this morning and the account is now banned. And here I was thinking that using Amazon IP's would save me from my troubles.