Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use mission event for PlayerConnected #306

Merged
merged 4 commits into from
Apr 22, 2016

Conversation

commy2
Copy link
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
Contributor Author

commy2 commented Apr 1, 2016

@nicolasbadano
Copy link
Contributor

This is missing the WIP label

@jokoho48 jokoho48 added the WIP label Apr 1, 2016
@commy2
Copy link
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
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.

None yet

4 participants