Project Zomboid
True Music
Тема закрыта
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?
< >
Сообщения 1628 из 28
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
Отредактировано PepeLeSpooder; 15 апр. 2022 г. в 10:34
Автор сообщения: 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.
Автор сообщения: 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.
Автор сообщения: Mayor Fancy
Автор сообщения: 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?
Same here to me and three friends at the same private server
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
Автор сообщения: 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
Автор сообщения: Mayor Fancy
Автор сообщения: 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.
Не могу вставить никуда кассету
Автор сообщения: 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?
< >
Сообщения 1628 из 28
Показывать на странице: 1530 50