Log in

View Full Version : [FIX] SMART Restart After 6 Hours of RuneScape



foxfly1
03-28-2012, 12:18 PM
Hi, I'm a bit stuck. where exactly do I put:

SRL_Procs[srl_OnRSUpdate] := @CrashSMART;








program MethDwarfMiner;
{$define SMART}
{$DEFINE CRASHSMART}
{$i srl/srl.simba}
{$i srl/srl/misc/paintsmart.simba}


var
numOre, numGems, numLoads, ORE_DTM, GEM_DTM, tempMX, tempMY:integer;

procedure CrashSMART;
begin
Writeln('You are using CRASHSMART, so we are going to reload your client after the RS update!');
SmartgetFieldObject(1488,'crash'); // will crash SMART (and Simba).
// IF THIS DOES NOT CRASH YOUR SIMBA, YOU ARE NOT USING THE PROPER PLUGIN
// AN ACCESS VIOLATION HERE IS NOT THE CRASH; MAKE SURE YOU MOVED THE EDITED PLUGIN
Wait(5000);
WriteLn('CRASHSMART Failed: Make sure you are using the proper plugin!');
WriteLn('Read more about this feature at villavu.com/forum/showthread.php?t=67864');
TerminateScript;
end;

const
SRLStats_Username = 'Anonymous';
SRLStats_Password = 'anon1337';

LOADS = 10000; //How many loads per player
DROP_GEMS = False; //Set to true to drop gems, leave false to bank
PICKAXE_EQUIPPED = True; // Set to false if pickaxe is in your inventory
BETA_MINING = False; // Set to true to use a potentially faster, but buggier mining method

Harry
03-28-2012, 12:19 PM
Did you bother to read the instructions? It goes right after "SetupSRL". Find that in the script, Ctrl+F, and add that line right after it.

Why make a new thread anyways?

foxfly1
03-28-2012, 12:21 PM
I wouldn't be posting this If I didn't already try. I Got errors "duplicate Identifiers". one sec I'll try it again and and if there's another error


EDIT: haha! I'm so dumb! I figured it out......thanks anyway. It should be working now. the batch file in no way was hard to make...


EDIT: this is my batch file:

echo "Miner Restarter."
cd C:\Simba\
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."
Simba.exe -o Scripts\miner.simba -r
echo "Simba died."