Darwinbots Forum

Code center => Bugs and fixes => Topic started by: EricL on April 20, 2008, 11:53:09 AM

Title: .tin/.tout pairs not erased with tie goes away
Post by: EricL on April 20, 2008, 11:53:09 AM
The .tin/.tout pairs were not getting reset correctly with the other trefvars when a tie went away.

Also fixed an issue where all the trefvars would not get reset in the case where *.numties was non-zero but the tie port being attempted to read from was incorrect.  Now bots can reliably check to see if a tie still exists by trying to read from the tie number.  trefvars such as .trefxpos will be 0 for that tie port even when other ties still exist.
Title: .tin/.tout pairs not erased with tie goes away
Post by: rsucoop on April 20, 2008, 07:10:00 PM
Quote from: EricL
The .tin/.tout pairs were not getting reset correctly with the other trefvars when a tie went away.

Also fixed an issue where all the trefvars would not get reset in the case where *.numties was non-zero but the tie port being attempted to read from was incorrect.  Now bots can reliably check to see if a tie still exists by trying to read from the tie number.  trefvars such as .trefxpos will be 0 for that tie port even when other ties still exist.


BRILLIANT! Maybe now the Evo Slim's Tie Communication genes would function properly lol