LordSoth01
New member
This is interesting on two points.Hello everyone. First of all, thank you to all the creators and those who work for the mods, you are fantastic.
I don't normally write on forums and I don't know if this is the right place, but I'm starting to get desperate.
I've been playing with my girlfriend for a month and two days ago we decided to install mods, including NPC and 0SCore. Since we installed these mods in my game (I am the creator of the server we play on) I keep getting the command window with the following messages:
2025-02-09T19:33:45 186.956 ERR GetBool: InvalidCastException FavoriteServersList
2025-02-09T19:33:45 186.957 EXC Specified cast is not valid.
at GamePrefs.GetBool (EnumGamePrefs _eProperty) [0x0000a] in <e8e43063270440388d2e6b7642da1a62>:0
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
GamePrefs:GetBool(EnumGamePrefs)
EntityZombieFlyingSDX:flockTasks() (at C:\Builds\7DaysToDie\Mods\0-SCore\Scripts\Entities\EntityZombieFlyingSDX.cs:708)
EntityZombieFlyingSDX:updateTasks() (at C:\Builds\7DaysToDie\Mods\0-SCore\Scripts\Entities\EntityZombieFlyingSDX.cs:344)
EntityAliveMD<System.Void EntityAlive:OnUpdateLive()>(EntityAlive)
MonoMod.Utils.DynamicMethodDefinition:SyncProxy<System.Void EntityAlive:OnUpdateLive()>(EntityAlive)
I've been searching the internet for a solution but can't find anything...
I hope you can help me. The truth is that I don't understand anything about mods and until having installed these two mods we haven't had any problems. I have also tried to create another world and it won't let me.
The first I notice is your "ERR GetBool: InvalidCastException FavoriteServersList" - Something that pulls from that info... do you have a server mod or one that pulls info from something like that, for instance one of the zombie/mob naming mods that uses names from supporters and people on their servers?
The second may have something similar to mine... Seems an issue with "Entities\EntityZombieFlyingSDX." and I'm having something weird with my flying entities.
Mine may be a bit different but may have underlying origins... as any mods with flying entities usually uses NPCcore's
<entity_class name="animalTemplateHostileFlying" extends="animalZombieVulture">
and the games vanilla template
<entity_class name="animalZombieVulture" extends="animalTemplateHostile">
Lately, mods using NPCcore's template gives me the mesh model of the mob AND.... a vulture flying center and below it at the same time. It's like its reading the files and following the chain like normal, but when it gets to the prefabs, it adds both instead of the latest.
My current workaround is to edit the entityclasses.xml of the problem creatures and input the game's vanilla "animalZombieVulture" template and just change the name, then direct the problem entities to use that template in the "extends="newNameHere" section. Seems to be working so far but a pain with a lot of creature mod packs.
I havent tried the "set" option for prefabs at the end of an entity class yet, but it could work, if it overrides whatever is keeping the vulture prefab being added too.
If it is a current problem with the "flying entities" in Score or NPCcore, hopefully it will get resolved soon. Only noticed it pop up in the last couple of weeks.