Has this been fixed in 1.10 Experimental yet? I know the default variable bug was fixed, but wasn't sure if this was. This issue seems to pop up randomly, I've been running the following mods for a while, and during server restarts, this error will sometimes popup and cause the server to freeze, but if I restart it 5-6 times then it will start normally. This happens even though there were no updates to any of the mods or the game itself, so I don't get it.
- Queries
- Arma 3 Activity
- All Stories
- Search
- Advanced Search
Advanced Search
Nov 12 2020
Nov 4 2020
In T149789#2117378, @Geez wrote:Hello everyone.
The issue with Can't find variable 'DEFAULT' has been fixed internally and will be fixed on Steam in one of the upcoming updates.
Regards,
Geez
Oct 8 2020
In T149789#2112717, @zysen wrote:Hello All.
There appears to be a limit of 2140 defined classes in the modding interface.Using the following script and nodejs i generate a c file with 2140 empty classes.
If i build a mod with this inside and run the server with no other mods i get the dreaded "scripts/4_World/classes\useractionscomponent\actiontargets.c(726): Can't find variable 'DEFAULT'"
If i remove a single class, it works just fine.const MAX_CLASSES = 2140; const fs = require('fs'); fs.writeFileSync("output.c", ""); for(let i=1;i<=MAX_CLASSES;i++){ fs.appendFileSync("output.c", "class some"+i+"class {}\n"); }
In T149789#2111318, @Rlyeh wrote:@AWG ... yeah I know... it's not a 100% fix of the CCTObject-Error... but it works for my Server for the most of our Mods we had before 1.09... just before I found the "fix", we droped down to 19 Mods... 2 Vehicle-Mods were left...
and now? We are BACK to about 90% of our Mods/Scriptsfor PsychoDayZ:
did you tried the "PsychoDayZ Vehicle Expansion 1.09 FIXED"-Mod?
https://steamcommunity.com/sharedfiles/filedetails/?id=2231173248&searchtext=psychodayzthere are also some other Mods the fix doesn't work with... like DRUGSPLUS... some crafting-recepts...
there is also a bug that there is no error message, but the server doesn't start...
stop/freez at "Exporting inputs cfg "profiles\Users\Survivor\Server.core.xml"I will still trying to fix the Problem 100%... but for now... it's working more or less :P
Sep 23 2020
@Rlyeh your mod fixed the issue for me for a couple mods, but then when I tried to add back in others (like PsychoDayZ Vehicles), the same error started coming up again. Still, this is progress. Thanks for your help!
In T149789#2110095, @Rlyeh wrote:
Sep 14 2020
@Rlyeh that link doesnt work for me, could you please share how you fixed the CCTObject.c DEFAULT error? Thank you for the response!
Sep 9 2020
After 1.09 update, a new error similar to this one is breaking a lot of mods.
Jul 14 2020
Thank you @komer , That seems like good info. I am still loading OP_BaseItems and other mods, and resolved the error another way. Recently this same error popped up again after a recent mod updated, and removing CodeLock fixed the issue. I did not want to remove CodeLock so I tested removing other mods, and strangely enough, removing the KillFeed mod actually resolved it, and I was able to keep OP_BaseItems and CodeLock, and BBP loaded.
Jul 5 2020
I had this exact same error when trying to load the following mods together. Adding the BaseBuildingPlus mod seemed to cause it, soon as I removed that mod, it went away. Others report this mod working with DayZ Expansion and other mods, but I can't seem to get it working with this mod combination. I know it's caused by some combo of mods, but figured I'd report here since it's the exact same error.