Page 1 of 1

Negative valve for ship costs over appr. 32700 credits

Posted: Thu Jan 29, 2009 1:54 pm
by DOT
Hello,
is there a fix for the ship cost - which gets negative, if cost is set higher than 32767 or so credits?
I remember another topic where Gowron wrote about the building upgrade issue, but (when I am right), there was no edition for ship cost.

Thanx!

Re: Negative valve for ship costs over appr. 32700 credits

Posted: Tue Jan 22, 2019 3:17 pm
by slickrcbd
Without knowing anything about the game code, the number is most likely 32767 due to it being the limit for a 16-bit signed integer and thus one less than 2^15. 16-bit signed integers range from +/- 32767 as one bit is used for indicating positive or negative.

Re: Negative valve for ship costs over appr. 32700 credits

Posted: Tue Jan 22, 2019 4:45 pm
by thunderchero
correct, also this issue was fixed in this post.

viewtopic.php?f=234&t=464#p16922