Project Zomboid

Project Zomboid

True Crouching
此主题已被锁定
CokeHyena 2023 年 4 月 26 日 上午 11:01
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
< >
正在显示第 1 - 15 条,共 15 条留言
BOBcat  [开发者] 2023 年 4 月 26 日 上午 11:46 
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.
Berserker 2023 年 5 月 2 日 下午 3:18 
hello. same error here too, its on the bottom of the modlist aswell. this is on deticated server.
BOBcat  [开发者] 2023 年 5 月 2 日 下午 11:39 
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?
CokeHyena 2023 年 5 月 26 日 上午 11:19 
No but the server and the mod run just fine. So I'm taking no action. Thanks for your help.
最后由 CokeHyena 编辑于; 2023 年 5 月 26 日 上午 11:19
FryBabyGames 2023 年 7 月 6 日 下午 6:15 
引用自 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 2023 年 7 月 17 日 上午 3:43 
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.
最后由 Pandora 编辑于; 2023 年 7 月 17 日 上午 3:44
BOBcat  [开发者] 2023 年 7 月 17 日 上午 10:52 
引用自 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 2023 年 7 月 18 日 上午 7:22 
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 2023 年 7 月 18 日 上午 7:23 
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 2023 年 7 月 18 日 上午 7:26 
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 2023 年 7 月 22 日 上午 6:33 
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.
最后由 Firestorm 编辑于; 2023 年 7 月 22 日 上午 6:34
Pandora 2023 年 7 月 22 日 下午 4:18 
引用自 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 2023 年 7 月 23 日 下午 3:05 
引用自 Pandora
引用自 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 2023 年 7 月 24 日 上午 5:02 
引用自 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  [开发者] 2023 年 8 月 5 日 上午 6:35 
Updated the mod.
Someone please confirm if this case-sensitivity issue is resolved.
最后由 BOBcat 编辑于; 2023 年 8 月 5 日 上午 6:37
< >
正在显示第 1 - 15 条,共 15 条留言
每页显示数: 1530 50