SRL Archive - First Scripts

Second 'first' script: Autocurser (for the zammy monk in varrock castle)


Klaust

2007-09-08 14:43:27

Hello, this is my second version.. i have improved some things, hope they will work, this time ive added a randomsolver, but im nog 100% sure if it works, cuz i just stuffed some solvers into the script under a procedure.

can you guys check it out and give me feedback how to improve it even more.. or check for any errors and post them here.


edit:
found little mistake myself, the time it took to the next spell was waaay to long, i edited it and now its shorter.

edit²: I've updated the script.. hope that I didn't make any errors.. I guess antirandom works now and the antiban as well… if you spot another problem please report here,, thnx!!

Dan37542

2007-09-09 06:14:26

Nice, I'l check it out, If it works, MY gratitude to you :).

tweigs

2007-09-28 21:52:10

I keep getting a smartsendkeys error when I start it.

jameswinter

2007-10-06 18:36:03

why does it keep saying failed to compile when i run it???:mad:

Main

2007-10-16 11:00:07

very good your are one of my mans! now i can macro all the way to 99 maggee

Sir R. M8gic1an

2007-10-16 17:14:28

ok…

consts: why define lampskill if you redefine it in the player array?

in your second player you have a lil prob at .loc, you got the wrong number on Players[].

You don't need to have FindNormalRandoms on your script because it already is included in srl.

case Random (4) of
1: Findnormalrandom;
end;

if Random(4) = 1 then FindNormalRandoms would do the same thing, much faster and look much better.
2nd: just find the randoms you don't want a chance of getting banned.

procedure antiiban;
begin
case random (35) of

when you want to do anti ban you should actually do it, i'd make sure we'd always get an action, but from 6-34 you get no actions at all. which means most time you won't get antiban at all. which means you'll look extremely like a bot :)

1: Typesend('good way of training magic!'+chr(13));

TypeSend already presses enter for you, no need for chr(13)

2: SendText('lool…'+chr(13)); SendText will get you banned


procedure Curse; //select the curse spell

Begin
Cast(spelll);
end;

useless having a procedure for just one action. instead of putting Curse; in the mainscript you'd put Cast(spelll);


end else
if (not(FindObj(x,y,monstername,ZammonkColor1,10)))
or (not(FindObj(x,y,monstername,ZammonkColor2,10)))
or (not(FindObj(x,y,monstername,ZammonkColor3,10)))

this i must say makes absolutely no sense. Already if you enter the else is because it DIDN'T find the colors. then by having if not or if not means it'll only do something if it doesn't find ALL 3 colors. but if it does find them this time it won't do anything at all.


Case random (3) Of
0: Makecompass ('s')
1: Makecompass ('n')
2: Makecompass ('w')
3: Makecompass ('e')
end;

random(3) will give you these numbers: 0, 1, 2. for that you'll need random(4).


begin //mainloop
SetupSRL;
SetupMagic;
Disguise('MSN Messenger 8.3');
DeclarePlayers;
if (not (Loggedin)) then
begin
Loginplayer;
HighestAngle;
Makecompass ('w')
end;
begin

that last begin, what the hell is it doing there? what is it beginning?


until(i = runs)
Nextplayer(false)
Logout;

ok so if all goes well you switch player and this one won't come back " Nextplayer(false)" and NextPlayer logs the next player in.
and then you do "Logout;" which means the player you just logged in will be logged out :)

good attempt, this script needs some work ;) and please learn standards

RMagician

corre

2007-12-26 13:36:31

nice i tried ur script alrdy just some feedback it may spin the camera aroun too much in my opinion and it makes it harder to actually click on the monk it missed some ;)

bog

2008-01-02 18:55:14

Include file C:\Program Files\SCAR 3.13\includes\SRL\SRL.scar does not exist.
Include file C:\Program Files\SCAR 3.13\includes\SRL\SRL\skill\magic.scar does not exist.
Failed when compiling

bog

2008-01-02 19:18:06

2 lines are not working for me now

164
247

any help

P1nky

2008-01-02 21:49:54

your anti-ban is really poor… and aint sendkeys DETECTABLE…

work on it!

appelbanaan

2008-07-13 11:41:52

what to do with this file????

squigoth

2008-07-16 03:08:56

unable to compile

squigoth

2008-07-16 03:09:12

unable to compile

H20Effect

2008-07-26 01:00:26

From: squigoth
unable to compile



Don't spam just so you can leech scripts… :spot: