• CreateConVar Server Side Saving State
    6 replies, posted
What's the best way to save Server Side convars on the server? I mean to carry values from shutdown/changelevel. I'm using this flags atm: {FCVAR_LUA_SERVER, FCVAR_REPLICATED} Is FCVAR_ARCHIVE flag the best option? I have +70 Server side convars Thanks in Advance!
I'm still having a problem tho, when I change the convar server-side it doesn't update the client replication, any idea why? Should I update it "manually" on the client?
Nop still the same issue. Also the server.vdf only updates after a mapchange is that normal? I'm creating the ConVar's on a Shared file, so it's created both on the client and server.
Actually I was wrong (sorry for that did a bit more testing) When I "SetVarType()" it doesn't update on the client The client saves this vars on client.vdf and shows those values instead of reading them from the server. Should I network the values from the server to the client and delete the "FCVAR_REPLICATED" flag? This is all pretty weird
Sorry, you need to Log In to post a reply to this thread.