negative word overflow

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
Post Reply
Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

negative word overflow

Post by Wahazar »

I have sometimes following messages while playing with my own ruleset:
Trying to put -1 into 16 bits; it will result 65535 at receiving side.
Version 2.5.11.
Probably there is subtraction from 0, any idea how to track this problem to check which part of ruleset is responsible for?
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047
User avatar
Alien Valkyrie
Elite
Posts: 513
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: negative word overflow

Post by Alien Valkyrie »

You could start the server with verbose logging, i.e. "freeciv-server -d 3", and then, when the error occurs, look at what came before (presumably attempting to send something to the client).
~ AVL
Post Reply