SRL Archive - Outdated / Broken

ScriptCreator


weequ

2012-02-13 13:02:10

Creates scripts so you can upload them to pastebin. This should prevent ppl from leaching member scripts there ;)

I made this because someone made a thread about this issue in the public section.


Features
-The product should compile.
-Random name
-Declareplayers with random amount of players
-Random procedures
-Random mainloop


program ScriptCreator;
var
program0, program1, program2,
program3, program4, program5, program6, program7, program8: TStringArray;
programs: Array of Array of TStringArray;
namestring: String;
I, r1: Integer;

IntegerVariableNames: TStringArray;
StringVariableNames: TStringArray;
BooleanVariableNames: TStringArray;

currentline: String;

procedure WriteDeclarePlayers(HowManyPlayers: Integer);
begin
if Random(3) = 0 then
begin
WriteLn('{*******************************************************************************');
WriteLn('procedure DeclarePlayers;');
WriteLn('By: SRL');
WriteLn('Description: SRL''s Player Setup');
WriteLn('*******************************************************************************}');
end;
WriteLn('procedure DeclarePlayers;');
WriteLn('begin');
WriteLn(' NumberOfPlayers('+IntToStr(HowManyPlayers)+');');
WriteLn(' CurrentPlayer := 0;');
for I := 0 to HowManyPlayers-1 do
begin
if Random(2) = 0 then WriteLn('');
WriteLn(' with Players['+IntToStr(I)+'] do');
WriteLn(' begin');
WriteLn(' Name := '''';');
WriteLn(' Pass := '''';');
WriteLn(' Active := True;');
WriteLn(' Pin := '''';');
WriteLn(' end;');
end;
if Random(2) = 0 then WriteLn('');
WriteLn('end;');
end;

function GenerateProcedure(UsedProcedures: TStringArray): String;
var
ProcedureNames, lollero: TStringArray;
a, b: Integer;
sisennys: String;
kelvollinen: Boolean;
begin
ProcedureNames := ['WalkToBank', 'WalkBack', 'TakeBreak', 'Login2', 'AntiBan', 'HandleRandoms', 'PrintProggy', 'Bank', 'DoBanking', 'CheckCoins',
'AntiBanTalk', 'AntiBanWalking', 'AntiBan2', 'CheckNews', 'Rotate', 'Speak', 'EquipWep', 'ModAround', 'ConfigureSettings',
'TasteVengeance', 'CastDaSpec', 'CastSpec', 'HitTheGround', 'WalkToMiddle', 'WalkToCenter', 'TakeCare', 'StartRunning', 'Escape',
'TogglePray', 'SolveRands', 'WatchOut', 'Trololo', 'DoAntibans', 'WalkBank2', 'CheckInv', 'Turles', 'BatmanMoves', 'Eat', 'CheckForBounds',
'SayNP', 'HitTheButtons', 'PencilStategy', 'Sneeze', 'SetWalkings', 'SetupScript', 'ScriptManagement', 'ScriptSetup', 'BoredOfTypingProcedures'];
repeat
Result := ProcedureNames[Random(Length(ProcedureNames))];
Kelvollinen := True;
for b := 0 to Length(UsedProcedures)-1 do
if Result = UsedProcedures[b] then
begin
kelvollinen := False;
Break;
end;
until(kelvollinen);
WriteLn('procedure '+Result+';');
WriteLn('begin');
sisennys := ' ';
for a := 0 to Random(40) do
begin
lollero := ['MMouse('+IntToStr(Random(500))+', '+IntToStr(Random(500))+', '+IntToStr(Random(30))+', '+IntToStr(Random(30))+');', 'Wait('+IntToStr(Random(5000))+');',
'Wait('+IntToStr(Random(5000))+'+Random('+IntToStr(Random(5000))+'));',
'Mouse('+IntToStr(Random(500))+', '+IntToStr(Random(500))+', '+IntToStr(Random(30))+', '+IntToStr(Random(30))+', MOUSE_LEFT);',
'FindNormalRandoms;', 'WriteLn('+IntToStr(Random(50000))+');', 'WaitOption(''take'', '+IntToStr(1000+1000*Random(6))+');', 'rs_GetCompassAngleRadians;', 'rs_GetCompassAngleDegrees;',
'if CurrentPlayer = '+IntToStr(Random(4))+' then NextPlayer(False);', 'if not LoggedIn then LoginPlayer;', 'FixChat;', 'if GetColor('+IntToStr(Random(500))+', '+IntTostr(Random(500))+') = '+IntToStr(Random(170000))+' then Exit;', 'Exit;', 'FindMod;', 'BankScreen;', 'PinScreen;'];
WriteLn(sisennys+lollero[Random(Length(Lollero))]);
if Random(5) = 0 then
begin
WriteLn(sisennys+'repeat');
sisennys := sisennys+' ';
end;
if (Length(Sisennys) > 2) and (Random(5) = 0) then
begin
SetLength(Sisennys, Length(Sisennys)-2);
WriteLn(sisennys+'until(false);');
end;
end;
while Length(Sisennys) > 2 do
begin
SetLength(Sisennys, Length(Sisennys)-2);
WriteLn(sisennys+'Until(false);');
end;
WriteLn('end;');
end;


procedure WriteMainLoop;
var
lollero: TStringArray;
a, b, rnumber: Integer;
sisennys, tempstring: String;
begin
rnumber := 8+Random(Random(15));
for b := 0 to rnumber do
begin
tempstring := GenerateProcedure(lollero);
SetLength(Lollero, Length(Lollero)+1);
lollero[b] := tempstring;
for I := 0 to Random(3) do WriteLn('');//add 1-3 empty lines
end;
WriteLn('');


WriteLn('begin');
WriteLn(' SetupSRL;');
WriteLn(' DeclarePlayers;');
sisennys := ' ';
for a := 0 to Random(40) do
begin
WriteLn(sisennys+lollero[Random(Length(Lollero))]+';');
if Random(5) = 0 then
begin
WriteLn(sisennys+'repeat');
sisennys := sisennys+' ';
end;
if (Length(Sisennys) > 2) and (Random(5) = 0) then
begin
SetLength(Sisennys, Length(Sisennys)-2);
WriteLn(sisennys+'until(false);');
end;
end;
while Length(Sisennys) > 2 do
begin
SetLength(Sisennys, Length(Sisennys)-2);
WriteLn(sisennys+'Until(false);');
end;
WriteLn('end.');
end;



begin
ClearDebug;
program0 := ['ultimate', 'premium', ''];
program1 := ['air', 'fire', 'earth', 'nature', 'gold', 'silver', 'cowhide', 'dhide', 'amulet', 'ring', 'bracelet'];
program2 := ['crafter', 'maker'];
program3 := ['pro', '', 'lite'];
program4 := ['bronze', 'iron', 'silver', 'gold', 'steel', 'mithril', 'addy', 'rune', 'guild'];
program5 := ['miner', 'smither', 'smelter', 'superheater'];
program6 := ['Goblin', 'GreenDragon', 'Chicken', 'Aviansie', 'Ancou', 'GDK', 'FDK', 'BlackDragon'];
program7 := ['fighter', 'killer', 'slayer', 'ranger'];
program8 := ['SoulWars', 'PestControl', 'SW', 'PCEr', 'ToadPicker', 'SorcGarden', 'SorceressGarden'];
SetLength(programs, 4);
programs[0] := [program0, program1, program2, program3];
programs[1] := [program0, program4, program5, program3];
programs[2] := [program0, program6, program7, program3];
programs[3] := [program0, program8, program3];
r1 := Random(Length(programs));
for I := 0 to Length(programs[r1])-1 do
begin
namestring := namestring+Capitalize(programs[r1][I][random(Length(programs[r1][I]))]);
end;
writeln('program '+ namestring+';');
case Random(30) of //add some comments to the beginning
0: WriteLn('//KEEP PRIVATE!');
1: WriteLn('//Please keep this in private ;)');
2: WriteLn('//PREMIUM SCRIPT - KEEP PRIVATE');
3: WriteLn('//Finally updated and working perfectly');
4: WriteLn('//Please keep this private');
5: WriteLn('//This is a premium script. Keep it PRIVATE!');
6: WriteLn('//Dont leak this script to any noobs!');
7: WriteLn('//This script is NOT free! Keep it to yourself please! (No Leaking)');
end;
for I := 1 to Random(3) do WriteLn('');//add 0-2 empty lines

if Random(2) = 0 then
begin
WriteLn('{$i srl/srl/misc/Smart.simba}');
WriteLn('{$i SRL/SRL.simba}');
end else
begin
WriteLn('{.include srl/srl/misc/Smart.simba}');
WriteLn('{.include SRL/SRL.simba}');
end;

for I := 1 to Random(3) do WriteLn('');//add 0-2 empty lines


IntegerVariableNames := ['I', 'LoadsDone', 'Deaths', 'Slept', 'Gained'];
StringVariableNames := ['Location', 'Debug'];
BooleanVariableNames := ['Active' ,'Breaking', 'Stupid'];



if Random(10) > 0 then //add global vars?
begin
WriteLn('var');
for I := 0 to High(IntegerVariableNames) do //Integers
if Random(2) = 0 then currentline := currentline+IntegerVariableNames[I]+', ';
if Length(currentline) > 0 then
begin
SetLength(CurrentLine, Length(CurrentLine)-2);
currentline := currentline+': Integer;';
WriteLn(' '+CurrentLine);
end;
currentline := '';

for I := 0 to High(StringVariableNames) do //Strings
if Random(2) = 0 then currentline := currentline+StringVariableNames[I]+', ';
if Length(currentline) > 0 then
begin
SetLength(CurrentLine, Length(CurrentLine)-2);
currentline := currentline+': String;';
WriteLn(' '+CurrentLine);
end;
currentline := '';

for I := 0 to High(BooleanVariableNames) do //Booleans
if Random(2) = 0 then currentline := currentline+BooleanVariableNames[I]+', ';
if Length(currentline) > 0 then
begin
SetLength(CurrentLine, Length(CurrentLine)-2);
currentline := currentline+': Boolean;';
WriteLn(' '+CurrentLine);
end;
currentline := '';
end;

for I := 1 to Random(3) do WriteLn('');//add 0-2 empty lines

WriteDeclarePlayers(1+Random(5));//Declareplayers with 1-5 players

for I := 1 to Random(3) do WriteLn('');//add 0-2 empty lines


writemainLoop;

end.

jakeyboy29

2012-02-13 13:08:03

Are we all going to upload some then?

weequ

2012-02-13 13:09:18

From: jakeyboy29
Are we all going to upload some then?
Idk, why not? :p

Edit: Example script created by it

program UltimateNatureMaker;
{$i srl/srl/misc/Smart.simba}
{$i SRL/SRL.simba}


var
Deaths: Integer;
Location, Debug: String;
Active: Boolean;

procedure DeclarePlayers;
begin
NumberOfPlayers(1);
CurrentPlayer := 0;

with Players[0] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;
end;


procedure Eat;
begin
if CurrentPlayer = 1 then NextPlayer(False);
PinScreen;
rs_GetCompassAngleDegrees;
Wait(1340);
end;

procedure WalkToBank;
begin
PinScreen;
Wait(3756);
rs_GetCompassAngleDegrees;
repeat
rs_GetCompassAngleRadians;
repeat
WaitOption('take', 4000);
WaitOption('take', 1000);
PinScreen;
WriteLn(11632);
Mouse(445, 86, 3, 23, MOUSE_LEFT);
MMouse(403, 439, 22, 23);
Until(false);
Until(false);
end;


procedure HitTheGround;
begin
FindNormalRandoms;
rs_GetCompassAngleRadians;
PinScreen;
repeat
until(false);
Mouse(33, 363, 5, 3, MOUSE_LEFT);
WaitOption('take', 5000);
MMouse(405, 143, 18, 18);
if GetColor(201, 430) = 45561 then Exit;
Mouse(271, 212, 19, 16, MOUSE_LEFT);
WriteLn(42226);
repeat
WaitOption('take', 1000);
Until(false);
end;



procedure HandleRandoms;
begin
if GetColor(352, 460) = 68709 then Exit;
rs_GetCompassAngleDegrees;
FixChat;
Exit;
repeat
Exit;
Mouse(30, 144, 1, 7, MOUSE_LEFT);
Until(false);
end;


procedure CastDaSpec;
begin
BankScreen;
WaitOption('take', 4000);
FindNormalRandoms;
if not LoggedIn then LoginPlayer;
Wait(4882);
MMouse(68, 485, 24, 11);
FindNormalRandoms;
rs_GetCompassAngleRadians;
repeat
rs_GetCompassAngleDegrees;
Until(false);
end;


procedure Bank;
begin
Wait(4382);
MMouse(220, 235, 8, 28);
Wait(1955);
MMouse(104, 230, 4, 27);
repeat
WriteLn(42994);
until(false);
WriteLn(16413);
if not LoggedIn then LoginPlayer;
end;

procedure WalkBack;
begin
PinScreen;
BankScreen;
BankScreen;
if CurrentPlayer = 3 then NextPlayer(False);
repeat
until(false);
FindNormalRandoms;
Wait(1685);
FindNormalRandoms;
WriteLn(39012);
Exit;
Wait(3238+Random(1698));
end;


procedure CheckCoins;
begin
PinScreen;
repeat
until(false);
FixChat;
WaitOption('take', 1000);
rs_GetCompassAngleDegrees;
end;

procedure EquipWep;
begin
Wait(156+Random(1325));
repeat
FindNormalRandoms;
BankScreen;
until(false);
Wait(2978+Random(1438));
if CurrentPlayer = 2 then NextPlayer(False);
Exit;
FixChat;
repeat
Mouse(477, 151, 14, 27, MOUSE_LEFT);
repeat
if GetColor(105, 246) = 74667 then Exit;
FindNormalRandoms;
Mouse(334, 324, 2, 25, MOUSE_LEFT);
until(false);
MMouse(466, 266, 16, 5);
repeat
WaitOption('take', 1000);
repeat
rs_GetCompassAngleDegrees;
repeat
until(false);
Until(false);
Until(false);
Until(false);
end;



procedure ModAround;
begin
if not LoggedIn then LoginPlayer;
repeat
Mouse(103, 139, 6, 27, MOUSE_LEFT);
FindMod;
Wait(725+Random(4246));
FixChat;
until(false);
Mouse(373, 465, 1, 1, MOUSE_LEFT);
WaitOption('take', 1000);
end;


procedure CheckNews;
begin
FindNormalRandoms;
FindMod;
repeat
FindNormalRandoms;
until(false);
rs_GetCompassAngleDegrees;
if GetColor(164, 397) = 163930 then Exit;
Mouse(370, 305, 14, 0, MOUSE_LEFT);
rs_GetCompassAngleDegrees;
BankScreen;
FindMod;
PinScreen;
if CurrentPlayer = 1 then NextPlayer(False);
end;


procedure BatmanMoves;
begin
Exit;
rs_GetCompassAngleDegrees;
WaitOption('take', 2000);
PinScreen;
FindMod;
WaitOption('take', 5000);
BankScreen;
FixChat;
Mouse(423, 386, 29, 4, MOUSE_LEFT);
repeat
Until(false);
end;

procedure SayNP;
begin
if GetColor(267, 286) = 18435 then Exit;
if GetColor(4, 4) = 59048 then Exit;
PinScreen;
FindMod;
end;

procedure HitTheButtons;
begin
PinScreen;
rs_GetCompassAngleRadians;
repeat
FixChat;
FixChat;
MMouse(374, 101, 26, 25);
MMouse(2, 380, 2, 18);
Wait(3987+Random(1793));
BankScreen;
Until(false);
end;


procedure StartRunning;
begin
WriteLn(37744);
end;


procedure ConfigureSettings;
begin
Wait(4998+Random(2163));
FindMod;
repeat
Wait(3179);
WaitOption('take', 5000);
rs_GetCompassAngleRadians;
Until(false);
end;



begin
SetupSRL;
DeclarePlayers;
Bank;
repeat
Bank;
repeat
Bank;
StartRunning;
HitTheButtons;
CheckNews;
WalkToBank;
ConfigureSettings;
repeat
CheckCoins;
HandleRandoms;
HitTheGround;
until(false);
HandleRandoms;
repeat
CastDaSpec;
Bank;
Eat;
ConfigureSettings;
Until(false);
Until(false);
Until(false);
end.

Home

2012-02-13 13:17:53

Haha this is great!

~Home Rep +!

Mat

2012-02-13 13:22:55


program UltimateGoblinKillerLite;


{.include srl/srl/misc/Smart.simba}
{.include SRL/SRL.simba}
var
I, Slept: Integer;
Location: String;
Breaking, Stupid: Boolean;
{*******************************************************************************
procedure DeclarePlayers;
By: SRL
Description: SRL's Player Setup
*******************************************************************************}
procedure DeclarePlayers;
begin
NumberOfPlayers(4);
CurrentPlayer := 0;

with Players[0] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;

with Players[1] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;

with Players[2] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;

with Players[3] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;

end;
procedure EquipWep;
begin
MMouse(472, 373, 8, 27);
Wait(4483);
repeat
Mouse(31, 50, 18, 0, MOUSE_LEFT);
Wait(1795);
Mouse(215, 184, 23, 28, MOUSE_LEFT);
Wait(3213);
Mouse(156, 401, 19, 29, MOUSE_LEFT);
Until(false);
end;

procedure SolveRands;
begin
Wait(3298);
repeat
MMouse(33, 347, 6, 16);
Wait(1009+Random(2459));
Mouse(454, 384, 19, 23, MOUSE_LEFT);
Wait(2979+Random(1967));
MMouse(90, 84, 3, 19);
Mouse(158, 465, 12, 26, MOUSE_LEFT);
Until(false);
end;



procedure TogglePray;
begin
Wait(3022);
Mouse(432, 118, 25, 10, MOUSE_LEFT);
Wait(4536+Random(2967));
Wait(3439);
Wait(1446+Random(3938));
Wait(1815+Random(4597));
Mouse(173, 319, 26, 16, MOUSE_LEFT);
Wait(384+Random(4781));
Mouse(275, 265, 11, 8, MOUSE_LEFT);
Wait(2771);
Wait(4972);
end;


procedure SetupScript;
begin
Wait(33+Random(1075));
Mouse(131, 466, 17, 23, MOUSE_LEFT);
Wait(2344+Random(532));
repeat
until(false);
Wait(2892);
repeat
Until(false);
end;


procedure WalkToMiddle;
begin
Wait(142+Random(3770));
Wait(3224);
Mouse(121, 159, 19, 16, MOUSE_LEFT);
MMouse(15, 395, 4, 0);
Wait(1265+Random(3165));
MMouse(346, 485, 20, 6);
MMouse(418, 2, 27, 21);
repeat
Wait(312);
MMouse(468, 400, 19, 4);
until(false);
Wait(526+Random(2919));
Wait(2035);
end;


procedure Bank;
begin
MMouse(307, 22, 5, 26);
Wait(2085+Random(3361));
Mouse(255, 8, 29, 11, MOUSE_LEFT);
Mouse(448, 8, 24, 17, MOUSE_LEFT);
Mouse(8, 435, 2, 3, MOUSE_LEFT);
MMouse(248, 49, 13, 17);
Wait(271+Random(800));
end;

procedure HitTheButtons;
begin
Wait(2250);
MMouse(229, 462, 9, 16);
Mouse(155, 288, 8, 18, MOUSE_LEFT);
Mouse(395, 318, 20, 6, MOUSE_LEFT);
repeat
until(false);
end;


procedure WalkToCenter;
begin
MMouse(349, 482, 16, 23);
Mouse(72, 74, 26, 14, MOUSE_LEFT);
Mouse(79, 418, 6, 17, MOUSE_LEFT);
Wait(4525+Random(755));
Wait(3137+Random(2598));
repeat
Wait(2340);
repeat
Wait(3386+Random(3050));
Wait(3155+Random(63));
repeat
Wait(1128+Random(982));
MMouse(151, 226, 16, 19);
Wait(2423);
Mouse(77, 274, 15, 2, MOUSE_LEFT);
MMouse(112, 330, 11, 24);
repeat
Mouse(222, 42, 18, 8, MOUSE_LEFT);
repeat
Until(false);
Until(false);
Until(false);
Until(false);
Until(false);
end;

procedure CheckNews;
begin
MMouse(337, 263, 28, 19);
Wait(4721+Random(4970));
Wait(1666);
Wait(2222+Random(4227));
Wait(1844+Random(110));
Mouse(415, 361, 2, 12, MOUSE_LEFT);
Wait(1645+Random(2360));
Wait(1423);
MMouse(233, 372, 0, 29);
repeat
Wait(2639);
Wait(163);
Mouse(198, 92, 2, 6, MOUSE_LEFT);
Wait(3267+Random(1462));
Until(false);
end;




begin
SetupSRL;
DeclarePlayers;
CheckNews;
repeat
WalkToCenter;
WalkToCenter;
until(false);
WalkToCenter;
SolveRands;
repeat
EquipWep;
repeat
until(false);
WalkToCenter;
repeat
CheckNews;
SolveRands;
SetupScript;
repeat
Until(false);
Until(false);
Until(false);
end.

program RuneSmither;

{$i srl/srl/misc/Smart.simba}
{$i SRL/SRL.simba}

procedure DeclarePlayers;
begin
NumberOfPlayers(1);
CurrentPlayer := 0;

with Players[0] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;
end;


procedure EquipWep;
begin
Wait(1857);
repeat
MMouse(39, 455, 23, 19);
Mouse(350, 341, 29, 29, MOUSE_LEFT);
Wait(2149+Random(4114));
MMouse(356, 245, 14, 19);
Mouse(14, 252, 26, 1, MOUSE_LEFT);
repeat
Wait(2765);
repeat
Wait(3346+Random(3047));
Mouse(159, 299, 22, 3, MOUSE_LEFT);
until(false);
Wait(1080+Random(1244));
repeat
Until(false);
Until(false);
Until(false);
end;

procedure SetWalkings;
begin
Mouse(107, 312, 4, 10, MOUSE_LEFT);
Mouse(123, 368, 13, 15, MOUSE_LEFT);
repeat
MMouse(358, 7, 25, 5);
Mouse(463, 382, 1, 20, MOUSE_LEFT);
Wait(1608+Random(2065));
Wait(1638);
repeat
Wait(1535+Random(907));
Mouse(170, 263, 10, 8, MOUSE_LEFT);
Wait(1151+Random(1105));
repeat
Until(false);
Until(false);
Until(false);
end;


procedure CheckInv;
begin
Wait(252+Random(4087));
Wait(2042);
repeat
MMouse(41, 59, 3, 27);
Mouse(260, 67, 16, 18, MOUSE_LEFT);
repeat
Wait(2652);
Wait(2665+Random(1301));
MMouse(277, 311, 2, 2);
MMouse(449, 22, 6, 1);
until(false);
Mouse(446, 153, 7, 16, MOUSE_LEFT);
Wait(1158+Random(2820));
repeat
MMouse(7, 464, 26, 27);
Wait(3460+Random(3438));
until(false);
Mouse(434, 351, 18, 10, MOUSE_LEFT);
Mouse(92, 109, 19, 3, MOUSE_LEFT);
Wait(910);
until(false);
Wait(4241);
Mouse(230, 218, 10, 24, MOUSE_LEFT);
MMouse(103, 367, 20, 28);
end;


procedure AntiBanTalk;
begin
Wait(702);
Wait(2871);
Wait(4771+Random(3128));
Wait(1876+Random(1851));
Mouse(2, 260, 13, 19, MOUSE_LEFT);
Wait(1256);
end;

procedure HandleRandoms;
begin
Wait(3085);
Wait(285+Random(961));
MMouse(239, 114, 14, 11);
repeat
Wait(4027);
Wait(1306+Random(1100));
Mouse(167, 115, 19, 14, MOUSE_LEFT);
Wait(4419+Random(42));
MMouse(260, 19, 9, 11);
Wait(4753);
repeat
until(false);
Until(false);
end;

procedure SayNP;
begin
Wait(3503+Random(2424));
Mouse(417, 326, 27, 2, MOUSE_LEFT);
MMouse(377, 470, 13, 13);
Wait(2897);
MMouse(175, 439, 25, 19);
end;


procedure SetupScript;
begin
Wait(3257);
Mouse(277, 347, 3, 15, MOUSE_LEFT);
repeat
Wait(4092);
Wait(2655+Random(285));
Mouse(182, 272, 13, 25, MOUSE_LEFT);
repeat
Wait(4579);
until(false);
Until(false);
end;

procedure CastDaSpec;
begin
Wait(778);
MMouse(274, 114, 12, 27);
MMouse(80, 281, 21, 1);
Wait(1013+Random(4384));
Mouse(49, 8, 23, 20, MOUSE_LEFT);
Wait(2791+Random(362));
Mouse(242, 152, 25, 17, MOUSE_LEFT);
Wait(3815);
repeat
MMouse(280, 219, 21, 9);
Wait(3741+Random(4772));
until(false);
Wait(823+Random(271));
MMouse(152, 73, 4, 14);
repeat
Wait(518);
Until(false);
end;


procedure Turles;
begin
Mouse(292, 261, 19, 21, MOUSE_LEFT);
Mouse(457, 2, 27, 11, MOUSE_LEFT);
Wait(165+Random(1974));
repeat
MMouse(85, 250, 19, 17);
Mouse(20, 20, 7, 11, MOUSE_LEFT);
Mouse(465, 153, 4, 14, MOUSE_LEFT);
repeat
MMouse(482, 74, 11, 12);
Until(false);
Until(false);
end;


procedure CheckForBounds;
begin
Wait(3541);
Mouse(341, 134, 7, 16, MOUSE_LEFT);
Wait(4897+Random(1195));
repeat
MMouse(404, 233, 7, 9);
Until(false);
end;



procedure WatchOut;
begin
Wait(3279);
MMouse(446, 18, 5, 23);
repeat
Wait(2821+Random(773));
Wait(1123);
repeat
Wait(2469+Random(806));
repeat
Until(false);
Until(false);
Until(false);
end;

procedure Trololo;
begin
Mouse(336, 135, 21, 23, MOUSE_LEFT);
Wait(398+Random(2027));
Mouse(315, 433, 7, 16, MOUSE_LEFT);
Mouse(30, 434, 1, 21, MOUSE_LEFT);
Mouse(241, 19, 1, 21, MOUSE_LEFT);
Mouse(256, 420, 4, 12, MOUSE_LEFT);
end;



begin
SetupSRL;
DeclarePlayers;
SayNP;
SayNP;
SetupScript;
AntiBanTalk;
Turles;
CheckInv;
WatchOut;
CheckInv;
repeat
EquipWep;
CheckForBounds;
WatchOut;
Turles;
until(false);
end.
I like it

weequ

2012-02-13 13:44:53

Mat you need to update I added some more stuff (Some if statements etc) ;)

PatDuffy

2012-02-13 13:51:56

That is actually the best thing I've seen in a while.

Harry

2012-02-13 14:04:19

That's pretty cool, nice work.

weequ

2012-02-13 14:18:05

From: PatDuffy
That is actually the best thing I've seen in a while.
Thanks. Updated again.
Added more program names like aviansie, sw, sorcgarden, pestcontrol etc
also added comments like //PREMIUM SCRIPT - KEEP PRIVATE

kingarabian

2012-02-13 14:45:46

Antti you are such a troll :biggrin:

Kyle Undefined

2012-02-13 14:53:25

Hahahaha nice work! I was working on this, I like yours better! :) Already sent a few to pastebin :D

program PremiumPestControl;
{.include srl/srl/misc/Smart.simba}
{.include SRL/SRL.simba}


var
Slept: Integer;
Location: String;
Active, Breaking: Boolean;
{*******************************************************************************
procedure DeclarePlayers;
By: SRL
Description: SRL's Player Setup
*******************************************************************************}
procedure DeclarePlayers;
begin
NumberOfPlayers(4);
CurrentPlayer := 0;
with Players[0] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;
with Players[1] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;

with Players[2] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;

with Players[3] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;
end;

procedure WalkBack;
begin
WriteLn(12487);
end;


procedure CheckInv;
begin
Exit;
Exit;
repeat
until(false);
Mouse(258, 282, 10, 2, MOUSE_LEFT);
repeat
Until(false);
end;

procedure WalkBank2;
begin
MMouse(200, 328, 3, 28);
FindNormalRandoms;
end;


procedure AntiBanWalking;
begin
Exit;
Wait(1064+Random(1453));
Wait(2519);
WaitOption('take', 2000);
Exit;
repeat
WaitOption('take', 3000);
until(false);
Mouse(370, 127, 7, 10, MOUSE_LEFT);
repeat
until(false);
if GetColor(98, 156) = 118540 then Exit;
end;


procedure SetWalkings;
begin
if CurrentPlayer = 0 then NextPlayer(False);
repeat
FindNormalRandoms;
repeat
BankScreen;
repeat
Mouse(495, 396, 8, 21, MOUSE_LEFT);
Wait(2899+Random(4314));
rs_GetCompassAngleDegrees;
FixChat;
Mouse(66, 219, 12, 13, MOUSE_LEFT);
until(false);
Until(false);
Until(false);
end;

procedure WalkToBank;
begin
WriteLn(8112);
end;

procedure Trololo;
begin
FixChat;
repeat
FindMod;
repeat
rs_GetCompassAngleRadians;
Mouse(490, 253, 18, 7, MOUSE_LEFT);
WaitOption('take', 2000);
WaitOption('take', 5000);
WriteLn(1385);
Mouse(350, 311, 19, 19, MOUSE_LEFT);
BankScreen;
Until(false);
Until(false);
end;


procedure TogglePray;
begin
rs_GetCompassAngleRadians;
Mouse(74, 404, 22, 16, MOUSE_LEFT);
BankScreen;
if GetColor(404, 60) = 61666 then Exit;
rs_GetCompassAngleRadians;
if not LoggedIn then LoginPlayer;
repeat
until(false);
FindMod;
end;


procedure SayNP;
begin
Exit;
Wait(3832+Random(3161));
MMouse(75, 310, 15, 15);
repeat
Wait(4759+Random(1614));
repeat
Wait(3271+Random(2687));
rs_GetCompassAngleRadians;
FixChat;
until(false);
FixChat;
FixChat;
WriteLn(33185);
Until(false);
end;


procedure Rotate;
begin
if GetColor(426, 242) = 80313 then Exit;
FixChat;
repeat
Exit;
until(false);
FixChat;
repeat
WriteLn(1540);
Wait(3657+Random(2232));
rs_GetCompassAngleDegrees;
FindNormalRandoms;
until(false);
rs_GetCompassAngleDegrees;
rs_GetCompassAngleDegrees;
Wait(556);
repeat
Wait(2763+Random(3696));
until(false);
WriteLn(37257);
FixChat;
FindNormalRandoms;
end;


procedure Sneeze;
begin
FixChat;
if not LoggedIn then LoginPlayer;
repeat
MMouse(419, 252, 14, 3);
repeat
MMouse(161, 149, 24, 23);
rs_GetCompassAngleDegrees;
Until(false);
Until(false);
end;


procedure DoAntibans;
begin
Wait(4402+Random(2154));
Exit;
MMouse(283, 354, 17, 5);
PinScreen;
FindNormalRandoms;
WaitOption('take', 1000);
rs_GetCompassAngleDegrees;
Exit;
Exit;
end;


begin
SetupSRL;
DeclarePlayers;
WalkBank2;
WalkBack;
Sneeze;
end.

weequ

2012-02-13 15:13:09

Mine is quite horribly coded though. Too much crap in the mainloop because I didn't really think I would add so much stuff.

Kyle Undefined

2012-02-13 15:39:21

Hey, it works :) Also, here's an updated version of yours, allows you to automatically post the script to Pastebin, and prints the link at the bottom for you :D It works really well.

Doh! Need to use a proxy for the PHP, post limit exceeded :D I'll post the PHP if you want to run it on your own server.

program ScriptCreator;

const
USE_AUTO_POST = True;

var
program0, program1, program2,
program3, program4, program5, program6, program7, program8: TStringArray;
programs: Array of Array of TStringArray;
namestring: String;
I, r1: Integer;

IntegerVariableNames: TStringArray;
StringVariableNames: TStringArray;
BooleanVariableNames: TStringArray;

currentline, script: String;

procedure WriteLnEx(str : string);
begin
WriteLn(str);
script := script + str + #13#10;
end;

procedure WriteDeclarePlayers(HowManyPlayers: Integer);
begin
if Random(3) = 0 then
begin
WriteLnEx('{*******************************************************************************');
WriteLnEx('procedure DeclarePlayers;');
WriteLnEx('By: SRL');
WriteLnEx('Description: SRL''s Player Setup');
WriteLnEx('*******************************************************************************}');
end;
WriteLnEx('procedure DeclarePlayers;');
WriteLnEx('begin');
WriteLnEx(' NumberOfPlayers('+IntToStr(HowManyPlayers)+');');
WriteLnEx(' CurrentPlayer := 0;');
for I := 0 to HowManyPlayers-1 do
begin
if Random(2) = 0 then WriteLnEx('');
WriteLnEx(' with Players['+IntToStr(I)+'] do');
WriteLnEx(' begin');
WriteLnEx(' Name := '''';');
WriteLnEx(' Pass := '''';');
WriteLnEx(' Active := True;');
WriteLnEx(' Pin := '''';');
WriteLnEx(' end;');
end;
if Random(2) = 0 then WriteLnEx('');
WriteLnEx('end;');
end;

