SRL Archive - Outdated / Broken

[SoulSplit] Kory's SS Auto Fighter!


koryperson

2013-11-30 04:24:11


—————————————-
Kory's SS Auto Fighter
—————————————-



An incredibly simple SS auto fighter!

-Features-
-Checks for combat every 5 seconds-
-Neat and clean progress report-
-Reports time running, monsters killed, and monsters killed/hr-
-Easy to use!-


————-
Instructions
————-

Set your settings to this first
[ATTACH=CONFIG]22444[/ATTACH]

1. Drag target onto SS client.
2. Set screen to desired settings I posted on the thread.
3. Go to a training spot where you are ALONE.
4. Pick monster colors and input them at lines 43-49.
5. Post any bugs or suggestions on the thread.
6. Enjoy :)



Post progress reports or bugs below![/COLOR



program SoulSplitFighter;
{$i srl/srl.simba}
var
x, y, killed, HpBar, killedhour, Monstercolor1, Monstercolor2, Monstercolor3, Monstercolor4, Monstercolor5, Monstercolor6, Monstercolor7:Integer;



// -Instructions-
// --------------
// 1. Drag target onto SS client.
// 2. Set screen to desired settings I posted on the thread.
// 3. Go to a training spot where you are ALONE.
// 4. Pick monster colors and input them at lines 43-49.
// 5. Post any bugs or suggestions on the thread.
// 6. Enjoy :)
//
// -NOTES-
// --------------
// - ONLY works on SoulSplit
// - Not every monster has been tested, so pick good colors.
// - Eating/prayer is unsupported, so [$]Extreme is recommended.
// - !BE ALONE AT YOUR TRAINING SPOT!
// - Baby sit for a few minutes to make sure your colors work well.



Procedure Proggy;
Begin
ClearDebug;
killedhour := round((killed)/(gettimerunning/3600000.0));
Writeln('************Korys SoulSplit Auto Fighter************')
writeln(' Time Running: '+ MsToTime(GetTimeRunning,3))
writeln(' Monsters Killed: ' + inttostr(killed))
writeln(' Monsters Killed Per Hour: ' + inttostr(killedhour))
Writeln('****************************************************')
End;

Procedure BeginFight;
Begin



MonsterColor1 := 4482363 //Pick a bunch of colors
MonsterColor2 := 2504737 //unique to the monster!
MonsterColor3 := 5278054
MonsterColor4 := 3293251
MonsterColor5 := 6795138
MonsterColor6 := 4152631
MonsterColor7 := 5475175



if FindColorSpiralTolerance(x, y, MonsterColor1, 5, 5, 512, 340, 3) or
FindColorSpiralTolerance(x, y, MonsterColor2, 5, 5, 512, 340, 3) or
FindColorSpiralTolerance(x, y, MonsterColor3, 5, 5, 512, 340, 3) or
FindColorSpiralTolerance(x, y, MonsterColor4, 5, 5, 512, 340, 3) or
FindColorSpiralTolerance(x, y, MonsterColor5, 5, 5, 512, 340, 3) or
FindColorSpiralTolerance(x, y, MonsterColor6, 5, 5, 512, 340, 3) or
FindColorSpiralTolerance(x, y, MonsterColor7, 5, 5, 512, 340, 3) then
Begin
mmouse(x, y,1,1);
Wait(100);
MoveMouse(x, y);
Wait(20);
ClickMouse(x, y, 1);
Wait(5000);
End;
End;

procedure loadbmp;
begin
writeln('loading Bitmaps....')
HpBar := BitmapFromString(30, 5, 'meJxjYPjPMIqGMgIAEOSVaw==');
writeln('Bitmaps loaded!')
end;

procedure free;
begin
freebitmap(HpBar);
end;

function Fighting: boolean;
begin
if findcolor(x, y, 255, 5, 5, 512, 340) then
begin
result := true
end
else
begin
result := false
end;
end;

Procedure InCombat;
Begin
if (not Fighting) then
Begin
BeginFight
End;
End;

procedure SearchForHP;
var found: boolean;
begin
InCombat
repeat
FindBitmapToleranceIn(HpBar, x, y, 0, 0, 512, 340, 5);
found := FindBitmapToleranceIn(HpBar, X, Y, 0, 0, 512, 340, 5)
until(found)
IncEx(Killed, 1);
Proggy
Wait(4000)
BeginFight;
Wait(5000);
End;

begin
MouseSpeed := 25;
loadbmp
repeat
SearchForHP
until(false)
end.


[ATTACH]22445[/ATTACH]


Decent Proggy :)
************Korys SoulSplit Auto Fighter************
Time Running: 01:00:09
Monsters Killed: 183
Monsters Killed Per Hour: 183
****************************************************

Another Proggy
************Korys SoulSplit Auto Fighter************
Time Running: 02:34:35
Monsters Killed: 446
Monsters Killed Per Hour: 173
****************************************************

Nigg Hair

2013-11-30 17:39:06

I used the proggy from your script and added to mine :D I like it.

koryperson

2013-12-01 02:13:36

From: Nigg Hair
I used the proggy from your script and added to mine :D I like it.


Awesome, yea it's pretty basic once you see a clear example. Glad it helped :)

timmyftw

2013-12-11 19:03:27

I have problems getting this to run with srl-6. Can you please post how I can get this to work. Thanks.

rj

2013-12-11 19:28:27

From: timmyftw
I have problems getting this to run with srl-6. Can you please post how I can get this to work. Thanks.


you can't run it with SRL6 because it uses SRL5 which can be downloaded from https://github.com/SRL/SRL-5 and extracted to c:/simba/includes and renamed to SRL

timmyftw

2013-12-11 21:24:55

When I attempt to run it with SRL-5 I get

Exception in Script: Duplicate declaration "AddDTM" at line 161, column 38 in file "C:\Simba\Includes\SRL\SRL\core\simba.simba"

rj

2013-12-11 22:07:35

From: timmyftw
When I attempt to run it with SRL-5 I get


set the interpreter to pascalscript

timmyftw

2013-12-11 22:57:49

thanks man, worked.

[XoL]

2013-12-12 00:55:14

Ah so thats the fix, well that was obvious sorry couldn't help you in the IRC! I knew brady could of though :p

alamari

2013-12-20 05:46:38

keep it up

koryperson

2014-02-13 00:38:36

From: sharkyscape
broken no longer works no ss autofighter really works


What's broken about it? It might be old, but it works. It isn't crazy advanced like Barbrady's new release, but it'll still click monsters for you.

And ye, check out Barbrady's new script, it's quite impressive :P

rivaldo

2014-03-08 12:52:33

got this error

http://gyazo.com/78caf09fc25c3bdcf6c6359e5a597d17

uhit

2014-03-08 16:07:47

From: rivaldo
got this error

http://gyazo.com/78caf09fc25c3bdcf6c6359e5a597d17


You don't have the include in the correct place then

Spectral

2014-03-18 19:02:54

From: koryperson
What's broken about it? It might be old, but it works. It isn't crazy advanced like Barbrady's new release, but it'll still click monsters for you.

And ye, check out Barbrady's new script, it's quite impressive :P


It loads the bmp, and then stops doing anything, and does nothing whatsoever

rivaldo

2014-03-21 11:16:01

Exception in Script: Duplicate declaration "AddDTM" at line 161, column 38 in file "C:\Simba\Includes\SRL\SRL\core\simba.simba"

blueheaven

2014-04-04 09:20:09

what does drag target onto ss client means!! plzz explain

Chris

2014-06-17 05:52:25

From: blueheaven
what does drag target onto ss client means!! plzz explain


The green crosshair "Select a client" (yellow square below) should be dragged onto the SoulSplit client

Spotify

2014-07-11 06:06:38

does this even work anymore lol

pr0bert

2014-12-27 18:27:39

im gettin an error when i try to run script


Error: Duplicate declaration "AddDTM" at line 161
Compiling failed.

any ideas?

benkingofmoria

2015-05-17 18:23:07

From: Spectral
It loads the bmp, and then stops doing anything, and does nothing whatsoever


I followed everyones fixes in the thread, got the same issue, but all i had to do was drag the green target to the soulsplit screen.
Its running but doesnt know where the ss window is, i imagine.

rj

2015-05-17 23:53:37

From: benkingofmoria
I followed everyones fixes in the thread, got the same issue, but all i had to do was drag the green target to the soulsplit screen.
Its running but doesnt know where the ss window is, i imagine.


The script is over a year old

NickWord

2015-05-18 19:16:04

From: rj
The script is over a year old


Has SS changed enough to break this script? I am sure if he wanted to learn a bit he could fix it up nice and tidy.

rj

2015-05-18 19:52:30

From: NickWord
Has SS changed enough to break this script? I am sure if he wanted to learn a bit he could fix it up nice and tidy.


I'm not sure I don't play SS

NickWord

2015-05-18 20:03:50

From: rj
I'm not sure I don't play SS


I pmed you :D

Beast Coast

2015-05-19 02:12:55

Would love to have this script.