-
Notifications
You must be signed in to change notification settings - Fork 150
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
Workaround for settings size limitation #959
Conversation
how about |
Exactly what he linked I assume. |
🤦♂️ Too hot outside. |
allow sound mods and other small client side mods and you have so much in ace_common_checkPBOsWhitelist. and good idea with joinString. will do |
addons/settings/fnc_parse.sqf
Outdated
@@ -27,7 +27,7 @@ private _fnc_parseAny = { | |||
_string = _string splitString WHITESPACE joinString ""; | |||
}; | |||
|
|||
parseSimpleArray format ["[%1]", _string] select 0 | |||
parseSimpleArray (["[", _string, "]"] joinString "") select 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left out the semi colon to indicate the scope's return value.
this PR is a workaround that fixes an issue that settings could only be 8kb long due to the use of format.
example: https://gist.github.com/neilzar/cdf4fa7a06d43560df64eea36c2cffb5
parse throws the error