MantisBT - Zandronum
View Issue Details
0001497Zandronum[All Projects] Bugpublic2013-09-10 16:582014-06-14 17:56
Qent 
 
normalminorN/A
closedfixed 
MicrosoftWindowsXP/Vista/7
1.2 
 
0001497: Possibly incompatibility of GetTeamScore
GetTeamScore does not work at all when compiled with ACC 1.54 out of the box, because that zspecial.acs uses -19260 instead of -19620 for that function (it works if you edit zspecial.acs).
According to'http://downloads.zdaemon.org/zdaemon.acs [^]' (reproduced below), we (and ZDoom) have the correct number for this function. However, Dusk pointed out the possibility that this is deliberate misinformation, so the best way to verify is to find an actual ZDaemon mod that uses GetTeamScore:

//**************************************************************************
//**
//** zdaemon.acs
//**
//** Definitions for ZDaemon specific ACS scripts
//**
//**************************************************************************
//**
//** Usage for Doom Builder 2:
//**
//** - Put zdaemon.acs to your "...\Doom Builder 2\Compilers\ZDoom" folder.
//** - Edit acc.cfg in the same folder and add: zdaemon = "zdaemon.acs";
//** to the "zdoom_acc {...}" section.
//**
//** Example:
//** zdoom_acc
//** {
//** interface = "AccCompiler";
//** program = "acc.exe";
//** zcommon = "zcommon.acs";
//** zdefs = "zdefs.acs";
//** zspecial = "zspecial.acs";
//** zwvars = "zwvars.acs";
//** zdaemon = "zdaemon.acs";
//** }
//**
//**************************************************************************
 
// ZDaemon ACSF Functions ---------------------------------------------------
 
special
        -19620:GetTeamScore(1),
        -19621:SetTeamScore(2);
 
 
// ZDaemon Teams ------------------------------------------------------------
 
//#define TEAM_BLUE 0 //Already defined in zdefs.acs
//#define TEAM_RED 1 //Already defined in zdefs.acs
#define TEAM_GREEN 2
#define TEAM_WHITE 3
 
 
// ZDaemon Weapons ----------------------------------------------------------
 
//#define T_RAILGUN 164 //Already defined in zdefs.acs
No tags attached.
Issue History
2013-09-10 16:58QentNew Issue
2013-09-10 20:54DuskNote Added: 0007157
2013-09-10 22:26QentNote Added: 0007158
2013-09-11 08:56DuskNote Added: 0007161
2014-06-14 17:56WatermelonNote Added: 0009336
2014-06-14 17:56WatermelonStatusnew => closed
2014-06-14 17:56WatermelonResolutionopen => fixed

Notes
(0007157)
Dusk   
2013-09-10 20:54   
Quote
However, Dusk pointed out the possibility that this is deliberate misinformation

Don't put words in my mouth, I never said it outright was that. I'm just skeptical of anything that comes from ZDaemon considering its background. I wouldn't be surprised if it were misinformation, but that doesn't mean it really is misinformation.
(0007158)
Qent   
2013-09-10 22:26   
Excuse me, but I never said that you said it outright was that. I said you "pointed out the possibility," which means there is a possibility that it's true and you simply made me aware of that possibility.

Quote
<Blzut3> hmm, those are ZDaemon functions so you would need to check with them for an authoritive source
<Qent> eeyup we got the same as ZDoom
* Qent doesn't have a custom IRC client whitelisted for ZDIRC
<Dusk> we'd need an actual mod using those functions
<Blzut3> I think ACC has the correct numbers, but I'm not sure
<Qent>'http://downloads.zdaemon.org/zdaemon.acs [^]' is that authoritative?
<Blzut3> looks official
<Dusk> could be kilogre putting the wrong number there to trick us into breaking zdaemon compatibility
<Qent> sneaky bastard.....
<Qent> "HA! I made it so your CTF maps don't work properly on our port!"
<Dusk> i'd imagine it would go the other way around
<Qent> oh right
<Dusk> thus i don't fully trust that file
<Qent> oh wait you're serious? O.o
<Dusk> somewhat
<Dusk> knowing what this guy has done it really wouldn't surprise me
<Qent> alright who might know some ACSy ZD mods?
<Qent> Water?
<Dusk> but yeah imo would be good to check with a real zd mod
<Dusk> i gotta go now
<Qent> open up the original ticket?
<Dusk> nah, make a new one
<Qent> k
<Dusk> although since the problem is that zdoom and acs have slightly different numbers i'd guess the zdaemon.acs is correct


If you still think that my summary of your statements was incorrect, then please let me know. Otherwise, please "don't put words in my mouth."
(0007161)
Dusk   
2013-09-11 08:56   
.. ouch, misread. Sorry.
(0009336)
Watermelon   
2014-06-14 17:56   
We SHOULD have this in now. If not I'll reopen.