SRL Archive - Archive

Doofy - SRL Member Application Form


Doofy

2007-03-16 14:46:49

<!– BEGIN TEMPLATE: formanswers –>
Doofy - SRL Member Application Form
Doofy

What is the meaning to life?


Where you Referred to SRL? If yes, by whom?
no


Programming Knowledge


Other Communitys
Im a registered on Fagex and Sythe but I never go on. Doofmeister's Scripts

How Long have You Played Runescape
Almost 3 years

Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.

I applied before but I posted the wrong script and it sucked either way…. but I've been working non-stop lately on my alcher its on version 4.5. I used SRL and I think it works really well. Please say yes because it works and I worked so hard on it.

——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted


{-----------------------------BY DOOFMEISTER------------------------------)

DO NOT USE ANYTHING FROM THIS SCRIPT WITHOUT GIVING CREDIT TO ME!
FOR USE WITH THE OFFICIAL RUNESCAPE CLIENT ON V-BRIGHT LOW DETAIL
BE IN A MEMBERS WORLD
ITEMS YOU WANT ALCHED (NOTED) ANYWHERE
WEILD A FIRE STAFF
START LOGGED OUT
SETUP 31-35 (OPTIONAL 36-38) AND 46-48

V1 : VERY BASIC, NOT SO GOOD
V2 : MUCH BETTER USE OF SRL AND USES SOME COLOR FINDING
V2.5 : FIXED ALCHING PROCEDURE
V3 : MINOR TWEAKS AND ADDED PROGRESS REPORT
V3.5 : MUCH BETTER NOTE FINDING PROCEDURE THANKS TO UBER BROTHERS'
UBERALCHER
V4 : WORKING RANDOMS, BETTER AUTORESPONDER, AND BETTER ANTIBAN
V4.5 : MUCH MUCH BETTER AUTORESPONDER AND MINOR TWEAKS

(-------------------------------------------------------------------------}

program DoofyAlcher;
{.include SRL\SRL.scar}

var
TotalAlched,DItem,RespondAmount,Note,c: Integer;
AlchText: String;

const
StartPlayer = 0;{Don't touch}
AlchNumber = 22;{Number of things to alch}
CommonNickname1 = '';{A common name people call you..like part of your name}
CommonNickname2 = '';
CommonNickname3 = '';
CrowdedPlace = True;{True if in crowded place with lots of talk,False if not}
GreenLiquid = 3195184;{Default}
YellowCoins = 849658;{Default}
NoteColor = 8037556;{Default}
///////////////////////////////////////////////////////////////////////////
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers( HowManyPlayers );
CurrentPlayer := StartPlayer;

Players[0].Name := '';{Username}
Players[0].Pass := '';{Password}
Players[0].Nick := '';{3 Letters from your name NO CAPS}
Players[0].Active:=True;{No Touch}
end;
///////////////////////////////////////////////////////////////////////////
procedure FindRandoms;
begin
FindLamp(LampSkill);
if (FindFight) then
begin
Logout;
TerminateScript;
end;
FindNormalRandoms;
if(InBlack)then
begin
Players[CurrentPlayer].loc := 'InBlack';
Logout;
Exit;
end;
SRLRandomsReport;
end;
///////////////////////////////////////////////////////////////////////////
procedure AutoRespond;
begin
if(CrowdedPlace = True) then
begin
if (FindChatText('Hp lvls') or
FindChatText('Hp lvls?') or
FindChatText('Hitpoint lvls') or
FindChatText('Hitpoint lvls?') or
FindChatText('Hitpoints lvls') or
FindChatText('Hitpoints lvls?') or
FindChatText('Hitp lvls') or
FindChatText('Hitp lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Hitpoints')))
RespondAmount:=RespondAmount+1;
end;

if (FindChatText('Mining lvls') or
FindChatText('Mining lvls?') or
FindChatText('Mine lvls') or
FindChatText('Mine lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Mining')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Wc lvls') or
FindChatText('Wc lvls?') or
FindChatText('Woodcut lvls') or
FindChatText('Woodcut lvls?') or
FindChatText('Woodcutting lvls') or
FindChatText('Woodcutting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Woodcutting')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Attack lvls') or
FindChatText('Attack lvls?') or
FindChatText('Atack lvls') or
FindChatText('Atack lvls?') or
FindChatText('Attac lvls') or
FindChatText('Attac lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Attack')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Defenc lvls') or
FindChatText('Defenc lvls?') or
FindChatText('Defence lvls') or
FindChatText('Defence lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Defence')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Magic lvls') or
FindChatText('Magic lvls?') or
FindChatText('Mage lvls') or
FindChatText('Mage lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Magic')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Cook lvls') or
FindChatText('Cook lvls?') or
FindChatText('Cookin lvls') or
FindChatText('Cookin lvls?') or
FindChatText('Cooking lvls') or
FindChatText('Cooking lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Cooking')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Fletch lvls') or
FindChatText('Fletch lvls?') or
FindChatText('Fletching lvls') or
FindChatText('Fletching lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Fletching')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Firemaking lvls') or
FindChatText('FireMaking lvls?') or
FindChatText('Fire making lvls') or
FindChatText('Fire making lvls')) then
begin
TypeSend(IntToStr(GetSkillLevel('Firemaking')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Craft lvls') or
FindChatText('Craftt lvls?') or
FindChatText('Craftin lvls') or
FindChatText('Crafting lvls?') or
FindChatText('Crafting lvls') or
FindChatText('Crafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Crafting')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Smelt lvls') or
FindChatText('Smelt lvls?') or
FindChatText('Smelting lvls') or
FindChatText('Smelting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Smelting')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Rc lvls') or
FindChatText('Rc lvls?') or
FindChatText('Runecraft lvls') or
FindChatText('Runecraft lvls?') or
FindChatText('Runecrafting lvls') or
FindChatText('Runecrafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Runecraft')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Hi') or
FindChatText('Hey') or
FindChatText('Hello') or
FindChatText('Yo')) then
begin
case random(4) of
0: begin
Typesend('hey...just watchin.');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('hey...im gonna do barrows once im lvl 90');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('hi');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('yo');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (FindChatText((Players[CurrentPlayer].Name)) or
FindChatText((CommonNickname1)) or
FindChatText((CommonNickname2)) or
FindChatText((CommonNickname3))) then
begin
case random(4) of
0: begin
Typesend('im busy leave me alone lol');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im not talking right now');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('talk to me some other time i dont want to talk now');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('leave me alone');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (FindChatText('Macroer') or
FindChatText('Macror') or
FindChatText('Macro') or
FindChatText('Macrore')) then
begin
case random(4) of
0: begin
Typesend('omg im not for the last time stop talking to me');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('everyone thinks i am but im not.. dont even talk');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('lol im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! im not talkin to you');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (FindChatText('Autoer') or
FindChatText('Auoter') or
FindChatText('Auto') or
FindChatText('Autor')) then
begin
case random(4) of
0: begin
Typesend('omg im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im just watching calm down dont talk to me');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('everyone thinks im one...leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! i hate them dont even say anything');
RespondAmount:=RespondAmount+1;
end;
end;
end;
end;
if(CrowdedPlace=False) then
begin
if (InChat('Hp lvls') or
InChat('Hp lvls?') or
InChat('Hitpoint lvls') or
InChat('Hitpoint lvls?') or
InChat('Hitpoints lvls') or
InChat('Hitpoints lvls?') or
InChat('Hitp lvls') or
InChat('Hitp lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Hitpoints')))
RespondAmount:=RespondAmount+1;
end;

