Project Zomboid

Project Zomboid

Liel's Drinks
 This topic has been pinned, so it's probably important
Liel  [developer] Apr 6, 2022 @ 5:17am
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Bugs Report
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀:miatired:
Last edited by Liel; Jan 1 @ 5:03am
< >
Showing 1-11 of 11 comments
Debiddo Apr 17, 2022 @ 6:34pm 
okay, acho q sou burro em não ter percebido isso antes, parece que o erro é causado por usar caracteres especiais (no caso o cedilha):
ERROR: General , 1650245543801> ExceptionLogger.logException> Exception thrown java.io.FileNotFoundException: /home/loverenamon/Zomboid/mods/media/scripts/bdk_cacha??as.txt (No such file or directory) at FileInputStream.open0 (Native Method). ERROR: General , 1650245543809> DebugLogStream.printException> Stack trace: java.io.FileNotFoundException: /home/loverenamon/Zomboid/mods/media/scripts/bdk_cacha??as.txt (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(Unknown Source) at java.base/java.io.FileInputStream.<init>(Unknown Source) at java.base/java.io.FileInputStream.<init>(Unknown Source) at zombie.core.IndieFileLoader.getStreamReader(IndieFileLoader.java:46) at zombie.scripting.ScriptManager.LoadFile(ScriptManager.java:104) at zombie.scripting.ScriptManager.Load(ScriptManager.java:666) at zombie.core.Core.ResetLua(Core.java:4060) at zombie.gameStates.ConnectToServerState.Finish(ConnectToServerState.java:627) at zombie.gameStates.ConnectToServerState.update(ConnectToServerState.java:98) at zombie.gameStates.MainScreenState.update(MainScreenState.java:527) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101) at zombie.GameWindow.logic(GameWindow.java:289) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:744) at zombie.GameWindow.run_ez(GameWindow.java:660) at zombie.GameWindow.mainThread(GameWindow.java:474) at java.base/java.lang.Thread.run(Unknown Source)

Edit
Fizemos uma edição só por renomear o bdk_cachaças.txt para bdk_cachacas.txt e o cliente carregou o arquivo normalmente, é problema com o nome do arquivo mesmo...
Last edited by Debiddo; Apr 17, 2022 @ 6:39pm
Liel  [developer] Apr 17, 2022 @ 7:16pm 
Eu tinha imaginado isso, mas tbm nn pensei q fosse algo tão simples.
Em breve lanço um fix pra nn acontecer com outras pessoas.
Samelfero Jul 18, 2022 @ 11:54pm 
Podia rebalancear as bebidas, exemplo: as alcoolicas poderiam dar sede ao inves de tirar e tirar menos fome, mas tirando muito mais tristeza.
Liel  [developer] Jul 19, 2022 @ 8:24am 
Originally posted by Samelfero:
Podia rebalancear as bebidas, exemplo: as alcoolicas poderiam dar sede ao inves de tirar e tirar menos fome, mas tirando muito mais tristeza.
Posso fazer isso sim.
The animation for drinking "Fruki Orange" is the eating animation, not the drinking one.
Edit: other sodas seem to have this issue, too, so maybe it's not a problem with this mod. I'm not sure... I happen to have quite a few of them installed.
Last edited by Wrench In The Plan; Oct 7, 2022 @ 12:23pm
Liel  [developer] Oct 7, 2022 @ 3:10pm 
@Wrench In The Plan Here everything is normal, it seems to be some incompatibility with another mod. Do you have any mods that change how drinks work?
Sayharu Apr 7, 2023 @ 6:47pm 
@Liel Parece que o mod está dando conflito com o mod "True Music", pelo que testei e verifiquei aqui está relacionado com os spawns de itens, habilitando ambos os mods o True Music deixa de spawnar alguns loots como a Boombox e o Vinyl Player, tem algo que você conheça sobre isso?
Pelo que peguei no log (caso ajude):
Sei que recentemente não tem updates no mod nem comentários aqui mas estou hosteando um server e gostei muito do mod :D

Log:
STACK TRACE
-----------------------------------------
function: TCLoading.lua -- file: TCLoading.lua line # 24 | MOD: True Music_v.2.15

