Darwinbots Forum

Code center => Bugs and fixes => Topic started by: goffrie on July 02, 2008, 06:43:25 PM

Title: trefbody redefinition? RESOLVED (NO BUG)
Post by: goffrie on July 02, 2008, 06:43:25 PM
I'm not too sure of the circumstances behind this (I'm not very familiar with the DB code) but in DNATokenizing.bas 'trefbody' seems to be defined twice, with different values:
Code: [Select]
(...)
  sysvar(66).Name = "trefbody"
  sysvar(66).value = 437
(...)
  sysvar(101).Name = "trefbody"
  sysvar(101).value = 472
(...)
This is from the SVN repository.
Title: trefbody redefinition? RESOLVED (NO BUG)
Post by: EricL on July 02, 2008, 07:28:10 PM
I don't know what version of the code is in the SVN, but it's obviously ancient.  I fixed this long long ago.

The official list of sysvars is here (http://www.darwinbots.com/Forum/index.php?showtopic=2639).
Title: trefbody redefinition? RESOLVED (NO BUG)
Post by: Numsgil on July 02, 2008, 07:36:09 PM
2.43 is in the SVN.  Since that's the last "official" release.
Title: trefbody redefinition? RESOLVED (NO BUG)
Post by: EricL on July 02, 2008, 07:43:45 PM
FYI, I kind of did away with the "official release" verbage and took 2.43 off the main download page awhile ago.  The buddy drops are pretty solid these days and I do a bunch of testing on them usually before I release so it didn't make much sense to point new people at such an old version...
Title: trefbody redefinition? RESOLVED (NO BUG)
Post by: Numsgil on July 02, 2008, 07:49:15 PM
Sure, but you also aren't releasing the source with every buddy drop, so I can't exactly update the SVN.

If you want, I'll set you up with an SVN account and you can submit the code everytime you release a new drop.
Title: trefbody redefinition? RESOLVED (NO BUG)
Post by: EricL on July 02, 2008, 07:54:03 PM
There's a pretty recent source drop on the FTP.  I update it every few versions, mostly as a backup in case my machine craps out.  I wasn't aware anyone but me was even looking at the source.  If there is someone who wants the souce for every drop, I'd be happy to post it.