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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000443Zandronum[All Projects] Bugpublic2011-05-14 17:022018-09-30 20:03
ReporterCommanderZ 
Assigned ToTorr Samaho 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version98d 
Target VersionFixed in Version1.0 
Summary0000443: PlayerTeam() returning incorrect value in single player
DescriptionCalling PlayerTeam() in single player normally results in integral value 4. However, if I save the game and then load it, the value returned is suddenly 0. After entering next map, it is once again 4 (but it changes back to 0 after another save/load cycle).

This can be easily bypassed by checking game mode, but it is annoying to have the conditions longer than necessary.
Steps To ReproduceCall PlayerTeam() before and after loading a game for the first time.
Attached Files? file icon RGH-debug-skulltag.pk3 [^] (253 bytes) 2011-05-14 17:31

- Relationships

-  Notes
User avatar (0001613)
Torr Samaho (administrator)
2011-05-14 17:08

please post a minimal example wad
User avatar (0001616)
CommanderZ (reporter)
2011-05-14 17:32

Done.

Source code for the ACS is simple:

IgnoreHash(#library "RGH_ACS")
IgnoreHash(#include "zcommon.acs")

script 500 ENTER
{
    while(true){
        log(i:PlayerTeam());
    
        delay(36);
    }
}
User avatar (0001620)
Torr Samaho (administrator)
2011-05-14 19:48

Should be fixed now. I'll probably post a testing binary later.
User avatar (0001622)
Torr Samaho (administrator)
2011-05-14 20:28

This contains the fix.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2011-05-14 17:02 CommanderZ New Issue
2011-05-14 17:08 Torr Samaho Note Added: 0001613
2011-05-14 17:12 Torr Samaho Status new => feedback
2011-05-14 17:31 CommanderZ File Added: RGH-debug-skulltag.pk3
2011-05-14 17:32 CommanderZ Note Added: 0001616
2011-05-14 17:32 CommanderZ Status feedback => new
2011-05-14 19:48 Torr Samaho Note Added: 0001620
2011-05-14 20:28 Torr Samaho Note Added: 0001622
2011-05-14 20:31 Torr Samaho Assigned To => Torr Samaho
2011-05-14 20:31 Torr Samaho Status new => feedback
2011-05-15 18:33 Torr Samaho Status feedback => resolved
2011-05-15 18:33 Torr Samaho Fixed in Version => 1.0
2011-05-15 18:33 Torr Samaho Resolution open => fixed
2012-06-09 13:22 Torr Samaho Category General => Bug
2018-09-30 20:03 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker