Jump to content

Search the Community

Showing results for tags 'client'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Found 3 results

  1. hi, im hosting a stable branch server for a few friends. two days ageo steam updated the stable branch of teh client, but not the steam dedicated server. i cant upgrade the server nor can we downgrade our clients, what am i supposed to do now?
  2. I am trying to write a shopping list mod and am having trouble with a key piece. I already have the recipe, UI for editing the list etc complete, but when I was testing with a friend we noticed that when I made changes to a list after it was created he was not able to see the updates. I started looking into sendClientCommand and sendServerCommand and was able to successfully pass my playerIndex to the server, and have the server send a message back to the client.. but I can't for the life of me figure out how to tell the server to update the mod data on the specific item I just updated on the client since sendClientCommand won't accept complex inputs like an InventoryItem. Anything I can think of seems like it would be prone to not working 100% of the time. Like if I were to make sure the item was on the player first (not ideal) and then find it by name, type, category, there are possibilities for the wrong list to be updated. There seems to be quite a few methods around transmitting mod data, but none of them seem to work with an InventoryItem, and I can't find any ways to convert an InventoryItem into something that has any of the mod data transmission methods either. Is this possible to do or am I chasing a unicorn here?
  3. Hey guys, I've been working on getting my mod to work on multiplayer and since there are very little resources on that topic I have a few questions. isClient() / isServer() What these methods do is clear, however when I call isClient() in a file that is located in shared it returns false although the initial call flow was triggered client side. So I execute a UI action located in client and call my reload script located in shared but isClient() returns false. Can anyone give me further information on these two methods? ModData I noticed that if I modify moddata on client side, it will not affect the moddata on server side. Now I looked through the existing code and found: transmitModData() - That sounds like exactly what I need, however it is not available on the HandWeapon object weapon:transmitModData() - Object tried to call nil player:sendObjectChange('addItem', { item = kit } ) - Seems to send a request to the client to add an item, I'm not sure if every object supports this and what the exact syntax is, can I just call any method on the target remote object with parameters? Can anyone elaborate on this function? Does anyone have another idea how I could sync the modData of an object betwen client and server? My first attempt to use sendClientCommand - process it server side and change the moddata failed to accomplish what I need.
  • Create New...