Sign in to follow this  
Followers 0
Gahnjuh

How To Keep Your Bot Running Longer Than 6 Hours.

68 posts in this topic

Hey guys, I know a lot of people have trouble with their bot crashing after 6 hours. This can be frustrating if you're wanting to keep it on all night while you're asleep, all day while you're at school and work, or if you want to suicide bot 24/7. Just follow this short, simple guide and you SHOULD be good. [img]https://cdn.powerbot.org/community//public/style_emoticons/default/happy.png[/img] Let me know if it works for you!

[center][b][u]Step One:[/u][/b][/center]
[center]Make a new folder on your desktop. Name it anything you want.[/center]

[center][b][u]Step Two:[/u][/b]
Drag your RSBot client into the new folder you just made.[/center]

[center][b][u]Step Three:[/u][/b][/center]
[center]Open Notepad. Copy and paste this code:[/center]

[center][CODE]
@ECHO OFF[/center]
TITLE Run by Ciphor
IF NOT EXIST RSBot*.jar (
ECHO [INFO] RSBot could not be found.
ECHO [NOTE] Please make sure RSBot is in the same folder as run.bat
GOTO end
) ELSE (
java -jar -Xmx1024m RSBot*.jar
)
:end
PAUSE
EXIT

[/CODE]
[/center]
[center][b][u]Step Four:[/u][/b][/center]
[center]After you've copied and pasted the code above in Notepad, go to File>Save as. Find the new folder you made earlier, you want to save this there. Type in [i]run.bat[/i] in the 'File Name' field. Click the arrow in the 'Save as type' field and select 'All Files'. Click Save.[/center]

[center][b][u]Step Five:[/u][/b][/center]
[center]After you have saved the .bat file into your new folder, go to the new folder on your desktop and open it. You should see the RSBot client and the .bat file in there if you've followed this guide correctly. Instead of double clicking the client to start the bot, double click the run.bat file you made earlier. This should start the client.[/center]

[center][b][u]Step Six:[/u][/b][/center]
[center]Go to school, work, go to sleep, or have some dirty play time with the reassurance of knowing your bot won't crash anymore. [img]https://cdn.powerbot.org/community//public/style_emoticons/default/happy.png[/img][/center]


[center]Hopefully this will work for you guys. Please tell me if it doesn't![/center] Edited by 0

Share this post


Link to post


Might try this! but what it actually does to prevent the 6h autologg timer? Edited by 0

Share this post


Link to post
I currently have

@ECHO OFF

TITLE Run by Ciphor

IF NOT EXIST RSBot*.jar (
ECHO [INFO] RSBot could not be found.
ECHO [NOTE] Please ensure RSBot is in the same directory as run.bat
GOTO end
) ELSE (
java -jar -Xmx1024m RSBot*.jar
)
:end
PAUSE
EXIT

as my run.bat and it still crashes after 6 hours only if I move my mouse.

Share this post


Link to post
I tried it on one of my bots, after 6 hours give or take a few seconds rs booted me, but then the rsbot reloaded the game, the bot logged me back in, and soon enough i was on my merry way training at runespan. I'll have to wait a while, but if this allows me to overnight with iDung, iloveu<3.

Share this post


Link to post
[quote name='inEpt' timestamp='1343690292' post='9073807']
I currently have

@ECHO OFF

TITLE Run by Ciphor

IF NOT EXIST RSBot*.jar (
ECHO [INFO] RSBot could not be found.
ECHO [NOTE] Please ensure RSBot is in the same directory as run.bat
GOTO end
) ELSE (
java -jar -Xmx1024m RSBot*.jar
)
:end
PAUSE
EXIT

as my run.bat and it still crashes after 6 hours only if I move my mouse.
[/quote]
Do you have the latest version of Java?

[quote name='Aledryx' timestamp='1343702343' post='9075642']
I tried it on one of my bots, after 6 hours give or take a few seconds rs booted me, but then the rsbot reloaded the game, the bot logged me back in, and soon enough i was on my merry way training at runespan. I'll have to wait a while, but if this allows me to overnight with iDung, iloveu<3.
[/quote]
Just let me know how it goes. :)

Share this post


Link to post
[quote name='502' timestamp='1343708741' post='9076457']
BUY VIP AND JUST RUN THE BOT. EASIEST WAY
[/quote]
Some people don't have the money to spare. :p

Share this post


Link to post
[quote name='502' timestamp='1343708741' post='9076457']
BUY VIP AND JUST RUN THE BOT. EASIEST WAY
[/quote]Orrr... Be an Attendee :)

Share this post


Link to post
[quote name='TheMerchant' timestamp='1343720180' post='9077671']
Orrr... Be an Attendee [img]http://cdn.powerbot.org/community//public/style_emoticons/default/happy.png[/img]
[/quote]
Or This... Buttt VIP is way better :D

Share this post


Link to post
[quote name='BeatzRS' timestamp='1343720420' post='9077705']
My bot runs longer than 6 hours without this.
[/quote]
RAM/Allocated Memory?
Also what kind of CPU are you running?

I'm using a .bat, but it's not like the one posted here, here's mine:
[CODE]
@echo off
java -jar -Xmx2048m RSBot*.jar ****
pause
[/CODE]
Going to try to add another gb and make it 3092m...
Running an Intel Core i3 2.4 with 4gb ram, Intel Integrated HD Graphics.... <Graphics card SUCKS, looking to upgrade another 4gb of ram, and also looking to buy a i7 processor.. About the processor, would I need to purchase a different cooling fan as well? My i3 overheats if the slots are covered for more than 3-5 minutes and hibernates...... lol. Edited by 0

Share this post


Link to post
[quote name='kaytje' timestamp='1344768692' post='9236146']
LOL
Just add your account info and bot does it auto
[/quote]

It dosent always, i have to run a bat.

Share this post


Link to post
[quote name='TheKingIsMeh' timestamp='1344769180' post='9236212']


It dosent always, i have to run a bat.
[/quote]
Lol I dont and I run Mac :) :)

Share this post


Link to post
tried doing this, did exactly how described and still get same error. Please make sure RSbot fis in same folder as run.bat. And they are. don't get why its not working.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0