Jump to content

[41.77.4][MP][Dedicated] Found A Way To Trigger A World Dictionary Error


UdderlyEvelyn

Recommended Posts

Found a way to trigger a world dictionary error, this should be the reproduction steps:

- Install a mod that adds an item.
- Override that item in another mod that changes a few stats on it.
- Copy that mod to a new mod ID, and try to load the world with the new mod ID instead of the old one (or I suppose just change the mod ID of the original copy).

 

This was in testing for me on a local dedicated server, so not a huge issue, but this could ruin someone's day/save sometime. For me, today, I'll just make a new world on the test server, though.

 

LOG  : General     , 1665190404351> 0> WorldDictionary: Checking dictionary...
LOG  : General     , 1665190404370> 0> === Dictionary Item Debug Print ===
registryID = 5482,
fulltype = "Dislaik.UpperLegs_LegBag",
modID = "UdderlyRPTesting",
existsAsVanilla = false,
isModded = true,
obsolete = false,
removed = false,
isModdedOverride = 0,
===================================

ERROR: General     , 1665190404370> 0> java.lang.RuntimeException: Cannot override modID. ModID=UdderlyRPTesting
ERROR: General     , 1665190404371> 0>     at zombie.scripting.objects.Item.setModID(Item.java:3357)
ERROR: General     , 1665190404371> 0>     at zombie.world.DictionaryDataClient.parseCurrentItemSet(DictionaryDataClient.java:37)
ERROR: General     , 1665190404371> 0>     at zombie.world.WorldDictionary.init(WorldDictionary.java:213)
ERROR: General     , 1665190404371> 0>     at zombie.iso.IsoWorld.init(IsoWorld.java:2430)
ERROR: General     , 1665190404371> 0>     at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:268)
ERROR: General     , 1665190404371> 0>     at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:225)
ERROR: General     , 1665190404371> 0>     at java.base/java.lang.Thread.run(Unknown Source)
LOG  : General     , 1665190404371> 0> WorldDictionary: Warning: error occurred loading dictionary!
ERROR: General     , 1665190404372> 0> ExceptionLogger.logException> Exception thrown zombie.world.WorldDictionaryException: WorldDictionary: Cannot load world due to WorldDictionary error. at WorldDictionary.init line:255.
ERROR: General     , 1665190404372> 0> DebugLogStream.printException> Stack trace:
zombie.world.WorldDictionaryException: WorldDictionary: Cannot load world due to WorldDictionary error.
    at zombie.world.WorldDictionary.init(WorldDictionary.java:255)
    at zombie.iso.IsoWorld.init(IsoWorld.java:2430)
    at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:268)
    at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:225)
    at java.base/java.lang.Thread.run(Unknown Source)

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...