function GenerateProcedure(UsedProcedures: TStringArray): String;
var
ProcedureNames, lollero: TStringArray;
a, b: Integer;
sisennys: String;
kelvollinen: Boolean;
begin
ProcedureNames := ['WalkToBank', 'WalkBack', 'TakeBreak', 'Login2', 'AntiBan', 'HandleRandoms', 'PrintProggy', 'Bank', 'DoBanking', 'CheckCoins',
'AntiBanTalk', 'AntiBanWalking', 'AntiBan2', 'CheckNews', 'Rotate', 'Speak', 'EquipWep', 'ModAround', 'ConfigureSettings',
'TasteVengeance', 'CastDaSpec', 'CastSpec', 'HitTheGround', 'WalkToMiddle', 'WalkToCenter', 'TakeCare', 'StartRunning', 'Escape',
'TogglePray', 'SolveRands', 'WatchOut', 'Trololo', 'DoAntibans', 'WalkBank2', 'CheckInv', 'Turles', 'BatmanMoves', 'Eat', 'CheckForBounds',
'SayNP', 'HitTheButtons', 'PencilStategy', 'Sneeze', 'SetWalkings', 'SetupScript', 'ScriptManagement', 'ScriptSetup', 'BoredOfTypingProcedures'];
repeat
Result := ProcedureNames[Random(Length(ProcedureNames))];
Kelvollinen := True;
for b := 0 to Length(UsedProcedures)-1 do
if Result = UsedProcedures[b] then
begin
kelvollinen := False;
Break;
end;
until(kelvollinen);
WriteLnEx('procedure '+Result+';');
WriteLnEx('begin');
sisennys := ' ';
for a := 0 to Random(40) do
begin
lollero := ['MMouse('+IntToStr(Random(500))+', '+IntToStr(Random(500))+', '+IntToStr(Random(30))+', '+IntToStr(Random(30))+');', 'Wait('+IntToStr(Random(5000))+');',
'Wait('+IntToStr(Random(5000))+'+Random('+IntToStr(Random(5000))+'));',
'Mouse('+IntToStr(Random(500))+', '+IntToStr(Random(500))+', '+IntToStr(Random(30))+', '+IntToStr(Random(30))+', MOUSE_LEFT);',
'FindNormalRandoms;', 'WriteLnEx('+IntToStr(Random(50000))+');', 'WaitOption(''take'', '+IntToStr(1000+1000*Random(6))+');', 'rs_GetCompassAngleRadians;', 'rs_GetCompassAngleDegrees;',
'if CurrentPlayer = '+IntToStr(Random(4))+' then NextPlayer(False);', 'if not LoggedIn then LoginPlayer;', 'FixChat;', 'if GetColor('+IntToStr(Random(500))+', '+IntTostr(Random(500))+') = '+IntToStr(Random(170000))+' then Exit;', 'Exit;', 'FindMod;', 'BankScreen;', 'PinScreen;'];
WriteLnEx(sisennys+lollero[Random(Length(Lollero))]);
if Random(5) = 0 then
begin
WriteLnEx(sisennys+'repeat');
sisennys := sisennys+' ';
end;
if (Length(Sisennys) > 2) and (Random(5) = 0) then
begin
SetLength(Sisennys, Length(Sisennys)-2);
WriteLnEx(sisennys+'until(false);');
end;
end;
while Length(Sisennys) > 2 do
begin
SetLength(Sisennys, Length(Sisennys)-2);
WriteLnEx(sisennys+'Until(false);');
end;
WriteLnEx('end;');
end;


