DayZ-CommunityFramework icon indicating copy to clipboard operation
DayZ-CommunityFramework copied to clipboard

Use a different approach to check entity for modstorage

Open lava76 opened this issue 2 years ago • 3 comments

Only needs to keep track of players. See comments in CF_ModStorageModule.c near the top.

lava76 avatar Apr 04 '22 19:04 lava76

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.

lava76 avatar Apr 04 '22 19:04 lava76

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.

lava76 avatar Apr 05 '22 18:04 lava76

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

lava76 avatar Apr 22 '22 12:04 lava76