DayZ-CommunityFramework
DayZ-CommunityFramework copied to clipboard
Use a different approach to check entity for modstorage
Only needs to keep track of players. See comments in CF_ModStorageModule.c near the top.
Important note: The wipefile version has been bumped to 129 (1.17 Experimental). If you are on 1.17 Exp and have existing storage, just add an empty modstorageplayers.bin
to your storage_<x>/communityframework
folder before starting the server with modstorage for the 1st time and it'll work fine.
Turns out identity is NULL at a point where I'm checking it, this went unnoticed because it doesn't seem to cause any readily visible problems. I'll try and come up with a fix for this later.
Just as a heads-up, this version of ModStorage is used by Expansion since the 14th by duplicating some of the bits to make it work until CF catches up