Anonymous | Login | Signup for a new account | 2025-07-27 15:01 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001341 | Zandronum | [All Projects] Bug | public | 2013-05-14 22:42 | 2015-09-05 18:01 | ||||
Reporter | Ijon Tichy | ||||||||
Assigned To | |||||||||
Priority | high | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | out of scope | ||||||
Platform | OS | OS Version | |||||||
Product Version | 1.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001341: OPEN scripts run *after* ENTER scripts in anything but coop | ||||||||
Description | OPEN scripts should run before ENTER scripts, and they do... but only in single player. In literally every other mode, ENTER runs first. This is inconsistent and very much undesired. | ||||||||
Steps To Reproduce | 1. Run opennotfirst.pk3. 2. "map map01" 3. Notice that "Enter has run" is what you see on the screen. 3a. Check the console to see "Open has run" is before "Enter has run". 4. "deathmatch 1; map map01" 5. "Open has run" is what you see on the screen. 5a. "Enter has run" is now before "Open has run" on the console. | ||||||||
Additional Information | This has screwed Samsara up heavily. It has a new mode, called Punchdrunk, where all weapons are removed save melee weapons. It relies on the OPEN script running first to set a map variable called IsPunchdrunk, which a bunch of other scripts then check; as it stands, in all non-coop modes (including Survival), for the first tic of a map, Punchdrunk is effectively disabled. This is not a good thing. | ||||||||
Attached Files | ![]() ![]() | ||||||||
![]() |
|
Ijon Tichy (reporter) 2013-05-14 22:54 |
Update: It seems OPEN runs first in deathmatch online, but *not* in LMS online. |
Ijon Tichy (reporter) 2013-05-14 23:08 |
18:06 <+Hypnotoad> okay this is what i can ascertain ijon 18:06 <+Hypnotoad> on map change/start, open runs first, but on round start 18:06 <+Hypnotoad> enter runs first 18:07 <+Hypnotoad> you can confirm this by exiting a map 18:07 <+Hypnotoad> on survival |
Ijon Tichy (reporter) 2013-05-14 23:22 |
screenshots of the console: 'http://i.imgur.com/hxQ3ArE.png [^]' - deathmatch 'http://i.imgur.com/LB7MBtY.png [^]' - LMS 'http://i.imgur.com/DVlYOTM.png [^]' - deathmatch, Timer() added |
Hypnotoad (reporter) 2013-11-26 18:27 |
Any update on this? This is causing problems for me currently. |
Dusk (developer) 2013-11-28 13:02 |
Is it specifically defined behavior that OPEN scripts are to run before ENTER ones? It sounds like we're hitting a case of "Don't do that!" for me. |
Torr Samaho (administrator) 2013-12-01 11:20 edited on: 2013-12-01 11:28 |
Actually I'd assume that open OPEN scripts are meant to be executed before ENTER ones. It sounds very natural to me that you have to open a map, before anyone can enter it. If the behavior in deathmatch and LMS differs online, that sounds like a bug in the map reset system to me. I'll have a look. EDIT: Yeah, it seems to a bug in the map reset logic. |
Torr Samaho (administrator) 2013-12-01 11:43 |
This should fix the issue. I'm not sure if the fix (which only affects map resets) has any undesired side effects though. Needs to be tested thoroughly. |
Ijon Tichy (reporter) 2013-12-23 03:37 |
Now ENTER scripts consistently run before OPEN scripts in competitive game modes. I'm not entirely sure if that constitutes a fix, since now competitive and cooperative game modes are inconsistent in how they run OPEN and ENTER scripts. Is joining players handled differently in competitive game modes? |
Torr Samaho (administrator) 2013-12-23 09:35 |
FYI, my fix only affects the behavior of map resets. I had a quick look at GZDoom 880 and it seems to be doing the same as Zandronum in Deathmatch. Can you check the latest GZDoom version? |
Ijon Tichy (reporter) 2013-12-23 22:21 |
Apparently, ENTER before OPEN is how it's done in GZDoom as well. That's... kind of weird. |
Torr Samaho (administrator) 2013-12-24 09:04 |
I'd say that GZDoom doesn't intentionally do this, just that it's an oversight nobody ever noticed. Can you ask over there to confirm this? |
Ijon Tichy (reporter) 2013-12-25 05:16 |
It's undefined in ZDoom, apparently. I'd recommend changing that by making OPEN scripts always run before ENTER scripts. |
Dusk (developer) 2013-12-25 17:48 |
'http://forum.zdoom.org/viewtopic.php?p=736112#p736112 [^]' So I was right. Don't do that! Going to close this unless we want to specifically change the zdoom behavior here. |
Torr Samaho (administrator) 2013-12-27 15:57 |
I'd definitely like to know why ZDoom keeps the behavior undefined and what's making the actual script order depend on the game mode before deciding what to do here. |
Ijon Tichy (reporter) 2013-12-27 22:47 |
For that, I'd seriously recommend getting direct contact with Randy or Graf, since I might be a bit biased as proxies go and they'd have a better rationale for it, if one exists at all. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | Combinebobnt Hypnotoad RusselCS Catastrophe WaTaKiD |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2013-05-14 22:42 | Ijon Tichy | New Issue | |
2013-05-14 22:42 | Ijon Tichy | File Added: opennotfirst.pk3 | |
2013-05-14 22:54 | Ijon Tichy | Note Added: 0006329 | |
2013-05-14 23:08 | Ijon Tichy | Note Added: 0006330 | |
2013-05-14 23:22 | Ijon Tichy | Note Added: 0006331 | |
2013-05-14 23:22 | Ijon Tichy | File Added: opennotfirst-timer.pk3 | |
2013-11-26 18:27 | Hypnotoad | Note Added: 0007610 | |
2013-11-28 13:02 | Dusk | Note Added: 0007630 | |
2013-12-01 11:20 | Torr Samaho | Note Added: 0007650 | |
2013-12-01 11:20 | Torr Samaho | Assigned To | => Torr Samaho |
2013-12-01 11:20 | Torr Samaho | Status | new => assigned |
2013-12-01 11:28 | Torr Samaho | Note Edited: 0007650 | View Revisions |
2013-12-01 11:43 | Torr Samaho | Note Added: 0007651 | |
2013-12-04 20:31 | Torr Samaho | Status | assigned => needs testing |
2013-12-23 03:37 | Ijon Tichy | Note Added: 0007720 | |
2013-12-23 09:35 | Torr Samaho | Note Added: 0007723 | |
2013-12-23 22:21 | Ijon Tichy | Note Added: 0007724 | |
2013-12-24 09:04 | Torr Samaho | Note Added: 0007725 | |
2013-12-25 05:16 | Ijon Tichy | Note Added: 0007726 | |
2013-12-25 17:48 | Dusk | Note Added: 0007727 | |
2013-12-27 15:57 | Torr Samaho | Note Added: 0007743 | |
2013-12-27 15:58 | Torr Samaho | Status | needs testing => needs review |
2013-12-27 15:58 | Torr Samaho | Status | needs review => feedback |
2013-12-27 22:47 | Ijon Tichy | Note Added: 0007746 | |
2013-12-27 22:47 | Ijon Tichy | Status | feedback => assigned |
2015-09-05 18:01 | Dusk | Status | assigned => closed |
2015-09-05 18:01 | Dusk | Assigned To | Torr Samaho => |
2015-09-05 18:01 | Dusk | Resolution | open => out of scope |
Copyright © 2000 - 2025 MantisBT Team |