procedure WriteMainLoop;
var
lollero: TStringArray;
a, b, rnumber: Integer;
sisennys, tempstring: String;
begin
rnumber := 8+Random(Random(15));
for b := 0 to rnumber do
begin
tempstring := GenerateProcedure(lollero);
SetLength(Lollero, Length(Lollero)+1);
lollero[b] := tempstring;
for I := 0 to Random(3) do WriteLnEx('');//add 1-3 empty lines
end;
WriteLnEx('');


WriteLnEx('begin');
WriteLnEx(' SetupSRL;');
WriteLnEx(' DeclarePlayers;');
sisennys := ' ';
for a := 0 to Random(40) do
begin
WriteLnEx(sisennys+lollero[Random(Length(Lollero))]+';');
if Random(5) = 0 then
begin
WriteLnEx(sisennys+'repeat');
sisennys := sisennys+' ';
end;
if (Length(Sisennys) > 2) and (Random(5) = 0) then
begin
SetLength(Sisennys, Length(Sisennys)-2);
WriteLnEx(sisennys+'until(false);');
end;
end;
while Length(Sisennys) > 2 do
begin
SetLength(Sisennys, Length(Sisennys)-2);
WriteLnEx(sisennys+'Until(false);');
end;
WriteLnEx('end.');
end;

