View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000339 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-02-25 21:39 | 2017-02-26 04:37 |
Reporter | Nash | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000339: When too many EventHandlers are used, they become unreliable. gzdoom-x64-g2.4pre-620-g10c6b7a | ||||
Description | The more EventHandlers I add inside MAPINFO, the more likely the previous ones I made are to stop working. Example PK3 sent via PM on the forum | ||||
Steps To Reproduce | Bind a key to "netevent SprintKeyHandler" and try to use it in-game. If I QUICKLY start a new game as soon as the program launches, and IMMEDIATELY hit the Sprint key; the sprinting will work and I can trigger it repeatedly. If I take my time at the title screen, then press new game, then wait a few more seconds and try to Sprint... the sprint key won't work. I was able to reproduce this repeatedly. | ||||
Additional Information | Here's what @ZZYZX said: SprintKeyHandler is static, and if you put it in MAPINFO, it's supposed to be loaded at the start of the engine and persist. Yet, for whatever reason it gets removed at exactly tic 40 in titlemap. Tested with WorldTick callback that outputs level.time. No idea what causes this really, will build latest GZDoom later and test, if Graf can't help sooner. I really think this might be related to the recent GC edit which made static handlers non-fixed, but as well might not be that. Looks too deterministic to be a problem with GC (it's always 40 tics...). Can you send that archive to Graf as well pls :) | ||||
Tags | No tags attached. | ||||