Jump to content

My map keep crashing the game


I_ALT_I

Recommended Posts

My map is crashing the game because it tries to find map files in the root folder of the game (common\ProjectZomboid\media\maps). If you drop my mod into this folder, then everything works. But this way the map does not work in the Steam Workshop. My map is stand alone.



LOG  : General     , 1621920180460> Looking in these map folders:
LOG  : General     , 1621920180461>     D:\SteamLibrary\steamapps\common\ProjectZomboid\media\maps\Dolgoprudny
LOG  : General     , 1621920180461> <End of map-folders list>
ERROR: General     , 1621920180461> java.lang.IllegalStateException: Failed to find any .lotheader files
ERROR: General     , 1621920180462>     at zombie.iso.IsoMetaGrid.CreateStep1(IsoMetaGrid.java:1167)
ERROR: General     , 1621920180462>     at zombie.iso.IsoWorld.init(IsoWorld.java:2073)
ERROR: General     , 1621920180462>     at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:248)
ERROR: General     , 1621920180462>     at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:207)
ERROR: General     , 1621920180463>     at java.lang.Thread.run(Thread.java:745)
LOG  : General     , 1621920180477> LuaEventManager: adding unknown event "OnPreUIDraw"
LOG  : General     , 1621920180477> LuaEventManager: adding unknown event "OnPostUIDraw"
LOG  : General     , 1621920186440> EXITDEBUG: Core.quit 1
LOG  : General     , 1621920186441> EXITDEBUG: Core.quit 3
LOG  : General     , 1621920186441> 1621920186441 znet: Java_zombie_core_znet_SteamUtils_n_1Shutdown
LOG  : General     , 1621920186444> EXITDEBUG: Core.quit 4

Link to comment
Share on other sites

  • 4 weeks later...

4-th row -  "Failed to find any .lotheader files"

Game can't generate the map without lotheader files. 
Just trying to recompile your map and be sure what your new lotheader files and another will change your old lotheader files and another in your mod directory like C:/users/NAMEPC/Zomboid/mods/....... 

In WorldEd you should be generate output files :

"File" => "Generate Lots" => "All cells" or "Selected cells"

Be sure what you set right path to your mod directory.

 

More information you can find here ( :excl: Step 4 :excl:):

 

Edited by Nazarito22
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...