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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003377Zandronum[All Projects] Bugpublic2018-02-20 12:232020-11-29 20:30
Assigned To 
Statusneeds testingResolutionopen 
PlatformOSOS Version
Product Version3.0 
Target VersionFixed in Version 
Summary0003377: Survival Points can overflow
DescriptionHere's a funny image: [^]

The map had so many potent monsters that the player points overflew, then ended up positive by the end of the map regardless. Point limit should probably be increased.
Attached Files

- Relationships

-  Notes
User avatar (0019078)
Korshun (reporter)
2018-02-20 13:03
edited on: 2018-02-20 13:06

Speaking of overflows, can Zandronum stop using 16-bit variables in so many places in network code? It used 16-bit item counts in 2.0 (fixed in 3.0), but it STILL uses 16-bit HP in netcode: [^]

If you believe that using 32-bit ints everywhere will unacceptably increase bandwidth use, implement variable width ints into the protocol.

EDIT: did I mention 16-bit TIDS in the protocol? (fixed in 3.0).

User avatar (0019079)
Ivan (reporter)
2018-02-20 14:29

Oddly enough, monster healths can be above 32767, they use 32 bit ints. And I had observed the player health problem, that's why I had to limit player health to 16k in my mod.
User avatar (0021570)
Torr Samaho (administrator)
2020-11-29 20:30

I added Kaminski's patch for this.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: Korshun
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2018-02-20 12:23 Ivan New Issue
2018-02-20 13:03 Korshun Note Added: 0019078
2018-02-20 13:06 Korshun Note Edited: 0019078 View Revisions
2018-02-20 14:29 Ivan Note Added: 0019079
2020-11-29 20:30 Torr Samaho Note Added: 0021570
2020-11-29 20:30 Torr Samaho Status new => needs testing

Questions or other issues? Contact Us.


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker