MantisBT - Zandronum
View Issue Details
0003377Zandronum[All Projects] Bugpublic2018-02-20 12:232024-04-07 21:47
Ivan 
 
normalminoralways
resolvedfixed 
3.0 
3.13.1 
0003377: Survival Points can overflow
Here's a funny image:'https://imgur.com/a/6IdpI [^]'

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.
No tags attached.
Issue History
2018-02-20 12:23IvanNew Issue
2018-02-20 13:03KorshunNote Added: 0019078
2018-02-20 13:06KorshunNote Edited: 0019078bug_revision_view_page.php?bugnote_id=19078#r11423
2018-02-20 14:29IvanNote Added: 0019079
2020-11-29 20:30Torr SamahoNote Added: 0021570
2020-11-29 20:30Torr SamahoStatusnew => needs testing
2024-04-07 21:47Ru5tK1ngNote Added: 0023538
2024-04-07 21:47Ru5tK1ngStatusneeds testing => resolved
2024-04-07 21:47Ru5tK1ngResolutionopen => fixed
2024-04-07 21:47Ru5tK1ngFixed in Version => 3.1
2024-04-07 21:47Ru5tK1ngTarget Version => 3.1

Notes
(0019078)
Korshun   
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:'https://zandronum.com/tracker/view.php?id=3050 [^]'

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).

(0019079)
Ivan   
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.
(0021570)
Torr Samaho   
2020-11-29 20:30   
I added Kaminski's patch for this.
(0023538)
Ru5tK1ng   
2024-04-07 21:47   
Tested online using 3.1. I setup coop to use points and granted points through a kill script. I was able to reach into the 100k realm.