Closed HeatRiser closed 5 years ago
Thanks for having a look into it - I seen this on the livestream last night. A trigger_multiple is used to determine if the player is in the win area, and the plugin hooks onto this and looks for clients who activate the trigger.
It's strange how only some players are being set as winners though - could it be something Source Engine related?
We're trying something out to attempt to fix it, will drop our stuff here if it works.
Not really sure why it broke at the start, but some small changes i did seem to work 100% of the time
this line, use OnStartTouch
instead of OnTrigger
https://github.com/gemidyne/microtf2/blob/master/src/scripting/Bossgames/Bossgame2.sp#L86
several lines, replace several IsPlayerParticipant[X]
and PlayerStatus[X]
to use methodmap, which is X.IsParticipating
and X.Status
respectively.
https://github.com/gemidyne/microtf2/blob/master/src/scripting/Bossgames/Bossgame2.sp#L101
https://github.com/gemidyne/microtf2/blob/master/src/scripting/Bossgames/Bossgame2.sp#L123
https://github.com/gemidyne/microtf2/blob/master/src/scripting/Bossgames/Bossgame2.sp#L149
https://github.com/gemidyne/microtf2/blob/master/src/scripting/Bossgames/Bossgame2.sp#L153
https://github.com/gemidyne/microtf2/blob/master/src/scripting/Bossgames/Bossgame2.sp#L157
Have experienced this ingame myself - the engineer "escape from the factory" boss microgame is only marking some players as having completed the microgame on touching the endzone.
Looking into it right now with @FortyTwoFortyTwo, will drop info here with a fix once we've got something.