Arkensor / DayZCommunityOfflineMode

A community made offline mod for DayZ Standalone
Other
352 stars 194 forks source link

Init.c Compile Error #342

Closed Malnourshied closed 1 year ago

Malnourshied commented 1 year ago

When compiling objects through the init.c I hit an apparent limit, exactly how many objects can be effectively loaded without hitting this limit? Screenshot_2022-08-22_12-55-58

Okay, so this has evolved into an issue. I went down to 179 objects and I'm fairly certain it can handle more than that, I'm beginning to think it's a particular object that's causing the compile error..

Malnourshied commented 1 year ago

Okay so I'm an idiot.

Apparently the Dayz Editor was adding an invalid parameter at the end of object entry, like this:

SpawnObject("Ammo_FlareRed", "13478.700195 53.129299 6156.080078", "8.499996 0.000000 0.000000", 1);

It's the " , 1 " That's the problem, removing it from the end of the object allows it to be compiled normally.

SpawnObject("Ammo_FlareRed", "13478.700195 53.129299 6156.080078", "8.499996 0.000000 0.000000");

Works as intended, Apologies.