Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Brenbot 1.52 issues illegal modulus gamelog.pm
Brenbot 1.52 issues illegal modulus gamelog.pm [message #396122] Fri, 24 July 2009 13:06 Go to next message
Goztow is currently offline  Goztow
Messages: 9738
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.

index.php?t=getfile&id=11430&private=0

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.
  • Attachment: gamelogpm.PNG
    (Size: 34.81KB, Downloaded 339 times)


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 Go to previous messageGo to next message
danpaul88 is currently offline  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.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Fri, 24 July 2009 15:41]

Report message to a moderator

Re: Brenbot 1.52 issues illegal modulus gamelog.pm [message #396160 is a reply to message #396122] Sat, 25 July 2009 02:19 Go to previous messageGo to next message
CarrierII is currently offline  CarrierII
Messages: 3804
Registered: February 2006
Location: England
Karma: 0
General (3 Stars)

Oop! Time to change that to one. Razz


Renguard is a wonderful initiative
Toggle Spoiler
Re: Brenbot 1.52 issues illegal modulus gamelog.pm [message #396162 is a reply to message #396160] Sat, 25 July 2009 02:26 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Indeed, especially since I think the config actually tells you to set it to 0 to disable the recommendation... Huh

http://steamsignature.com/card/1/76561197975867233.png
Re: Brenbot 1.52 issues illegal modulus gamelog.pm [message #396164 is a reply to message #396122] Sat, 25 July 2009 02:40 Go to previous message
Goztow is currently offline  Goztow
Messages: 9738
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
Yup, I had set them all to 0. I now set them back to the original.

You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Previous Topic: BRenBot without Renguard
Next Topic: Scrips 3.4.4 help!
Goto Forum:
  


Current Time: Wed Dec 04 11:32:47 MST 2024

Total time taken to generate the page: 0.00613 seconds