Project Zomboid

Project Zomboid

Speedometer km/h (fix)
52 条留言
Shiinamei  [作者] 2023 年 4 月 10 日 上午 7:50 
@Kafkatrap I have clean version included
USER404 2023 年 4 月 8 日 上午 10:35 
@kafkatrap no, but clean UI need another fix as it is broken atm.
Kafkatrap 2023 年 4 月 8 日 上午 4:58 
@Shiinamei does the same update need to be made to the Cleaner UI version?
Shiinamei  [作者] 2023 年 3 月 31 日 上午 2:59 
@Bonk Mod conflicting with itself due to identical mod ids for 2 different versions, and useless code like functions being called but their response never used or hardcoded functions that are there for the sake of being there.
Bonk 2023 年 3 月 31 日 上午 1:19 
If you don't mind, it does fix what exactly?
Shiinamei  [作者] 2023 年 3 月 24 日 下午 1:21 
@USER404 just replace the texture, no code needed. The load order must be after this mod. media/ui/vehicles/speedometer.png
YeOl'Choppa 2023 年 3 月 24 日 下午 12:05 
@Shiinamei
nice one, that was the last thing i'd have thought of with the severity of that conflict.
USER404 2023 年 3 月 24 日 上午 8:25 
Yeh I should update my clean version and ideally just replace the speedometer texture without using any code to prevent this kind of issues. I should investigate how to do it, however I don't have access to my computer right now. I will fix asap, thanks for the heads-up.
stey456 2023 年 3 月 24 日 上午 3:40 
At last, the terrible thing is gone. you do great job, man
Shiinamei  [作者] 2023 年 3 月 24 日 上午 2:08 
The problem was identical mod id's for clean version and some useless leftover code from original author.
Shiinamei  [作者] 2023 年 3 月 24 日 上午 2:04 
All issues should be fixed.
Simsimix 2023 年 3 月 23 日 下午 4:43 
same here, this mod causes problems with the hotbar keys
BigFBaloo 2023 年 3 月 20 日 上午 7:12 
Same here. And car dashboard is not showing. Tested by disabling and enabling several times.
Anfortunate 2023 年 3 月 17 日 下午 5:31 
tested by disabling and enbling it
Anfortunate 2023 年 3 月 17 日 下午 5:30 
This mod makes me unable to open world map
Shiinamei  [作者] 2023 年 3 月 15 日 下午 1:44 
@Happy_Light_Dragon gimme the error code.
Happy_Light_Dragon 2023 年 3 月 14 日 下午 11:00 
The mod is pretty good, but it only causes problems with constant error code errors, no matter what you do, be it remote play or single, the error remains, so I ask that you take care of the error, the error is only annoying for a long time.:steamthumbsdown:
YeOl'Choppa 2023 年 3 月 14 日 下午 2:26 
@Shiinamei
definitely a conflict issue, errors like this are only showing up when the speedometer mod loads after all of my currently active mods.
Shiinamei  [作者] 2023 年 3 月 14 日 上午 10:11 
Very strange behavior. Seems like something is conflicting. Thanks for the info, will look into this on weekend.
YeOl'Choppa 2023 年 3 月 13 日 下午 4:07 
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)
YeOl'Choppa 2023 年 3 月 13 日 下午 4:07 
ERROR: General , 1678748262999> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __sub not defined for operands in onKeyKeepPressed
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:676)
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.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:92)
at zombie.input.GameKeyboard.update(GameKeyboard.java:85)
at zombie.GameWindow.logic(GameWindow.java:249)
YeOl'Choppa 2023 年 3 月 13 日 下午 4:06 
ERROR: General , 1678748262999> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __sub not defined for operands in onKeyKeepPressed at KahluaUtil.fail line:82.
YeOl'Choppa 2023 年 3 月 13 日 下午 4:06 
the stack trace above has been copied from the console.txt output at Users --> Zomboid:
YeOl'Choppa 2023 年 3 月 13 日 下午 4:01 
had to separate the stack trace because of steam's shitty character limit per comment
YeOl'Choppa 2023 年 3 月 13 日 下午 4:01 
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)
`
YeOl'Choppa 2023 年 3 月 13 日 下午 4:00 
`function: onKeyKeepPressed -- file: ISHotbar.lua line # 729 | Vanilla
java.lang.RuntimeException: __sub not defined for operands in onKeyKeepPressed
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:676)
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.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:92)
at zombie.input.GameKeyboard.update(GameKeyboard.java:85)
at zombie.GameWindow.logic(GameWindow.java:249)
at
YeOl'Choppa 2023 年 3 月 13 日 下午 4:00 
@Shiinamei
sure, im also gonna add that the reason it stopped throwing errors of that size was cause of the load order, toggling it off and on made it so the speedometer loads up last after all the other ones
Dima 2023 年 3 月 13 日 下午 3:24 
Getting the same error, went true all of my mods and this one seems to cause it. no idea why and how.
Shiinamei  [作者] 2023 年 3 月 13 日 下午 12:08 
Could you share the error with me?
YeOl'Choppa 2023 年 3 月 12 日 下午 5:24 
um, that's weird... toggling the speedometer on and off seemed to just fix everything again? it would appear my testing concluded so.

