Project Zomboid

Project Zomboid

True Music
Denne tråd er blevet låst
Boomboxes non-interactive?
Whenever I attempt to open device options on a boombox, it throws several errors and doesn't actually open. It seems other folks are having the same problem, but not enough by my estimates to indicate that this is happening to literally everyone. I'm guessing it's a load order issue: what order should True Music and dependent content mods be loaded in?
< >
Viser 16-28 af 28 kommentarer
PepeLeSpooder 15. apr. 2022 kl. 10:29 
IF anyone is interested , The fix for this problem is to replace line 363 and 364 in TCTickCheckMusic.lua with

if TCMusic.WorldMusicPlayer[_item:getSprite():getName()] then ISTCBoomboxWindow.activate( _player, _item , _deviceObject );

Essentially what is happening is Project Zomboid is unable to define it as a device object when placed on the ground and activated from the right click menu but when activated from the Floor menu it can bypass the check for the _deviceObject Variable . All things Buildable that are placeable and have a menu has to have a deviceobject variable as of the new update I'm pretty sure

TCTickCheckMusic.lua is located inside The mod folder at
2613146550\mods\TrueMusic\media\lua\client Or some other variation depending on how you have it installed.

I can't Guarantee this will be error free, But i have tested it on my Play-through at-least , lets the window open and insert a tape, or vinyl without opening from the floor menu
Sidst redigeret af PepeLeSpooder; 15. apr. 2022 kl. 10:34
DevEagle 18. apr. 2022 kl. 22:25 
Oprindeligt skrevet af PepeLeSpooder:
IF anyone is interested , The fix for this problem is to replace line 363 and 364 in TCTickCheckMusic.lua with

if TCMusic.WorldMusicPlayer[_item:getSprite():getName()] then ISTCBoomboxWindow.activate( _player, _item , _deviceObject );

Essentially what is happening is Project Zomboid is unable to define it as a device object when placed on the ground and activated from the right click menu but when activated from the Floor menu it can bypass the check for the _deviceObject Variable . All things Buildable that are placeable and have a menu has to have a deviceobject variable as of the new update I'm pretty sure

TCTickCheckMusic.lua is located inside The mod folder at
2613146550\mods\TrueMusic\media\lua\client Or some other variation depending on how you have it installed.

I can't Guarantee this will be error free, But i have tested it on my Play-through at-least , lets the window open and insert a tape, or vinyl without opening from the floor menu

The Vinyl player is working. The boomboxes not. Only working for me if the secoundary items in my hand. Put the world, right clicking the boombox and flashing the settings panel 1 sec and closed. Working the car. Why not working the boombox. Why not make this casette palyers same as the car? The radial menu or something.
Fancy 20. apr. 2022 kl. 19:05 
Oprindeligt skrevet af PepeLeSpooder:
IF anyone is interested , The fix for this problem is to replace line 363 and 364 in TCTickCheckMusic.lua with

if TCMusic.WorldMusicPlayer[_item:getSprite():getName()] then ISTCBoomboxWindow.activate( _player, _item , _deviceObject );

Essentially what is happening is Project Zomboid is unable to define it as a device object when placed on the ground and activated from the right click menu but when activated from the Floor menu it can bypass the check for the _deviceObject Variable . All things Buildable that are placeable and have a menu has to have a deviceobject variable as of the new update I'm pretty sure

TCTickCheckMusic.lua is located inside The mod folder at
2613146550\mods\TrueMusic\media\lua\client Or some other variation depending on how you have it installed.

I can't Guarantee this will be error free, But i have tested it on my Play-through at-least , lets the window open and insert a tape, or vinyl without opening from the floor menu

Still fugged for me unfortunately. Menu won't open for viynl player and boombox asking for CDs.
Fluff 20. apr. 2022 kl. 21:34 
Oprindeligt skrevet af Mayor Fancy:
Oprindeligt skrevet af PepeLeSpooder:
IF anyone is interested , The fix for this problem is to replace line 363 and 364 in TCTickCheckMusic.lua with

if TCMusic.WorldMusicPlayer[_item:getSprite():getName()] then ISTCBoomboxWindow.activate( _player, _item , _deviceObject );

Essentially what is happening is Project Zomboid is unable to define it as a device object when placed on the ground and activated from the right click menu but when activated from the Floor menu it can bypass the check for the _deviceObject Variable . All things Buildable that are placeable and have a menu has to have a deviceobject variable as of the new update I'm pretty sure