function PostToPastebin() : string;
var
iClient : Integer;
iPostData : string;
begin
iClient := InitializeHTTPClient(false);
iPostData := 'script=' + script;
iPostData := PostHTTPPage(iClient, 'http://srl.kyleundefined.com/OperationTroll/', iPostData);
FreeHTTPClient(iClient);
WriteLn('');
Result := iPostData;
end;

begin
ClearDebug;
program0 := ['ultimate', 'premium', ''];
program1 := ['air', 'fire', 'earth', 'nature', 'gold', 'silver', 'cowhide', 'dhide', 'amulet', 'ring', 'bracelet'];
program2 := ['crafter', 'maker'];
program3 := ['pro', '', 'lite'];
program4 := ['bronze', 'iron', 'silver', 'gold', 'steel', 'mithril', 'addy', 'rune', 'guild'];
program5 := ['miner', 'smither', 'smelter', 'superheater'];
program6 := ['Goblin', 'GreenDragon', 'Chicken', 'Aviansie', 'Ancou', 'GDK', 'FDK', 'BlackDragon'];
program7 := ['fighter', 'killer', 'slayer', 'ranger'];
program8 := ['SoulWars', 'PestControl', 'SW', 'PCEr', 'ToadPicker', 'SorcGarden', 'SorceressGarden'];
SetLength(programs, 4);
programs[0] := [program0, program1, program2, program3];
programs[1] := [program0, program4, program5, program3];
programs[2] := [program0, program6, program7, program3];
programs[3] := [program0, program8, program3];
r1 := Random(Length(programs));
for I := 0 to Length(programs[r1])-1 do
begin
namestring := namestring+Capitalize(programs[r1][I][random(Length(programs[r1][I]))]);
end;
WriteLnEx('program '+ namestring+';');
case Random(30) of //add some comments to the beginning
0: WriteLnEx('//KEEP PRIVATE!');
1: WriteLnEx('//Please keep this in private ;)');
2: WriteLnEx('//PREMIUM SCRIPT - KEEP PRIVATE');
3: WriteLnEx('//Finally updated and working perfectly');
4: WriteLnEx('//Please keep this private');
5: WriteLnEx('//This is a premium script. Keep it PRIVATE!');
6: WriteLnEx('//Dont leak this script to any noobs!');
7: WriteLnEx('//This script is NOT free! Keep it to yourself please! (No Leaking)');
end;
for I := 1 to Random(3) do WriteLnEx('');//add 0-2 empty lines

