ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Named Scripts in Loadacs get overwritten

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Fixed Bugs
View previous topic :: View next topic  
Author Message
Krawa
There is a limit


Joined: 23 Nov 2008
Location: #SDA

PostPosted: Tue Jan 05, 2016 9:56 pm    Post subject: Named Scripts in Loadacs get overwritten Reply with quote

If there is a named script in Loadacs it could be overwritten by the map script.

How to reproduce:

- Load both demo wads
- map01: you see a counter from Loadacs: correct
- map02: you see a message from the map script, no counter from Loadacs: not correct

Demo wads:
named_script_demo5_map.wad
named_script_demo5_loadacs.wad
Back to top
View user's profile Send private message Visit poster's website
Maikl_Russia
has entered the game!


Joined: 18 Jul 2005
Location: RU

PostPosted: Fri Jan 08, 2016 5:03 pm    Post subject: Reply with quote

You got collision of sripts where the map scripts have a higher priority than the common scripts (in loadacs). Probably, zdaemon converts named scripts to numeric scripts without any control of such collisions.
It would be great like in zdoom:
Quote:
Internally, the script name is converted to a unique negative number.
Back to top
View user's profile Send private message
rhinoduck
Potatoes


Joined: 22 Oct 2012

PostPosted: Sun Jan 28, 2018 11:55 am    Post subject: Reply with quote

I think this has been fixed as part of
Code:
9. 1.10b08 release (2017-09-04)
-----------------------------------------------------------------------
 ...

 2. Extended the range of numeric ACS scripts: they can range from
    1 up to 32767. Also extended the upper limit on the total number
    of named scripts to 32768.

 ...


I tried loading both WADs and switching to MAP02; both the counter messages and the "map open script" message appeared to me there in 1.10b08. I 'd say this can be closed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Fixed Bugs All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group