SRL Archive - Non-RuneScape Scripts

SoulSplit Fighter


stuartroad

2012-07-03 05:44:38

Hi there, my second SoulSplit script. Auto fighter.

Does not eat
Does not loot
A lot of the time it clicks once already in combat
Does not fight monsters higher level than you
Works best with the SoulSplit client
Have Auto Retaliate on
Hit f3 a few times to make it stop

Setup.
Use the colour picker tool to choose a colour on your monster, try find an unpopulated area if you can, hit play. You may need to change the dimensions.

I think that is all. I will be improving this as I go along, I hope… Including charm looting, eating, possibly potions, and anything people would like just ask and I will try.

stealth1337

2012-07-04 02:46:07

This didnt work for me.

I just modified it so i could actually use it…

YoHoJo

2012-07-04 02:57:27

From: stealth1337
This didnt work for me.

I just modified it so i could actually use it…


Maybe post better/more detailed feedback on exactly what happened/went wrong and then he can work on fixing it up.

stealth1337

2012-07-04 03:23:53

From: YoHoJo
Maybe post better/more detailed feedback on exactly what happened/went wrong and then he can work on fixing it up.


It just didnt work I had to change around the code to make it more proof because it would keep clicking another npc while in combat.

Anyways best of luck,

stealth.

stuartroad

2012-07-04 08:53:34

I did mention that is clicks when you already have a target. I am working on this, I am struggling with pixel shift, but i assure you I will get it.

What did you modify, maybe i could change it around in the main script if i feel it more worthy.

Kasi

2012-07-04 08:56:52

Wrong section :P, looked into your script, Try using Constant values to start off with instead of getting the user to search the script for where the color goes :)

stealth1337

2012-07-04 11:11:02

This is what I came up with after awhile, also pretty much the only thing i changed was the way it attacked the yaks and make sure your not in combat

i used
if srl_infight = false then


program Yakkiller;
{$i SRL/SRL.simba}
var
x,y:Integer;

const
Monster = 2699326;
Monster1 = 2568773;
Monster2 = 3489360;
GoldCharm = 4746624;

Procedure AttackYak;
begin
if srl_infight = false then
if(FindColorSpiralTolerance(x, y, Monster, MSX1, MSY1, MSX2, MSY2, 4)) then
begin Mouse(x, y, 3, 3, True);
wait(500)
end;
end;

Procedure Pickupdrop;
begin
if srl_infight = false then
if(FindColorSpiralTolerance(x, y, GoldCharm, MSX1, MSY1, MSX2, MSY2, 5))then
begin Mouse(x, y, 5, 5, true); //If found will Left-Click on the x, y coordinates with a randomness between 5 pixelend
end;
end;

procedure main;
begin
repeat
AttackYak;
Pickupdrop;
until(false)
end;
begin
ClearDebug;
SetUpSrl;
ActivateClient;
main;
end.


Thanks

Stealth,

stuartroad

2012-07-05 01:39:22

From: pur3b100d
Wrong section :P, looked into your script, Try using Constant values to start off with instead of getting the user to search the script for where the color goes :)


What are you talking about wrong section?

alw98

2012-07-06 18:21:13

From: stealth1337
This is what I came up with after awhile, also pretty much the only thing i changed was the way it attacked the yaks and make sure your not in combat

i used
if srl_infight = false then


program Yakkiller;
{$i SRL/SRL.simba}
var
x,y:Integer;

const
Monster = 2699326;
Monster1 = 2568773;
Monster2 = 3489360;
GoldCharm = 4746624;

Procedure AttackYak;
begin
if srl_infight = false then
if(FindColorSpiralTolerance(x, y, Monster, MSX1, MSY1, MSX2, MSY2, 4)) then
begin Mouse(x, y, 3, 3, True);
wait(500)
end;
end;

Procedure Pickupdrop;
begin
if srl_infight = false then
if(FindColorSpiralTolerance(x, y, GoldCharm, MSX1, MSY1, MSX2, MSY2, 5))then
begin Mouse(x, y, 5, 5, true); //If found will Left-Click on the x, y coordinates with a randomness between 5 pixelend
end;
end;

procedure main;
begin
repeat
AttackYak;
Pickupdrop;
until(false)
end;
begin
ClearDebug;
SetUpSrl;
ActivateClient;
main;
end.


Thanks

Stealth,

wait, so infight works? This could make my day if so.

stuartroad

2012-07-06 18:46:44

it works, roughly 50% of the time i would say.

bambe

2012-07-07 15:36:39

Ive also made a soulsplit fighting script and infight or SRL_infight does not work at all as soulsplit graphics are different to runescape graphics. If someone can rewrite infight to work with soulsplit graphics it should work

stuartroad

2012-07-07 19:18:42

From: bambe
Ive also made a soulsplit fighting script and infight or SRL_infight does not work at all as soulsplit graphics are different to runescape graphics. If someone can rewrite infight to work with soulsplit graphics it should work


maybe you are using soulsplit on high detail, do it on low and it should work a bit more.

No one is going to edit infight for you. You will have to do this yourself.

I will be editing this script throughout the week, possibly release a flawless fighting at the end of the week, i hope! If anyone has a modified fonts for soulsplit they would be willing to give to me would help a lot. thankyou.

zluo

2012-07-08 02:15:12

From: stuartroad
maybe you are using soulsplit on high detail, do it on low and it should work a bit more.

No one is going to edit infight for you. You will have to do this yourself.

I will be editing this script throughout the week, possibly release a flawless fighting at the end of the week, i hope! If anyone has a modified fonts for soulsplit they would be willing to give to me would help a lot. thankyou.


go to UpCharsEx in the fonts in simba folder, the old uptext is the same as soulsplit, otherwise you could also just make a dtm of the text to check.

bambe

2012-07-08 03:29:16

i made a new infight using pixelshift and it works fine, im just trying to find a way to stop attacking NPCs already in a fight

stuartroad

2012-07-08 06:26:33

some sort of hp bar check should do the trick

stealth1337

2012-07-08 15:19:09

From: bambe
i made a new infight using pixelshift and it works fine, im just trying to find a way to stop attacking NPCs already in a fight


Hahahaha, read my pm, we both have the opposite problem

Stealth,

zluo

2012-07-08 18:29:08

From: stealth1337
Hahahaha, read my pm, we both have the opposite problem

Stealth,


well i think it may be possible that if it finds the colour of the monster, it puts a box around and returns if it finds an hp bar or not.

Hapayboy

2012-10-21 10:21:02

I can't find a working soul split fighting bot anywhere, this is the closest to it hope you fix it then release it xD

poisonshot

2013-03-26 01:29:43

This one works right?

bottinf

2013-03-30 20:55:57

Exception in Script: Unable to find file 'srl\srl.simba' used from 'C:\Documents and Settings\Administrator.MIKK-13148EFE27\My Documents\Allalaadimised\Soulsplit auto fighter.simba'
why i always get this when i try to run script ?

rj

2013-03-30 22:44:37

From: bottinf
Exception in Script: Unable to find file 'srl\srl.simba' used from 'C:\Documents and Settings\Administrator.MIKK-13148EFE27\My Documents\Allalaadimised\Soulsplit auto fighter.simba'
why i always get this when i try to run script ?


Follow instructions on how to properly set up Simba…

purerange86

2013-10-06 14:51:37

Thanks, lol built something off this, anyone have a good loc to use this?

rj

2013-10-06 16:45:51

From: purerange86
Thanks, lol built something off this, anyone have a good loc to use this?


well it's a year old..

purerange86

2013-10-07 16:11:38

still has got good framework though.

rj

2013-10-07 16:26:35

From: purerange86
still has got good framework though.


No the framework is not good -.- it just looks for a single color with no fail-safes and has a static loop and does not check if other monsters are in combat lol

stepis69

2013-10-19 15:09:29

not bad