SRL Archive - RS3 Script Requests

Autofighter that works on different clients


Niz

2010-06-23 08:57:37

I want an autofighter that can work on a private server. It's main service will be to kill monks but if it can be used to fight different monsters that would be great. I know you're thinking why would you want an autofighter for a private server? It's already SUPER easy. I'm using this on a relatively tough private server and I'd like to not really get into discussing the matter because you're right, there isn't really a reason to use an autoer on a private server other than laziness, but that's the backing behind the whole reason to use an autoer anyway isn't it :P. I would greatly appreciate anyone that would take there time to work on this, I've tried myself over the last 4 days and have become fed up with its inability to work, so I hope you can 1 up me. Please feel free to contact me on MSN at [email]jazzyjay@live.com[/email] . Please refrain from flaming me, I know this is pitiful enough as is. I hope you can help me with this, thanks.

marpis

2010-06-23 09:32:52

From: Niz
I want an autofighter that can work on a private server. It's main service will be to kill monks but if it can be used to fight different monsters that would be great. I know you're thinking why would you want an autofighter for a private server? It's already SUPER easy. I'm using this on a relatively tough private server and I'd like to not really get into discussing the matter because you're right, there isn't really a reason to use an autoer on a private server other than laziness, but that's the backing behind the whole reason to use an autoer anyway isn't it :P. I would greatly appreciate anyone that would take there time to work on this, I've tried myself over the last 4 days and have become fed up with its inability to work, so I hope you can 1 up me. Please feel free to contact me on MSN at [email]jazzyjay@live.com[/email] . Please refrain from flaming me, I know this is pitiful enough as is. I hope you can help me with this, thanks.


Because private servers don't have any bot detecting systems, it should be very easy to make one simple NPC clicker. Something like this should work:

program Killer;

const
MonsterColor = 123123; // Use Simba or SCAR to pick the color from screen
FightTime = 10000; // Milliseconds to wait after attacking
UpTextColor = 321321;

var
Failed: Integer;

function AttackMonster: Boolean;
var
X, Y: integer;
begin
if FindColorSpiralTolerance(X, Y, MonsterColor, 0, 0, 200, 200, 10); // Main-screen cordinates to (0, 0, 200, 200)
begin
MoveMouse(X, Y);
Wait(100);
if (CountColorTolerance(UpTextColor, 0, 0, 100, 20, 15) > 20) then
begin
ClickMouse(X, Y, True);
Wait(FightTime);
Result := True;
end;
end else Wait(500);
end;

begin
repeat
if (not AttackMonster) then
Inc(Failed);
until(Failed > 99);
end.

Niz

2010-06-23 09:37:26

Thanks alot! I'll let you know if it works. :D

Niz

2010-06-23 09:46:50

Hmm, I don't know whether it's me doing something wrong or not but, it successfully compiles and everything it just doesn't do anything after I try to run it. I've selected the client and everything… not sure what the problem is.

Niz

2010-06-24 00:25:21

Help? :(

NCDS

2010-06-24 00:31:14


const
MonsterColor = 123123; // Use Simba or SCAR to pick the color from screen
FightTime = 10000; // Milliseconds to wait after attacking
UpTextColor = 321321;


Did you properly select your MonsterColor? UpTextColor will probably need to be picked as well.

Niz

2010-06-24 00:33:50

The one selected is from when I tried it out on actual RS, but I never changed the uptext color because I never really understood it. When it comes to uptext color what am I supposed to grab?

Frement

2010-06-24 00:34:38

From: Niz
The one selected is from when I tried it out on actual RS, but I never changed the uptext color because I never really understood it. When it comes to uptext color what am I supposed to grab?


The color of the uptext, isnt that obvious?

Niz

2010-06-24 00:38:09

I'm not sure whether or not this font is the same font used on rs, so if it isn't you're saying just grab the color of the actual text and go with that?

Frement

2010-06-24 00:42:16

From: Niz
I'm not sure whether or not this font is the same font used on rs, so if it isn't you're saying just grab the color of the actual text and go with that?


Yes, there are no fonts used in this script.