Closed ZenBre4ker closed 2 years ago
Ulx should work
Ulx crashes the server
Ulx uses a number instead of a string for the default_value. https://github.com/TeamUlysses/ulx/blob/master/lua/ulx/xgui/server/sv_settings.lua#L16-L22
Also please do a fail-safe inside ULib as many older addons just like Ulx itself proves here, are using actual values instead of strings for this function. Since the rework with the net-library the error occurs: https://github.com/TeamUlysses/ulib/commit/09c4e751a1deaec6202c7c5c23a8b11205720956#diff-dbb40aa172e92e98991fa2750b461bafed33dcc0bbe765cc2b40b32f159daa5cL196-R133
You could use this simple PR and just safely convert it to strings: https://github.com/TeamUlysses/ulib/pull/82
Also tried to argue it here, with an error of an addon causing the whole gamemode to fail: https://github.com/TeamUlysses/ulib/issues/81
ULib v2.70w ULX v3.73w
Is Fixable via https://github.com/TeamUlysses/ulib/pull/82
Fixed in ULib. https://github.com/TeamUlysses/ulib/pull/82
Steps to reproduce
Expected behavior
Ulx should work
Actual behavior
Ulx crashes the server
Ulx uses a number instead of a string for the default_value. https://github.com/TeamUlysses/ulx/blob/master/lua/ulx/xgui/server/sv_settings.lua#L16-L22
Also please do a fail-safe inside ULib as many older addons just like Ulx itself proves here, are using actual values instead of strings for this function. Since the rework with the net-library the error occurs: https://github.com/TeamUlysses/ulib/commit/09c4e751a1deaec6202c7c5c23a8b11205720956#diff-dbb40aa172e92e98991fa2750b461bafed33dcc0bbe765cc2b40b32f159daa5cL196-R133
You could use this simple PR and just safely convert it to strings: https://github.com/TeamUlysses/ulib/pull/82
Also tried to argue it here, with an error of an addon causing the whole gamemode to fail: https://github.com/TeamUlysses/ulib/issues/81
Version
ULib v2.70w ULX v3.73w