if (InChat('Mining lvls') or
InChat('Mining lvls?') or
InChat('Mine lvls') or
InChat('Mine lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Mining')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Wc lvls') or
InChat('Wc lvls?') or
InChat('Woodcut lvls') or
InChat('Woodcut lvls?') or
InChat('Woodcutting lvls') or
InChat('Woodcutting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Woodcutting')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Attack lvls') or
InChat('Attack lvls?') or
InChat('Atack lvls') or
InChat('Atack lvls?') or
InChat('Attac lvls') or
InChat('Attac lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Attack')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Defenc lvls') or
InChat('Defenc lvls?') or
InChat('Defence lvls') or
InChat('Defence lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Defence')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Magic lvls') or
InChat('Magic lvls?') or
InChat('Mage lvls') or
InChat('Mage lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Magic')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Cook lvls') or
InChat('Cook lvls?') or
InChat('Cookin lvls') or
Inchat('Cookin lvls?') or
InChat('Cooking lvls') or
InChat('Cooking lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Cooking')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Fletch lvls') or
InChat('Fletch lvls?') or
InChat('Fletching lvls') or
InChat('Fletching lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Fletching')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Firemaking lvls') or
InChat('FireMaking lvls?') or
Inchat('Fire making lvls') or
InChat('Fire making lvls')) then
begin
TypeSend(IntToStr(GetSkillLevel('Firemaking')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Craft lvls') or
InChat('Craftt lvls?') or
InChat('Craftin lvls') or
InChat('Crafting lvls?') or
InChat('Crafting lvls') or
InChat('Crafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Crafting')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Smelt lvls') or
InChat('Smelt lvls?') or
InChat('Smelting lvls') or
InChat('Smelting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Smelting')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Rc lvls') or
InChat('Rc lvls?') or
InChat('Runecraft lvls') or
InChat('Runecraft lvls?') or
InChat('Runecrafting lvls') or
InChat('Runecrafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Runecraft')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Hi') or
InChat('Hey') or
InChat('Hello') or
InChat('Yo')) then
begin
case random(4) of
0: begin
Typesend('hey...just watchin.');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('hey...im gonna do barrows once im lvl 90');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('hi');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('yo');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (InChat((Players[CurrentPlayer].Name)) or
InChat((CommonNickname1)) or
InChat((CommonNickname2)) or
InChat((CommonNickname3))) then
begin
case random(4) of
0: begin
Typesend('im busy leave me alone lol');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im not talking right now');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('talk to me some other time i dont want to talk now');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('leave me alone');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (InChat('Macroer') or
InChat('Macror') or
InChat('Macro') or
InChat('Macrore')) then
begin
case random(4) of
0: begin
Typesend('omg im not for the last time stop talking to me');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('everyone thinks i am but im not.. dont even talk');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('lol im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! im not talkin to you');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (InChat('Autoer') or
InChat('Auoter') or
InChat('Auto') or
InChat('Autor')) then
begin
case random(4) of
0: begin
Typesend('omg im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im just watching calm down dont talk to me');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('everyone thinks im one...leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! i hate them dont even say anything');
RespondAmount:=RespondAmount+1;
end;
end;
end;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure RandomCompassLeft;
begin
KeyDown(VK_Left);
Wait((1)+ Random(500));
KeyUp(VK_Left);
end;
///////////////////////////////////////////////////////////////////////////
procedure RandomCompassRight;
begin
KeyDown(VK_Right);
Wait((1)+ Random(500));
KeyUp(VK_Right);
end;
///////////////////////////////////////////////////////////////////////////
procedure RandomCompassDirection;
begin
c:=random(2);
case c of
0:RandomCompassRight;
1:RandomCompassLeft;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyAntiBan;
begin
if not(LoggedIn)then
begin
Logout;
TerminateScript;
end;
case Random(11) of
0 : MMouse(Random(MSX2), Random(MSY2),0,0);
1 : RandomRClick;
2 : HoverSkill('magic', False);
3 : HoverSkill('magic', False);
4 : HoverSkill('random', False);
5 : RandomCompassDirection;
6 : RandomCompassDirection;
7 : PickupMouse;
8 : begin
DoEmote(1 + Random(20));
Wait(1500+random(1000));
GameTab(4);
end;
9 : begin
DItem:=4+random(14);
if(ExistsItem(DItem))then
DragItem(DItem,15+random(10));
end
10 : begin
GameTab(1+random(12));
wait(1500+random(500));
GameTab(4);
end;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure CheckTalkAndRandoms;
begin
AutoRespond;
FindRandoms;
DoofyAntiBan;
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyProgressReport;
begin
Writeln('<----------Doofy Progress Report---------->');
Writeln('Number of Alchs:'+inttostr(TotalAlched));
Writeln('Gained Xp:'+inttostr(TotalAlched*65));
Writeln('Times Responded:'+inttostr(RespondAmount));
Writeln('Time Running:'+(TimeRunning));
Writeln('<----------------------------------------->');
end;
///////////////////////////////////////////////////////////////////////////
procedure LoadDTMS;{From Uber Brothers' UberAlcher}
begin
Note := DTMFromString('78DA63B462626078CE800618914820ED0E54F' +
'391809A50A09A3704D40402D57CC2AF0600A0FE04F2');
end;
///////////////////////////////////////////////////////////////////////////
procedure AlchThatShit;
begin
RespondAmount:=0;
TotalAlched:=0;
AlchText := 'Low Lev';
LoadDTMS;{From Uber Brothers' UberAlcher}
SetChat('On',1);
SetChat('Off',2);
SetChat('Friends',3);
repeat
begin
RotateEvery(1 + Random(2));
if (LoggedIn) then
begin
Wait(100+random(200));
CheckTalkAndRandoms;
DoofyProgressReport;
PickUpMouse;
Gametab(7);
Wait(200+random(300));
if (LoggedIn) then
begin
if (FindColor(x,y,GreenLiquid,715,333,723,341)) or (FindColor(x,y,YellowCoins,715,333,723,341)) then
begin
MMouse(x,y,5,5);
Wait(100+random(200));
Mouse(x,y,4,4,true);
end else
begin
Writeln('Did not find GreenLiquid. Try setting yourself.');
Logout;
TerminateScript;
end;
end else
begin
Logout;
TerminateScript;
end;
end else
begin
Logout;
TerminateScript;
end;
Wait(200+random(200));
if (LoggedIn) then
begin
if(GetCurrentTab = 4)and (IsUpTextMulti((AlchText),'lch','Alchemy'))then {From Uber Brothers' UberAlcher}
begin
if (FindDTM(Note,x,y,557,203,744,468)) or (FindColor(x,y,NoteColor,566,212,602,245)) then {From Uber Brothers' UberAlcher}
begin
PickUpMouse;
MMouse(x,y,7,7);
Wait(100+random(200));
Mouse(x,y,5,5,true);
PickUpMouse;
TotalAlched:=TotalAlched+1;
end else
begin
Logout;
TerminateScript;
end;
end else
begin
Logout;
TerminateScript;
end;
end else
begin
Logout;
TerminateScript;
end;
end;
until(TotalAlched >= AlchNumber)
end;
///////////////////////////////////////////////////////////////////////////
begin
SetUpSrl;
SrlRandomsReport;
DeclarePlayers;
if (loggedin = false) then
begin
LoginPlayer;
end;
Wait(1000+random(700));
AlchThatShit;
Logout;
TerminateScript;
end.

——————————————————
<!– END TEMPLATE: formanswers –>

Doofy

2007-03-16 14:53:06

If your gunna vote no for me could you at please at least post and tell me why? I think it was really good and i guess i could use some advice

lol i literally posted less than a minute before you declined.. i dont even think thats enough time to look through my script…i dont kno if im auto declined because i applied before in a different application. i have no idea but please post why no

Killerdou

2007-03-16 15:21:43

ok, pretty good, however look in the skills folder in srl, you find a scar file named magic, i advice you take a look at it, i really like your autotalker, however its not needed, if you are autoalching just go to a bank in a busy world… that way you wont have to look for randoms, if its not copied you really did a good job btw check the edit button, that way you can chance your post without dubble posting

Doofy

2007-03-16 15:33:29

thank you very much you were very nice….

i looked at the magic folder before i made this and the only procedure that would help is CastSpell, but i figured i show more on how i know how to script and my way looks for 2 colors then casts, just kind of like another failsafe i thouigt would be better than CastSpell.

Thank you for the compliments on my autotalker… that took me a long time to make. but i think you do need it even to answer to ur name ina busy world, but i was planning on using it in barrows (i havent told anyone that yet). in barrows, im pretty sure you dont get randoms and thats wat the crowded place is for… just use it as false and it checks for the first line in chatbox only (InChat) to ensure that you dont keep responding to the same thing.

the randoms are not necessary for the place i would use it at but i included them just in case someone wanted to use it look you would, ata bank or soimething.

its obviously not copied because i just explained all that i dont really know how else to prove it to you…

sry for dubble posting lol but….
PLEASE RECONSIDER AFTER I HAVE EXPLAINED ALL THAT TO YOU…I WORKED REALLY HARD

YoHoJo

2007-03-16 16:02:58

No from me.
Its way too simple
3/4 of the script is just an autorespoder..

Try making something a bit more complex and trying again.

It seems like all of the 'hard work' was used on the autotalker, which like iloveit said, its not too necessary.

Id say try making a miner or chopper and put more emphasis on the main procedures, not the antiban.

Boreas

2007-03-16 16:33:04

Standards and player switching

JAD

2007-03-16 16:44:55

yeah and for your auto responder, if it saw the chat hey, and it saw you typed hey it would go into a never ending loop of saying hey then wouldn't it? and even if it said if FindChat Hey and you typed yo, it would still keep typing yo until the hey was gone no? correct me if I'm wrong, but thats how I always thought it worked :p its a no from me, all of it is an auto responder and once you know how, its not that hard to repeat the same thing over and over just new words/responses. and work on using proper standards. keep at it though, and as said above I'd make a chopper/miner instead.

Doofy

2007-03-16 17:17:27

yeah good point but it would only repeat for the crowdedplace =false. ill fix that… ill have it type something else too thanx for the tip

but i cant make the main procedures too much better…. i could make it equip the fire staff and check for rune and notes if you want me too….. i was also planning on adding forms

also i will make multiple players if you want me to…. i just dont think many people are gonna alch on multiple files….. tell me if i should do this i could if you want me to….

again..i worked really hard and i thank the two that said yes for me… ill get better

MAKE SURE YOU POST AGAIN IF YOU WANT ME TO ADD THE STUFF I MENTIONED

EDIT: right now im makin multiple users and ill use CastSpell because iloveit told me i should…. its more SRL so maybe you'll be persuaded?? also im fixing the error with the autoresponder….even if it isnt necessary which i think it is…plz accept me

JAD

2007-03-16 17:27:40

You should add multiplayer more for the reason to show us you know how to use it, and some people may use multiple accounts to alch, but most people don't alch that much anyway :p

Doofy

2007-03-16 17:36:35

lol ok good idea thanks i just fixed the autoresponder to let you know

Doofy

2007-03-16 19:13:30

im workin on adding multiplayer…. its a lot harder than i thought… i cant really figure it out just yet… i dont kno how to make it so hte user of the script can make as many players active as they want but have the script know when a player becomes unactive and switch to the next active one and restart the alching procedure… ive never done multiplayer before so could you guys help me and explain it to me???? just pretend this is scripting help lol i would appreciate it and ill give credit im just not sure about wat to do…..

and should i add castspell or leave my way?? i dont kno if castspell clicks coords or has colors or wat… someone tell me if i should or not also….
PLEASE HELP

EDIT: srry bout the dubble post i forgot to edit again..=[

YoHoJo

2007-03-16 21:31:47

Advice
Even if you add multiplayer, its still a no from me.
It doesnt matter how hard you worked on it.
Everyone works hard on scripts, is just easier for some people.
For me there is little or no way an ALCHER script will amaze me.

Doofy

2007-03-16 22:02:29

well thanks for the encouragement…. two people said yes and i thank them for it…. im sorry it doesnt come easy to me…. but i would like help on the multiplayer still please… it will teach me even more

Boreas

2007-03-16 22:49:17

From: YoHoJo
an ALCHER script will amaze me.


I just got a script idea :sasmokin: ….

Doofy

2007-03-16 23:03:08

?? huh?? lol ok….since nobody really likes my alcher i guess ill try a powerchopper… would it give me a better chance at becoming a member if i made a powerchopper?? plz tell me

Boreas

2007-03-16 23:06:14

Yes. Player switching, antirandoms, standards, and tree finding more advanced than findobj.

Doofy

2007-03-16 23:48:59

ok ill work on it

tylanbo

2007-03-17 00:12:58

For now I'll hold off on my vote, but I agree with the posts the other members have made.

Multiplayer is important, when I first started scripting I ignored it but it truly is a key part of SRL. I also noticed that you failed to use SRL's built in random procedures. Your auto response was most likely written once, then copy/pasted and then edited, all to make a small amount of origonal code into 450 lines.

What I reccomend is that you upload a new script like Boreas mentioned that shows you know how to successfully utilize
Player switching, antirandoms, standards, and tree finding more advanced than findobj.


Reviewers of my application were patient enough to wait for me to upload new scripts so I think it is only fair that I do the same.

Overall, I believe that if you write a basic ( not a crappy one though ) power miner/ chopper that shows your current knowledge of SRL plus what Boreas had suggested that your application will go along much smoother. If you do not know already ( I am assuming you don't since you borrowed code from UberBrothers ) how to use DTMs I would suggest you look at one of the tutorials on the forums.

Doofy

2007-03-17 01:42:38

ok… thanks for waiting

but anyways…. i just started making the autochopper at 10 pm and its 1:30 right now… its a willow cutter i dont kno if i used multiplayer correctly could sombody plz check that out?? and before you vote could you help me with it? the script does not run or compile for me yet i keep getting:

Failed when compiling
Line 744: [Error] (18785:33): Syntax error in script C:\Program Files\SCAR 2.03\Scripts\DoofyChopper.scar
Line 744: [Error] (18785:33): Close round expected in script C:\Program Files\SCAR 2.03\Scripts\DoofyChopper.scar

I can't figure it out… lol its prolly somethin stupid but could u please help me and give suggestions?? htanks a lot guys i appreciate it

IM GOING TO WAIT UNTIL YOU GUYS HELP ME TO APPLY AGAIN WITH THIS SCRIPT…PLEASE HELP


program DoofyWillowPwner;
{.include SRL/SRL.scar}
{.include SRL/SRL/skill/WoodCutting.scar}

var
n,z,c,cx,cy,WillowsPwned,RespondAmount,DItem: Integer;
RunFar: Boolean;

const
StartPlayer = 0;{Leave this}
DoofyRespond = True;{Use my autoresponder?}
RunDir = 'S';
CommonNickname1 = '';{A common name people call you..like part of your name}
CommonNickname2 = '';
CommonNickname3 = '';
WillowColor = 2179400;
WillowsToCut = 100;
CrowdedPlace = False;{False if in non-talkative place,true if opposite}
///////////////////////////////////////////////////////////////////////////
procedure DeclarePlayers;
begin
HowManyPlayers := 3;
NumberOfPlayers( HowManyPlayers );
CurrentPlayer := StartPlayer;

Players[0].Name := '';{Username}
Players[0].Pass := '';{Password}
Players[0].Nick := '';{3 Letters from your name NO CAPS}
Players[0].Active:=True;

Players[1].Name := '';
Players[1].Pass := '';
Players[1].Nick := '';
Players[1].Active:=True;

Players[2].Name := '';
Players[2].Pass := '';
Players[2].Nick := '';
Players[2].Active:=True;
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyProgressReport;
begin
Writeln('<---------------Doofy Progress Report--------------->');
Writeln('Time Running:'+(TimeRunning));
Writeln('Willows Pwned:'+inttostr(WillowsPwned));
Writeln('Approximate Gained Xp:'+inttostr(WillowsPwned*68));
Writeln('<--------------------------------------------------->');
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyResponder;
begin
if(DoofyRespond = True) then
begin
RespondAmount:=0;
if(CrowdedPlace = True) then
begin
if (FindChatText('Hp lvls') or
FindChatText('Hp lvls?') or
FindChatText('Hitpoint lvls') or
FindChatText('Hitpoint lvls?') or
FindChatText('Hitpoints lvls') or
FindChatText('Hitpoints lvls?') or
FindChatText('Hitp lvls') or
FindChatText('Hitp lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Hitpoints')))
RespondAmount:=RespondAmount+1;
end;

if (FindChatText('Mining lvls') or
FindChatText('Mining lvls?') or
FindChatText('Mine lvls') or
FindChatText('Mine lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Mining')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Wc lvls') or
FindChatText('Wc lvls?') or
FindChatText('Woodcut lvls') or
FindChatText('Woodcut lvls?') or
FindChatText('Woodcutting lvls') or
FindChatText('Woodcutting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Woodcutting')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Attack lvls') or
FindChatText('Attack lvls?') or
FindChatText('Atack lvls') or
FindChatText('Atack lvls?') or
FindChatText('Attac lvls') or
FindChatText('Attac lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Attack')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Defenc lvls') or
FindChatText('Defenc lvls?') or
FindChatText('Defence lvls') or
FindChatText('Defence lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Defence')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Magic lvls') or
FindChatText('Magic lvls?') or
FindChatText('Mage lvls') or
FindChatText('Mage lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Magic')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Cook lvls') or
FindChatText('Cook lvls?') or
FindChatText('Cookin lvls') or
FindChatText('Cookin lvls?') or
FindChatText('Cooking lvls') or
FindChatText('Cooking lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Cooking')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Fletch lvls') or
FindChatText('Fletch lvls?') or
FindChatText('Fletching lvls') or
FindChatText('Fletching lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Fletching')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Firemaking lvls') or
FindChatText('FireMaking lvls?') or
FindChatText('Fire making lvls') or
FindChatText('Fire making lvls')) then
begin
TypeSend(IntToStr(GetSkillLevel('Firemaking')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Craft lvls') or
FindChatText('Craftt lvls?') or
FindChatText('Craftin lvls') or
FindChatText('Crafting lvls?') or
FindChatText('Crafting lvls') or
FindChatText('Crafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Crafting')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Smelt lvls') or
FindChatText('Smelt lvls?') or
FindChatText('Smelting lvls') or
FindChatText('Smelting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Smelting')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Rc lvls') or
FindChatText('Rc lvls?') or
FindChatText('Runecraft lvls') or
FindChatText('Runecraft lvls?') or
FindChatText('Runecrafting lvls') or
FindChatText('Runecrafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Runecraft')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Hi') or
FindChatText('Hey') or
FindChatText('Hello') or
FindChatText('Yo')) then
begin
case random(4) of
0: begin
Typesend('hey...just watchin.');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('hey...im gonna do barrows once im lvl 90');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('hi');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('yo');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (FindChatText((Players[CurrentPlayer].Name)) or
FindChatText((CommonNickname1)) or
FindChatText((CommonNickname2)) or
FindChatText((CommonNickname3))) then
begin
case random(4) of
0: begin
Typesend('im busy leave me alone lol');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im not talking right now');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('talk to me some other time i dont want to talk now');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('leave me alone');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (FindChatText('Macroer') or
FindChatText('Macror') or
FindChatText('Macro') or
FindChatText('Macrore')) then
begin
case random(4) of
0: begin
Typesend('omg im not for the last time stop talking to me');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('everyone thinks i am but im not.. dont even talk');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('lol im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! im not talkin to you');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (FindChatText('Autoer') or
FindChatText('Auoter') or
FindChatText('Auto') or
FindChatText('Autor')) then
begin
case random(4) of
0: begin
Typesend('omg im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im just watching calm down dont talk to me');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('everyone thinks im one...leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! i hate them dont even say anything');
RespondAmount:=RespondAmount+1;
end;
end;
end;
end;
if(CrowdedPlace=False) then
begin
if (InChat('Hp lvls') or
InChat('Hp lvls?') or
InChat('Hitpoint lvls') or
InChat('Hitpoint lvls?') or
InChat('Hitpoints lvls') or
InChat('Hitpoints lvls?') or
InChat('Hitp lvls') or
InChat('Hitp lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Hitpoints')))
RespondAmount:=RespondAmount+1;
end;

if (InChat('Mining lvls') or
InChat('Mining lvls?') or
InChat('Mine lvls') or
InChat('Mine lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Mining')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Wc lvls') or
InChat('Wc lvls?') or
InChat('Woodcut lvls') or
InChat('Woodcut lvls?') or
InChat('Woodcutting lvls') or
InChat('Woodcutting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Woodcutting')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Attack lvls') or
InChat('Attack lvls?') or
InChat('Atack lvls') or
InChat('Atack lvls?') or
InChat('Attac lvls') or
InChat('Attac lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Attack')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Defenc lvls') or
InChat('Defenc lvls?') or
InChat('Defence lvls') or
InChat('Defence lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Defence')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Magic lvls') or
InChat('Magic lvls?') or
InChat('Mage lvls') or
InChat('Mage lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Magic')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Cook lvls') or
InChat('Cook lvls?') or
InChat('Cookin lvls') or
Inchat('Cookin lvls?') or
InChat('Cooking lvls') or
InChat('Cooking lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Cooking')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Fletch lvls') or
InChat('Fletch lvls?') or
InChat('Fletching lvls') or
InChat('Fletching lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Fletching')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Firemaking lvls') or
InChat('FireMaking lvls?') or
Inchat('Fire making lvls') or
InChat('Fire making lvls')) then
begin
TypeSend(IntToStr(GetSkillLevel('Firemaking')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Craft lvls') or
InChat('Craftt lvls?') or
InChat('Craftin lvls') or
InChat('Crafting lvls?') or
InChat('Crafting lvls') or
InChat('Crafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Crafting')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Smelt lvls') or
InChat('Smelt lvls?') or
InChat('Smelting lvls') or
InChat('Smelting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Smelting')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Rc lvls') or
InChat('Rc lvls?') or
InChat('Runecraft lvls') or
InChat('Runecraft lvls?') or
InChat('Runecrafting lvls') or
InChat('Runecrafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Runecraft')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Hi') or
InChat('Hey') or
InChat('Hello') or
InChat('Yo')) then
begin
case random(4) of
0: begin
Typesend('hey...just watchin.');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('hey...im gonna do barrows once im lvl 90');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('hi');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('yo');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (InChat((Players[CurrentPlayer].Name)) or
InChat((CommonNickname1)) or
InChat((CommonNickname2)) or
InChat((CommonNickname3))) then
begin
case random(4) of
0: begin
Typesend('im busy leave me alone lol');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im not talking right now');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('talk to me some other time i dont want to talk now');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('leave me alone');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (InChat('Macroer') or
InChat('Macror') or
InChat('Macro') or
InChat('Macrore')) then
begin
case random(4) of
0: begin
Typesend('omg im not for the last time stop talking to me');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('everyone thinks i am but im not.. dont even talk');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('lol im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! im not talkin to you');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (InChat('Autoer') or
InChat('Auoter') or
InChat('Auto') or
InChat('Autor')) then
begin
case random(4) of
0: begin
Typesend('omg im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im just watching calm down dont talk to me');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('everyone thinks im one...leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! i hate them dont even say anything');
RespondAmount:=RespondAmount+1;
end;
end;
end;
end;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyRandoms;
begin
begin
if(WeAreDead) then
begin
Logout;
TerminateScript;
end;
FindLamp(LampSkill);
FindHead;
if (FindFight) then
begin
RunTo(RunDir, RunFar);
end;
FindNormalRandoms;
FindEnt(2179400);
DwarfItem;
FindForester;
FindScapeRune;
SolvePinball;
FindPlant;
FindTalk;
if(NoGameTab) then
begin
Logout;
TerminateScript;
end;
if(InBlack) then
begin
Logout;
TerminateScript;
end;
FindBirdsNest;
SRLRandomsReport;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure RandomCompassLeft;
begin
KeyDown(VK_Left);
Wait((1)+ Random(500));
KeyUp(VK_Left);
end;
///////////////////////////////////////////////////////////////////////////
procedure RandomCompassRight;
begin
KeyDown(VK_Right);
Wait((1)+ Random(500));
KeyUp(VK_Right);
end;
///////////////////////////////////////////////////////////////////////////
procedure RandomCompassDirection;
begin
c:=random(2);
case c of
0:RandomCompassRight;
1:RandomCompassLeft;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure GroundView;
begin
KeyDown(VK_Down);
Wait((2000)+ Random(1000));
KeyUp(VK_Down);
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyAntiBan;
begin
z:= random(5);
if not(LoggedIn)then
begin
Logout;
TerminateScript;
end;
case Random(12) of
0 : MMouse(Random(MSX2), Random(MSY2),0,0);
1 : RandomRClick;
2 : HoverSkill('woodcutting', False);
3 : HoverSkill('woodcutting', False);
4 : HoverSkill('random', False);
5 : RandomCompassDirection;
6 : RandomCompassDirection;
7 : PickupMouse;
8 : begin
RandomEmote;
Wait(1500+random(1000));
GameTab(4);
end;
9 : begin
DItem:=4+random(14);
if(ExistsItem(DItem))then
DragItem(DItem,15+random(10));
end
10 : begin
GameTab(1+random(12));
wait(1500+random(500));
GameTab(4);
end;
11 : begin
if(z>1) then
begin
GameTab(4);
ArrangeInv;
end;
end;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyRandomsAndAntiBan;
begin
DoofyRandoms;
DoofyResponder;
DoofyAntiBan;
end;
///////////////////////////////////////////////////////////////////////////
procedure ChopAndDropThatShit;
begin
n:=random(7);
RunFar:=True;
WillowsPwned:=0;
repeat
begin
repeat
begin
GroundView;
RandomCompassDirection;
DoofyRandomsAndAntiBan;
if(LoggedIn) or (not(WeAreDead)) then
begin
if(FindObjMultiText(cx,cy,'Willow','llo','ree',WillowColor,10000)) then
begin
MMouse(cx,cy,5,5);
Wait(100+random(200));
if(IsUpTextMulti('Chop','down','hop')) then
begin
case n of
0: Mouse(cx,cy,5,5,true);
1: Mouse(cx,cy,5,5,true);
2: Mouse(cx,cy,5,5,true);
3: Mouse(cx,cy,5,5,true);
4: Mouse(cx,cy,5,5,true);
5: Mouse(cx,cy,5,5,true);
6: begin
Mouse(cx,cy,5,5,false);
Wait(400+random(500));
ClickOption('Chop',1);
end;
end;
end else
begin
RandomCompassDirection;
if(IsUpTextMulti('Chop','down','hop')) then
begin
case n of
0: Mouse(cx,cy,5,5,true);
1: Mouse(cx,cy,5,5,true);
2: Mouse(cx,cy,5,5,true);
3: Mouse(cx,cy,5,5,true);
4: Mouse(cx,cy,5,5,true);
5: Mouse(cx,cy,5,5,true);
6: begin
Mouse(cx,cy,5,5,false);
Wait(400+random(500));
ClickOption('Chop',1);
end;
end;
end else
begin
Logout;
NextPlayerOrder(True);
end;
end;
end else
begin
RandomCompassDirection;
if(FindObjMultiText(cx,cy,'Willow','llo','ree',WillowColor,8000)) then
begin
MMouse(cx,cy,5,5);
Wait(100+random(200));
if(IsUpTextMulti('Chop','down','hop')) then
begin
case n of
0: Mouse(cx,cy,5,5,true);
1: Mouse(cx,cy,5,5,true);
2: Mouse(cx,cy,5,5,true);
3: Mouse(cx,cy,5,5,true);
4: Mouse(cx,cy,5,5,true);
5: Mouse(cx,cy,5,5,true);
6: begin
Mouse(cx,cy,5,5,false);
Wait(400+random(500));
ClickOption('Chop',1);
end;
end;
end else
begin
RandomCompassDirection;
if(IsUpTextMulti('Chop','down','hop')) then
begin
case n of
0: Mouse(cx,cy,5,5,true);
1: Mouse(cx,cy,5,5,true);
2: Mouse(cx,cy,5,5,true);
3: Mouse(cx,cy,5,5,true);
4: Mouse(cx,cy,5,5,true);
5: Mouse(cx,cy,5,5,true);
6: begin
Mouse(cx,cy,5,5,false);
Wait(400+random(500));
ClickOption('Chop',1);
end;
end;
end else
begin
Logout;
NextPlayerOrder(True);
end;
end;
end;
end;
repeat
begin
DoofyRandomsAndAntiBan;
Wait(1000+random(500));
MMouse(cx,cy,7,7);
end;
until(not(IsUpTextMulti('Chop','down','hop')))
WillowsPwned:=WillowsPwned+1;
DoofyProgressReport;
end;
end;
until(InvFull) or (WillowsToCut>=WillowsPwned)
GameTab(4);
Wait(500+random(500));
DropAllLogs;
end;
until(WillowsPwned>=WillowsToCut}
end;
///////////////////////////////////////////////////////////////////////////
begin
SetUpSrl;
SrlRandomsReport;
DeclarePlayers;
if (loggedin = false) then
begin
LoginPlayer;
end;
Wait(1000+random(700));
SetRun(True);
ChopAndDropThatShit;
Logout;
TerminateScript;
end.

YoHoJo

2007-03-17 02:09:06

ROFl, you made this in one day, and once again
over half is randomness.
And the code in the chopping procedure is repeated over and over why?

Whats point of this…


i
f(FindObjMultiText(cx,cy,'Willow','llo','ree',WillowColor,10000)) then
begin
MMouse(cx,cy,5,5);
Wait(100+random(200));
if(IsUpTextMulti('Chop','down','hop')) then
begin
case n of
0: Mouse(cx,cy,5,5,true);
1: Mouse(cx,cy,5,5,true);
2: Mouse(cx,cy,5,5,true);
3: Mouse(cx,cy,5,5,true);
4: Mouse(cx,cy,5,5,true);
5: Mouse(cx,cy,5,5,true);
6: begin
Mouse(cx,cy,5,5,false);
Wait(400+random(500));
ClickOption('Chop',1);
end;
end;
end else
begin
RandomCompassDirection;
if(IsUpTextMulti('Chop','down','hop')) then
begin
case n of
0: Mouse(cx,cy,5,5,true);
1: Mouse(cx,cy,5,5,true);
2: Mouse(cx,cy,5,5,true);
3: Mouse(cx,cy,5,5,true);
4: Mouse(cx,cy,5,5,true);
5: Mouse(cx,cy,5,5,true);
6: begin
Mouse(cx,cy,5,5,false);
Wait(400+random(500));
ClickOption('Chop',1);
end;
end;
end else
begin
Logout;
NextPlayerOrder(True);
end;
end;
end else
begin
RandomCompassDirection;
if(FindObjMultiText(cx,cy,'Willow','llo','ree',WillowColor,8000)) then
begin
MMouse(cx,cy,5,5);
Wait(100+random(200));
if(IsUpTextMulti('Chop','down','hop')) then
begin
case n of
0: Mouse(cx,cy,5,5,true);
1: Mouse(cx,cy,5,5,true);
2: Mouse(cx,cy,5,5,true);
3: Mouse(cx,cy,5,5,true);
4: Mouse(cx,cy,5,5,true);
5: Mouse(cx,cy,5,5,true);
6: begin
Mouse(cx,cy,5,5,false);
Wait(400+random(500));
ClickOption('Chop',1);
end;
end;
end else
begin
RandomCompassDirection;
if(IsUpTextMulti('Chop','down','hop')) then
begin
case n of
0: Mouse(cx,cy,5,5,true);
1: Mouse(cx,cy,5,5,true);
2: Mouse(cx,cy,5,5,true);
3: Mouse(cx,cy,5,5,true);
4: Mouse(cx,cy,5,5,true);
5: Mouse(cx,cy,5,5,true);
6: begin
Mouse(cx,cy,5,5,false);
Wait(400+random(500));
ClickOption('Chop',1);
end;
end;
end else

And findobj, like Boreas said is not very impressive.

You obviously just made this in a few minutes today just to try to get in quick.
I say be patient and learn more. Try making a more advanced script.

tylanbo

2007-03-17 02:48:04

And findobj, like Boreas said is not very impressive.

You obviously just made this in a few minutes today just to try to get in quick.
I say be patient and learn more. Try making a more advanced script.


I agree with Yohojo. I think you're not ready to be a member yet. If you have questions there is some great tutorials on the forums, and you can release your script there as well if you need help creating it.

Doofy

2007-03-17 11:58:08

the point of the repeating procedure is if it finds the tree, then it moves the mouse to the coordinates and checks to make sure its right with isuptextmulti. If it is, then it keeps going. if it isnt, then it rotates the screen left or right randomly and tries again.if it doesnt find it then, then it logs out and switches players. And if it didnt find the tree using findobjmulti then it does randomcompassdirection and then checks for it. Im shortening the first part i mentioned because the coords would be different if i rotated then clicked cx,cy again.

Ill keep trying to become a member i guess but could any of you give me help with multiplayer? and i just fixed the script my error was i put a } by accident instead of ). =] well ill post it again and can u guys give more usggestions or help pleasE?? thanks


program DoofyWillowPwner;
{.include SRL/SRL.scar}
{.include SRL/SRL/skill/WoodCutting.scar}

var
n,z,c,cx,cy,WillowsPwned,RespondAmount,DItem: Integer;
RunFar: Boolean;

const
StartPlayer = 0;{Leave this}
DoofyRespond = True;{Use my autoresponder?}
RunDir = 'S';
CommonNickname1 = '';{A common name people call you..like part of your name}
CommonNickname2 = '';
CommonNickname3 = '';
WillowColor = 2179400;
WillowsToCut = 100;
CrowdedPlace = False;{False if in non-talkative place,true if opposite}
///////////////////////////////////////////////////////////////////////////
procedure DeclarePlayers;
begin
HowManyPlayers := 3;
NumberOfPlayers( HowManyPlayers );
CurrentPlayer := StartPlayer;

Players[0].Name := '';{Username}
Players[0].Pass := '';{Password}
Players[0].Nick := '';{3 Letters from your name NO CAPS}
Players[0].Active:=True;

Players[1].Name := '';
Players[1].Pass := '';
Players[1].Nick := '';
Players[1].Active:=True;

Players[2].Name := '';
Players[2].Pass := '';
Players[2].Nick := '';
Players[2].Active:=True;
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyProgressReport;
begin
Writeln('<---------------Doofy Progress Report--------------->');
Writeln('Time Running:'+(TimeRunning));
Writeln('Willows Pwned:'+inttostr(WillowsPwned));
Writeln('Approximate Gained Xp:'+inttostr(WillowsPwned*68));
Writeln('<--------------------------------------------------->');
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyResponder;
begin
if(DoofyRespond = True) then
begin
RespondAmount:=0;
if(CrowdedPlace = True) then
begin
if (FindChatText('Hp lvls') or
FindChatText('Hp lvls?') or
FindChatText('Hitpoint lvls') or
FindChatText('Hitpoint lvls?') or
FindChatText('Hitpoints lvls') or
FindChatText('Hitpoints lvls?') or
FindChatText('Hitp lvls') or
FindChatText('Hitp lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Hitpoints')))
RespondAmount:=RespondAmount+1;
end;

