Jump to content


  • Content Count

  • Joined

  • Last visited

About ProjectSky

  • Birthday 10/15/1992

Contact Methods

  • Website URL

Profile Information

  • Gender

Recent Profile Visitors

2466 profile views
  1. Maybe VehicleScript.class, I’m not sure.
  2. startup parameters -cachedir=~/.local/share/Zomboid
  3. 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
  4. 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
  5. server_browser_announced_ip is a invalid server setting, maybe b41 server-side character function will solve this issue
  6. 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.
  7. 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?
  8. 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.
  9. local DuctTape = getScriptManager():getItem("Base.DuctTape"); DuctTape:setUseDelta(0.05); call OnPreMapLoad event load this function
  10. ProjectSky


    OMG!! This is good news for server admin.
  11. Lua function? for k,v in pairs(_G) do print(k,v) end
  12. Set Night Darkness to darkest I can't see my character.(Equipped flashlights)
  13. ArrayList = java.util.ArrayList:new() table = {1,2,3,4,5,6,7,8,9,10} ArrayList:add(table) print(ArrayList:get(0)) > table 0x417557780 see https://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html
  • Create New...