Jump to content

ProjectSky

Member
  • Content Count

    307
  • Joined

  • Last visited

About ProjectSky

  • Birthday 10/15/1992

Contact Methods

  • Website URL
    https://zomboid.cn/maco

Profile Information

  • Gender
    Man

Recent Profile Visitors

2636 profile views
  1. LWJGL (3.2.3) support IME, but on PZ, it doesn't work. pls fix
  2. Maybe VehicleScript.class, I’m not sure.
  3. startup parameters -cachedir=~/.local/share/Zomboid
  4. try this local function test() local item = getScriptManager():getItem("Base.Axe") item:setWeight(0.5) item:setActualWeight(0.5) item:setTexture(icon); end Events.OnPreMapLoad.Add(test) not tested it, i think it should work
  5. If maxplayers is set to 1, server will crash at startup, set to 2 not crash. version: dedicated server build 40.43 hs_err_pid1737683.log
  6. server_browser_announced_ip is a invalid server setting, maybe b41 server-side character function will solve this issue
  7. i use the following code to modify zombie health, but i found some issue. local zb = getPlayer:getCell():getZombieList() if zb ~= nil then for i = 0, zb:size() - 1 do if zb:get(i):getHealth() < 2 then zb:get(i):setHealth(ZombRand(5.0, 10.0)) end end end When I kill these zombies, the information panel shows that the number of kill zombies keeps increasing.
  8. Yes, I found the containercapacity property, but i can't use getProperties():Set method set the capacity. container:getProperties():Set("ContainerCapacity", "100"); -- why return 15?
  9. Itemcontainer.class has a getcapacity method to get capacity, but it does not have setcapacity method, capacity is hard coded Can developers add a setCapacity method? This will be very useful.
  10. local DuctTape = getScriptManager():getItem("Base.DuctTape"); DuctTape:setUseDelta(0.05); call OnPreMapLoad event load this function
  11. ProjectSky

    Clipdoid

    OMG!! This is good news for server admin.
  12. Lua function? for k,v in pairs(_G) do print(k,v) end
  13. Set Night Darkness to darkest I can't see my character.(Equipped flashlights)
×
×
  • Create New...