-
Notifications
You must be signed in to change notification settings - Fork 738
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
CheckPBOs in ACE_Settings #1236
Conversation
This looks good. I will look at it in more detail later today. |
If the settings command to do so, the pbo checking code should be run after postInit without needing the module. |
I think that requires some restructuring if I understood what you mean (running check version without needed the module placed)? |
Yes. I think it's simply a matter of installing a "SettingsInitialized" even handler that runs the module code if the correct settings are set. That routine and the module should set some flag to avoid checking it twice if the module is present. |
I will have time to work on it tomorrow or Thursday. I don't particularly get @esteldunedain 's comment though, I have to dive into the code way more. 😁 |
@esteldunedain I am actually confused by your statement, |
It was merged today, so it should be gtg |
Yep yep, will work on it today or tomorrow. Thanks! |
…dded SettingsInitialized
Conflicts: addons/common/XEH_postInit.sqf
I did what @esteldunedain wanted or at least I think I did. I streamlined module settings loading and then calling the actual function from withing |
This is now always checking pbos, no? Script looks ok from that I can tell, just need someone to test this on a dedicated server with JIP, like @jonpas said. |
AFAIK it will now always check ACE3 PBOs but only display warnings, if Is it by default that when no module is present it doesn't check at all? TBH I'd prefer it always checks, it gets rid of a lot of wrong testing setups where players have different ACE3 versions installed. Code itself has to be cleaned up at some point as well though. |
Thank you @jonpas |
Thank you! |
#1123