SRL Archive - RS3 Script Requests

Challenging script needed


Ineedhelp47

2011-05-24 05:31:24

Ok, this is hard to explain but I will try my best. I need a script that clicks on monsters (color in the monster) then pushes 3 fkeys untill the monster is dead, then repeat this action over and over again. The problem is, the monsters move and spawn in different spots constantly.

Here are the monsters that need to be attacked and the map they are on.
http://oi54.tinypic.com/21ovr79.jpg
:spot:

YoHoJo

2011-05-24 05:43:25

Since all of the monsters have their name over their heads it seems pretty easy to me.
Just search for the monster name (Tinkberbot) and have script click a little below it,
Then just have it press the FKeys, not sure how you could detect when a fight is over as I've never seen/played the game before, but seems to be pretty easy to me.
Unfortunately usually when someone requests a script for a different game no one has the time/effort to download/get/and learn how to play the game enough to script for it.

You should read some tutorials and try doing it yourself, honestly it would be really simple I think, and I'm 100% sure everyone will answer any questions and help with any problems you had. Maybe give it a shot :D.

I'd learn using DTMs or Bitmap Masks for finding the text 'TinkerBot' and see which works better. And then just basic mouse/keyboard functions will take care of the clicking/key pressing. Good Luck!

Ineedhelp47

2011-05-24 06:26:06

Ive tried reading numerous tutorials with no success. Scar makes absolutely no sense to me. Would someone even need to download the game to script what you said. Also, to eliminate detecting when the battle is over, could it be replaced with a time delay possibly?

mat_de_b

2011-05-24 07:08:46

Time delay is possible, however it would in inaccurate and slow the script down.

