Anonymous | Login | Signup for a new account | 2025-07-27 23:27 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 | ||||
0003171 | Zandronum | [All Projects] Bug | public | 2017-06-26 17:07 | 2017-06-26 20:42 | ||||
Reporter | Cutman | ||||||||
Assigned To | |||||||||
Priority | high | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 | ||||
Product Version | 2.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003171: GAMEVENT_ROUND_ENDS EVENT trigger type functioning incorrectly | ||||||||
Description | This EVENT script type appears to get fired off at the wrong times, almost as if it's triggering for multiple event types rather than just the round ending. This bug happens in 2.1.2 too. | ||||||||
Steps To Reproduce | 1. Grab the WAD. Jump into a LMS match on MAP01 with a bot. 2. Start the game and fight the bot. You'll notice the script gets triggered multiple times, when you get medals etc. Not just a bot thing either, you can test it with a second player or yourself on a second client. | ||||||||
Additional Information | Here's the script: int count; script "lol" (int GAMEVENT_ROUND_ENDS, int a, int b) EVENT { count++; PrintBold(s:"event triggered! ", i:count, s:" times!"); } | ||||||||
Attached Files | ![]() | ||||||||
![]() |
|
Catastrophe (reporter) 2017-06-26 19:28 |
Pretty sure you're using it wrong. Event scripts work like this: script 123 (int type, int arg1, int arg2) EVENT so you have to do, if(type == GAMEVENT_ROUND_ENDS) { count++; printbold(s:"hi");} What you're doing currently is just renaming a variable. |
Cutman (reporter) 2017-06-26 19:57 |
Oh that explains it. So my code has been firing for every single event type. My bad, please close! |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2017-06-26 17:07 | Cutman | New Issue | |
2017-06-26 17:07 | Cutman | File Added: eventtest.pk3 | |
2017-06-26 17:43 | WaTaKiD | Product Version | 3.0-beta => 2.1 |
2017-06-26 19:28 | Catastrophe | Note Added: 0017937 | |
2017-06-26 19:57 | Cutman | Note Added: 0017939 | |
2017-06-26 20:42 | WaTaKiD | Status | new => closed |
2017-06-26 20:42 | WaTaKiD | Resolution | open => no change required |
Copyright © 2000 - 2025 MantisBT Team |