if Random(2) = 0 then
begin
WriteLnEx('{$i srl/srl/misc/Smart.simba}');
WriteLnEx('{$i SRL/SRL.simba}');
end else
begin
WriteLnEx('{.include srl/srl/misc/Smart.simba}');
WriteLnEx('{.include SRL/SRL.simba}');
end;

for I := 1 to Random(3) do WriteLnEx('');//add 0-2 empty lines


IntegerVariableNames := ['I', 'LoadsDone', 'Deaths', 'Slept', 'Gained'];
StringVariableNames := ['Location', 'Debug'];
BooleanVariableNames := ['Active' ,'Breaking', 'Stupid'];



if Random(10) > 0 then //add global vars?
begin
WriteLnEx('var');
for I := 0 to High(IntegerVariableNames) do //Integers
if Random(2) = 0 then currentline := currentline+IntegerVariableNames[I]+', ';
if Length(currentline) > 0 then
begin
SetLength(CurrentLine, Length(CurrentLine)-2);
currentline := currentline+': Integer;';
WriteLnEx(' '+CurrentLine);
end;
currentline := '';

for I := 0 to High(StringVariableNames) do //Strings
if Random(2) = 0 then currentline := currentline+StringVariableNames[I]+', ';
if Length(currentline) > 0 then
begin
SetLength(CurrentLine, Length(CurrentLine)-2);
currentline := currentline+': String;';
WriteLnEx(' '+CurrentLine);
end;
currentline := '';

