SRL Archive - RS3 Outdated / Broken Scripts

Chop And Burn Tha Willow logs:D


xDutch

2012-06-26 08:01:08

Sup,
This is ma first script.
Chopping and Burning Willow Logs,
Hopefully I'll Recieve some nice Suggestions/Tips

Benny

2012-06-26 08:57:43

Well done on your release, will have a look over this later :)

xDutch

2012-06-26 08:59:28

Thanks,
It's slow, And it's can't regonize when/is the tree chopped

CephaXz

2012-06-26 09:16:10

Good attempt making the script! Just some suggestions…
You can try using pixelshift to detect if you character is still chopping the tree. It will stop animating when the tree is gone. Its better than blindly wait for 20 seconds after chopping.

For the antiban. You're only doing it 20 seconds after chopping the tree. You might as well just do the antiban while waiting until the tree is gone.

Could just merge BurnTheLogs and BurnThaLogs together, instead of making 2 procedures. While waiting for the logs to light up, you can use chat text to find if its lighted like how you use to check spirit in chat. Make a DTM for log, and repeat wait until log DTM is not found in inventory.
I personally think using an estimated wait time is not very efficient. Good luck and keep up the good work :D

xDutch

2012-06-26 09:25:08

I dont know exactly how to work find text in chat..
No Tut's about it :S

CephaXz

2012-06-26 09:28:26

No need a tut for it. You already used Er1k's function that's exactly the same.

Function RewardsCollected :Boolean; //Erik
begin
Result := IsChatBoxTextAnyLine('spirit', clBlack);
end;

If you want to know more about it, type chatbox in Simba's function list and double click those functions to know more about it. There's other functions other than IsChatBoxTextAnyLine.