Project Zomboid

Project Zomboid

Speedometer km/h (fix)
52 kommentarer
Shiinamei  [ophavsmand] 10. apr. 2023 kl. 7:50 
@Kafkatrap I have clean version included
USER404 8. apr. 2023 kl. 10:35 
@kafkatrap no, but clean UI need another fix as it is broken atm.
Kafkatrap 8. apr. 2023 kl. 4:58 
@Shiinamei does the same update need to be made to the Cleaner UI version?
Shiinamei  [ophavsmand] 31. mar. 2023 kl. 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 31. mar. 2023 kl. 1:19 
If you don't mind, it does fix what exactly?
Shiinamei  [ophavsmand] 24. mar. 2023 kl. 13:21 
@USER404 just replace the texture, no code needed. The load order must be after this mod. media/ui/vehicles/speedometer.png
YeOl'Choppa 24. mar. 2023 kl. 12:05 
@Shiinamei
nice one, that was the last thing i'd have thought of with the severity of that conflict.
USER404 24. mar. 2023 kl. 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 24. mar. 2023 kl. 3:40 
At last, the terrible thing is gone. you do great job, man
Shiinamei  [ophavsmand] 24. mar. 2023 kl. 2:08 
The problem was identical mod id's for clean version and some useless leftover code from original author.
Shiinamei  [ophavsmand] 24. mar. 2023 kl. 2:04 
All issues should be fixed.
Simsimix 23. mar. 2023 kl. 16:43 
same here, this mod causes problems with the hotbar keys
BigFBaloo 20. mar. 2023 kl. 7:12 
Same here. And car dashboard is not showing. Tested by disabling and enabling several times.
Anfortunate 17. mar. 2023 kl. 17:31 
tested by disabling and enbling it
Anfortunate 17. mar. 2023 kl. 17:30 
This mod makes me unable to open world map
Shiinamei  [ophavsmand] 15. mar. 2023 kl. 13:44 
@Happy_Light_Dragon gimme the error code.
Happy_Light_Dragon 14. mar. 2023 kl. 23: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 14. mar. 2023 kl. 14: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  [ophavsmand] 14. mar. 2023 kl. 10:11 
Very strange behavior. Seems like something is conflicting. Thanks for the info, will look into this on weekend.
YeOl'Choppa 13. mar. 2023 kl. 16: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 13. mar. 2023 kl. 16: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 13. mar. 2023 kl. 16: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 13. mar. 2023 kl. 16:06 
the stack trace above has been copied from the console.txt output at Users --> Zomboid:
YeOl'Choppa 13. mar. 2023 kl. 16:01 
had to separate the stack trace because of steam's shitty character limit per comment
YeOl'Choppa 13. mar. 2023 kl. 16: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 13. mar. 2023 kl. 16: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 13. mar. 2023 kl. 16: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 13. mar. 2023 kl. 15:24 
Getting the same error, went true all of my mods and this one seems to cause it. no idea why and how.
Shiinamei  [ophavsmand] 13. mar. 2023 kl. 12:08 
Could you share the error with me?
YeOl'Choppa 12. mar. 2023 kl. 17: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 12. mar. 2023 kl. 16: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 12. mar. 2023 kl. 16: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 12. mar. 2023 kl. 13: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  [ophavsmand] 12. mar. 2023 kl. 5:21 
There were no changes apart from code removal and additional texture variant. Try unsubscribe and subscribe again @violentknight
violentknight 11. mar. 2023 kl. 17: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 11. mar. 2023 kl. 10:44 
@Shiinamei
you're welcome, glad to have helped
Shiinamei  [ophavsmand] 11. mar. 2023 kl. 10:27 
Thanks, I removed mod options support altogether since it's not very useful anyway
YeOl'Choppa 10. mar. 2023 kl. 14: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  [ophavsmand] 27. feb. 2023 kl. 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 26. feb. 2023 kl. 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  [ophavsmand] 19. feb. 2023 kl. 23:46 
@uhm when hszuuuhhh shm

Will look into that once I have some time.
maarbåar 19. feb. 2023 kl. 11:42 
Now my Belgian ass can cruise in peace and flex on zeds
YeOl'Choppa 11. feb. 2023 kl. 18: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 9. feb. 2023 kl. 6:52 
chernya
iDoss 24. jan. 2023 kl. 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 20. jan. 2023 kl. 1:23 
Thank you for making this!
Moonraker 16. jan. 2023 kl. 2:16 
Now my South African ass can cruise in peace and flex on zeds.
Daranik Lothrodin 11. jan. 2023 kl. 19:15 
Now my Australian ass can understand what speed I'm going in peace and flex on zeds.
am'z 3. jan. 2023 kl. 9:06 
Now my European ass can cruise in peace and flex on zeds.
Jajashi 2. jan. 2023 kl. 12:01 
nice