Brenbot 1.52 issues illegal modulus gamelog.pm [message #396122] |
Fri, 24 July 2009 13:06 |
|
Goztow
Messages: 9737 Registered: March 2005 Location: Belgium
Karma: 13
|
General (5 Stars) Goztoe |
|
|
Brenbot 1.52 (latest build) but also does it with brenbot 1.51! using the full install package for brenbot, nothing else.
Edit: I restarted server and cleared the ssgm gamelog of today and it doesn't happen anymore. However, I still want to know why it happened, if possible, to be sure it doesn't happen anymore. Brenbot still worked correctly during this error spitting, BTW.
edit2: it started doing it again.
Quote: | <CWbot> Runtime Error: Illegal modulus zero at gamelog.pm line 451.
<CWbot> Runtime Error: Illegal modulus zero at gamelog.pm line 451.
<CWbot> Runtime Error: Illegal modulus zero at gamelog.pm line 451.
<CWbot> Runtime Error: Illegal modulus zero at gamelog.pm line 451.
|
You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
[Updated on: Fri, 24 July 2009 14:13] Report message to a moderator
|
|
|
Re: Brenbot 1.52 issues illegal modulus gamelog.pm [message #396134 is a reply to message #396122] |
Fri, 24 July 2009 15:37 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
I suspect it's something to do with the BI modifications to the gamelog on the TK2 server, I would need to see the gamelog file to see what the problem is...
EDIT: Just checked the 1.52 copy of gamelog.pm from the SVN and it looks like that error is caused by the building repair automatic recommendation setting in brenbot.cfg either being set to 0 or being missing completely. Thus, every time someone does any repairing to a building it tries to divide by this value which is set to 0, hence the illegal division by 0 error.
[Updated on: Fri, 24 July 2009 15:41] Report message to a moderator
|
|
|
|
|
|