Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Revisions: Issue #2386 Back to Issue ]
Summary 0002386: Item amounts sent in 2 bytes instead of 4
Revision 2015-08-09 16:26 by Ivan
Description From a conversation with Dusk on irc (link:'http://hastebin.com/loweniture.xml [^]')

An image to demonstrate the problem:'http://i.imgur.com/VxmHIfU.png [^]'

The credit actor has a inventory.maxamount property of 0x7FFFFFFF and right after the 5th digit, there is an overflow. Which makes sense as signed short max is 32767 and it has 5 digits.
Revision 2015-08-19 19:07 by cobalt
Description From a conversation with Dusk on irc (link:'http://hastebin.com/loweniture.xml [^]')

An image to demonstrate the problem:'http://i.imgur.com/VxmHIfU.png [^]'

The credit actor has a inventory.maxamount property of 0x7FFFFFFF and right after the 5th digit, there is an overflow. Which makes sense as signed short max is 32767 and it has 5 digits.






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker