Project Zomboid

Project Zomboid

True Crouching
This topic has been locked
LemonGarbage 26 Apr, 2023 @ 11:01am
Error on Server Startup
After adding this mod to the server, it crashes citing an error:

ERROR: General , 1682531930263> 1,027,107,604> DebugLogStream.printException> Stack trace: zombie.util.PZXmlParserException: Exception thrown while parsing XML file "steamapps/workshop/content/108600/2966176354/mods/TrueCrouching/media/AnimSets/player/idle/sneakIdle.xml" Caused by: java.io.FileNotFoundException: steamapps/workshop/content/108600/2966176354/mods/TrueCrouching/media/AnimSets/player/idle/sneakIdle.xml (No such file or directory) at zombie.util.PZXmlUtil.parseXml(PZXmlUtil.java:51) at zombie.util.PZXmlUtil.parseXml(PZXmlUtil.java:72) at zombie.util.PZXmlUtil.parse(PZXmlUtil.java:536) at zombie.core.skinnedmodel.advancedanimation.AnimNode.Parse(AnimNode.java:95) at zombie.core.skinnedmodel.advancedanimation.AnimNodeAssetManager.startLoading(AnimNodeAssetManager.java:16) at zombie.asset.AssetManager.doLoad(AssetManager.java:179) at zombie.asset.AssetManager.load(AssetManager.java:94) at zombie.asset.AssetManager.load(AssetManager.java:74) at zombie.core.skinnedmodel.advancedanimation.AnimState.Parse(AnimState.java:119) at zombie.core.skinnedmodel.advancedanimation.AnimationSet.Load(AnimationSet.java:78) at zombie.core.skinnedmodel.advancedanimation.AnimationSet.GetAnimationSet(AnimationSet.java:31) at zombie.Lua.LuaManager$GlobalObject.refreshAnimSets(LuaManager.java:3725) at zombie.network.GameServer.main(GameServer.java:776) Caused by: java.io.FileNotFoundException: steamapps/workshop/content/108600/2966176354/mods/TrueCrouching/media/AnimSets/player/idle/sneakIdle.xml (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(Unknown Source)
at java.base/java.io.FileInputStream.<init>(Unknown Source)
at java.base/java.io.FileInputStream.<init>(Unknown Source)
at zombie.util.PZXmlUtil.parseXmlInternal(PZXmlUtil.java:417)
at zombie.util.PZXmlUtil.parseXml(PZXmlUtil.java:47)
... 12 more
< >
Showing 1-15 of 15 comments
BOBcat  [developer] 26 Apr, 2023 @ 11:46am 
While I have no knowledge regarding the multiplayer aspect of the game, the error is clear: the game cannot find the file "sneakIdle.xml".

Since two different people reported that the mod works in multiplayer and the error is a simple "file not found", what I can suggest is that you can unsubscribe, give it a minute and resubscribe.

But there is also a possibility that a different mod is overwriting "sneakIdle.xml" and maybe preventing my mod from accessing that file. If that's the case, try moving my mod to the bottom of your mod list, though I'm not sure that'll work.

I hope these will help and you can solve the problem.
BabaYaga 2 May, 2023 @ 3:18pm 
hello. same error here too, its on the bottom of the modlist aswell. this is on deticated server.
BOBcat  [developer] 2 May, 2023 @ 11:39pm 
I can't help with the multiplayer stuff, sorry. Maybe others can chime in on this.
@CokeHyena, did you figure out what the problem was?
LemonGarbage 26 May, 2023 @ 11:19am 
No but the server and the mod run just fine. So I'm taking no action. Thanks for your help.
Last edited by LemonGarbage; 26 May, 2023 @ 11:19am
FryBabyGames 6 Jul, 2023 @ 6:15pm 
Originally posted by B O B c a t:
But there is also a possibility that a different mod is overwriting "sneakIdle.xml" and maybe preventing my mod from accessing that file. If that's the case, try moving my mod to the bottom of your mod list, though I'm not sure that'll work.

I did notice in my logs that it gives multiple mods that are also attempting to access "sneakIdle.xml" so this may very well be the case.
Pandora 17 Jul, 2023 @ 3:43am 
It seems to be an issue with case-sensitive systems such as linux.

It's looking for "sneakIdle.xml" (uppercase "i") but the file is named with a lowercase "i" "sneakidle.xml".

So it indeed seems to be an issue with the mod itself.
Renaming the file works fine until there's an update of True Crouching.
Last edited by Pandora; 17 Jul, 2023 @ 3:44am
BOBcat  [developer] 17 Jul, 2023 @ 10:52am 
Originally posted by Pandora:
It seems to be an issue with case-sensitive systems such as linux.

It's looking for "sneakIdle.xml" (uppercase "i") but the file is named with a lowercase "i" "sneakidle.xml".

So it indeed seems to be an issue with the mod itself.
Renaming the file works fine until there's an update of True Crouching.

That's strange. I always pay attention to case-sensitivity.

That file is named that way on purpose. Because the original file is named "sneakidle.xml" at
"\\ProjectZomboid\media\AnimSets\player\idle".
I was staying loyal to the game's naming conventions in order not to break stuff.

I am going to need more input on this before I update the mod.
Pandora 18 Jul, 2023 @ 7:22am 
The error is:

java.io.FileNotFoundException: steamapps/workshop/content/108600/2966176354/mods/TrueCrouching/media/AnimSets/player/idle/sneakidle.xml (No such file or directory) at PZXmlUtil.parseXml line:51.

The file is named sneakIdle.xml

The error only pops up when you start the server

The file seems to get renamed at some point to the uppercase "i" variant again.
Pandora 18 Jul, 2023 @ 7:23am 
I am just seeing, the error of the one who created this post had a different error message with an uppercase "i". That's very odd.
Pandora 18 Jul, 2023 @ 7:26am 
The xml files are containing "<animNode x_extends="sneakidle.xml">"

The file is named with an uppercase "i", that's another error it throws me:
ERROR: General , 1689689617779> 40,001,702> AnimNode.Parse threw an exception reading file: /home/sid_5304124/ZomboidB41/steamapps/workshop/content/108600/2966176354/mods/TrueCrouching/media/AnimSets/player/idle/sneakidleHandgun.xml
ERROR: General , 1689689617779> 40,001,703> ExceptionLogger.logException> Exception thrown zombie.util.PZXmlParserException: Exception thrown while parsing XML file "steamapps/workshop/content/108600/2966176354/mods/TrueCrouching/media/AnimSets/player/idle/sneakidle.xml"

And so on.
Firestorm 22 Jul, 2023 @ 6:33am 
It is also happening on my end as well. I just added this mod onto my server and the server is just not working. I had similar problems too with an other gun mod as well which led me to uninstall it until then.
Last edited by Firestorm; 22 Jul, 2023 @ 6:34am
Pandora 22 Jul, 2023 @ 4:18pm 
Originally posted by Firestorm:
It is also happening on my end as well. I just added this mod onto my server and the server is just not working. I had similar problems too with an other gun mod as well which led me to uninstall it until then.


That’s something completely different. The server should start fine with this issue. All it is, is a case sensitive mistake.
Firestorm 23 Jul, 2023 @ 3:05pm 
Originally posted by Pandora:
Originally posted by Firestorm:
It is also happening on my end as well. I just added this mod onto my server and the server is just not working. I had similar problems too with an other gun mod as well which led me to uninstall it until then.


That’s something completely different. The server should start fine with this issue. All it is, is a case sensitive mistake.

Well this is on my end and I do know the problem (since I did have the same issue with one of the mods which was case sensitive). This mod doesn't work with linux servers as it will bump into case sensitive issues.
Pandora 24 Jul, 2023 @ 5:02am 
Originally posted by Firestorm:

This mod doesn't work with linux servers as it will bump into case sensitive issues.

It works fine on my end but throws those errors every now and then. If your server isn't even starting or doesn't work at all then it's not this mod but something else. You can edit the XML files and check for yourself if it's starting or not.
BOBcat  [developer] 5 Aug, 2023 @ 6:35am 
Updated the mod.
Someone please confirm if this case-sensitivity issue is resolved.
Last edited by BOBcat; 5 Aug, 2023 @ 6:37am
< >
Showing 1-15 of 15 comments
Per page: 1530 50