if (FindChatText('Mining lvls') or
FindChatText('Mining lvls?') or
FindChatText('Mine lvls') or
FindChatText('Mine lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Mining')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Wc lvls') or
FindChatText('Wc lvls?') or
FindChatText('Woodcut lvls') or
FindChatText('Woodcut lvls?') or
FindChatText('Woodcutting lvls') or
FindChatText('Woodcutting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Woodcutting')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Attack lvls') or
FindChatText('Attack lvls?') or
FindChatText('Atack lvls') or
FindChatText('Atack lvls?') or
FindChatText('Attac lvls') or
FindChatText('Attac lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Attack')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Defenc lvls') or
FindChatText('Defenc lvls?') or
FindChatText('Defence lvls') or
FindChatText('Defence lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Defence')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Magic lvls') or
FindChatText('Magic lvls?') or
FindChatText('Mage lvls') or
FindChatText('Mage lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Magic')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Cook lvls') or
FindChatText('Cook lvls?') or
FindChatText('Cookin lvls') or
FindChatText('Cookin lvls?') or
FindChatText('Cooking lvls') or
FindChatText('Cooking lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Cooking')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Fletch lvls') or
FindChatText('Fletch lvls?') or
FindChatText('Fletching lvls') or
FindChatText('Fletching lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Fletching')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Firemaking lvls') or
FindChatText('FireMaking lvls?') or
FindChatText('Fire making lvls') or
FindChatText('Fire making lvls')) then
begin
TypeSend(IntToStr(GetSkillLevel('Firemaking')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Craft lvls') or
FindChatText('Craftt lvls?') or
FindChatText('Craftin lvls') or
FindChatText('Crafting lvls?') or
FindChatText('Crafting lvls') or
FindChatText('Crafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Crafting')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Smelt lvls') or
FindChatText('Smelt lvls?') or
FindChatText('Smelting lvls') or
FindChatText('Smelting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Smelting')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Rc lvls') or
FindChatText('Rc lvls?') or
FindChatText('Runecraft lvls') or
FindChatText('Runecraft lvls?') or
FindChatText('Runecrafting lvls') or
FindChatText('Runecrafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Runecraft')))
RespondAmount:= RespondAmount+1;
end;

