Project Zomboid

Project Zomboid

Darker Map
Panopticon 2023 年 3 月 3 日 下午 4:40
Bug Reports
Title
最后由 Panopticon 编辑于; 2023 年 3 月 3 日 下午 4:41
< >
正在显示第 1 - 15 条,共 20 条留言
Panopticon 2023 年 3 月 3 日 下午 4:42 
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  [开发者] 2023 年 3 月 12 日 下午 6:03 
Thanks for pointing this out Panopticon. The issue should be resolved now. let me know if you have any issues with it.
Panopticon 2023 年 3 月 12 日 下午 6:07 
引用自 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 2023 年 3 月 12 日 下午 7:10 
引用自 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 2023 年 3 月 12 日 下午 8:19 
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 2023 年 3 月 12 日 下午 8:23 
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  [开发者] 2023 年 3 月 12 日 下午 8:23 
Changes have been reverted. I'm looking into the issue, sorry for the problems the update caused.
Luna Lycan 2023 年 3 月 12 日 下午 8:30 
Great, thanks for your work and no problem all part of developing stuff ^^
Lightja  [开发者] 2023 年 3 月 12 日 下午 8:41 
Alright, new update is in, would appreciate if people are able to confirm that they aren't having issues.
Luna Lycan 2023 年 3 月 12 日 下午 8:52 
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  [开发者] 2023 年 3 月 12 日 下午 8:57 
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 2023 年 3 月 12 日 下午 9:07 
引用自 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 2023 年 6 月 11 日 上午 12:25 
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 2024 年 7 月 3 日 下午 1:53 
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)
最后由 Switch 编辑于; 2024 年 7 月 3 日 下午 1:55
Lightja  [开发者] 2024 年 7 月 4 日 下午 2:30 
@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()
最后由 Lightja 编辑于; 2024 年 7 月 4 日 下午 2:37
< >
正在显示第 1 - 15 条,共 20 条留言
每页显示数: 1530 50