for I := 0 to High(BooleanVariableNames) do //Booleans
if Random(2) = 0 then currentline := currentline+BooleanVariableNames[I]+', ';
if Length(currentline) > 0 then
begin
SetLength(CurrentLine, Length(CurrentLine)-2);
currentline := currentline+': Boolean;';
WriteLnEx(' '+CurrentLine);
end;
currentline := '';
end;

for I := 1 to Random(3) do WriteLnEx('');//add 0-2 empty lines

WriteDeclarePlayers(1+Random(5));//Declareplayers with 1-5 players

for I := 1 to Random(3) do WriteLnEx('');//add 0-2 empty lines


writemainLoop;

if(USE_AUTO_POST)then
WriteLn(PostToPastebin());
end.

[php]
<?php
$api_dev_key = 'fill in with dev key'; // your api_developer_key
$api_paste_code = $_POST['script']; // your paste text
$api_paste_private = '0'; // 0=public 1=private
//$api_paste_name = 'justmyfilename.js'; // name or title of your paste
$api_paste_expire_date = 'N';
$api_paste_format = 'pascal';
$api_user_key = ''; // if invalid key or no key is used, the paste will be create as a guest
$api_paste_name = urlencode($api_paste_name);
//$api_paste_code = urlencode($api_paste_code);


$url = 'http://pastebin.com/api/api_post.php';
$ch = curl_init($url);

curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, 'api_option=paste&api_user_key='.$api_user_key.'&api_paste_private='.$api_paste_private.'&api_paste_name='.$api_paste_name.'&api_paste_expire_date='.$api_paste_expire_date.'&api_paste_format='.$api_paste_format.'&api_dev_key='.$api_dev_key.'&api_paste_code='.$api_paste_code.'');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_NOBODY, 0);

$response = curl_exec($ch);
echo $response;
?>
[/php]

PatDuffy

2012-02-13 15:48:17

I love you <3

program PremiumAviansieSlayerLite;


{.include srl/srl/misc/Smart.simba}
{.include SRL/SRL.simba}

var
I, Slept, Gained: Integer;
Debug: String;
Active, Stupid: Boolean;


procedure DeclarePlayers;
begin
NumberOfPlayers(3);
CurrentPlayer := 0;
with Players[0] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;
with Players[1] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;
with Players[2] do
begin
Name := '';
Pass := '';
Active := True;
Pin := '';
end;
end;

procedure AntiBanWalking;
begin
WaitOption('take', 3000);
FindMod;
FixChat;
repeat
WriteLnEx(47189);
PinScreen;
until(false);
if CurrentPlayer = 1 then NextPlayer(False);
Mouse(80, 277, 17, 6, MOUSE_LEFT);
repeat
rs_GetCompassAngleDegrees;
until(false);
Wait(3816+Random(3974));
if CurrentPlayer = 3 then NextPlayer(False);
Mouse(206, 147, 24, 29, MOUSE_LEFT);
BankScreen;
Wait(1023);
end;



procedure WalkToMiddle;
begin
PinScreen;
repeat
rs_GetCompassAngleDegrees;
repeat
until(false);
WaitOption('take', 1000);
Exit;
until(false);
WaitOption('take', 5000);
MMouse(240, 421, 18, 12);
MMouse(351, 206, 5, 24);
repeat
FixChat;
BankScreen;
until(false);
rs_GetCompassAngleDegrees;
if not LoggedIn then LoginPlayer;
if GetColor(167, 177) = 84903 then Exit;
repeat
Until(false);
end;


procedure ConfigureSettings;
begin
rs_GetCompassAngleDegrees;
if GetColor(374, 453) = 60638 then Exit;
WriteLnEx(34741);
MMouse(436, 370, 17, 6);
repeat
until(false);
FixChat;
end;

procedure TakeBreak;
begin
MMouse(446, 463, 6, 5);
BankScreen;
repeat
until(false);
if GetColor(329, 145) = 165544 then Exit;
FixChat;
FindNormalRandoms;
FindNormalRandoms;
Mouse(80, 382, 25, 20, MOUSE_LEFT);
MMouse(320, 127, 10, 10);
if not LoggedIn then LoginPlayer;
BankScreen;
FixChat;
end;

procedure AntiBanTalk;
begin
MMouse(78, 292, 24, 4);
WriteLnEx(33022);
repeat
FindNormalRandoms;
if CurrentPlayer = 3 then NextPlayer(False);
FindNormalRandoms;
repeat
rs_GetCompassAngleDegrees;
repeat
Until(false);
Until(false);
Until(false);
end;


procedure Trololo;
begin
FixChat;
rs_GetCompassAngleDegrees;
if GetColor(199, 325) = 111515 then Exit;
PinScreen;
Mouse(394, 221, 24, 4, MOUSE_LEFT);
repeat
Until(false);
end;

procedure Speak;
begin
if not LoggedIn then LoginPlayer;
repeat
PinScreen;
Mouse(87, 215, 18, 26, MOUSE_LEFT);
Until(false);
end;

procedure Bank;
begin
FixChat;
WriteLnEx(21905);
WriteLnEx(37190);
WriteLnEx(5530);
Wait(4595);
Mouse(493, 319, 6, 21, MOUSE_LEFT);
repeat
FindMod;
until(false);
if CurrentPlayer = 0 then NextPlayer(False);
if not LoggedIn then LoginPlayer;
repeat
Until(false);
end;

procedure AntiBan;
begin
PinScreen;
PinScreen;
rs_GetCompassAngleRadians;
rs_GetCompassAngleRadians;
repeat
until(false);
PinScreen;
end;



procedure DoBanking;
begin
FindNormalRandoms;
end;



begin
SetupSRL;
DeclarePlayers;
Bank;
Speak;
ConfigureSettings;
Bank;
WalkToMiddle;
AntiBanTalk;
end.

Time to strategically place this :p

Harry

2012-02-13 15:55:46

I am going to laugh when someone makes a help thread saying "WHY DON'T MY SCRIPT WORK" and post one of the scripts made by this.

kingarabian

2012-02-13 16:02:04

From: Harry
I am going to laugh when someone makes a help thread saying "WHY DON'T MY SCRIPT WORK" and post one of the scripts made by this.


Haha yeah! Or on Sythe: "SELLING PREMIUM WORKING SRL MEMBERS ONLY SCRIPTS!!!!!@!"

weequ

2012-02-13 16:13:49

From: kingarabian
Haha yeah! Or on Sythe: "SELLING PREMIUM WORKING SRL MEMBERS ONLY SCRIPTS!!!!!@!"
Or someone tries to apply to members with one :D

kingarabian

2012-02-13 16:21:35

From: weequ
Or someone tries to apply to members with one :D


Lol. And on his app: " I thpent 5 weekths working on thith"

grats

2012-02-13 16:29:02

rofl this is very entertaining good work

Kyle Undefined

2012-02-13 16:51:54

I can't get the proxy working with my server :( I've updated the PHP code so you can run it on your server if you'd like, and if anyone can figure out how to get the proxy working I'd love you forever!

Text was too long, had to paste it lol, http://paste.villavu.com/show/2031/

'Toxin

2012-02-13 17:06:50

This is awesome, quite hilarious too, however to be honest we should just stop using pastebin overall … should we not >.>

