SOUPalmighty
2014-02-17 07:00:19
XP per Hour : +/- 15k
$ per Hour : +/- 300k
Setup(auto):
Make sure player is on Neitiznot (pref between bank and wheel)
Place flax in first bank slot [top left corner]
Download Script
Fill in setup lines in script
Hit play
Setup(Manuel):
Make sure player is on Neitiznot (pref between bank and wheel)
Place flax in first bank slot [top left corner]
Download SPS image and place in Runescape.other folder
Download Script and FlaxSpinProggy.png and place in "\simba\scripts\SoupFlaxSpinner" folder
Fill in setup lines in script, remember to set "AutoDL" to false
Hit play
Attention!
Script uses DirectX for now [brandons plugin]
other than that follow this guild
To Dos:
Any bug fixes
Player form(?)
Lumbridge support
Re-work look of proggy
Any suggestions, tips, proggies or bug reports are very welcome.
Updates(v1.4):
Implemented fixes suggested by The Mayor
Changed 6Hourfix setup
DOWNLOADS:
[ATTACH=CONFIG]22947[/ATTACH]
[ATTACH=CONFIG]22957[/ATTACH]
Proggies:


Heres the Script, its small so you can take a look before running it
$ per Hour : +/- 300k
Setup(auto):
Make sure player is on Neitiznot (pref between bank and wheel)
Place flax in first bank slot [top left corner]
Download Script
Fill in setup lines in script
Hit play
Setup(Manuel):
Make sure player is on Neitiznot (pref between bank and wheel)
Place flax in first bank slot [top left corner]
Download SPS image and place in Runescape.other folder
Download Script and FlaxSpinProggy.png and place in "\simba\scripts\SoupFlaxSpinner" folder
Fill in setup lines in script, remember to set "AutoDL" to false
Hit play
Attention!
Script uses DirectX for now [brandons plugin]
other than that follow this guild
To Dos:
Any bug fixes
Player form(?)
Lumbridge support
Re-work look of proggy
Any suggestions, tips, proggies or bug reports are very welcome.
Updates(v1.4):
Implemented fixes suggested by The Mayor
Changed 6Hourfix setup
DOWNLOADS:
[ATTACH=CONFIG]22947[/ATTACH]
[ATTACH=CONFIG]22957[/ATTACH]
Proggies:


Heres the Script, its small so you can take a look before running it
program SOUPalmightysFlaxSpinner;
{$DEFINE SMART}
{$I SRL-6/SRL.simba}
{$I SPS/lib/SPS-RS3.Simba}
var
LoadsDone:integer;
runtimer : TtimeMarker;
{==============================================================================
=================================-SETUP-=======================================
===============================================================================}
Const
TimetoRun = 5.4; //hows many hours you would like to run before client restart/shut down
Restart = True; //do you want client to restart [true] or shut down [false] at end of run
AutoDL = false; // Would you Script to find and setup needed files [true] or will you do it manuelly [false]
procedure declarePlayers();
begin
setLength(players, 1);
with players[0] do
begin
loginName := '';
password := '';
bankPin := '';
world := 72;
isActive := true;
isMember := true;
end
currentPlayer := 0;
end;
{=============================================================================
===============================-END SETUP-====================================
==============================================================================}
Function Antiban: Boolean;
var
I: Integer;
Begin
Case Random(350) of
1:
begin
boredhuman(true);
mainScreen.setAngle(MS_ANGLE_HIGH);
minimap.setAngle(MM_DIRECTION_NORTH);
end;
2..10:
begin
hoverSkill(Skill_Crafting);
wait(GaussRangeInt(1000,2000));
end;
11..20:
begin
pickUpMouse();
wait(GaussRangeInt(200,1200));
end;
21..25:
begin
hoverRandomSkill();
wait(GaussRangeInt(1000,2000));
end;
26..125:
begin
smallrandommouse();
wait(GaussRangeInt(600,1200));
end;
126..350:
begin
mouseOffClient(Off_client_random);
wait(GaussRangeInt(500,00));
end;
end;
end;
procedure OpenBankChest();
var
x, y, i: integer;
begin
if not isLoggedIn() then
exit;
Repeat
mainscreen.findObject(x, y, 1198178, 10, colorsetting(2, 0.08, 0.73), mainscreen.playerpoint, 20, 15, 20,['ank chest'],MOUSE_LEFT);
wait(randomRange(1000, 2000));
inc(i);
if pinscreen.isOpen then
pinscreen.enter(players[currentPlayer].bankPin);
Until BankScreen.isOpen() or (i >= 15);
end;
procedure HandleBanking();
begin
if (bankScreen.isOpen()) then
wait(randomRange(500, 1300))
begin
bankScreen.quickDeposit(QUICK_DEPOSIT_INVENTORY);
wait(randomRange(500, 1500));
end;
repeat
bankScreen.withdraw(1, WITHDRAW_AMOUNT_ALL, ['']);
wait(randomRange(500, 1500));
until bankscreen.ispackfull() = true;
Bankscreen.close
end;
procedure RuntoWheel();
var
pathToWheel: TPointArray;
begin
if not isLoggedIn() then
exit;
pathToWheel := [Point(65, 67), Point(68, 71), Point(67, 83), Point(73, 87), Point(81, 88), Point(89, 87), Point(101, 88), Point(111, 87), Point(120, 88), Point(127, 93), Point(127, 102), Point(130, 109), Point(137, 111), Point(140, 119), Point(137, 122)];
if SPS.walkPath(pathToWheel) then
minimap.waitPlayerMoving()
else
writeLn('failed to travel to wheel');
end;
procedure OpenWheelMenu();
var
x, y, i: integer;
begin
if not isLoggedIn() then
exit;
repeat
mainscreen.findObject(x, y, 14673137, 10, colorsetting(2,0.47,3.92), mainscreen.playerpoint,10,2,10,['pin'],MOUSE_LEFT);
wait(randomRange(1000, 2000));
inc(i);
until ProductionScreen.isOpen() or (i >= 15);
end;
procedure HandleSpinning();
begin
if (productionScreen.isOpen()) then
wait(randomRange(1000, 2000))
begin
(productionScreen.clickStart());
end;
AntiBan();
end;
procedure Runtobank();
var
pathToBank: TPointArray;
begin
pathToBank := [Point(134, 120), Point(139, 121), Point(137, 112), Point(132, 108), Point(129, 104), Point(126, 97), Point(125, 90), Point(117, 85), Point(110, 86), Point(105, 86), Point(97, 87), Point(87, 87), Point(77, 87), Point(67, 83), Point(65, 74), Point(67, 67)];
wait(randomrange(500, 1000));
if SPS.walkPath(pathToBank) then
minimap.waitPlayerMoving()
end;
Function Checkspinning: boolean;
begin
if not (tabbackpack.waitslotpixelchange(1,5000) then
exit else
if tabbackpack.waitslotpixelchange(28,60000) then
inc(loadsDone)
else
end;
Procedure Banking();
begin
mainScreen.setAngle(MS_ANGLE_HIGH);
minimap.setAngle(MM_DIRECTION_NORTH);
Runtobank();
antiban();
openbankchest();
handlebanking();
end;
procedure Spinning;
begin
mainScreen.setAngle(MS_ANGLE_HIGH);
minimap.setAngle(MM_DIRECTION_NORTH);
runtowheel();
OPenwheelmenu();
Handlespinning();
checkspinning();
end;
procedure clearProggy;
var
b: TBox;
i: integer;
begin
b := [241, 387, 361, 398];
for i := 0 to 3 do
begin
smartImage.drawBox(b, true, 1);
b.edit(0, 17, 0, 17);
end;
end;
procedure progressReport();
var
FlaxSpun, xp, xpPerHour: integer;
begin
FlaxSpun := LoadsDone * 28;
xp := (FlaxSpun * 15);
clearProggy;
smartImage.DrawText(msToTime(GetTimeRunning, TIME_SHORT), Point(241, 386), upchars, false, 15653736);
smartImage.DrawText(inttostr(flaxspun), Point(241, 403), upchars, false, 15653736);
smartImage.DrawText(intToStr(loadsDone), Point(241, 420), upchars, false, 15653736);
smartImage.DrawText(intToStr(xp), Point(241, 438), upchars, false, 15653736);
end;
procedure checkForFiles(filePath, message, link: String); //By kevin and clarity
var
progFile: longInt;
fileName: string;
begin
fileName := AppPath + filePath;
try
if not fileExists(fileName) then
begin
progFile := createFile(fileName);
end;
closeFile(progFile);
progFile := rewriteFile(fileName, false);
writeFileString(progFile, getPage(link));
finally
if (progFile > 0) then
closeFile(progFile);
end;
end;
procedure InstallSoupsFlaxSpinnerFiles; //based on code from Clarity's barrows
begin
if not directoryExists(appPath + 'scripts\SoupsFlaxSpinner') then
begin
try
createDirectory(appPath + 'scripts\SoupsFlaxSpinner');
except end;
end;
checkForFiles('scripts\SoupsFlaxSpinner\FlaxSpinProggy.png', 'FlaxspinnerProggy', 'http://i.imgur.com/7QBRTwx.png');
checkForFiles('Includes\SPS\img\runescape_other\Neiz_map.png', 'SPS Map', 'http://i.imgur.com/p57i9E3.png');
end;
procedure paintproggy;
var
flaxproggy : Integer;
begin
flaxproggy := loadBitmap(appPath + 'Scripts\SoupsFlaxSpinner\FlaxSpinProggy.png');
SMARTimage.DrawBitmap(flaxproggy,Point(0,344));
FreeBitmap(flaxproggy);
end;
Procedure Setup(initial,ForceRestart: boolean);
begin
If Initial then
begin
clearDebug();
smartPlugins := ['d3d9.dll'];
smartEnableDrawing := true;
setupSRL();
declarePlayers();
if AutoDL then
InstallSoupsFlaxSpinnerFiles();
Paintproggy();
SPS.setup('Neiz_Map', RUNESCAPE_OTHER); //to be moved when lumby support is added
end;
If ForceRestart Then
Begin
RunTimer.Start;
End;
end;
procedure Mainloop;
var
runtime : integer;
begin
if not isLoggedIn() then
exit;
banking();
spinning();
progressreport();
RunTime:= Round(TimetoRun * 60 * 60 * 1000 + Random(600000));
If (RunTime < RunTimer.gettime) Then
Begin
Players[CurrentPlayer].Logout;
Writeln('Shutting down/restart');
If Restart Then
SixHourFix Else
TerminateScript;
setup(false,true);
end;
end;
begin
Setup(true,true);
Antiban();
if not isLoggedIn() then
begin
players[currentPlayer].login();
mainScreen.setAngle(MS_ANGLE_HIGH);
minimap.setAngle(MM_DIRECTION_NORTH);
end;
while players.getActive > 0 do mainLoop;
end. ]
