Darwinbots Forum

Code center => Bugs and fixes => Topic started by: gymsum on May 06, 2008, 05:33:09 PM

Title: The bot of sudden Crash RESOLVED 2.43.1k
Post by: gymsum on May 06, 2008, 05:33:09 PM
Ok, let me know if I've renamed any used sysvars, but everytime I try to run this bot, it freezes up the DB system.
Title: The bot of sudden Crash RESOLVED 2.43.1k
Post by: Numsgil on May 06, 2008, 06:12:07 PM
I'll bet you've exceeded that size of the static array for custom memory labels.
Title: The bot of sudden Crash RESOLVED 2.43.1k
Post by: gymsum on May 06, 2008, 06:28:30 PM
whats the limit on that?
Title: The bot of sudden Crash RESOLVED 2.43.1k
Post by: Numsgil on May 06, 2008, 06:32:01 PM
Also, if you define a custom label that points to the same place as a sysvar, all it means is that your custom label points to the same place as a sysvar.  It won't break the game (but you might get funky results when the system resets it to a specific value every cycle).

The limit used to be 50, but I think Eric increased it recently.  How many defs do you have there?
Title: The bot of sudden Crash RESOLVED 2.43.1k
Post by: gymsum on May 06, 2008, 06:43:43 PM
Quote from: Numsgil
Also, if you define a custom label that points to the same place as a sysvar, all it means is that your custom label points to the same place as a sysvar.  It won't break the game (but you might get funky results when the system resets it to a specific value every cycle).

The limit used to be 50, but I think Eric increased it recently.  How many defs do you have there?

Its basically every free sysvar I think, so well over 50. I can remove some of them if I can remember the basic structure and sysvar #s.
Title: The bot of sudden Crash RESOLVED 2.43.1k
Post by: Numsgil on May 06, 2008, 07:50:22 PM
I'm sure Eric will be kind enough to increase the limit for you, if this is indeed the issue.
Title: The bot of sudden Crash RESOLVED 2.43.1k
Post by: EricL on May 07, 2008, 11:10:16 AM
Pretty sure that was it.  This bot does not crash with the increased limit in 2.43.1k.

Fixed in 2.43.1k.
Title: The bot of sudden Crash RESOLVED 2.43.1k
Post by: gymsum on May 07, 2008, 09:46:10 PM
o that explains it, I'm only running j.