View Issue Details

IDProjectCategoryView StatusLast Update
0000332Gameplay + OpenGL[All Projects] Bugpublic2017-02-24 14:46
Assigned To 
Status resolvedResolutionfixed 
Summary0000332: PlayerEntered event handler not consistent
DescriptionIn the attached demo, the event seems to get fired off only sometimes. When transitioning between the levels repeatedly, sometimes the event will not fire (the console message won't appear).
TagsNo tags attached.





2017-02-24 05:25


player enter.pk3 (2,794 bytes)


2017-02-24 08:36

reporter   ~0000744

Might be related to GC, since randomly collected handlers randomly stop working.
Graf Zahl

Graf Zahl

2017-02-24 10:52

administrator   ~0000747

Can you please retry? I already had the GC code but it wasn't merged into master yet.


2017-02-24 13:12

reporter   ~0000752

Sorry, it still isn't working, even with the GC fix. In the example WAD, the message does not trigger when entering the second level.
Graf Zahl

Graf Zahl

2017-02-24 14:24

administrator   ~0000755

Last edited: 2017-02-24 14:26

View 2 revisions

Excuse me?

// level.time is a hack to make sure that we don't call it on dummy player initialization during hub return.
if (!level.time) E_PlayerEntered(int(p - players), false);

That HACK blocks it. Interestingly, that alsp means that the ENTER script gets called for the wrong PlayerPawn...

The entire thing is totally broken by design...

Issue History

Date Modified Username Field Change
2017-02-24 05:25 Nash New Issue
2017-02-24 05:25 Nash File Added: player enter.pk3
2017-02-24 08:36 ZZYZX Note Added: 0000744
2017-02-24 10:52 Graf Zahl Note Added: 0000747
2017-02-24 13:12 Nash Note Added: 0000752
2017-02-24 14:24 Graf Zahl Note Added: 0000755
2017-02-24 14:26 Graf Zahl Note Edited: 0000755 View Revisions
2017-02-24 14:46 Graf Zahl Status new => resolved
2017-02-24 14:46 Graf Zahl Resolution open => fixed