Everything posted by Butters
-
Bot crashes when not in the area of npc
Area FISHING_AREA = new Area(x, x, x, x); if (FISHING_AREA.contains(myPlayer()) { NPC fishingSpot = npcs.closest("Rod fishing spot"); if (fishingSpot != null) { fishingSpot.interact("lure"); ConditionalSleeepHere until interacting } } will only search for the fishing spot if you're in the area you need to be. Also checks if it found the spot before interacting. Basically just make sure that you interact only when you're sure that you have something to interact with
-
[Dev Build] OSBot 2.5.39
Seems to work great, thanks
-
0.53 [☆1000 Feedback☆] [LIFETIME SPONSOR]?️EATING COMPETITORS[BULK]
Sold 500m
-
Contabo help
They give root access so configure your own vnc. If starting manually do: vncserver -geometry 1920x1080 or any other resolution
- What Linux Distro do you use for botting?
-
Linux X server issues
This is purely a Linux issue, but thanks
-
Linux X server issues
50 is the rough limit Trying 110, though getting X server issues after 50+ bots
-
Linux X server issues
Howdy, Recently I've stumbled upon an issue when running 50+ bots on a single linux machine. After more bots try to launch I get the error Maximum number of clients reached After some investigating I found out that X server on Linux is limiting the maximum windows opened. I didn't find any decent ways to solve this apart from rebuilding the X server and changing some source code constants (didn't find and easy way to rebuild X server though) Have anyone of you ran into this problem and if so, how did you manage to solve it? Thanks
-
Creating a local socket client/server
Great things will happen
-
0.53 [☆1000 Feedback☆] [LIFETIME SPONSOR]?️EATING COMPETITORS[BULK]
Sold even more shinnies
-
0.53 [☆1000 Feedback☆] [LIFETIME SPONSOR]?️EATING COMPETITORS[BULK]
Sold more shinnies
-
0.53 [☆1000 Feedback☆] [LIFETIME SPONSOR]?️EATING COMPETITORS[BULK]
Sold a ton of shinnies
-
Close client after script ends
You're most likely launching your bots externally, so you can use Java 9 on the external launcher. Little code snippet below shows how you can start the bot, save it's proccess and then close all related instances. ProcessBuilder builder = new ProcessBuilder("java", "-jar" ....); Process process = builder.start(); process.descendants().forEach((process) -> process.destroy());
-
Problem with crossing wilderness ditch
do getWidgets().getWidgetContainingText("Enter Wilderness"); after you interacted with the ditch (use ConditionalSleep btw instead of just sleep) You need to get the latest widget instance when you want to use it
- Mechanical Botting
- [Stable] OSBot v2.5.31
-
Tabs not opening
Same issue for me, but only checked in tutorial island. Tabs don't open in tutorial island in both fixed and resizable. Worked in v2.5.28, didn't work in dev build 2.5.29 and doesn't in 2.5.30
-
[Dev Build] OSBot 2.5.29
Great work man. Though is it only for me that opening tabs doesn't work in tut island? Cause after I switch to fixed mode - same issues as before (need to relaunch the client)
-
OSBot VPS requirement
A must actually. Give 1Gb of RAM to one bot and you should be more than ok. The biggest bottleneck will be the CPU. Near impossible to say how many cores you'll need in a VPS, cause they quite often under deliver what was promised, but I'd say around 3 Xeon cores in a VPS should be ok for 10 bots. Had a 10 Xeon core VPS - managed to run 30-35 bots smoothly.
-
BOUGHT MY DREAM CAR (THANK YOU OSBOT)
Nice. I see you're a true petrol head
-
Area Checks
Area area = new Area(2001. 150. 2005. 160); // left corner X, left corner Y, right corner, X, right corner Y if (area.contains(myPlayer()) { chopStuff(); else { walking.webwalk(area); }
-
Closing specific osbot client
Lovely solution from Explv. Though it's this exact reason why I waited for Java 9 to come out back in September. If you launch your OSBot processes externally (as with Explvs launcher) you can use Java 9 Process API https://www.javaworld.com/article/3176874/java-language/java-9s-other-new-enhancements-part-3.html Makes it easy to get PID's, kill processes and etc
-
ClassNotFound Error: ConditionalSleep
Quite strange. Does your script work in general if you ditch ConditionalSleep? Cause my guess is that your script didn't compile properly, so either: 1) Didn't put OSBot jar on classpath 2) Bad imports
-
Account Creation
PM if interested
-
Doubt about the operation of the bot
Seeing your code would help. Possible reasons: 1) You're running an a loop which doesn't break when you're logged out 2) Code not properly written