Darwinbots Forum
Code center => Bugs and fixes => Topic started by: EricL on November 25, 2006, 09:11:35 PM
-
mem locations 437 and 472 are both .trefbody. The Wiki even lists both.
Is there some historical thing here I'm unaware of?
Mind if I kill one? I'll preserve the one that the code translates .trefvar in hand coded bots to so as to not to break any hand-coded bots (unless they rely upon reading from the other mem location).
-
Are they both being updated in the same place in the code? It might be that someone was mucking in the sysvars and made a mistake that got translated into future versions.
-
They are indeed. mem location 437 is used for hand authored bots which reference .trefbody in their DNA txt files, but both locations are updated.
-
Don't remember any reason for that, might have been intended for something else at some point I suppose.
Simplicity! Yay! Duplicity! Nay!
ROFL