if (FindChatText('Hi') or
FindChatText('Hey') or
FindChatText('Hello') or
FindChatText('Yo')) then
begin
case random(4) of
0: begin
Typesend('hey...just watchin.');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('hey...im gonna do barrows once im lvl 90');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('hi');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('yo');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (FindChatText((Players[CurrentPlayer].Name)) or
FindChatText((CommonNickname1)) or
FindChatText((CommonNickname2)) or
FindChatText((CommonNickname3))) then
begin
case random(4) of
0: begin
Typesend('im busy leave me alone lol');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im not talking right now');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('talk to me some other time i dont want to talk now');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('leave me alone');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (FindChatText('Macroer') or
FindChatText('Macror') or
FindChatText('Macro') or
FindChatText('Macrore')) then
begin
case random(4) of
0: begin
Typesend('omg im not for the last time stop talking to me');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('everyone thinks i am but im not.. dont even talk');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('lol im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! im not talkin to you');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (FindChatText('Autoer') or
FindChatText('Auoter') or
FindChatText('Auto') or
FindChatText('Autor')) then
begin
case random(4) of
0: begin
Typesend('omg im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im just watching calm down dont talk to me');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('everyone thinks im one...leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! i hate them dont even say anything');
RespondAmount:=RespondAmount+1;
end;
end;
end;
end;
if(CrowdedPlace=False) then
begin
if (InChat('Hp lvls') or
InChat('Hp lvls?') or
InChat('Hitpoint lvls') or
InChat('Hitpoint lvls?') or
InChat('Hitpoints lvls') or
InChat('Hitpoints lvls?') or
InChat('Hitp lvls') or
InChat('Hitp lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Hitpoints')))
RespondAmount:=RespondAmount+1;
end;

if (InChat('Mining lvls') or
InChat('Mining lvls?') or
InChat('Mine lvls') or
InChat('Mine lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Mining')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Wc lvls') or
InChat('Wc lvls?') or
InChat('Woodcut lvls') or
InChat('Woodcut lvls?') or
InChat('Woodcutting lvls') or
InChat('Woodcutting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Woodcutting')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Attack lvls') or
InChat('Attack lvls?') or
InChat('Atack lvls') or
InChat('Atack lvls?') or
InChat('Attac lvls') or
InChat('Attac lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Attack')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Defenc lvls') or
InChat('Defenc lvls?') or
InChat('Defence lvls') or
InChat('Defence lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Defence')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Magic lvls') or
InChat('Magic lvls?') or
InChat('Mage lvls') or
InChat('Mage lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Magic')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Cook lvls') or
InChat('Cook lvls?') or
InChat('Cookin lvls') or
Inchat('Cookin lvls?') or
InChat('Cooking lvls') or
InChat('Cooking lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Cooking')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Fletch lvls') or
InChat('Fletch lvls?') or
InChat('Fletching lvls') or
InChat('Fletching lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Fletching')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Firemaking lvls') or
InChat('FireMaking lvls?') or
Inchat('Fire making lvls') or
InChat('Fire making lvls')) then
begin
TypeSend(IntToStr(GetSkillLevel('Firemaking')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Craft lvls') or
InChat('Craftt lvls?') or
InChat('Craftin lvls') or
InChat('Crafting lvls?') or
InChat('Crafting lvls') or
InChat('Crafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Crafting')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Smelt lvls') or
InChat('Smelt lvls?') or
InChat('Smelting lvls') or
InChat('Smelting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Smelting')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Rc lvls') or
InChat('Rc lvls?') or
InChat('Runecraft lvls') or
InChat('Runecraft lvls?') or
InChat('Runecrafting lvls') or
InChat('Runecrafting lvls?')) then
begin
TypeSend(IntToStr(GetSkillLevel('Runecraft')))
RespondAmount:= RespondAmount+1;
end;

if (InChat('Hi') or
InChat('Hey') or
InChat('Hello') or
InChat('Yo')) then
begin
case random(4) of
0: begin
Typesend('hey...just watchin.');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('hey...im gonna do barrows once im lvl 90');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('hi');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('yo');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (InChat((Players[CurrentPlayer].Name)) or
InChat((CommonNickname1)) or
InChat((CommonNickname2)) or
InChat((CommonNickname3))) then
begin
case random(4) of
0: begin
Typesend('im busy leave me alone lol');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im not talking right now');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('talk to me some other time i dont want to talk now');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('leave me alone');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (InChat('Macroer') or
InChat('Macror') or
InChat('Macro') or
InChat('Macrore')) then
begin
case random(4) of
0: begin
Typesend('omg im not for the last time stop talking to me');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('everyone thinks i am but im not.. dont even talk');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('lol im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! im not talkin to you');
RespondAmount:=RespondAmount+1;
end;
end;
end;