TCTickCheckMusic.lua is located inside The mod folder at
2613146550\mods\TrueMusic\media\lua\client Or some other variation depending on how you have it installed.

I can't Guarantee this will be error free, But i have tested it on my Play-through at-least , lets the window open and insert a tape, or vinyl without opening from the floor menu

Still fugged for me unfortunately. Menu won't open for viynl player and boombox asking for CDs.

Could that be because those lines program the boombox and vinyl player to act like the CD player?
nigel 22. apr. 2022 kl. 13:33 
same
Spartan 8. maj 2022 kl. 16:48 
Same here to me and three friends at the same private server
Pineapple 8. maj 2022 kl. 21:33 
i have to restart the game to go in device options for it work but if u pick it up and put it back down it pops up the error again
Kyrrisayo 16. maj 2022 kl. 1:51 
Same issue here
cmk 1. juli 2022 kl. 14:07 
Oprindeligt skrevet af Eleveux:
GUYS! You must click 'Device Options' through the loot tab under floor! Do not right click the boombox directly, look in floor and then access the boombox/vinyl player through there!
This mod is completely functional, and works well on our populated server - almost no issue whatsoever!
Can confirm, still working till today
hoduken 31. juli 2022 kl. 12:42 
Oprindeligt skrevet af Mayor Fancy:
Oprindeligt skrevet af PepeLeSpooder:
IF anyone is interested , The fix for this problem is to replace line 363 and 364 in TCTickCheckMusic.lua with

if TCMusic.WorldMusicPlayer[_item:getSprite():getName()] then ISTCBoomboxWindow.activate( _player, _item , _deviceObject );

Essentially what is happening is Project Zomboid is unable to define it as a device object when placed on the ground and activated from the right click menu but when activated from the Floor menu it can bypass the check for the _deviceObject Variable . All things Buildable that are placeable and have a menu has to have a deviceobject variable as of the new update I'm pretty sure

TCTickCheckMusic.lua is located inside The mod folder at
2613146550\mods\TrueMusic\media\lua\client Or some other variation depending on how you have it installed.

I can't Guarantee this will be error free, But i have tested it on my Play-through at-least , lets the window open and insert a tape, or vinyl without opening from the floor menu

Still fugged for me unfortunately. Menu won't open for viynl player and boombox asking for CDs.

Same issue. music works in cars. Sometimes it stops. But in general, its fine. However, the boombox and vinyl player asks for cd's.
Afterlord 1. sep. 2022 kl. 8:21 
Не могу вставить никуда кассету
Fenrir 29. jan. 2023 kl. 1:44 
Oprindeligt skrevet af The15karat:
Привет ребят, я вижу что все пишут что у них не работает, и у меня в том числе)

Когда пытаешься открыть бумбокс, то пишет ошибку.
Иногда окно открывается, но тут же закрывается.

Вот такая ошибка в консоли:
LOG : General , 1649318829423> DUCK
LOG : General , 1649318833281> -------------------------------------------------------------
attempted index: getName of non-table: null

LOG : General , 1649318833284> -----------------------------------------
STACK TRACE
-----------------------------------------
function: activate -- file: TCTickCheckMusic.lua line # 363
function: playerObj -- file: ISWorldObjectContextMenu.lua line # 1605
function: onMouseUp -- file: ISContextMenu.lua line # 90

ERROR: General , 1649318833285> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getName of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1649318833285> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getName of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
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.UIManager.update(UIManager.java:808)
at zombie.GameWindow.logic(GameWindow.java:253)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:744)
at zombie.GameWindow.run_ez(GameWindow.java:646)
at zombie.GameWindow.mainThread(GameWindow.java:474)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1649318833286> -----------------------------------------
STACK TRACE
-----------------------------------------
function: activate -- file: TCTickCheckMusic.lua line # 363
function: playerObj -- file: ISWorldObjectContextMenu.lua line # 1605
function: onMouseUp -- file: ISContextMenu.lua line # 90

LOG : General , 1649318833286>
LOG : General , 1649318833425> creating new sourcewindow: D:/Program Files (x86)/Steam/steamapps/workshop/content/108600/2613146550/mods/TrueMusic/media/lua/client/TCTickCheckMusic.lua

I've been seeing "Tsarcraft.TCBoombox of non-table: null at KahluaThread.tableget line:1689." and similar errors a lot too. Has anyone found what's making it freak out, or is it just a Zomboid update issue?
< >
Viser 16-28 af 28 kommentarer
Per side: 1530 50