this game's coding is cursed
YeOl'Choppa 2023 年 3 月 12 日 下午 4:58 
alright, from my testing so far (not quite done yet) the errors should be originating from a mod incompatibility within my mod list, im currently narrowing down which one of them is causing problems.
YeOl'Choppa 2023 年 3 月 12 日 下午 4:49 
@violentknight @Shiinamei
it seems like im experiencing the same issues as violentknight, pressing f or the hotbar numbers throws continuous errors for the duration of the key press.

im testing out each one of my mods to see if the issue involves incompatibilities between them or if its really related to this mod, will report soon.
violentknight 2023 年 3 月 12 日 下午 1:30 
k thanks ill try that, also weird i have that has been read add on, it never worked before , but now with your add-on with the error it works, yet only while your add on is enabled , if i disable your add on , the has been read add on doesn't work,
Shiinamei  [作者] 2023 年 3 月 12 日 上午 5:21 
There were no changes apart from code removal and additional texture variant. Try unsubscribe and subscribe again @violentknight
violentknight 2023 年 3 月 11 日 下午 5:42 
seems like the recent update has caused me error codes when trying to switch weapons with 1,2,3 keys. any idea s
YeOl'Choppa 2023 年 3 月 11 日 上午 10:44 
@Shiinamei
you're welcome, glad to have helped
Shiinamei  [作者] 2023 年 3 月 11 日 上午 10:27 
Thanks, I removed mod options support altogether since it's not very useful anyway
YeOl'Choppa 2023 年 3 月 10 日 下午 2:46 
@Shiinamei
uhh, i might have fixed that error from before, with my somewhat shallow experience in coding , what was happening was that the function SetModOptions with the OPTIONS argument was returning nil and throwing an execution error in the console.

what i did was literally remove the function call in line 21 since it probably wasn't even being used properly, something like that.

the options in mod options for the mod show up fine and probably work fine, but without the error in the console... so i guess that constitutes as i win?
Shiinamei  [作者] 2023 年 2 月 27 日 上午 2:04 
@Lucifer, not sure. Certain texture mods apply when loaded, but when reloading lua (swapping mods, joining server, etc.) still remain, This texture is loaded a bit differently but I don't think there is no way to implement it the same way. I'll probably see what I can do today
Lucifer 2023 年 2 月 26 日 上午 7:42 
So small question, since this is an UI mod, does the server need to install it too? Because i'm the only Km/h user there and that would be a problem.
Shiinamei  [作者] 2023 年 2 月 19 日 下午 11:46 
@uhm when hszuuuhhh shm

Will look into that once I have some time.
maarbåar 2023 年 2 月 19 日 上午 11:42 
Now my Belgian ass can cruise in peace and flex on zeds
YeOl'Choppa 2023 年 2 月 11 日 下午 6:11 
activating this alongside Mod Options causes a lua error:

STACK TRACE
-------------------------------
function: SpeedCoding.lua -- file: SpeedCoding.lua line # 21 | MOD: Speedometer km/h

java.lang.RuntimeException: Object tried to call nil in SpeedCoding.lua
Boris-XP 2023 年 2 月 9 日 上午 6:52 
chernya
iDoss 2023 年 1 月 24 日 上午 11:31 
Now my Mexican ass can understand how fast It goes, now I'm going to grab some tacos and flex on zeds.
Bodomy 2023 年 1 月 20 日 上午 1:23 
Thank you for making this!
Moonraker 2023 年 1 月 16 日 上午 2:16 
Now my South African ass can cruise in peace and flex on zeds.
Daranik Lothrodin 2023 年 1 月 11 日 下午 7:15 
Now my Australian ass can understand what speed I'm going in peace and flex on zeds.
am'z 2023 年 1 月 3 日 上午 9:06 
Now my European ass can cruise in peace and flex on zeds.
Jajashi 2023 年 1 月 2 日 下午 12:01 
nice