ZaSz
2007-12-30 19:00:21
zasz - SRL Member Application Form
zasz
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
c ++, html
Other Communitys
Spork-eh.com,Zaszmedia.com
How Long have You Played Runescape
4-5 years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I started scripting scar in october, and plan to do alot more. I was a noob for my first script and copy and pasted alot but i came a long way from that. I hope to stay here a long time.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
// C.S.M by Zasz
// ZaszMedia.com
// Way it works - Cuts certian types of trees depending on wc lvl
// If wc lvl =< 15 cuts trees.
// If wc lvl rises while script cutting trees it will finish load then switch
// If wc lvl = 15-30 it will cut oaks
// If wc lvl rises while script cutting trees it will finish load then switch
// If wc lvl > 30 it will cut willows
// Where to start: Any Were in the lumbride general store.
// Note the ent detection doesn't work all that well.
program oakseller;
{.include SRL/SRL.Scar}
{.include SRL/SRL/Skill/Woodcutting.Scar}
Var x, y, time, vlvl, willowmoney, log5, oakl5, willowl2, ruby2, oakmoney, lost, wexp, willowl, wlogs, fguide, wc, saphire2, emerald, tts, oakl4, enta, log4, logsc, powers, log3, oakl2, oakl3, log2, me, lmoney, tmoney, log, ologs, saphire, ruby, oakl, version, oakt, ents: Integer;
bronzea,steela: integer;
fent: boolean;
Lvl,axeu: string;
const
//dont edit below!!
tree = 6166;
oak = 4881312;
willow = 6203292;
storeguy = 5663104;
ent = 1649608;
storeg = 128;
pot = 6255480;
b = 347;
g = 372;
debug = 1;
procedure declarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; //username
Players[0].Pass := ''; //password
Players[0].Nick := ''; //3-4 letters from your username
Players[0].Active := True;
end;
procedure login;
begin
if (not(loggedin)) then loginplayer;
wait(200);
findnormalrandoms;
makecompass('w');
highestangle;
setrun(true)
end;
procedure report;
begin
cleardebug;
Writeln('[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-]');
Writeln('| ~ C.S.M Cut. Sell. Money ~ |');
Writeln('|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|');
Writeln(' Using version ' + IntToStr(version) + '. ');
writeln(' Player has ' + inttostr(wc)+ ' woodcutting');
if vlvl = 0 then
begin
writeln(' Player is chopping logs.');
end;
if vlvl = 1 then
begin
writeln(' Player is chopping oaks.');
end;
if vlvl = 2 then
begin
writeln(' Player is chopping willows.');
end;
Writeln(' Cut: ' + IntToStr(logsc) + ' Reg. Logs');
Writeln(' Cut: ' + IntToStr(ologs) + ' Oaks');
Writeln(' Cut: ' + IntToStr(wlogs) + ' Willows');
Writeln(' Made: ' + IntToStr(tmoney) + ' Gp');
Writeln(' Made: ' + IntToStr(oakmoney) + ' Gp off of oaks alone');
Writeln(' Made: ' + IntToStr(willowmoney) + ' Gp off of willows alone');
Writeln(' Made: ' + IntToStr(wexp) + ' XP');
Writeln(' Avioded: ' + IntToStr(enta) + ' Number Of Ents');
Writeln(' Found: ' + IntToStr(Lamps) + ' Lamps');
WriteLn(' Ran for : '+TimeRunning);
WriteLn(' Using a : ' + (axeu) + ' Axe ');
Writeln('[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-]');
Writeln('| ~ You have used C.S.M Cut. Sell. Money ~ |');
Writeln('|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|');
end;
function FindFastRandoms: Boolean;
var
i: Integer;
begin
for i:=1 to 10 do
begin
case I of
1: If FindDead then
Result := True;
2: If FindMod then
Result := True;
3: If FindMime then
Result := True;
4: If FindMaze then
Result := True;
5: If FindQuiz then
Result := True;
6: If FindDemon then
Result := True;
7: begin
if NoGameTab then
begin
Result := True;
Players[CurrentPlayer].loc := 'No GameTab';
end;
end;
8: begin
if InBlack then
begin
Result := True;
Players[CurrentPlayer].loc := 'InBlack';
end;
end;
9: RC;
10: Respond;
end;
wait(1);
end;
end;
function ClickToContinueScreen: Boolean;
begin
if not LoggedIn then Exit;
if not (GetColor(505, 453) = 1778730) and
not (GetColor(499, 346) = 6456731) and
not (GetColor(276, 459) = 6321792) then
begin
Writeln('Found a click to continue screen');
Result := True;
end;
end;
procedure FindRandoms;
begin
FindTalk;
FindFastRandoms;
FindNormalRandoms;
FindLamp('Woodcutting');
SolvePinball;
if (FindFight) then
begin
MakeCompass('W');
RunTo('N', True);
Wait(7000 +Random(3000));
login;
end;
if ClickToContinueScreen then
begin
repeat
if not LoggedIn then Break;
Mouse(319, 448, 3, 3, True);
until GetColor(253, 459) = 6321792;
end;
end;
procedure AntiBan;
begin
if (not(LoggedIn)) then
Exit;
Status('Doing antiban')
case Random(8) of
0: begin
typesend('');
typesend('.');
end;
1: HoverSkill('Woodcutting', False);
2: wait(2000);
4: PickUpMouse;
5: typesend('');
6: DoEmote(1 +Random(20));
7: begin
GameTab(1 +Random(12));
wait(2000 +Random(1000));
GameTab(4);
end;
end;
end;
procedure findptalk;
begin
if (InChatmulti('wc lvls', 'woodcutting lvls', 'wood cutting lvls')) then
begin
Lvl := IntToStr(GetSkillLevel('woodcutting')); // this line is from hypersecret
typesend(Lvl);
wait(500 + random(200));
typesend('you?');
end;
if (InChat(Players[CurrentPlayer].Name)) then
begin
typesend('what?');
wait(5000 + random(1000));
typesend('no');
end;
end;
procedure dtms;
begin
log := DTMFromString('78DA63CC616260E065644006F5C936601A26C' +
'A180B54C38DAA06260B57530D54C345404D1613120F8F1A11FC6A' +
'00B198038A');
log2 := DTMFromString('78DA633CC4C4C03097910119D4265A8169982' +
'8E379A09A39A86A60B270351B31CDC1507310A86602116A16E357' +
'030087B50803');
log3 := DTMFromString('78DA63746262600863644006D57116601A26C' +
'A680C54138EAA06260B571308541342408D03508D07116A62F0AB' +
'0100E640041A');
log4 := DTMFromString('78DA63CC67626078CD80021A536CC0342394C' +
'F188BA906260B575345849A3CA09A7744A8B98D5F0D00773907E6' +
'');
log5 := DTMFromString('78DA63CC67626078C98002EA93ACC0342394C' +
'F188BA906260B57530D54F39C809A5CA09AF744A8B9835F0D006F' +
'D207D9');
oakl2 := DTMFromString('78DA639CC9C4C0F0920105F4E539816946289' +
'F712950CD0B0634C088AAA61DD31C0C35D3806AEE10503309A8E6' +
'237E3500DE7308CB');
oakl := DTMFromString('78DA63CC65626078C180027A729DC0342394C' +
'F580D54F38C010D30A2AA8905AA7949400DC8AEF744A8B9835F0D' +
'00850707F5');
oakl3 := DTMFromString('78DA63CC67626030626440063D390E601A26C' +
'A180B546380AA06260B57534D849A3CA01A6522D498E15703000F' +
'8A0464')
oakl4 := DTMFromString('78DA637460626078C58002FAF39DC1342394C' +
'F680C54F392010D30A2AA0904AA794E408D1350CD1D22D4BCC7AF' +
'060029C70727');
oakl5 := DTMFromString('78DA632C646260E065644006BDB98E601A26C' +
'A188BA906260B57530D54C343404D2E508D30116A18F0AB0100CC' +
'D203B5');
willowl := DTMFromString('78DA63CC616260E063644006A13EF2601A26C' +
'A188BA906260B57530D54C34B404D3613120F8F1A61FC6A007AF9' +
'0334');
willowl2 := DTMFromString('78DA63CC636260E065644006C15EB2601A26C' +
'A180B54C38DAA06260B57530D54C345404D3613120F8F1A61FC6A' +
'0075200329');
oakt := DTMFromString('78DA632C616260F0634001A5D5F2609A11CA6' +
'76C06AAF14155A314C68BA206008F9E032E');
saphire := DTMFromString('78DA639CCEC4C0309D910119084B4C03D3305' +
'1C61EA09A99A86A60B27035F389503305A86602013520F72CC1AF' +
'0600EC6206C9');
saphire2 := DTMFromString('78DA63CC666260086064400682623D601A26C' +
'A0852E381AA06260B579305541343404D29504D2001354984D500' +
'00FCDE047E');
emerald := DTMFromString('78DA633CC4C4C050C2C8800C043A44C1344C9' +
'4711B504D31AA1A982C5CCD4922D4EC07AA6920A006E49E1CFC6A' +
'00F28606D3');
ruby := DTMFromString('78DA637461626078C28002AAA5F8C1342394C' +
'F680154F394010D30A2AAF126428D1350CD0722D4DCC6AF0600C7' +
'260681');
ruby2 := DTMFromString('78DA63CC63626078C280022A25F9C0342394C' +
'F980454F394010D30A2AAC907AAF940849A3B04D49401D53CC3AF' +
'06001CB50758');
end;
procedure drop;
forward;
procedure logpicker;
forward;
procedure gotowillows;
forward;
procedure axedtm;
begin
steela := DTMFromString('78DA63CC656260D8C4C8800C7A9A9AC0344C9' +
'4B10C530D4C16AE2603A866330135C9403527F1AB01004FF80636' +
'');
bronzea := DTMFromString('78DA6374676260B8C5800202EDD5C0342394C' +
'FE803547397010D30A2AAB1C73407438D0550CD07FC6A00E3E705' +
'55');
end;
procedure raxe;
begin
if(FindDTM(steela, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
powers := 3
end;
if(FindDTM(bronzea, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
powers := 1
end;
if powers = 1 then
begin
axeu := ('Bronze')
end;
if powers = 3 then
begin
axeu := ('Steel')
end;
end;
procedure EntFinder1;
begin
findptalk;
if (InChatmulti('an Ent!', 'not a tree', 'not a tree it')) then
begin
fent := true
end;
if(FindObjCustom(x, y, ['tree'], [tree], 2)) then
begin
MMouse(x, y, 0, 0)
if FindColorTolerance(x, y, 184528, 85, 15, 115, 15, 20) then
begin
fent := true
end;
end;
findptalk;
FindTalk;
if fent then
begin
writeln('Found an ent. Avoiding.');
mmouse(646,84,0,0);
mouse(646,84,0,0,true);
wait(28000 + random (1000));
writeln('Ent avoided');
mmouse(640,84,0,0);
mouse(640,84,0,0,true);
enta := enta + 1
end;
end;
procedure EntFinder2;
begin
findptalk;
if (InChatmulti('an Ent!', 'not a tree', 'not a tree it')) then
begin
fent := true
end;
if(FindObjCustom(x, y, ['oak'], [oak], 2)) then
begin
MMouse(x, y, 0, 0)
if FindColorTolerance(x, y, 186068, 88, 15, 115, 15, 20) then
begin
fent := true
end;
end;
findptalk;
FindTalk;
if fent then
begin
writeln('Found an ent. Avoiding.');
mmouse(646,84,0,0);
mouse(646,84,0,0,true);
wait(28000 + random (1000));
writeln('Ent avoided');
mmouse(640,84,0,0);
mouse(640,84,0,0,true);
enta := enta + 1
end;
end;
procedure EntFinder3;
begin
findptalk;
if (InChatmulti('an Ent!', 'not a tree', 'not a tree it')) then
begin
fent := true
end;
if(FindObjCustom(x, y, ['Willow'], [willow], 8)) then
begin
MMouse(x, y, 0, 0)
if FindColorTolerance(x, y, 55769, 85, 15, 115, 15, 20) then
begin
fent := true
end;
end;
findptalk;
FindTalk;
if fent then
begin
writeln('Found an ent. Avoiding.');
mmouse(646,84,0,0);
mouse(646,84,0,0,true);
wait(28000 + random (1000));
writeln('Ent avoided');
mmouse(640,84,0,0);
mouse(640,84,0,0,true);
enta := enta + 1
end;
end;
Procedure Chop1;
begin
if (not(LoggedIn)) then
login;
if(FindColorSpiralTolerance(x,y,tree,MSX1,MSY1,MSX2,MSY2,5)) then
begin
Status('chopping regular trees')
EntFinder1;
MMouse(x,y,0,0);
Mouse(x,y,0,0,false);
chooseoption('hop');
Wait(1000 +Random(3000));
EntFinder1;
//randomtalk; //this is optional if you want to add some random talk!
end;
end;
Procedure Chop2;
begin
if (not(LoggedIn)) then
begin
login;
end;
makecompass('N');
if(FindColorSpiralTolerance(x,y,oak,MSX1,MSY1,MSX2,MSY2,1)) then
begin
MMouse(x,y,0,0);
if isUpTextMulti('oa','oak','ak') then
begin
me := me * 0
Status('chopping oaks')
writeln('Chopping oaks');
EntFinder2;
Mouse(x,y,0,0,false);
chooseoption('own');
Wait(500);
highestangle;
EntFinder2;
findrandoms;
end;
end;
if(not(FindColorSpiralTolerance(x,y,oak,MSX1,MSY1,MSX2,MSY2,1))) then
begin
me := me + 1
end;
if me >= 5 then
begin
lowestangle;
end;
end;
procedure chop3;
begin
if (not(LoggedIn)) then
begin
login;
end;
makecompass('s');
if(FindColorSpiralTolerance(x,y,willow,MSX1,MSY1,MSX2,MSY2,1)) then
begin
Status('chopping willows')
writeln('Chopping willows');
MMouse(x,y,0,0);
Mouse(x,y,0,0,false);
chooseoption('own');
findptalk;
findrandoms;
EntFinder3;
me := me * 0
lost := 2;
end;
if(not(FindColorSpiralTolerance(x,y,willow,MSX1,MSY1,MSX2,MSY2,1))) then
begin
me := me + 1
end;
if me = 10 then
begin
writeln('Player lost trying to find a way back');
makecompass('w');
if (FindSymbol(x, y, 'shop')) then
begin
mmouse(x,y,0,0);
mouse(x,y,0,0,true);
flag;
wait(3000);
gotowillows;
lost := 1
end;
if lost = 2 then
begin
if (FindSymbol(x, y, 'furnace')) then
begin
mmouse(x,y,0,0);
mouse(x,y,0,0,true);
flag;
wait(3000);
makecompass('e');
makecompass('w');
wait(500);
mmouse(640,39,0,0);
mouse(640,39,0,0,true);
flag;
wait(3000);
gotowillows;
if (FindSymbol(x, y, 'shop')) then
begin
mmouse(x,y,0,0);
mouse(x,y,0,0,true);
flag;
wait(3000);
gotowillows;
end;
end;
end;
end;
end;
procedure drop;
begin
repeat
if(FindDTM(log, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('rop');
logsc := logsc + 1
wexp := wexp + 25
wait(2000);
end;
until not(FindDTM(log, x, y, MIX1, MIY1, MIX2, MIY2))
repeat
if(FindDTM(log2, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('rop');
logsc := logsc + 1
wexp := wexp + 25
wait(2000);
end;
until not(FindDTM(log2, x, y, MIX1, MIY1, MIX2, MIY2))
repeat
if(FindDTM(log3, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('rop');
logsc := logsc + 1
wexp := wexp + 25
wait(2000);
end;
until not(FindDTM(log3, x, y, MIX1, MIY1, MIX2, MIY2))
repeat
if(FindDTM(log4, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('rop');
logsc := logsc + 1
wexp := wexp + 25
wait(2000);
end;
until not(FindDTM(log4, x, y, MIX1, MIY1, MIX2, MIY2))
repeat
if(FindDTM(log5, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('rop');
logsc := logsc + 1
wexp := wexp + 25
wait(2000);
end;
until not(FindDTM(log5, x, y, MIX1, MIY1, MIX2, MIY2))
end;
procedure calculatecash;
begin
oakmoney := ologs * 2
willowmoney := wlogs * 4
lmoney := lmoney + oakmoney
lmoney := lmoney + willowmoney
tmoney := tmoney + lmoney
end;
procedure sell;
begin
makecompass('w');
SymbolAccuracy:= 0.4;
if (FindSymbol(x, y, 'shop')) then
begin
Mouse(x, y, 2, 2, true);
Flag;
Writeln('We made it to the shop. Finding guy...');
end;
wait(10000);
makecompass('s');
wait(10000);
repeat
if(FindColorSpiralTolerance(x,y,storeguy,MSX1,MSY1,MSX2,MSY2,5)) then
begin
mouse(x,y,0,0,false);
chooseoption('k-to');
end;
clicktocontinuescreen;
wait(4000);
until ClickToContinueScreen
if ClickToContinueScreen then
begin
mouse(224,454,0,0,true);
wait(4000);
mouse(230, 394,0,0,true);
end;
wait(6000);
if(FindDTM(saphire, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 50');
end;
if(FindDTM(saphire2, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 50');
end;
if(FindDTM(emerald, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 50');
end;
if(FindDTM(ruby, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 50');
end;
if(FindDTM(ruby2, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 50');
end;
repeat
if(FindDTM(oakl, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 36
ologs := ologs + 1
tts := tts + 1
wait(2000);
end;
until not(FindDTM(oakl, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
repeat
if(FindDTM(oakl2, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 36
ologs := ologs + 1
tts := tts + 1
wait(2000);
end;
until not(FindDTM(oakl2, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
repeat
if(FindDTM(oakl3, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 36
ologs := ologs + 1
tts := tts + 1
wait(2000);
end;
until not(FindDTM(oakl3, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
repeat
if(FindDTM(oakl4, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 36
ologs := ologs + 1
tts := tts + 1
wait(2000);
end;
until not(FindDTM(oakl4, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
repeat
if(FindDTM(oakl5, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 36
ologs := ologs + 1
tts := tts + 1
wait(2000);
end;
until not(FindDTM(oakl5, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
repeat
if(FindDTM(willowl, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 68
wlogs := wlogs + 1
tts := tts + 1
wait(1400);
end;
until not(FindDTM(willowl, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
tts := 0
calculatecash;
end;
procedure sellw;
begin
makecompass('w');
makecompass('e');
makecompass('w');
mmouse(642,19,0,0);
mouse(642,19,0,0,true);
wait(5000);
flag;
makecompass('N');
mmouse(625,97,0,0);
mouse(624,97,0,0,true);
wait(4000);
makecompass('w');
SymbolAccuracy:= 0.4;
if (FindSymbol(x, y, 'shop')) then
begin
Mouse(x, y, 2, 2, true);
Flag;
Writeln('We made it to the shop. Finding guy...');
end;
wait(10000);
makecompass('s');
wait(10000);
repeat
if(FindColorSpiralTolerance(x,y,storeguy,MSX1,MSY1,MSX2,MSY2,5)) then
begin
mouse(x,y,0,0,false);
chooseoption('k-to');
end;
clicktocontinuescreen;
wait(4000);
until ClickToContinueScreen
if ClickToContinueScreen then
begin
mouse(224,454,0,0,true);
wait(4000);
mouse(230, 394,0,0,true);
end;
wait(6000);
if(FindDTM(saphire, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 50');
end;
if(FindDTM(saphire2, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 50');
end;
if(FindDTM(emerald, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 50');
end;
if(FindDTM(ruby, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 50');
end;
if(FindDTM(ruby2, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 50');
end;
repeat
if(FindDTM(oakl, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 36
ologs := ologs + 1
tts := tts + 1
wait(2000);
end;
until not(FindDTM(oakl, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
repeat
if(FindDTM(oakl2, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 36
ologs := ologs + 1
tts := tts + 1
wait(2000);
end;
until not(FindDTM(oakl2, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
repeat
if(FindDTM(oakl3, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 36
ologs := ologs + 1
tts := tts + 1
wait(2000);
end;
until not(FindDTM(oakl3, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
repeat
if(FindDTM(oakl4, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 36
ologs := ologs + 1
tts := tts + 1
wait(2000);
end;
until not(FindDTM(oakl4, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
repeat
if(FindDTM(willowl, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 68
wlogs := wlogs + 1
tts := tts + 1
wait(1400);
end;
until not(FindDTM(willowl, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
repeat
if(FindDTM(willowl2, x, y, MIX1, MIY1, MIX2, MIY2)) then
begin
mouse(x,y,1,1,false);
chooseoption('ell 1');
wexp := wexp + 68
wlogs := wlogs + 1
tts := tts + 1
wait(1400);
end;
until not(FindDTM(willowl2, x, y, MIX1, MIY1, MIX2, MIY2)) or (tts = 28)
tts := 0
calculatecash;
end;
procedure gototrees;
begin
wait(3000);
makecompass('e');
mmouse(631,39,0,0)
mouse(631,39,0,0,true)
flag;
makecompass('w');
end;
procedure gotooak;
begin
makecompass('w');
makecompass('s');
makecompass('w');
mouse(644,58,0,0,true)
wait(10000);
end;
procedure gotowillows;
begin
makecompass('e');
makecompass('w');
makecompass('e');
mmouse(642,19,0,0);
mouse(642,19,0,0,true);
wait(5000);
flag;
makecompass('s');
mmouse(625,97,0,0);
mouse(624,97,0,0,true);
wait(4000);
SymbolAccuracy:= 0.4;
if (FindSymbol(x, y, 'fishing spot')) then
begin
status('Found checkpoint, working on');
end;
if (not(FindSymbol(x, y, 'fishing spot'))) then
begin
status('Could not find checkpoint, player going false');
nextplayer(true);
logpicker;
end;
mmouse(645, 72,0,0);
mouse(645, 72,0,0,true);
status('At willows');
end;
procedure coaks;
begin
dtms;
vlvl := 1
gotooak;
FindTalk;
findptalk;
repeat
axedtm;
FindTalk;
findptalk;
raxe;
Antiban;
raxe;
chop2;
FindTalk;
findptalk;
FindRandoms;
raxe;
drop;
FindTalk;
findptalk;
report;
if me = 30 then
begin
writeln('Couldn''nt find the oak going false.');
logout;
writeln('Player false (no oak tree.)');
end;
until (InvFull)
me := me * 0
report;
sell;
report;
gotooak;
report;
logpicker;
report;
end;
procedure doaks;
begin
if wc = 15 then
begin
coaks;
end;
if wc = 16 then
begin
coaks;
end;
if wc = 17 then
begin
coaks;
end;
if wc = 18 then
begin
coaks;
end;
if wc = 19 then
begin
coaks;
end;
if wc = 20 then
begin
coaks;
end;
if wc = 21 then
begin
coaks;
end;
if wc = 22 then
begin
coaks;
end;
if wc = 23 then
begin
coaks;
end;
if wc = 24 then
begin
coaks;
end;
if wc = 25 then
begin
coaks;
end;
if wc = 26 then
begin
coaks;
end;
if wc = 27 then
begin
coaks;
end;
if wc = 28 then
begin
coaks;
end;
if wc = 29 then
begin
coaks;
end;
end;
procedure logpicker;
begin
SymbolAccuracy:= 0.4;
if (FindSymbol(x, y, 'shop')) then
begin
Mouse(x, y, 2, 2, true);
Flag;
Writeln('We made it to the shop point');
end;
wc:=getskilllevel('woodcutting');
if wc < 15 then
begin
dtms;
vlvl := 0
gototrees;
FindTalk;
repeat
Antiban;
chop1;
FindTalk;
findptalk;
report;
FindTalk;
findptalk;
FindRandoms;
report;
FindTalk;
findptalk;
until (InvFull)
drop;
FindTalk;
report;
logpicker;
report;
FindTalk;
end;
doaks;
if wc >= 30 then
begin
dtms;
vlvl := 2
gotowillows;
repeat
axedtm;
FindTalk;
findptalk;
raxe;
Antiban;
raxe;
FindTalk;
findptalk;
chop3;
FindTalk;
findptalk;
FindRandoms;
report;
FindTalk;
findptalk;
raxe;
FindTalk;
drop;
FindTalk;
findptalk;
report;
until (InvFull)
me := me * 0
report;
sellw;
report;
logpicker;
report;
end;
end;
procedure setupscript;
begin
disguise('zaszmedia');
setupsrl;
version := 1;
lost := 2;
activateclient;
cleardebug;
declareplayers;
login;
MarkTime(time);
end;
begin
setupscript;
logpicker;
end.——————————————————
<!– END TEMPLATE: formanswers –>