an easy way to check if the bot dies or not (if it doesn't ever move) would be to just after clicking hte bot keep your mouse over that spot until it no longer finds the DTM/Bitmap it found and used before.

Seriously it isn't too tough just begin with VERY simply stuff. and in your very first script you might not even want to use colour or bitmaps, just simply use movemouse and mouse. It wont work on runescape as the screen slowly rotates to stop that. but on other games it should work.

Ineedhelp47

2011-05-24 07:34:08

When you click on a monster in this game something on the screen will pop up showing the name, lvl and HP while attacking it. The HP will go down on the pop up when doing damage.
http://oi52.tinypic.com/25ggieb.jpg

Don't get me wrong, I would like to learn how to write script, but I haven't a clue where to start. My knowledge of scar is merely how the program runs. When I get into what the script means I get lost.

footballjds

2011-05-24 12:58:53

From: Ineedhelp47
When you click on a monster in this game something on the screen will pop up showing the name, lvl and HP while attacking it. The HP will go down on the pop up when doing damage.
http://oi52.tinypic.com/25ggieb.jpg

Don't get me wrong, I would like to learn how to write script, but I haven't a clue where to start. My knowledge of scar is merely how the program runs. When I get into what the script means I get lost.


then try to learn.

masterBB

2011-05-24 13:31:25

From: Ineedhelp47
When you click on a monster in this game something on the screen will pop up showing the name, lvl and HP while attacking it. The HP will go down on the pop up when doing damage.
http://oi52.tinypic.com/25ggieb.jpg

Don't get me wrong, I would like to learn how to write script, but I haven't a clue where to start. My knowledge of scar is merely how the program runs. When I get into what the script means I get lost.


I can write for you tomorrow, send me a pm tomorrow if you still need it.

Runescape Pro

2011-05-24 13:34:14

What game is that?

Ineedhelp47

2011-05-24 18:37:25

The game is called The Forbidden Gates, and yes I do still need the script written.

Sex

2011-05-24 19:18:31

I don't think it would be really challenging. Color.?

Ineedhelp47

2011-05-24 20:01:30

13680806 is the color

Ineedhelp47

2011-05-25 01:53:46

Would someone help me out with this script. I read about 5 tutorials and still couldn't figure it out. :duh:

mat_de_b

2011-05-25 01:58:46

If that picture is 100% accurate, like no editing or changing the size. Then i will make you a script using Bitmaps which will click on the bots.

seriously its like 5 lines of code, its worth trying your hardest to learn so you can give back to teh community.

Ineedhelp47

2011-05-25 02:33:51

Ok, I would really appreciate that. I guess I will have to try a little harder to learn but I understand where you are coming from.

masterBB

2011-05-26 16:54:59

program MonsterKiller;
{.include SRL/SRL.scar}

function IsInFight:Boolean;
var
x,y,screenDTM:Integer;
begin
screenDTM := DTMFromString('mggAAAHicY2NgYPBkZGBIAuILQPwIiHcAcQUQuwDlIoE4CogdgNgCiC2B+ECxIMPBEhGG7WlCDNszBBhONYoznKwXY1AGymHDjDgwBAAAYO8NxQ==');
Result := FindDtm(screenDTM,x,y,0,0,600,500);
end;

function ClickMonster:Boolean;
var
x,y,MonsterLeft,MonsterRight,MonsterLeftBack,MonsterRightBack:Integer;
begin
Result := True;
MonsterLeft := DTMFromString();
if(not(FindDtm(MonsterLeft,x,y,0,0,600,500)))then
begin
MonsterRight := DTMFromString();
if(not(FindDtm(MonsterRight,x,y,0,0,600,500)))then
begin
MonsterLeftBack := DTMFromString();
if(not(FindDtm(MonsterLeftBack,x,y,0,0,600,500)))then
begin
MonsterRightBack := DTMFromString();
if(not(FindDtm(MonsterRightBack,x,y,0,0,600,500)))then
begin
Result := False;
end;
end;
end;
end;
freeDTM(MonsterLeft);
If (Result) then
begin
Mouse(x,y,1,1,True);
Mouse(x,y,1,1,True);
end;
end;

var
Tries:Integer;

begin
wait(2000);
SetupSRL;
repeat
wait(50);
repeat
wait(100);
until(ClickMonster);
Tries := 0;
repeat
inc(Tries);
if(Tries > 100) then
break;
wait(100);
until(not(IsInFight));
until(false);
end.

Just fill in the desired monster DTMs. Don't forget to use some tollerance. You can make your own DTMs by going to view, extensions, and enable the DTM tool. Then go to tools and click on the DTM tool. Chose a tollerance (10-25) and click 10 times on the monster on different parts with unique colors. copy the DTMs in the fight function, and voilla!

Ineedhelp47

2011-05-26 19:23:36

What version did you write it in? When I go into view, there is no extensions. So I tried to do it skipping that step. I pick the 10 colors, and tolerance, but when I go to copy, since you can't right click it, I tried ctrl+C and when I go to paste it in it wont. I tried looking on youtube to see if there were any videos to help guide me but nothing.

masterBB

2011-05-26 19:58:42

From: Ineedhelp47
What version did you write it in? When I go into view, there is no extensions. So I tried to do it skipping that step. I pick the 10 colors, and tolerance, but when I go to copy, since you can't right click it, I tried ctrl+C and when I go to paste it in it wont. I tried looking on youtube to see if there were any videos to help guide me but nothing.


It comes standard with simba. There is a way to it without it, but that takes more time. Couldn't give you the correct DTM's cause I downloaded the game for you and I'm still level 2 or 3.


Image is a little confusing, first go to view -> extensions, then enable both SRL and DTM editor. If done right, the DTM editor will show up at tools as on the screenie.

Ineedhelp47

2011-05-26 21:46:46

This is really starting to get on my nerves. Do you have MSN? I could add you and I could take you to the place in the game because I tried it and I don't know how to get it to work.

YoHoJo

2011-05-27 04:48:54

Do you know about teamviewer? Using that program someone will be able to actually see and control your computer why you watch maybe Simone should hop onto teamviewer and help him out.

Ineedhelp47

2011-05-27 05:00:34

Wow s a great Idea. I would be down if anyone else would be.

masterBB

2011-05-27 05:04:12

From: Ineedhelp47
Wow s a great Idea. I would be down if anyone else would be.


Don't have it installed. Could download it. Is it easy to use?

edit: downloaded and installed.

Oh, and I prefer not to use msn.

YoHoJo

2011-05-27 05:13:24

Yeah teamviewer is VERY easy to use. Forgot exact instructions/ I'm on my phone but it's easy to figure out ineedhelp needs to tell you am ID and password from his teamviewer which you type into yours and BAM you're in control!

Ineedhelp47

2011-05-27 05:18:21

Im am currently Downloading it ill keep you posted

chitin

2011-05-27 05:25:34

is it just me or are u guys making this wayyy more complicated than it has to be. first of all
have you tried basic hex editing? i cant tell if its even an mmo since i was having a bit trouble finding it on google or wiki.

second of all its litterly 5 lines of code or less. even i could do it. and i will just give me the games official site….

third of all it may be easier to just have a macro program with keystrokes. it will def be a bot but not like that game has detection 0.0 …………and it will maximize productivity for levels im assuming…. fk lol i kinda wana go play that chessy ass game now

masterBB

2011-05-27 05:27:37

From: chitin
is it just me or are u guys making this wayyy more complicated than it has to be. first of all
have you tried basic hex editing? i cant tell if its even an mmo since i was having a bit trouble finding it on google or wiki.

second of all its litterly 5 lines of code or less. even i could do it. and i will just give me the games official site….

third of all it may be easier to just have a macro program with keystrokes. it will def be a bot but not like that game has detection 0.0 …………and it will maximize productivity for levels im assuming…. fk lol i kinda wana go play that chessy ass game now


Then make it yourself. With colors DTMs are a must. And you're aware that its an MMORPG right?

chitin

2011-05-27 05:35:36

From: masterBB
Then make it yourself. With colors DTMs are a must. And you're aware that its an MMORPG right?


why would dtms be a must lol? once i see how the game works ill decide how i wana make it 0.0 …..no but now i know so that rules out hex editing somewhat. but u can actually make a trainer with base memory….

like i said…some1 gime teh link to the official site of the damn game…

masterBB

2011-05-27 05:38:40

From: chitin
why would dtms be a must lol? once i see how the game works ill decide how i wana make it 0.0 …..no but now i know so that rules out hex editing somewhat. but u can actually make a trainer with base memory….

like i said…some1 gime teh link to the official site of the damn game…


There is no official website anymore. The game went offline a few years ago. But the main server is still running.

chitin

2011-05-27 06:20:09

From: masterBB
There is no official website anymore. The game went offline a few years ago. But the main server is still running.


that explains me having issues finding it. forget it. im not wasting time on a dead game. -.-….find another game lol

masterBB

2011-05-27 06:24:03

but back on topic:

Ineedhelp, how is it working out for you?

Ineedhelp47

2011-05-27 06:25:23

I get this when trying to run the script.

Exception in Script: Unable to find file 'SRL/SRL.scar' used from ''

What do I do to fix it

masterBB

2011-05-27 06:28:07

Forgot to say, Remember when you had enable the DTM editer at the view-> extensions? You have to do the same for srl.sex. Then go to the new tab/option/menubutton 'srl', and click on update.

Ineedhelp47

2011-05-27 06:40:17

OMG OMG IT WORKS!!! Thanks you so much man! One thing tho, is it possible to make it have a longer wait time between clicking? I can't kill them fast enough before it clicks again.

masterBB

2011-05-27 06:48:32

From: Ineedhelp47
OMG OMG IT WORKS!!! Thanks you so much man! One thing tho, is it possible to make it have a longer wait time between clicking? I can't kill them fast enough before it clicks again.


line 56:
if(Tries > 100) then

This is the maximum time 100ms * the number there. So now it is 10 seconds.
Change it to 400 for 40 seconds.

Ineedhelp47

2011-05-27 06:58:13

Ok, thank you so much you rock!

Home

2011-05-27 07:06:48

Great to see that you got it working. You have my MSN. PM me if you need help :)

~Home

Capricorn

2011-05-27 07:20:33

From: masterBB
Then make it yourself. With colors DTMs are a must. And you're aware that its an MMORPG right?

Just because you use colour doesn't mean it is required that you use DTM's.

masterBB

2011-05-27 07:27:11

From: Capricorn
Just because you use colour doesn't mean it is required that you use DTM's.


No I said it wrong, TPA's and maybe bitmaps would've also worked. But while walking through the game you will notice that there is some sort of layer of light falling on objects. This makes all colors a bit different than on other parts of the screen. DTM's are the easiest way to go around this problem. I'm sure DTM's were the only type of color botting he would understand so fast, he could do it himself.