- Beta
- Anything but this specific issue
- Server crashes when either of these are called (potentially not limited to just these two.
SetResourceKvp(key, value)
-- or
GetResourceKvpString(key)
- Native/Server side
- Have any script try to Get a server KVP or set a server KVP and the whole server crashes. (check screenshot for crash information printed to console)
Windows-Artifacts versions 10188 and 10191 are the only two I’ve tested and found this issue with.
Here is an example
CreateThread(function()
local status = GetResourceKvpString('softmode')
if status == nil then
SetResourceKvp('softmode', 'Off')
print('set kvp string')
status = 'Off'
print('^3==============================================')
print('^3==============================================')
print('^2Grizzy softlist is ^1NOT ACTIVE.')
print('^5==============================================')
print('^2Currently, anyone may join.')
print('^5==============================================')
print('^6To toggle between Softlist and Public mode, please use /softmode [On/Off] in the server as an admin or "softmodeconsole [On/Off]" in the server console')
print('^3==============================================')
print('^3==============================================')
print('^7')
elseif status == 'On' then
WhiteListMessage = Config.Displays.Messages.MSG_NOT_WHITELISTED_SOFTLIST
TriggerEvent('grizzy:server:softloop')
end
TriggerEvent('grizzy:server:ToggleSoftListMode', status)
end)