ERROR: General , 1680918272336> 0> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: items of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1680918272337> 0> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: items of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
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.pcall(KahluaThread.java:1782)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:564)
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.gameStates.GameLoadingState.enter(GameLoadingState.java:97)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:298)
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)
LOG : General , 1680918272338> 0> -----------------------------------------
STACK TRACE
-----------------------------------------
function: TCLoading.lua -- file: TCLoading.lua line # 24 | MOD: True Music_v.2.15

Apr 07, 2023 10:44:32 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException
Apr 07, 2023 10:44:32 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException:
Apr 07, 2023 10:44:32 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: at TCLoading.lua:24
Liel  [developer] Apr 7, 2023 @ 7:58pm 
Originally posted by Sayharu:
@Liel Parece que o mod está dando conflito com o mod "True Music", pelo que testei e verifiquei aqui está relacionado com os spawns de itens, habilitando ambos os mods o True Music deixa de spawnar alguns loots como a Boombox e o Vinyl Player, tem algo que você conheça sobre isso?
Pelo que peguei no log (caso ajude):
Sei que recentemente não tem updates no mod nem comentários aqui mas estou hosteando um server e gostei muito do mod :D

Log:
STACK TRACE
-----------------------------------------
function: TCLoading.lua -- file: TCLoading.lua line # 24 | MOD: True Music_v.2.15

ERROR: General , 1680918272336> 0> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: items of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1680918272337> 0> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: items of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
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.pcall(KahluaThread.java:1782)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:564)
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.gameStates.GameLoadingState.enter(GameLoadingState.java:97)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:298)
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)
LOG : General , 1680918272338> 0> -----------------------------------------
STACK TRACE
-----------------------------------------
function: TCLoading.lua -- file: TCLoading.lua line # 24 | MOD: True Music_v.2.15

Apr 07, 2023 10:44:32 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException
Apr 07, 2023 10:44:32 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException:
Apr 07, 2023 10:44:32 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: at TCLoading.lua:24

Obrigado por relatar! Bem, provavelmente isso é devido eu ter feito a programação de distribuição de itens bem porcamente na época devido a falta de conhecimento que eu tinha. Entretanto estou trabalhando numa atualização relativamente grande que não é pra passar desse mês para sair e nela está sendo feita uma distribuição de verdade que deve resolver isso, enfim, irei testar para lançar a atualização com esse conflito resolvido.
Liel  [developer] May 10, 2023 @ 8:41pm 
Originally posted by Sayharu:
@Liel Parece que o mod está dando conflito com o mod "True Music", pelo que testei e verifiquei aqui está relacionado com os spawns de itens, habilitando ambos os mods o True Music deixa de spawnar alguns loots como a Boombox e o Vinyl Player, tem algo que você conheça sobre isso?
Pelo que peguei no log (caso ajude):
Sei que recentemente não tem updates no mod nem comentários aqui mas estou hosteando um server e gostei muito do mod :D

Log:
STACK TRACE
-----------------------------------------
function: TCLoading.lua -- file: TCLoading.lua line # 24 | MOD: True Music_v.2.15

ERROR: General , 1680918272336> 0> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: items of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1680918272337> 0> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: items of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
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.pcall(KahluaThread.java:1782)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:564)
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.gameStates.GameLoadingState.enter(GameLoadingState.java:97)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:298)
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)
LOG : General , 1680918272338> 0> -----------------------------------------
STACK TRACE
-----------------------------------------
function: TCLoading.lua -- file: TCLoading.lua line # 24 | MOD: True Music_v.2.15

Apr 07, 2023 10:44:32 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException
Apr 07, 2023 10:44:32 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException:
Apr 07, 2023 10:44:32 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: at TCLoading.lua:24


Corrigido.
What about mod on food? :steamhappy:
Liel  [developer] Apr 25, 2024 @ 12:29pm 
Originally posted by Knyyxi:
What about mod on food? :steamhappy:
WIP
< >
Showing 1-11 of 11 comments
Per page: 1530 50