Log in

View Full Version : how do i bot for more than 6 hours +



print
08-06-2012, 08:50 PM
like how do i make my bot start up again if loggs off by iteself for 6 hour limit thing

Benny
08-06-2012, 08:52 PM
try crashsmart :)

use the search button

x[Warrior]x3500
08-06-2012, 09:06 PM
put SRL_SixHourFix:= true;
before setupSRL;

illester
08-07-2012, 04:47 AM
Search button is a good place to start.

Jordan155
08-07-2012, 05:17 AM
SmartManager man.
http://mastercleansesecretv.com/upload/25/happy.png

shstiger2009
08-07-2012, 05:21 AM
The SixHourFix function in SRL does work, but I think in some cases it doesn't (don't know why). Your best best at the moment would b to use SmartManager...but I'm pretty sure Brandon is fixing the SixHourFix in SRL. He may have already fixed it actually because I saw my script restart itself by itself, it was so cool! So yeah...it works but idk if it's 100%. I'd test it out if I were you, let us know if it works and help out! :)

Deni_mulic
08-07-2012, 05:30 AM
I've never had SixHourFix work, SmartManager +


ID:=Smart_CurrentClient;
SmartKillClient(ID);

is what I use

P1ng
08-07-2012, 05:34 AM
I've found on scripts where the mainloop is until(not LoggedIn); that the SixHourFix doesn't work, because obviously you aren't logged in if SMART is crashed..

John
08-07-2012, 06:23 AM
The SixHourFix function in SRL does work, but I think in some cases it doesn't (don't know why). Your best best at the moment would b to use SmartManager...but I'm pretty sure Brandon is fixing the SixHourFix in SRL. He may have already fixed it actually because I saw my script restart itself by itself, it was so cool! So yeah...it works but idk if it's 100%. I'd test it out if I were you, let us know if it works and help out! :)
My smart has been reset 6 times so far successfully via SmartSixHourFix.

x[Warrior]x3500
08-07-2012, 06:28 AM
My smart has been reset 6 times so far successfully via SmartSixHourFix.

yah, ive never had an issue with this in any of my scripts. works every time.

Le Jingle
08-07-2012, 06:37 AM
Do the scripts that SmartSixHourfix works with, build up the Simba RAM usage overtime to considerably good chunks? (400k ram per 6h?)

John
08-07-2012, 06:44 AM
Do the scripts that SmartSixHourfix works with, build up the Simba RAM usage overtime to considerably good chunks? (400k ram per 6h?)

No It does not.

Eric904P
09-19-2012, 05:55 AM
I use an if-then clause -
If Not LoggedIn() Then
SmartKillClient(Smart_CurrentClient);

or a repetitive series of actions that you are botting -
Repeat
<Procedure/Function name here>;
Until Not LoggedIn()
SmartKillClient(Smart_CurrentClient);

I put what normally would be my main loop in a procedure, then have my main loop as a 3 line repeat
for example:


procedure loop; //whatever you want to have your bot do goes within this procedure, i have a simple excerpt here
begin
SRL_SixHourFix:=True; //this only sometimes works as I have found
SetupSRL;
ActivateClient;
Login;
wait(5000)
ActivateClient;
Repeat ClickMouse(626,499,mouse_left); //this logs me into my favorite world with a good ping, instead of a random one :) i repeat just in case something screws up
wait(20000)
Until LoggedIn ()
ActivateClient;
Repeat
<YourProcedureHere>;
Until Not LoggedIn()
SmartKillClient(Smart_CurrentClient);
Writeln('Restarting Client...'); //I use this as a log of times, I find it more efficient then creating a text file with the info.
Writeln(GetSystemTime);
end;

Begin //main loop starts here
Repeat
Loop; //the Procedure above
Until(False) //infinite
End.

Login is a procedure I wrote to log my player into a specific world, I was having syntax issues when I put that in the same clause as SetupSRL;

This covers possible updates better than SMARTManager imho, and the main advantage i enjoy is the fact it is included within the program 100%, and does not require you to restart the entire script.