Project Zomboid

Project Zomboid

True Music B42
14개 중 1~10개 표시 중
< 1  2 >
업데이트: 2025년 8월 24일 오전 6시 52분
작성자: scrappy coco

Fixed IllegalArgumentException in Walkman: Resolved crash in ISTCBoomboxAction.lua (line 126) caused by nil tcmusicid when changing volume with cassette stopped, by adding a nil check for tcmusicid in performSetVolume.

Removed Debug Logs: Cleaned up debug print statements from ISTCBoomboxAction.lua, TCRWMVolume.lua, ISTCRadioWindow.lua, InvContextBoombox.lua, and TCFillContextMenu.lua to reduce console spam and improve performance.

Maintained Core Functionality: Ensured all fixes preserve the original mod structure and behavior for Walkman and Boombox, with no unintended changes to gameplay mechanics.

업데이트: 2025년 8월 14일 오후 2시 41분
작성자: scrappy coco

Fixed ClassCastException: String cannot be cast to Double by keeping itemID and RadioItemID as numbers, avoiding string concatenation.
Added pcall for getID, getFullType, getModData, and screenToIsoX/Y to handle errors safely.

업데이트: 2025년 8월 13일 오전 10시 09분
작성자: scrappy coco

Fix: Resolved an issue where TCFillContextMenu would cause a nil call error when right-clicking certain objects (worldContextBoombox.lua, line 46).
Change: Added additional nil checks for player, squares, and world objects to prevent crashes.

worldContextBoombox.lua

업데이트: 2025년 8월 13일 오전 9시 38분
작성자: scrappy coco

업데이트: 2025년 1월 31일 오전 12시 30분
작성자: scrappy coco

TCTrueItems.txt

The issue with TCTrueItems.txt isn't with any items it's with recipes using the old recipe format.
To fix the issue just delete both "recipe Dismantle" entries for TCWalkman and TruePlayers. This includes the "{ ... }" code block.

----
TCRWMMedia.lua

function TCRWMMedia:getMediaName(device)
replace InventoryItemFactory.CreateItem with instanceItem
local item = instanceItem("Tsarcraft." .. device:getModData().tcmusic.mediaItem)

----
ISTCBoomboxAction.lua

function ISTCBoomboxAction:performRemoveMedia()
replace InventoryItemFactory.CreateItem with instanceItem
local itemTape = instanceItem("Tsarcraft." .. self.device:getModData().tcmusic.mediaItem)

----
CRWMPower.lua

function TCRWMPower:addBattery( _items )
has been fixed by @KypT !

----
TCMusicDefenitions.lua
Radio. -> Base.
has been fixed by @Bandi232!

업데이트: 2025년 1월 30일 오전 6시 34분
작성자: scrappy coco

added battery fix

업데이트: 2025년 1월 30일 오전 6시 19분
작성자: scrappy coco

rollback

업데이트: 2025년 1월 30일 오전 6시 10분
작성자: scrappy coco

업데이트: 2025년 1월 2일 오전 1시 00분
작성자: scrappy coco

-TCLoading.lua - removed Code

업데이트: 2025년 1월 1일 오후 2시 02분
작성자: scrappy coco

removed :

table.insert(ProceduralDistributions["list"]["BedroomDresser"].junk.items, "Tsarcraft.TCWalkman");
table.insert(ProceduralDistributions["list"]["BedroomDresser"].junk.items, 1);

table.insert(ProceduralDistributions["list"]["BedroomSideTable"].junk.items, "Tsarcraft.TCWalkman");
table.insert(ProceduralDistributions["list"]["BedroomSideTable"].junk.items, 1);

table.insert(ProceduralDistributions["list"]["WardrobeMan"].junk.items, "Tsarcraft.TCWalkman");
table.insert(ProceduralDistributions["list"]["WardrobeMan"].junk.items, 1);

from TCLoading