Skip to content

use mission event for PlayerConnected#306

Merged
Killswitch00 merged 4 commits intomasterfrom
usePlayerConnectedMissionEvent
Apr 22, 2016
Merged

use mission event for PlayerConnected#306
Killswitch00 merged 4 commits intomasterfrom
usePlayerConnectedMissionEvent

Conversation

@commy2
Copy link
Copy Markdown
Contributor

@commy2 commy2 commented Apr 1, 2016

this replaces all onPlayerConnected stacked events with PlayerConnected mission events. it has the benefit that no mission or addon using a delayed onPlayerConnected <CODE> (SQF command) can overwrite our events.
WIP tag, because there currently is a bug, where the PlayerConnected mission event does not fire when onPlayerConnected <CODE> hasn't been used at least once. this is fixed according to the todays changelog, but the bug seems to be still present in the RC version uploaded to Steam.
I'll test if they fixed that next week.
backwards compatible with 1.54 / Linux, using the same method as in the EachFrame PR

@commy2 commy2 added this to the 2.3.2 milestone Apr 1, 2016
@commy2
Copy link
Copy Markdown
Contributor Author

commy2 commented Apr 1, 2016

@nicolasbadano
Copy link
Copy Markdown
Contributor

This is missing the WIP label

@jokoho48 jokoho48 added the WIP label Apr 1, 2016
@commy2
Copy link
Copy Markdown
Contributor Author

commy2 commented Apr 21, 2016

PlayerConnected is still broken. I could add a work around that could be easily removed should they ever fix it.

@commy2 commy2 changed the title [WIP] use mission event for PlayerConnected use mission event for PlayerConnected Apr 21, 2016
@commy2 commy2 removed the WIP label Apr 21, 2016
@commy2
Copy link
Copy Markdown
Contributor Author

commy2 commented Apr 21, 2016

could be merged now. maybe we can remove that band aid ... eventually

@Killswitch00 Killswitch00 merged commit 62f7ee3 into master Apr 22, 2016
@thojkooi thojkooi deleted the usePlayerConnectedMissionEvent branch April 25, 2016 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants