Project Zomboid

Project Zomboid

[B41 MP only] bikinitools: Server Edition - new vehicle ownership submod out!
How to set up shops
Hello I'm following step by step the guide to build the shops for my server, I can setup the item considered valuables so that can be sold for primary.
But when I try to add vehicle or guns the item shop tab is not appearing, even if I copy the guide 1:1.
< >
Showing 1-2 of 2 comments
bikinihorst  [developer] 15 Sep @ 8:45am 
have you removed lines 7-13 in the example mod / lua / shared / valuesandprices.lua?

-- IMPORTANT: -- THIS IS SO THE CODE FOLLOWING IS NOT PROCESSED TO JUST SHOWCASE HOW TO USE FUNCTIONS AND NOT IMPACT THE SYSTEM IT IS IN. -- REMOVE IT IN YOUR OWN MOD MAKING USE OF THE FEATURE SHOWCASED if true then return; end

check the console.txt when loading into the game for mentions of "lexer" or "stack trace" which can point you at malformed lua and errors using the "add" functions for the shops / valuables.

lastly, the items are cached so they need to be within a mod and loaded at startup. they can't be added during runtime of the server via debug console
Last edited by bikinihorst; 15 Sep @ 8:47am
KappaID 17 Sep @ 7:39am 
Was a mod conflict, reworked my whole mod list and now is working ^-^
< >
Showing 1-2 of 2 comments
Per page: 1530 50