kitchenrange

2012-02-13 17:35:14

lol searching "DeclarePlayers" on pastebin brings up some of these.

http://pastebin.com/5KAyRcTX <——— one of the top results lmao.

Only problem is all of them have this under their google link.
"{===============================}. procedure DeclarePlayers;. begin ."

You should add your "Trolled by Weequ" quote to a writeln that always executes just in case they run it lol

Kyle Undefined

2012-02-13 17:36:50

Hahaha, that's epic! That was posted from my modified version, you can tell because of the single quotes being escaped :p

[XoL]

2012-02-13 17:48:23

Haha this is epic! I will flood pastebin :)

footballjds

2012-02-13 17:54:28

can we write to a file and run a .bat that just shuts their computer down? :P

weequ

2012-02-13 18:06:34

From: footballjds
can we write to a file and run a .bat that just shuts their computer down? :P

This is Harry's code (from the FightCaver I think). If I remember correctly the method 2 works, while method 1 doesn't on most computers.

procedure ShutItDown;
begin
KeyDown(92); //method 1
KeyUp(92);
wait(200);
sendkeys ('u');
sendkeys ('u');

Wait (30000); // if your pc is still on after 30 seconds

KeyDown(92); // then method 2
wait(200);
KeyDown(82);
wait(200);
KeyUp(82);
wait(200);
KeyUp(92);
wait(200);
Sendkeys('shutdown -s -f -t 00'+chr(13));
end;

Edit: Found it here: http://villavu.com/forum/showthread.php?t=24424&highlight=shutitdown. Seems like it was in MicksPestConrol but idk if the code was his or Harry's.

footballjds

2012-02-14 10:35:24

From: weequ
This is Harry's code (from the FightCaver I think). If I remember correctly the method 2 works, while method 1 doesn't on most computers.

procedure ShutItDown;
begin
KeyDown(92); //method 1
KeyUp(92);
wait(200);
sendkeys ('u');
sendkeys ('u');

Wait (30000); // if your pc is still on after 30 seconds

KeyDown(92); // then method 2
wait(200);
KeyDown(82);
wait(200);
KeyUp(82);
wait(200);
KeyUp(92);
wait(200);
Sendkeys('shutdown -s -f -t 00'+chr(13));
end;

Edit: Found it here: http://villavu.com/forum/showthread.php?t=24424&highlight=shutitdown. Seems like it was in MicksPestConrol but idk if the code was his or Harry's.


sorry dumb question, but its been a while, meh…
where can i see what key 92 is? is it just the ascii char num?
http://www.asciitable.com/index/asciifull.gif

mika

2012-02-14 16:54:33

So what exactly is this for and what does it do? I'm a bit confused.

weequ

2012-02-14 19:00:16

From: footballjds
sorry dumb question, but its been a while, meh…
where can i see what key 92 is? is it just the ascii char num?
http://www.asciitable.com/index/asciifull.gif
I'm not exactly sure how to find out but it's the windows key.

From: mika
So what exactly is this for and what does it do? I'm a bit confused.
It generates a fake script that can be then uploaded to pastebin to avoid ppl from leaching member scripts there. Mostly just a funny/troll project.

Harry

2012-02-14 19:04:22

That most probably won't work if using SMART. :/

mormonman

2012-02-14 20:26:52

I'm going to leak this script….Maybe I should sell it over at sythe so I can make tooonz o' monies!

[XoL]

2012-02-14 22:40:00

From: mormonman
I'm going to leak this script….Maybe I should sell it over at sythe so I can make tooonz o' monies!


