T-Titenic? Posted October 20, 2019 Share Posted October 20, 2019 (edited) So I've done everything so far to create a custom Map. Now I'm at the last step and trying to playtest my map, but my custom map won't show up as soon as I go in-game and try to select it. I've followed this tutorial https://www.youtube.com/watch?time_continue=668&v=J7PCA2vFQt0 up to end and am now stuck at trying to play test my map. (53:19) I can see it when I want to activate/deactivate the map but not when I want to select it. The map/mod itself is activated. I've attached an image of the folder if that is what is causing the problem. Any help would be nice Edited November 3, 2019 by T-Titenic? Link to comment Share on other sites More sharing options...
RingoD123 Posted October 20, 2019 Share Posted October 20, 2019 The mod.info file that is in the folder with your lotheader, bin etc should actually be map.info. comprehensive guide can be found here: https://theindiestone.com/forums/index.php?/topic/21951-the-one-stop-tilezed-mapping-shop/ T-Titenic? 1 Link to comment Share on other sites More sharing options...
T-Titenic? Posted October 26, 2019 Author Share Posted October 26, 2019 (edited) On 10/20/2019 at 4:53 PM, RingoD123 said: The mod.info file that is in the folder with your lotheader, bin etc should actually be map.info. comprehensive guide can be found here: https://theindiestone.com/forums/index.php?/topic/21951-the-one-stop-tilezed-mapping-shop/ Thanks for the fast reply ! Now I can actually see my map ingame but I'm met with an error. I've tried to correct it with the same video posted above as it had a short moment of debugging , but I can't seem to find the problem. SCHWERWIEGEND: Error found in LUA file: C:\Users\cute\Zomboid\mods\Tweed2\media\maps\Tweed2\spawnpoints.lua ERROR: General, 1572111247105> ExceptionLogger.logException> Exception thrown se.krka.kahlua.vm.KahluaException: C:\Users\cute\Zomboid\mods\Tweed2\media\maps\Tweed2\spawnpoints.lua:2: '=' expected near `function` at LexState.lexerror line:279. ERROR: General, 1572111247112> DebugLogStream.printException> Stack trace: se.krka.kahlua.vm.KahluaException: C:\Users\cute\Zomboid\mods\Tweed2\media\maps\Tweed2\spawnpoints.lua:2: '=' expected near `function` at org.luaj.kahluafork.compiler.LexState.lexerror(LexState.java:279) at org.luaj.kahluafork.compiler.LexState.syntaxerror(LexState.java:290) at org.luaj.kahluafork.compiler.LexState.error_expected(LexState.java:684) at org.luaj.kahluafork.compiler.LexState.check(LexState.java:697) at org.luaj.kahluafork.compiler.LexState.checknext(LexState.java:701) at org.luaj.kahluafork.compiler.LexState.assignment(LexState.java:1403) at org.luaj.kahluafork.compiler.LexState.exprstat(LexState.java:1697) at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1780) at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1791) at org.luaj.kahluafork.compiler.LexState.compile(LexState.java:199) at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:132) at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:124) at zombie.Lua.LuaManager.RunLua(LuaManager.java:453) at zombie.Lua.LuaManager$GlobalObject.reloadLuaFile(LuaManager.java:1711) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:61) at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198) at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:188) at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:186) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1006) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1942) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1744) at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76) at zombie.ui.UIElement.onMouseUp(UIElement.java:1137) at zombie.ui.UIElement.onMouseUp(UIElement.java:1091) at zombie.ui.UIElement.onMouseUp(UIElement.java:1091) at zombie.ui.UIManager.update(UIManager.java:767) at zombie.GameWindow.logic(GameWindow.java:234) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:60) at zombie.GameWindow.frameStep(GameWindow.java:671) at zombie.GameWindow.run_ez(GameWindow.java:592) at zombie.GameWindow.mainThread(GameWindow.java:460) at java.lang.Thread.run(Thread.java:745) ERROR: General, 1572111247131> java.lang.RuntimeException: Tried to call nil ERROR: General, 1572111247136> at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:83) ERROR: General, 1572111247141> at se.krka.kahlua.vm.KahluaUtil.luaAssert(KahluaUtil.java:71) ERROR: General, 1572111247145> at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1054) ERROR: General, 1572111247149> at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167) ERROR: General, 1572111247154> at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1942) ERROR: General, 1572111247159> at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1744) ERROR: General, 1572111247163> at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76) ERROR: General, 1572111247167> at zombie.ui.UIElement.onMouseUp(UIElement.java:1137) ERROR: General, 1572111247171> at zombie.ui.UIElement.onMouseUp(UIElement.java:1091) ERROR: General, 1572111247175> at zombie.ui.UIElement.onMouseUp(UIElement.java:1091) ERROR: General, 1572111247179> at zombie.ui.UIManager.update(UIManager.java:767) ERROR: General, 1572111247183> at zombie.GameWindow.logic(GameWindow.java:234) ERROR: General, 1572111247188> at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:60) ERROR: General, 1572111247193> at zombie.GameWindow.frameStep(GameWindow.java:671) ERROR: General, 1572111247198> at zombie.GameWindow.run_ez(GameWindow.java:592) ERROR: General, 1572111247202> at zombie.GameWindow.mainThread(GameWindow.java:460) ERROR: General, 1572111247206> at java.lang.Thread.run(Thread.java:745) LOG : General, 1572111247210> LOG : General, 1572111247214> ----------------------------------------- LOG : General, 1572111247219> STACK TRACE LOG : General, 1572111247224> ----------------------------------------- LOG : General, 1572111247228> function: loadSpawnPointsFile -- file: SpawnRegions.lua line # 23 LOG : General, 1572111247233> function: loadSpawnRegions -- file: SpawnRegions.lua line # 50 LOG : General, 1572111247237> function: getSpawnRegions -- file: SpawnRegions.lua line # 92 LOG : General, 1572111247242> function: getSpawnRegions -- file: MapSpawnSelect.lua line # 74 LOG : General, 1572111247246> function: fillList -- file: MapSpawnSelect.lua line # 92 LOG : General, 1572111247251> function: clickPlay -- file: NewGameScreen.lua line # 742 LOG : General, 1572111247256> function: onOptionMouseDown -- file: NewGameScreen.lua line # 637 LOG : General, 1572111247261> function: onMouseUp -- file: ISButton.lua line # 55 ERROR: General, 1572111247266> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: at KahluaUtil.fail line:83. ERROR: General, 1572111247271> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:83) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1064) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1942) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1744) at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76) at zombie.ui.UIElement.onMouseUp(UIElement.java:1137) at zombie.ui.UIElement.onMouseUp(UIElement.java:1091) at zombie.ui.UIElement.onMouseUp(UIElement.java:1091) at zombie.ui.UIManager.update(UIManager.java:767) at zombie.GameWindow.logic(GameWindow.java:234) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:60) at zombie.GameWindow.frameStep(GameWindow.java:671) at zombie.GameWindow.run_ez(GameWindow.java:592) at zombie.GameWindow.mainThread(GameWindow.java:460) at java.lang.Thread.run(Thread.java:745) LOG : General, 1572111247282> LOG : General, 1572111247288> ----------------------------------------- LOG : General, 1572111247293> STACK TRACE LOG : General, 1572111247298> ----------------------------------------- LOG : General, 1572111247303> function: loadSpawnPointsFile -- file: SpawnRegions.lua line # 23 LOG : General, 1572111247308> function: loadSpawnRegions -- file: SpawnRegions.lua line # 50 LOG : General, 1572111247312> function: getSpawnRegions -- file: SpawnRegions.lua line # 92 LOG : General, 1572111247317> function: getSpawnRegions -- file: MapSpawnSelect.lua line # 74 LOG : General, 1572111247322> function: fillList -- file: MapSpawnSelect.lua line # 92 LOG : General, 1572111247327> function: clickPlay -- file: NewGameScreen.lua line # 742 LOG : General, 1572111247332> function: onOptionMouseDown -- file: NewGameScreen.lua line # 637 LOG : General, 1572111247336> function: onMouseUp -- file: ISButton.lua line # 55 LOG : General, 1572111253783> 1572111253783 znet: Java_zombie_core_znet_SteamUtils_n_1Shutdown LOG : General, 1572111253820> GameThread exited. I've checked my spawnpoints.lua file but it doesn't appear to have any problems. Edited October 26, 2019 by T-Titenic? Link to comment Share on other sites More sharing options...
throttlekitty Posted October 28, 2019 Share Posted October 28, 2019 Try removing Spawnpoints.lua on line 1. T-Titenic? 1 Link to comment Share on other sites More sharing options...
Arsenal26 Posted October 29, 2019 Share Posted October 29, 2019 On 10/26/2019 at 9:42 AM, T-Titenic? said: Not sure if it makes a difference or not, but comparing to the spawnpoints.lua on my custom map, I do not have commas at the end as you do in lines (6,10,14,18,22,26) unless there are multiple spawn point coordinates under that occupation... And in that instance there is no comma after the last set of coords in that group... Also, I don't have a comma after the last occupation as you have in line 27... T-Titenic? 1 Link to comment Share on other sites More sharing options...
T-Titenic? Posted October 30, 2019 Author Share Posted October 30, 2019 (edited) On 10/28/2019 at 4:32 AM, throttlekitty said: Try removing Spawnpoints.lua on line 1. On 10/29/2019 at 6:18 AM, Arsenal26 said: Not sure if it makes a difference or not, but comparing to the spawnpoints.lua on my custom map, I do not have commas at the end as you do in lines (6,10,14,18,22,26) unless there are multiple spawn point coordinates under that occupation... And in that instance there is no comma after the last set of coords in that group... Also, I don't have a comma after the last occupation as you have in line 27... That actually worked ! Thank you very much ❤️ But now I got the problem that the map seems to be connected to the official map, eventhough the mod.info doesn't have the line "lots=Muldraugh" in it. Anyway to make it a standalone map ? Edited October 30, 2019 by T-Titenic? Link to comment Share on other sites More sharing options...
throttlekitty Posted October 31, 2019 Share Posted October 31, 2019 (edited) I think the line "lots=Kentucky" is what ties yours into the main world, not "Muldraugh". But anyway, my standalone has "lots=testMap1" and I think that's the only thing. Edited October 31, 2019 by throttlekitty T-Titenic? 1 Link to comment Share on other sites More sharing options...
T-Titenic? Posted November 1, 2019 Author Share Posted November 1, 2019 10 hours ago, throttlekitty said: I think the line "lots=Kentucky" is what ties yours into the main world, not "Muldraugh". But anyway, my standalone has "lots=testMap1" and I think that's the only thing. Thanks That made it work ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now