Project Zomboid

Project Zomboid

Darker Map
Panopticon 3 Mar, 2023 @ 4:40pm
Bug Reports
Title
Last edited by Panopticon; 3 Mar, 2023 @ 4:41pm
< >
Showing 1-15 of 18 comments
Panopticon 3 Mar, 2023 @ 4:42pm 
The color resets back to normal when you read a map. Happens with vanilla & modded maps, so I believe the function of unveiling new areas is overwriting the changes of this mod.
Lightja  [developer] 12 Mar, 2023 @ 6:03pm 
Thanks for pointing this out Panopticon. The issue should be resolved now. let me know if you have any issues with it.
Panopticon 12 Mar, 2023 @ 6:07pm 
Originally posted by Lightja:
Thanks for pointing this out Panopticon. The issue should be resolved now. let me know if you have any issues with it.
Great, thank you, I will check it when I have time.
DingoGear 12 Mar, 2023 @ 7:10pm 
Originally posted by Lightja:
Thanks for pointing this out Panopticon. The issue should be resolved now. let me know if you have any issues with it.

Latest update seems to be causing an issue where players can't move with the keyboard until opening and closing the map
Aeolus 12 Mar, 2023 @ 8:19pm 
Updated the server around 20 minutes ago and it was causing the movement issue. Removed the mod and everything went back to normal. Not sure where or why but it is what it is
Luna Lycan 12 Mar, 2023 @ 8:23pm 
Latest update creates a conflict with "Let Me Think" mod. There is one error thrown during startup and one when pressing "M" to open map. They both reference calling "isReallyVisible of non-table: null"

Exceptions:
https://pastebin.com/EVFdx1rA

Additionally after removing it I could open the map but I had no Fog (I did not enable all known in the map options)
Lightja  [developer] 12 Mar, 2023 @ 8:23pm 
Changes have been reverted. I'm looking into the issue, sorry for the problems the update caused.
Luna Lycan 12 Mar, 2023 @ 8:30pm 
Great, thanks for your work and no problem all part of developing stuff ^^
Lightja  [developer] 12 Mar, 2023 @ 8:41pm 
Alright, new update is in, would appreciate if people are able to confirm that they aren't having issues.
Luna Lycan 12 Mar, 2023 @ 8:52pm 
Still having issues in SP with "Let me think" on: https://pastebin.com/gugXuPFp

Also when "Let me think" is off I still have no fog of war on the big map, only on the minimap.
Lightja  [developer] 12 Mar, 2023 @ 8:57pm 
Thanks for the details, I reverted again. I had to add lua function overrides to add the functionality I want and I'm sure that's the reason. I will dig into these specifically later but for now I'm just leaving it on the previous version since I know that is stable.
Panopticon 12 Mar, 2023 @ 9:07pm 
Originally posted by Lightja:
Thanks for the details, I reverted again. I had to add lua function overrides to add the functionality I want and I'm sure that's the reason. I will dig into these specifically later but for now I'm just leaving it on the previous version since I know that is stable.
Take your time dude, you don't owe anyone anything. :steamthumbsup:
dhert 11 Jun, 2023 @ 12:25am 
Heya! I was taking a peek at your mod as I got caught with the "stuck player" when using with my SpiffUI - Immersive Minimap mod, and found the issue. In your "DarkerMap_InitWorldMap" function, you have the following bit:
for i=1,getNumActivePlayers() do if getSpecificPlayer(i-1) then getSpecificPlayer(i-1):setBlockMovement(true) end end
That is setting the player to stop moving and also stop with all interactions and such. I see where you got this, as the Map also has this in its Init stuff. However, you DO NOT need to do this as you are just setting styles and whatnot; the base map will do this when it needs to. It also has the relevant unsetters for this when the map closes, which is why opening/closing the map lets you move again.
Remove that bit, and have your `DarkerMap_InitWorldMap` run OnGameStart to have the style load on start:
Events.OnGameStart.Add(DarkerMap_InitWorldMap)
Thanks for this btw! This definitely is a permanent mod for me now.
Switch 3 Jul, 2024 @ 1:53pm 
Keep getting this error on every load of my singleplayer save with this mod enabled.

SEVERE: Error found in LUA file: C:/Program Files (x86)/Steam/steamapps/workshop/content/108600/2939187818/mods/Darker Map/media/lua/client/Darker Map.lua ERROR: General , 1720036677347> ExceptionLogger.logException> Exception thrown se.krka.kahlua.vm.KahluaException: Darker Map.lua:36: '=' expected near `ISWorldMap_instance` at LexState.lexerror line:278. ERROR: General , 1720036677347> DebugLogStream.printException> Stack trace: se.krka.kahlua.vm.KahluaException: Darker Map.lua:36: '=' expected near `ISWorldMap_instance` at org.luaj.kahluafork.compiler.LexState.lexerror(LexState.java:278) at org.luaj.kahluafork.compiler.LexState.syntaxerror(LexState.java:289) at org.luaj.kahluafork.compiler.LexState.error_expected(LexState.java:683) at org.luaj.kahluafork.compiler.LexState.check(LexState.java:696) at org.luaj.kahluafork.compiler.LexState.checknext(LexState.java:700) at org.luaj.kahluafork.compiler.LexState.assignment(LexState.java:1402) at org.luaj.kahluafork.compiler.LexState.exprstat(LexState.java:1696) at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1779) at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1790) at org.luaj.kahluafork.compiler.LexState.body(LexState.java:1026) at org.luaj.kahluafork.compiler.LexState.funcstat(LexState.java:1681) at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1758) at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1790) at org.luaj.kahluafork.compiler.LexState.compile(LexState.java:198) 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.RunLuaInternal(LuaManager.java:546) at zombie.Lua.LuaManager.RunLua(LuaManager.java:510) at zombie.Lua.LuaManager.RunLua(LuaManager.java:496) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:342) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:264) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:392) at zombie.core.Core.ResetLua(Core.java:4170) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62) at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198) at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:60) at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980) at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onMouseUp(UIElement.java:1228) at zombie.ui.UIElement.onMouseUp(UIElement.java:1183) at zombie.ui.UIElement.onMouseUp(UIElement.java:1183) at zombie.ui.UIManager.update(UIManager.java:816) at zombie.GameWindow.logic(GameWindow.java:262) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:765) at zombie.GameWindow.run_ez(GameWindow.java:681) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source)
Last edited by Switch; 3 Jul, 2024 @ 1:55pm
Lightja  [developer] 4 Jul, 2024 @ 2:30pm 
@dhert implemented your bug fix, thanks

@Switch I goofed and uploaded the wrong version when I made the update. I pretty immediately updated it again, but I thought a few people might get the bad version. can you confirm if you are still getting this after updating?

The error does not really make sense, but I had a couple random characters in one of the uploads (blame cat) so you might've caught that version. Below are lines 35,36,37. It says the error is on line 36 and its missing an =, which doesnt seem to be the case. I loaded a save on single player with just the latest version installed to be sure.

ISWorldMap_instance.symbolsUI:undisplay()
ISWorldMap_instance:setVisible(false)
ISWorldMap_instance:removeFromUIManager()
Last edited by Lightja; 4 Jul, 2024 @ 2:37pm
< >
Showing 1-15 of 18 comments
Per page: 1530 50