Page 1 of 1

negative word overflow

Posted: Wed Aug 29, 2018 8:11 am
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?

Re: negative word overflow

Posted: Wed Aug 29, 2018 10:09 am
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).