OH NO!
Your going to be rich, :( We will remain poor.

E: 800th post.

footballjds

2012-02-15 09:56:34

From: Harry
That most probably won't work if using SMART. :/


any other ideas?

jakeyboy29

2012-02-15 10:12:45

From: footballjds
any other ideas?


Write something like "New secret version of smart!" at the top, and they will just run it without smart? :/

footballjds

2012-02-15 10:15:33

From: jakeyboy29
Write something like "New secret version of smart!" at the top, and they will just run it without smart? :/


pssht, I'll just throw if defines around that shit :P and never define it ;)
noobs wouldn't know the difference?

Bam Bam

2012-02-15 10:46:04

I did a quick search on pastebin and I saw all of these lol.. I just didn't realize they were all fake. Good job weequ XD

putonajonny

2012-02-20 16:16:55

Added writing them to a file rather than outputting to the debug box:
program ScriptCreator;

Const
NumberToMake = 500; //Number of scripts to make
Directory = 'C:\Simba\Fake\'; //where to save, make sure you end with a \

var
program0, program1, program2,
program3, program4, program5, program6, program7, program8, Script: TStringArray;
programs: Array of Array of TStringArray;
namestring, ProgramName: String;
I, r1: Integer;

IntegerVariableNames: TStringArray;
StringVariableNames: TStringArray;
BooleanVariableNames: TStringArray;

currentline: String;


Procedure AddToArray(S : String);
begin
SetArrayLength(Script, GetArrayLength(Script) + 1);
Script[high(Script)] := S;
end;

procedure WriteDeclarePlayers(HowManyPlayers: Integer);
begin
if Random(3) = 0 then
begin
AddToArray('{*******************************************************************************');
AddToArray('procedure DeclarePlayers;');
AddToArray('By: SRL');
AddToArray('Description: SRL''s Player Setup');
AddToArray('*******************************************************************************}');
end;
AddToArray('procedure DeclarePlayers;');
AddToArray('begin');
AddToArray(' NumberOfPlayers('+IntToStr(HowManyPlayers)+');');
AddToArray(' CurrentPlayer := 0;');
for I := 0 to HowManyPlayers-1 do
begin
if Random(2) = 0 then AddToArray('');
AddToArray(' with Players['+IntToStr(I)+'] do');
AddToArray(' begin');
AddToArray(' Name := '''';');
AddToArray(' Pass := '''';');
AddToArray(' Active := True;');
AddToArray(' Pin := '''';');
AddToArray(' end;');
end;
if Random(2) = 0 then AddToArray('');
AddToArray('end;');
end;

function GenerateProcedure(UsedProcedures: TStringArray): String;
var
ProcedureNames, lollero: TStringArray;
a, b: Integer;
sisennys: String;
kelvollinen: Boolean;
begin
ProcedureNames := ['WalkToBank', 'WalkBack', 'TakeBreak', 'Login2', 'AntiBan', 'HandleRandoms', 'PrintProggy', 'Bank', 'DoBanking', 'CheckCoins',
'AntiBanTalk', 'AntiBanWalking', 'AntiBan2', 'CheckNews', 'Rotate', 'Speak', 'EquipWep', 'ModAround', 'ConfigureSettings',
'TasteVengeance', 'CastDaSpec', 'CastSpec', 'HitTheGround', 'WalkToMiddle', 'WalkToCenter', 'TakeCare', 'StartRunning', 'Escape',
'TogglePray', 'SolveRands', 'WatchOut', 'Trololo', 'DoAntibans', 'WalkBank2', 'CheckInv', 'Turles', 'BatmanMoves', 'Eat', 'CheckForBounds',
'SayNP', 'HitTheButtons', 'PencilStategy', 'Sneeze', 'SetWalkings', 'SetupScript', 'ScriptManagement', 'ScriptSetup', 'BoredOfTypingProcedures'];
repeat
Result := ProcedureNames[Random(Length(ProcedureNames))];
Kelvollinen := True;
for b := 0 to Length(UsedProcedures)-1 do
if Result = UsedProcedures[b] then
begin
kelvollinen := False;
Break;
end;
until(kelvollinen);
AddToArray('procedure '+Result+';');
AddToArray('begin');
sisennys := ' ';
for a := 0 to Random(40) do
begin
lollero := ['MMouse('+IntToStr(Random(500))+', '+IntToStr(Random(500))+', '+IntToStr(Random(30))+', '+IntToStr(Random(30))+');', 'Wait('+IntToStr(Random(5000))+');',
'Wait('+IntToStr(Random(5000))+'+Random('+IntToStr(Random(5000))+'));',
'Mouse('+IntToStr(Random(500))+', '+IntToStr(Random(500))+', '+IntToStr(Random(30))+', '+IntToStr(Random(30))+', MOUSE_LEFT);',
'FindNormalRandoms;', 'WriteLn('+IntToStr(Random(50000))+');', 'WaitOption(''take'', '+IntToStr(1000+1000*Random(6))+');', 'rs_GetCompassAngleRadians;', 'rs_GetCompassAngleDegrees;',
'if CurrentPlayer = '+IntToStr(Random(4))+' then NextPlayer(False);', 'if not LoggedIn then LoginPlayer;', 'FixChat;', 'if GetColor('+IntToStr(Random(500))+', '+IntTostr(Random(500))+') = '+IntToStr(Random(170000))+' then Exit;', 'Exit;', 'FindMod;', 'BankScreen;', 'PinScreen;'];
AddToArray(sisennys+lollero[Random(Length(Lollero))]);
if Random(5) = 0 then
begin
AddToArray(sisennys+'repeat');
sisennys := sisennys+' ';
end;
if (Length(Sisennys) > 2) and (Random(5) = 0) then
begin
SetLength(Sisennys, Length(Sisennys)-2);
AddToArray(sisennys+'until(false);');
end;
end;
while Length(Sisennys) > 2 do
begin
SetLength(Sisennys, Length(Sisennys)-2);
AddToArray(sisennys+'Until(false);');
end;
AddToArray('end;');
end;


procedure WriteMainLoop;
var
lollero: TStringArray;
a, b, rnumber: Integer;
sisennys, tempstring: String;
begin
rnumber := 8+Random(Random(15));
for b := 0 to rnumber do
begin
tempstring := GenerateProcedure(lollero);
SetLength(Lollero, Length(Lollero)+1);
lollero[b] := tempstring;
for I := 0 to Random(3) do AddToArray('');//add 1-3 empty lines
end;
AddToArray('');


AddToArray('begin');
AddToArray(' SetupSRL;');
AddToArray(' DeclarePlayers;');
sisennys := ' ';
for a := 0 to Random(40) do
begin
AddToArray(sisennys+lollero[Random(Length(Lollero))]+';');
if Random(5) = 0 then
begin
AddToArray(sisennys+'repeat');
sisennys := sisennys+' ';
end;
if (Length(Sisennys) > 2) and (Random(5) = 0) then
begin
SetLength(Sisennys, Length(Sisennys)-2);
AddToArray(sisennys+'until(false);');
end;
end;
while Length(Sisennys) > 2 do
begin
SetLength(Sisennys, Length(Sisennys)-2);
AddToArray(sisennys+'Until(false);');
end;
AddToArray('end.');
end;

Procedure CreateTheFile;
Var
Version, i : integer;
S : String;
NewLine : String;
begin
NewLine := GetPage('http://pastehtml.com/view/botd25uam.txt')
NewLine := Copy(NewLine, 1, 2)
if(NewLine = '') then
begin
WriteLn('Unable to download newline character')
TerminateScript;
end;
if(not DirectoryExists(Directory))then
CreateDirectory(Directory);
Version := Random(8)+1;
CreateFile(Directory+ProgramName+' v'+IntToStr(Version)+'.simba')

for i := 0 to high(Script) do
begin
S := S + Script[i] + NewLine;
end;

WriteFileString(0, S);

CloseFile(0);
WriteLn('File saved at: '+Directory+ProgramName+' v'+IntToStr(Version)+'.simba')
end;

Var
iii : integer;

begin
for iii := 1 to NumberToMake do
begin
SetArrayLength(Script, 0);
program0 := ['ultimate', 'premium', ''];
program1 := ['air', 'fire', 'earth', 'nature', 'gold', 'silver', 'cowhide', 'dhide', 'amulet', 'ring', 'bracelet'];
program2 := ['crafter', 'maker'];
program3 := ['pro', '', 'lite'];
program4 := ['bronze', 'iron', 'silver', 'gold', 'steel', 'mithril', 'addy', 'rune', 'guild'];
program5 := ['miner', 'smither', 'smelter', 'superheater'];
program6 := ['Goblin', 'GreenDragon', 'Chicken', 'Aviansie', 'Ancou', 'GDK', 'FDK', 'BlackDragon'];
program7 := ['fighter', 'killer', 'slayer', 'ranger'];
program8 := ['SoulWars', 'PestControl', 'SW', 'PCEr', 'ToadPicker', 'SorcGarden', 'SorceressGarden'];
SetLength(programs, 4);
programs[0] := [program0, program1, program2, program3];
programs[1] := [program0, program4, program5, program3];
programs[2] := [program0, program6, program7, program3];
programs[3] := [program0, program8, program3];
r1 := Random(Length(programs));
NameString := '';
for I := 0 to Length(programs[r1])-1 do
begin
namestring := namestring+Capitalize(programs[r1][I][random(Length(programs[r1][I]))]);
end;
ProgramName := NameString;
AddToArray('program '+ namestring+';');
case Random(30) of //add some comments to the beginning
0: AddToArray('//KEEP PRIVATE!');
1: AddToArray('//Please keep this in private ;)');
2: AddToArray('//PREMIUM SCRIPT - KEEP PRIVATE');
3: AddToArray('//Finally updated and working perfectly');
4: AddToArray('//Please keep this private');
5: AddToArray('//This is a premium script. Keep it PRIVATE!');
6: AddToArray('//Dont leak this script to any noobs!');
7: AddToArray('//This script is NOT free! Keep it to yourself please! (No Leaking)');
end;
for I := 1 to Random(3) do AddToArray('');//add 0-2 empty lines

if Random(2) = 0 then
begin
AddToArray('{$i srl/srl/misc/Smart.simba}');
AddToArray('{$i SRL/SRL.simba}');
end else
begin
AddToArray('{.include srl/srl/misc/Smart.simba}');
AddToArray('{.include SRL/SRL.simba}');
end;

for I := 1 to Random(3) do AddToArray('');//add 0-2 empty lines


IntegerVariableNames := ['I', 'LoadsDone', 'Deaths', 'Slept', 'Gained'];
StringVariableNames := ['Location', 'Debug'];
BooleanVariableNames := ['Active' ,'Breaking', 'Stupid'];



if Random(10) > 0 then //add global vars?
begin
AddToArray('var');
for I := 0 to High(IntegerVariableNames) do //Integers
if Random(2) = 0 then currentline := currentline+IntegerVariableNames[I]+', ';
if Length(currentline) > 0 then
begin
SetLength(CurrentLine, Length(CurrentLine)-2);
currentline := currentline+': Integer;';
AddToArray(' '+CurrentLine);
end;
currentline := '';

for I := 0 to High(StringVariableNames) do //Strings
if Random(2) = 0 then currentline := currentline+StringVariableNames[I]+', ';
if Length(currentline) > 0 then
begin
SetLength(CurrentLine, Length(CurrentLine)-2);
currentline := currentline+': String;';
AddToArray(' '+CurrentLine);
end;
currentline := '';

for I := 0 to High(BooleanVariableNames) do //Booleans
if Random(2) = 0 then currentline := currentline+BooleanVariableNames[I]+', ';
if Length(currentline) > 0 then
begin
SetLength(CurrentLine, Length(CurrentLine)-2);
currentline := currentline+': Boolean;';
AddToArray(' '+CurrentLine);
end;
currentline := '';
end;

for I := 1 to Random(3) do AddToArray('');//add 0-2 empty lines

WriteDeclarePlayers(1+Random(5));//Declareplayers with 1-5 players

for I := 1 to Random(3) do AddToArray('');//add 0-2 empty lines


writemainLoop;

CreateTheFile;
Status(IntToStr((iii * 100) / NumberToMake) + '%')
end;

end.
Made 500+ Scripts: (anybody good with PasteBin api? ;) )

Kyle Undefined

2012-02-20 16:28:48

I've already added Pastebin to it, look above :D Nice work though!

RISK

2012-02-20 18:11:40

Lol, I got scared for PatDuffy when I saw this: http://pastebin.com/1YxPaw9p
Then I realized this was created by one of you rascals. :p I love this so much.

PatDuffy

2012-02-20 18:20:32

From: RISK
Lol, I got scared for PatDuffy when I saw this: http://pastebin.com/1YxPaw9p
Then I realized this was created by one of you rascals. :p I love this so much.


I actually uploaded like 3 different faked ones from this that involved Aviansie :p

Mark

2012-02-22 07:56:27

wasn't long ago i showed tikky this as he was leaking his own superheater

@footballjds
may'b if there on windows just send keys windows key then U then enter
is how i shutdown my own desktop