Project Zomboid

Project Zomboid

Workshop Update
Showing 1-10 of 18 entries
< 1  2 >
Update: 6 Feb @ 3:43am

Update: 5 Feb @ 2:10pm

Hotfix

Fixed Bug

  • Fixed error in
    pollWorkshop()
  • Error:
    Exception thrown java.lang.RuntimeException: __len not defined for operand
  • Cause:
    getSteamWorkshopItemIDs()
    returned nil or an empty value, causing the server to crash.
  • Fix: The function now checks if the returned value is a valid table before using it.

Update: 5 Feb @ 1:53pm

The new version of Workshop Update is here! This update brings better code organization, optimizations, and bug fixes, making the mod even more reliable for dedicated servers.

What's New?

1. New File Structure – Improved Organization
The mod has been split into three separate files to improve manageability and multiplayer compatibility:
  • WorkshopUpdate_Client.lua
    – Handles chat and client-server communication.
  • WorkshopUpdate_Server.lua
    – Manages server restarts and Workshop checks.
  • WorkshopUpdate_Shared.lua
    – Contains shared functions for both server and client.
Benefits:
  • Improved stability, fewer multiplayer issues
  • Better code readability
  • Easier future expansion of the mod

2. Code Optimizations
  • Better server restart handling – now the server correctly waits for the game to save before restarting.
  • Improved
    WorkshopUpdate.minutes() function
    – now it's more readable and accurate.
  • Removed unnecessary event calls – improved performance with fewer redundant loops.

3. Bug Fixes
  • Fixed
    getTimestamp
    issue – now it always returns the correct time.
  • Improved error handling in
    querySteamWorkshopItemDetails()
    – prevents crashes when checking the Workshop.
  • Fixed
    sendServerCommand()
    – now correctly sends messages to all players.
  • Safe server shutdown (
    os.exit()
    ) – dedicated servers now shut down properly.

Update: 20 Dec, 2024 @ 2:43pm

Update: 18 Dec, 2024 @ 5:09pm

Fix

Update: 18 Dec, 2024 @ 2:12pm

Update: 18 Dec, 2024 @ 2:02pm

Fix

Update: 16 Nov, 2024 @ 2:14am

Fix!

Update: 15 Nov, 2024 @ 9:40am

Update: 14 Nov, 2024 @ 1:52pm