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
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