Darwinbots Forum
Code center => Bugs and fixes => Topic started by: Henk on November 21, 2006, 03:54:52 PM
-
The bots in attached sim attack non-corpses with -1:
*.eye5 0 >
*.refnrg 0 >
*.refbody 0 >
start
-1 .shoot store
(...)
stop
and corpses with -6:
*.eye5 0 >
*.refnrg 0 =
*.refbody 0 >
start
-6 .shoot store
(...)
stop
However, they do not seem to get any body from corpses after hitting them with -6 shots. Another feature or is this one really a bug?
note; waste really messes these bots up as they don't get rid of it (their eyes' directions are altered), effectively preventing them from living:P
-
There was a bogus check for .nrg <= 0 in the routine that returns body shots, which is why they worked against extant bots but not corpses. Fixed in 2.42.9d.
-
Yay thanks
-
This is interesting. -6 shot is a feeding shot, right? So they can feed from corpses? I found a lot of bots can starve to death trying to feed from corpses.
-
Firing -1 shots into a corpse is pretty useless. That could be what you're seeing.