if (InChat('Autoer') or
InChat('Auoter') or
InChat('Auto') or
InChat('Autor')) then
begin
case random(4) of
0: begin
Typesend('omg im not leave me alone');
RespondAmount:=RespondAmount+1;
end;
1: begin
Typesend('im just watching calm down dont talk to me');
RespondAmount:=RespondAmount+1;
end;
2: begin
Typesend('everyone thinks im one...leave me alone');
RespondAmount:=RespondAmount+1;
end;
3: begin
Typesend('im not! i hate them dont even say anything');
RespondAmount:=RespondAmount+1;
end;
end;
end;
end;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyRandoms;
begin
begin
if(WeAreDead) then
begin
Logout;
TerminateScript;
end;
FindLamp(LampSkill);
FindHead;
if (FindFight) then
begin
RunTo(RunDir, RunFar);
end;
FindNormalRandoms;
FindEnt(2179400);
DwarfItem;
FindForester;
FindScapeRune;
SolvePinball;
FindPlant;
FindTalk;
if(NoGameTab) then
begin
Logout;
TerminateScript;
end;
if(InBlack) then
begin
Logout;
TerminateScript;
end;
FindBirdsNest;
SRLRandomsReport;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure RandomCompassLeft;
begin
KeyDown(VK_Left);
Wait((1)+ Random(500));
KeyUp(VK_Left);
end;
///////////////////////////////////////////////////////////////////////////
procedure RandomCompassRight;
begin
KeyDown(VK_Right);
Wait((1)+ Random(500));
KeyUp(VK_Right);
end;
///////////////////////////////////////////////////////////////////////////
procedure RandomCompassDirection;
begin
c:=random(2);
case c of
0:RandomCompassRight;
1:RandomCompassLeft;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure GroundView;
begin
KeyDown(VK_Down);
Wait((2000)+ Random(1000));
KeyUp(VK_Down);
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyAntiBan;
begin
z:= random(5);
if not(LoggedIn)then
begin
Logout;
TerminateScript;
end;
case Random(12) of
0 : MMouse(Random(MSX2), Random(MSY2),0,0);
1 : RandomRClick;
2 : HoverSkill('woodcutting', False);
3 : HoverSkill('woodcutting', False);
4 : HoverSkill('random', False);
5 : RandomCompassDirection;
6 : RandomCompassDirection;
7 : PickupMouse;
8 : begin
RandomEmote;
Wait(1500+random(1000));
GameTab(4);
end;
9 : begin
DItem:=4+random(14);
if(ExistsItem(DItem))then
DragItem(DItem,15+random(10));
end
10 : begin
GameTab(1+random(12));
wait(1500+random(500));
GameTab(4);
end;
11 : begin
if(z>1) then
begin
GameTab(4);
ArrangeInv;
end;
end;
end;
end;
///////////////////////////////////////////////////////////////////////////
procedure DoofyRandomsAndAntiBan;
begin
DoofyRandoms;
DoofyResponder;
DoofyAntiBan;
end;
///////////////////////////////////////////////////////////////////////////
procedure ChopAndDropThatShit;
begin
n:=random(7);
RunFar:=True;
WillowsPwned:=0;
repeat
begin
repeat
begin
GroundView;
RandomCompassDirection;
DoofyRandomsAndAntiBan;
if(LoggedIn) or (not(WeAreDead)) then
begin
if(FindObjMultiText(cx,cy,'Willow','llo','ree',WillowColor,10000)) then
begin
MMouse(cx,cy,5,5);
Wait(100+random(200));
if(IsUpTextMulti('Chop','down','hop')) then
begin
case n of
0: Mouse(cx,cy,5,5,true);
1: Mouse(cx,cy,5,5,true);
2: Mouse(cx,cy,5,5,true);
3: Mouse(cx,cy,5,5,true);
4: Mouse(cx,cy,5,5,true);
5: Mouse(cx,cy,5,5,true);
6: begin
Mouse(cx,cy,5,5,false);
Wait(400+random(500));
ClickOption('Chop',1);
end;
end;
end else
begin
Logout;
NextPlayerOrder(True);
end;
end;
end else
begin
RandomCompassDirection;
if(FindObjMultiText(cx,cy,'Willow','llo','ree',WillowColor,8000)) then
begin
MMouse(cx,cy,5,5);
Wait(100+random(200));
if(IsUpTextMulti('Chop','down','hop')) then
begin
case n of
0: Mouse(cx,cy,5,5,true);
1: Mouse(cx,cy,5,5,true);
2: Mouse(cx,cy,5,5,true);
3: Mouse(cx,cy,5,5,true);
4: Mouse(cx,cy,5,5,true);
5: Mouse(cx,cy,5,5,true);
6: begin
Mouse(cx,cy,5,5,false);
Wait(400+random(500));
ClickOption('Chop',1);
end;
end;
end else
begin
Logout;
NextPlayerOrder(True);
end;
end;
end;
repeat
begin
DoofyRandomsAndAntiBan;
Wait(1000+random(500));
MMouse(cx,cy,5,5);
end;
until(not(IsUpTextMulti('Chop','down','hop')))
WillowsPwned:=WillowsPwned+1;
DoofyProgressReport;
end;
until(InvFull) or (WillowsToCut>=WillowsPwned)
GameTab(4);
Wait(500+random(500));
DropAllLogs;
end;
until(WillowsPwned>=WillowsToCut)
end;
///////////////////////////////////////////////////////////////////////////
begin
SetUpSrl;
SrlRandomsReport;
DeclarePlayers;
if (loggedin = false) then
begin
LoginPlayer;
end;
Wait(1000+random(700));
SetRun(True);
ChopAndDropThatShit;
Logout;
TerminateScript;
end.