SRL Archive - Help and Support

Can't Figure It Out


Dynamite

2009-10-29 14:21:12

Hi Guys,
In my ProWoodcutter I can't seem to figure out why my Yew Detection/Finding is working.
I have attached my script.
Please could you help figure it out for me "/

Cheers
T~M

YoHoJo

2009-10-29 14:53:58

Hmm not sure :/ But

Also, for the 'power' option you load all tree into, so wouldn't power make the script chop any and ever tree it saw? What if people only want to power a specific tree? Also, I dont think you set up the rest of the script properly to chop multiple trees when the 'power' option is chosen.

Also, if your using the setting you uploaded the script with:
    Strings[0] := 'tree'; // Tree you want to cut
Then you need to change that yo 'yew'? :p
But that probably isnt the problem, script looks pretty nice though!

Dynamite

2009-10-29 16:33:50

Huh?
Power is the location
Tree/Oak/Willow/Maple/Yew is the tree you want to cut.
It will not cut all kinds of trees, only the one the user chooses.

Still got the problem

YoHoJo

2009-10-29 16:51:30

After each line of the finding procedure have a writeln so we can know exactly where its failing.