Page 1 of 1

Harvesting scan = backwards ?

Posted: Fri Jul 31, 2009 8:53 am
by botlover
Hi, i was wondering if it was possible to reverse the scan procedure.

thing is that it happens the bot bypasses some nodes cos it hits an node father away and "moves in" instead of hitting the one just infront of him.

so if the scan procedure scanned from buttom up this would less likely happend.


hope i make sence :)

thanks in advance

Re: Harvesting scan = backwards ?

Posted: Fri Jul 31, 2009 9:19 am
by d003232
botlover wrote:Hi, i was wondering if it was possible to reverse the scan procedure.

thing is that it happens the bot bypasses some nodes cos it hits an node father away and "moves in" instead of hitting the one just infront of him.

so if the scan procedure scanned from buttom up this would less likely happend.
Just change player.lua line 41:

Code: Select all

     for y = scanHeight, 0, -1 do
--   for y = 0,scanHeight-1 do

Re: Harvesting scan = backwards ?

Posted: Fri Jul 31, 2009 9:46 am
by d003232
I will shortly upload a SVN version which makes the scan process more flexibly. There will be some options, you can set in your profile to customize it to your needs. So you don't need to modify the code anymore.

Re: Harvesting scan = backwards ?

Posted: Fri Jul 31, 2009 10:34 am
by d003232
SVN 110 see here.