Code center > Bug reports

refxpos and refypos are 0,0 when looking at DNA-execution-disabled bots/veggies

(1/1)

Trafalgar:
In short, things with DNA execution disabled have 0,0 for xpos,ypos, which results in refxpos, refypos being 0,0 when looking at them. Bots using "*.refxpos *.refypos angle .setaim store" for aiming go wonky* when they see a bot/veggie with disabled DNA execution.

(My workaround are to only do setaim aiming if both refxpos and refypos are >0)

* = Specifically, they turn to face 0,0.

Navigation

[0] Message Index

Go to full version