PDA

View Full Version : [SRL][RS2]Blah's Simple Curser



the blah
09-10-2006, 06:19 PM
My first working script I've completed...

Last updated 9-16-2006 at 4:55p.m.

{ A simple auto curser
!- USE ON THE ZAMORAK MAGE IN VARROCK CASTLE-!
Setup on lines 16-21 and 26-27 }
program New;
{.include SRL\srl.scar}
{.include SRL\SRL\skill\Magic.scar}
var CurseColor,MageColor,tmx,tmy: Integer;
const StartPlayer=0;

Procedure DeclarePlayers;
begin
HowManyPlayers :=1; // Set Number of Players here.
NumberOfPlayers(HowManyPlayers); // Sets the Players Array Length;
CurrentPlayer:=StartPlayer; // CurrentPlayer = Array Index

Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Loc :='VarrockCastle';
Players[0].Skill:='magic';
Players[0].Active:=True;
end;

begin
SetUpSRL;
CurseColor:=11491159;
MageColor:=4212913;
DeclarePlayers;
repeat
FindColorTolerance(tmx,tmy,CurseColor, MIX1, MIY1, MIX2, MIY2, 10);
Mouse(tmx,tmy,random(4),random(4),true);
wait(50+random(20));
FindColorTolerance(tmx,tmy,MageColor,MSX1,MSY1,MSX 2,MSY2,10);
if(IsUpText('Cast Curse')) then
Mouse(tmx,tmy,random(6),random(6),true);
wait(random(100));
FindNormalRandoms;
until(IsChatMessage('ugh Bo') or LoggedIn=false);
LogOut;
end.

Pretty bad but it's the first finished working script I've made...
And I also had a problem when I tried to do FindNormalRandoms, it clicked on the inventory tab...

bullzeye95
09-10-2006, 06:55 PM
In the IsUpText and IsChatMessage, don't use the whole thing you want to find. It's not flawless. Use something like IsChatMessage('ave enou'); and IsUpText('ast');

:spot:

the blah
09-11-2006, 02:54 AM
In the IsUpText and IsChatMessage, don't use the whole thing you want to find. It's not flawless. Use something like IsChatMessage('ave enou'); and IsUpText('ast');

:spot:
But I still need body becuz it might click the wrong spell

12751
09-16-2006, 06:42 PM
I used this script to get my pure to 55 mage, 5 hours later he was perm banned and I said goodbye to 11mil. I wouldn't recommend use.

WhiteShadow
09-16-2006, 07:25 PM
I used this script to get my pure to 55 mage, 5 hours later he was perm banned and I said goodbye to 11mil. I wouldn't recommend use.

Why the fuck would you auto an account that had 11 mill on it? :duh:

Soory for the ban though, watch out next time.

12751
09-16-2006, 08:08 PM
I know... I wasn't thinking at the time! Your reply made me laugh, time to get my own back on the mining guild ;)

the blah
09-16-2006, 08:53 PM
I used this script to get my pure to 55 mage, 5 hours later he was perm banned and I said goodbye to 11mil. I wouldn't recommend use.
Don't auto on your main or rich accounts for 5 hours straight and this has no antiban becuz some1 might come along and steal the mage and as I said it's my first script. I posted so people could tell me whats wrong. Just updated

Sorry bout it

Hey can some1 tell me what i should do to prevent people from stealing the mage when it performs antiban functions

bobert5696
09-16-2006, 09:22 PM
where is the zammy mage? and to get it back if stolen, trade with the person, you gotta convince them there is a reason, quickly decline, and curse it, to get it back :) thats a good trick :)

the blah
09-16-2006, 09:26 PM
where is the zammy mage? and to get it back if stolen, trade with the person, you gotta convince them there is a reason, quickly decline, and curse it, to get it back :) thats a good trick :)
Yay but it's gonna be hard having an auto do that...

Btw i've been giving it serious thought and i came up with using scss or scarbrowser but i cant try it in scarbrowser because(btw i have the mozzila activex control):
http://img69.imageshack.us/img69/8541/sberrorhl7.png

bobert5696
09-16-2006, 09:27 PM
scarbrowser doesnt work for me, and its no different then just using interenet exploer, scss is just a client without ads, no difference

the blah
09-16-2006, 09:29 PM
scarbrowser doesnt work for me, and its no different then just using interenet exploer, scss is just a client without ads, no difference
Yeah but srl has world changing commands for scss and scarbrowser...

bobert5696
09-16-2006, 09:32 PM
ohhhh, i c what you mean, just use scss

Desert Storm
09-17-2006, 12:16 PM
Nice job dude ;)