Jump to content

Search the Community

Showing results for tags 'server'.

  • 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







  1. WorldItemRemovalList=Base.Vest,Base.Shirt,Base.Blouse,Base.Skirt,Base.Shoes How to know what values put there? Why is there Base? I want to remove Broken Raw Axe, Broken Spear and some other items which can't be processed in game anymore. How it should be named Broken.RawAxe? Or .... ? Thanks
  2. Hi I want to add custom safehouse locations to an existing multiplayer server. After some thinking and searching I figured it would probably be easiest to use a map mod. The goal is to add a claimable safehouse and if possible not provide anything more than a bare minimum foundation for the player to claim and then build their own house on top of. No free walls etc. if possible. Plan is as follows: Download and get map editor working - Done Create a 1x1 cell map - half done, I think I understand the basics Figure out how to import map and lot information from the Muldraug map for a specific sector Figure out minimum requirements for a safehouse to be claimed Add my new safehouse Fire up and test the mod as a package If it was possible I would prefer to just mod the lot information for a sector and add that into a mod, but I am not sure that is possible. If it is, please let me know. I am currently stuck on trying to import the lot information for the location I have chosen. I find the coordinates and what sector to copy from the gamefiles using the coordinate system at map.projectzomboid.com, but I am not sure how to import that information into my custom map. The information itself seems to be located under the game folder here: media\maps\Muldraugh, KY I am also unsure whether I can get away with only changing the lot information or if I actually need to provide the entire sector as is from the game files to ensure it does not mess up the map itself. If this belongs under the help section, please let me know.
  3. Hi, I create a server and a new unique world with the time of the old wild west. More screenshots you can see here discord Server description you can see here discord The server will feature a variety of unique mods designed to provide greater realism and interest in the game. All the mods that are planned to be added will be shown here. Finished mods: Planned mods:
  4. Hi all, Please come along and join my PvE server. Details below; Name - M700N's UK PvE Server Mods - https://steamcommunity.com/sharedfiles/filedetails/?id=1421254188 Discord - https://discord.gg/pUXV9pp IP - m700n.ddns.net Port - 16261 IMPORTANT TO KEEP YOUR SAVES. When you select the server in the server list change the IP to m700n.ddns.net and save it to favorites. This is so when the IP changes on the server it does not affect your save. Once it is added to your favourites it may appear offline but if you connect it will work. If you do join the only rule there is is to not take over any commercial buildings as Safehouses because it will prevent loot from appearing within for other players. A couple of things to note also, you will be able to claim a Safehouse after 1 day of survival and you will be able to create a Faction after 2 days of survival. 1 day is 1 hour real-time. Cheers, M700N
  5. Its that time again for a new lore to be starting up. The start of the lore is Friday, March 2nd, 2018 at 7pm EST. It is not too late to jump on over to the forums and submit a character application HERE If you do though, please be sure to read the lore posting bellow or on the forums HERE as well as the server and community rules HERE Mods - You will find out in game Zombie and world settings - you will find out in game 1. The Lore It all started without a single voice on the television warning us, a silent whisper through the streets of Fairhaven. Our only warnings were hidden within the depths of the web, even then, the information was bare, mere mentions of a super-virus with no list of symptoms accompanying it. How could we have prepared? We couldn’t have. Within weeks, the super-virus finally tore through the veil shrouding it. It made national news, and Fairhaven was placed under quarantine by the U.S Government. We watched as parking lots were converted into refugee camps, shopping centers became quarantine centers, and our neighbors houses became burnt out shells of their former selves. Nobody told us anything, just that we couldn’t leave. We held on by a thread, biting the bullet where we could until people started vanishing from the camps, starting with the elderly, ending with children. Nobody had any real clue what was going on, families made scenes, tried to incite violence, until they vanished too. People were too afraid to act past the formation of C.E.I.T.A. We kept on eating our pills, taking our shots and watching the news for more information. All of this in the span of three days … three days, a major populace was nearly wiped to nothing, sections of the city barred off … only in three days. By day four? All we could hear were gunshots in the distance, the news telling us the quarantine had been expanded to Peoria and Bloomington, cutting us off from South Illinois. It wasn’t long until many of us were loaded up in buses and hauled off towards the military evacuation point outside the city … but not all of us, some of us were left behind to make our own way there. We gathered up in our cars and rode off, some towards the border, and some towards the evac point, right up until we reached the backed up highway with cars miles down. 2. The Towns Over The River (Fairhaven) (City) Valley Station (Kings Mill) Muldraugh (Twinsburg) West Point (Hartsdale) Rosewood (Union Center) Ohio Map + Dixie (White Horse Creek)
  6. 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?
  7. Hello, I created a droplet on DigitalOcean with Ubuntu 18.04. to get server I downloaded steamcmd and inside it typed force_install_dir ../server app_update 380870 validate quit to run server I went to server location and run start-server.sh It outputed nikita_c@project-zomboid-s1:~/server$ ./start-server.sh 64-bit java detected pzexe: about to run java hack to locate libjvm.so... pzexe: executing "java -classpath pzexe.jar -Djava.library.path=. zombie.pzexe" pzexe.java: loading shared library "pzexe_jni64" JVM=/home/nikita_c/server/jre64/lib/amd64/server/libjvm.so pzexe config file: /home/nikita_c/server/ProjectZomboid64.json pzexe: mainClass: zombie/network/GameServer pzexe: classpath: -Djava.class.path=java/:java/jinput.jar:java/lwjgl.jar:java/lwjgl_util.jar:java/trove-3.0.3.jar:java/sqlite-jdbc- pzexe: vmArg (json) 1: -Xms2048m pzexe: vmArg (json) 2: -Xmx2048m pzexe: vmArg (json) 3: -Dzomboid.steam=1 pzexe: vmArg (json) 4: -Dzomboid.znetlog=1 pzexe: vmArg (json) 5: -Djava.library.path=linux64/:natives/ pzexe: vmArg (json) 6: -XX:-UseSplitVerifier pzexe: vmArg (json) 7: -Djava.security.egd=file:/dev/urandom pzexe: vmArg (json) 8: -XX:+UseConcMarkSweepGC pzexe: using jvm "/home/nikita_c/server/jre64/lib/amd64/server/libjvm.so" java.io.FileNotFoundException: /home/nikita_c/Zomboid/server-console.txt (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:110) at zombie.network.GameServer.main(GameServer.java:297) Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/nikita_c/server/natives/libPZBullet64.so: libGL.so.1: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at zombie.core.physics.Bullet.init(Bullet.java:38) at zombie.network.GameServer.main(GameServer.java:309) Looks like problem is triggered, when it trying to open file in non-existing folder And second error triggered when trying to touch exising libPzBullet64.so File exist, but error appears. I tried this preveusly on Linux Mint 17 and it worked. Do you have any idea what it could be? Is this a bug?
  8. Hey, it has been a while but im back with a new Server. Come and have some fun! Welcome to the .-. .-..-. .-. ,'|"\ ,---. .--. ,'|"\ | | | || \| | | |\ \ | .-' / /\ \ | |\ \ | | | || | | | | \ \ | `-. / /__\ \ | | \ \ | | | || |\ | | | \ \| .-' | __ | | | \ \ | `-')|| | |)| /(|`-' /| `--.| | |)| /(|`-' / `---(_)/( (_)(__)`--' /( __.'|_| (_)(__)`--' (__) (__) .-. .-.,-. ,--, .-. .-. _______ .--. ,---. ,---. | \| ||(|.' .' | | | ||__ __||\ /| / /\ \ | .-.\ | .-' | | |(_)| | __ | `-' | )| | |(\ / |/ /__\ \| `-'/ | `-. | |\ || |\ \ ( _)| .-. | (_) | (_)\/ || __ || ( | .-' | | |)|| | \ `-) )| | |)| | | | \ / || | |)|| |\ \ | `--. /( (_)`-' )\____/ /( (_) `-' | |\/| ||_| (_)|_| \)\ /( __.' (__) (__) (__) '-' '-' (__)(__) THE SIMPLE VERSION RULES No KOS! (killing on sight) No griefing or unnecessary damage to Safehouses and belonging cars! A MORE EXPLAINED VERSION RULES We don't like to enforce many rules, we want our players to be free to enjoy the experience and do what they like. However, we do have to enforce just a short list of rules to ensure the roleplay aspect of the server remains in play. No KOS KOS, or Kill On Sight, is absolutely not allowed. We believe this is what makes regular PZ servers feel more like a deathmatch. Eliminating this problem will help roleplay feel better and more genuine. We do not condone KOS on our servers. Do not be mistaken with "no killing at all", you can absolutely kill people, thats why the servers are PVP. Here is an example of what is and what is not considered KOS. Telling a player to put their hands up and drop their gear. The player refuses so you shoot them. That would be perfectly fine and not KOS. Running into a town, spotting a player and trying to kill them. That is not okay and is KOS. When is KOS Allowed? KOS is enabled at Feasts, Vehicle events and Raiding/defending a base. No griefing or unnecessary damage to Safehouses and belonging cars! No abusing of the NO PVP Zones Griefing it, stealing from it, camping it out etc is not allowed at all. Admins spend a lot of time building these places for players to own shops and sell/trade items or simply to help new Players. These are safezones where there is no killing, no bandit behavior and no stealing. No combat logging This goes without saying but combat logging is against the rules. Whether its a gunfight, a robbery or an admin trying to speak to you, combat logging is not tolerated here. Combat logging is where a player disconnects from the server in the middle of a gunfight or altercation to avoid being killed or things of the sorts. (rules will most probably be revised!) Public Server List Name: [EU/DE] - Undead Nightmare - PVP/RP - Public - XP x3 hosted by Nitrado in Frankfurt, Germany. IP: Port: 16261 20 Slots Mods currently installed: Help to create a fresh EU PZ Community. Option to make the Server have more Slots is always given.... also any suggestions are much appreciated! Come Join us on Discord: https://discord.gg/kJ6c2rB Only 3 Accounts per User (contact me via Discord when encountering Problems logging in!) Thanks for taking your Time, now good luck & have fun
  9. LF a PvE server to casually play on. One where it isn't reset and people don't build absurd structures and destroy everything.
  10. Hi all, I have the below for my server with the explanations I know, Please can someone fill in the blanks?; SandboxVars = { Zombies = 4, (1 is insane amount, 5 is none) Distribution = 1, (1 is urban, 2 is uniform) DayLength = 3, (1 is 15 minutes, 2 is 30 minutes, 3 is 1 hour, 4 is 2 hours, 5 is 3 hours, 6 is 4 hours, 7 is 5 hours, 8 is 12 hours, 9 is real-time) StartYear = 1, (1 is the 1st year etc) StartMonth = 4, (1 is Jan, 12 is Dec) StartDay = 1, (1 is the 1st of the month etc) StartTime = 2, (1 is 7AM, 2 is 9AM, 3 is 12PM, 4 is 2PM, 5 is 5PM, 6 is 9PM, 7 is 12AM, 8 is 2AM, 9 is 5AM) WaterShut = 2, ElecShut = 2, WaterShutModifier = 500, (the number of days before water is shut off -1 mean instant) ElecShutModifier = 480, (the number of days before electricity is shut off -1 mean instant) FoodLoot = 4, (1 is extremely rare, 5 is abundant) WeaponLoot = 2, (1 is extremely rare, 5 is abundant) OtherLoot = 3, (1 is extremely rare, 5 is abundant) Temperature = 3, (1 is very cold, 5 is very hot) Rain = 3, (1 is very dry, 5 is is very rainy) ErosionSpeed = 5, (1 is very fast (20 days), 5 is very slow (500 days)) XpMultiplier = 15.0, (Obvious) Farming = 1, (1 is vey fast, 5 is very slow) StatsDecrease = 4, (1 is very fast, 5 is very slow) NatureAbundance = 3, (1 is very poor, 5 is very abundant) Alarm = 6, (1 is never, 6 is very often) LockedHouses = 6, (1 is never, 6 is very often) StarterKit = false, Nutrition = false, FoodRotSpeed = 5, (1 is very fast, 5 is very slow) FridgeFactor = 5, (1 is very low, 5 is very high) LootRespawn = 2, (1 is none, 2 is every day, 3 is every week, 4 is every month, 5 is every two months) TimeSinceApo = 1, PlantResilience = 3, (Plants resilience against disease/weather. 1 is very low, 5 is very high) PlantAbundance = 3, (How much farm plants produce. 1 is very poor, 5 is very abundant) EndRegen = 3, (Endurance regeneration (how fast you regain endurance). 1 is very fast, 5 is very slow) ZombieLore = { Speed = 3, (1 is sprinters (fastest), 2 is fast shamblers, 3 is shamblers (slowest)) Strength = 3, (1 is superhuman, 2 is normal, 3 is weak) Toughness = 3, (1 is tough, 2 is normal, 3 is fragile) Transmission = 1, (1 is blood/saliva, 2 is everyone is infected, 3 is no transmission) Mortality = 6, (This governs how deadly infection is. 1 is instant, 6 is 1 to 2 weeks) Reanimate = 1, (How fast zombies come back to life...again. 1 is instant, 6 is 1 to 2 weeks) Cognition = 3, (How smart zombies are. 1 is Navigate/Use Doors, 3 is basic navigation only) Memory = 2, (How much zombies will remember. 1 is long, 4 is none) Decomp = 1, (1 is slows/weakens them, 4 is no effect) Sight = 2, (How well zombies can see. 1 is eagle-eyed, 3 is poor) Hearing = 2, (How well zombies can hear. 1 is pinpoint, 3 is poor) Smell = 2, (How well zombies can smell. 1 is bloodhound, 3 is poor) ThumpNoChasing = true, }, ZombieConfig = { PopulationMultiplier = 0.5, PopulationStartMultiplier = 1.0, PopulationPeakMultiplier = 2.0, PopulationPeakDay = 100, RespawnHours = 50.0, RespawnUnseenHours = 15.0, RespawnMultiplier = 0.1, RedistributeHours = 12.0, FollowSoundDistance = 200, RallyGroupSize = 20, RallyTravelDistance = 30, RallyGroupSeparation = 15, RallyGroupRadius = 3, }, } This I am sure will help a lot of people out who are starting to run their own servers. Cheers all, M700N
  11. Stumbled upon this recentyl and talked to EnigmaGrey on Discord about it. I think the behavior of the game when a player tries to connect to a server with an existing save that has a different ServerPlayerID needs improvement. Situation right now: During loading the screen stays black with a small hint at the bottom. Couldn't get rid of it, no mouse click, no ESC, no space, no Enter, only task manager and killing worked. Preferred behavior: Add two buttons, one "Return to main menu", the other "create new character". The hint stays the same. This would be much more newbie friendly, because right now affected players need to manually delete their savegame. If a serverowner want's to completely restart and force every player to start with a new char the only way to achieve this is to alter the ServerPlayerID within the servertest.ini, but many players won't understand the hint and will never visit the server again because of this.
  12. I am the co-owner of the server in Newdawn (AGN / pz.aggressivegaming.org). This idea came from this server as we had issues with overwhelming perks / skills level in the past as players grind blindly without any RP. Hence this idea becoming a reality! I am working on this mod that allows server owner to change the skills max level so it will never be over powered when new player just joined trying to rp. The proposed idea is that it can be per character, per server and per steam account cap. This mod is still in work in progress and has no preview or anything. The features may increase overtime when the base intended features is done.
  13. Hello everybody ! I am looking for a few days to install a PZ server with vehicles on my vps debian 8 (x64) but impossible, every time errors, problems ect. Would someone have a tutorial or clear and precise information to provide me to allow me to install the server? For info I already try spiffo service but it does not install the right version (no vehicle), I want the version with the vehicles! Thank you in advance. Best regards
  14. Hey everyone and merry christmas to all of you! I enjoyed playing PZ with friends for a long time. Recently we had a longer break and wanted to start again since the stable build (in GOG) 38.30.3 is out. I updated my copy with the Galaxy client, my friend installed the updated version directly (he owns a copy but doesn't want to use a client) and we wanted to play, so I hosted a server but when he wanted to join, every single connection try resulted in a failure. The error message in his dos box said that a no steam client would not be able to connect to a steam client. As I mentioned, we both own PZ on GOG, so steam isn't involved anywhere. For today I hosted a new server which was an exact copy of an old one (with the very same settings). The old servers ran without any problems so I assume that those problems are a result of the recent updates. Is this a common problem at the moment or am I missing something here? I would really appreciate some advice. If you need to know anything, please just ask. Have a nice evening and happy hollidays! styx
  15. Greetings, another little mod from me and again, only useful in multiplayer. What does Coxis ServerMessage do? With Coxis ServerMessage (short: CSM) you, as in the serveradmin can display any text-information for your players that you want. This text will be displayed for every connecting player in a modal window. The player can still play the game, but the window will stay atop. If the player clicks the OK-button the window will close. How do I (=Serveradmin) edit the text? That's pretty simple: With the mod ships a CSMrules.txt, you can add your text there. Be careful to not make this to long at the moment (will get changed in a future update). Example preview: Download: Sourcecode on Github Steam Workshop
  16. Hello! I've been playing this great game for some time and about 2-3 weeks ago I bought a copy for my girlfriend. Since then I've been trying to start a server for us, but I just can't. Whatever I tried, my girlfriend was unable to connect. I've tried hamachi, connecting by ethernet, port forwarding, sarcificing a lamb... I just honestly tried to do what I can and nothing helps. So I'm asking you, dear fellow players and developers, for any help. Let us smash zombie heads together. Don't stop us now I'm ready to take this step by step, from begining, and I'll provide any infromation I can. Here's what I can think of, what can be useful: -both copies are on GOG -I have windows 7 64-b on my computer (where I want to host server) and my girlfriend has windows 8.1 64-b on her -our router is technicolor 7200.U (or just 7200)
  17. I'm not sure whats wrong, but I have been trying to fix this problem for 6 hours now, reinstalling and installing packages etc etc. I'm kinda tired so I will just ask on the forum now. I also don't understand the errors it throws, its random bullshit and honestly I think the whole server package is a mess anyways but I guess you guys know more, here is the log from last startup. Things I know: No other PZ is running on the same port, so that cant be it I reinstalled PZ from the normal release AND also IWBUMS and both have the same error. The error at the end about the map is confusing, I dont even know if thats the cause I doubt it is, I think some library is missing, but It worked before I updated. The user I am running the server with has all the permissions needed to access the folder and also /zomboid Update/Install script looks like this: ./steamcmd.sh +login #### #### +force_install_dir /home/gameserver/PZ/ +app_update 380870 validate +exit I did also try to use the normal game app ID, but same problems there, even worse cause shit's missing. Any help is greatly appreciated! pzlogs.txt TEMPORARY SOLUTION:
  18. New Dawn - Project Zomboid Roleplay has begun a new lore. Forums - Home Lore Rules Lore Overview This lore is a pre-apocalypse lore based around science, the supernatural and a cult. Players can play a secret member of the cult, blending into the town of Ashwood Cove to accomplish a nefarious plan with the goal of pleasing the old gods, or they can play an unsuspecting town member, living their every day life. Work at a store, own a store or be part of any number of jobs. Be part of the actual town and try to uncover the secrets that lay beneath the surface of the town. This lore will be full of plot twists, puzzles and secrecy. Player actions and choices will have a lasting effect on the world around them and will directly impact their ability to succeed in their tasks during events. Failure is in fact an option. There are many aspects of the world that are explained throughout the lore. A hint now may make no sense but later on down the road, that cryptic spray paint on the wall may make sense and be a clue to a future event. Will the towns people every figure out what is actually happening behind the scenes or will they eventually succumb to the will of the cult that has been operating undetected in the town for so long? Server Vars: Power/Water - Currently on Zombies - Do not exist.... yet Zombie Lore - Zombies will be starting off weak but over time the settings will change to make them stronger Fire Spread - off (its a small map. we dont need the whole play area burning down) Mods: Hydrocraft ORGM MoreBuild SVGWeaponNerf SVNoLuckInMP tnt-naturalclock HairStyle CoordinateView DubsProfessionMod PlayerDescription SVGReanimator RestlessZombies Cremation Map - Server utilizes the "All in one Zomboid map pack" but we are currently only utilizing the "New Hamilton" map. The rest of the map has been blocked off but is being used for event areas. The player area of the map has also been edited with additional buildings, stores and an ocean water front with a dock. Community- We are a good sized community of role-players from around the world. We have players in the US, EU and elsewhere. Our high population times are between 7pm EST and Midnight EST but we tend to have players on to some extent throughout the day. We have a helpful team of admins to assist you through the character creation phase, as well as in game when needed. We are always looking for new admins, but the chances of a new player getting on the team is basically nil. So unless you have been active for a few months, it may not be worth asking. Many times this community may not be PG but the admins will intervene if things go on the blatantly offensive size. Overall, its a good community that welcomes all sorts of people. We try to get applications processed within 24 or 48 hours but that also depends on how many applications come in at once, as well as how many changes are needed in an application. Server Hardware and other stuff- We utilize a fully dedicated server which gives us great server performance, within the limits the game and mods will allow. We have a custom logging system that allows us to keep track of everything said in server as well as anything taken or dropped. This means that if you are stolen from in a way not in accordance to the rules, we have your back... or we will find you like Liam Neeson trying to find his family. If you have any questions, you can ask here or in our discord, https://discord.gg/Puwj4WK
  19. Hey, please join my Australian Project Zomboid server. We are a semi pvp based server, looking for new players. There are already too large settlements, one in both Muldraugh and West Point, and they are both very friendly and are always looking for new players. We have a very big sense of community, and are in the process of making a server website, so come join, you won't regret it. IP ADDRESS:
  20. i am starting to miss the old servers with no mods pvp/pve on and it kept my ping balance, nowadays we get servers with mods that completely ruins the entire game and increases lag everywhere and makes the game unrealistic and crashes it and there are some servers that have infection off which is no fun and how do u even call that a zombie apocalypse since no zombie cant hurt you? just pisses me off, i say please remove the mods in the servers, i think mods should be used on private servers which ppl use for them and their friends, i am requesting the game developers to bring back the official servers with no mods please.. i miss my game.. btw 32 build was the best build i have ever played probably much better than now cause there are no servers to play now.. I REPEAT REMOVE THE MODS! peace.
  21. [EU][PUBLIC] - [No RESET] - [PvP] - [HARDCORE] IP: Port: 16261 Location: EU Slot: 50 "In a world dominated by the undead, where only the most experts and tenacious can survive, the writing "Alive Inside" is the last witness of the human’s presence. But Alive Inside isn’t only the last sign of humanity written on a roof or on a wall in a world dominated by a zombies, is also the essence of a true survivor. Alive Inside is for they who know that these are the end times and nothing will ever be the same again, for they know that there is no hope of surviving. Alive Inside is for who wrestle every day against extinction, for they know that despite the efforts it remains always and only the story of how you died." Alive Inside just a Project Zomboid’s server. VANILLA Nutrizionism: ON Sleep: ON PVP: ON Infection: ON Hard Experience X3 4 Hours for Day Loot respawn every 10 days in game No Cheat – No Backup – No Sky Base
  22. Heya folks! I've been fiddling around and trying to get my server functional, but I've run to a problem that I just cannot figure out - don't know if it's a problem at my end, or if the early state of the alpha multiplayer is to blame. Anyway, here goes: My ports are open (16261-16326, both TCP and UDP ) and even tried setting the server outside the DMZ, with disabled firewall and Antivirus(Not recommended, but only for troubleshooting). People can connect, but after a short time interval new areas stop to load for them, locking the player down to a small limited area, with black borders around it. Zombies still are active and everything in the limited playable area is functional. Manually disconnecting or attempting to quit at this point crashes the player client. Such issue does not appear on other servers for me, only on mine so far. Here are the excerpts from the consoles when the 'incident' happens, both server and client. Server Console: java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)Loading cell: 166, 143 (38, 33) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) at java.net.ServerSocket.bind(ServerSocket.java:376) at java.net.ServerSocket.<init>(ServerSocket.java:237) at java.net.ServerSocket.<init>(ServerSocket.java:128) at zombie.network.PlayerDownloadServer$1.run(PlayerDownloadServer.java:349)Exception in thread "Thread-74" java.lang.NullPointerException at zombie.network.PlayerDownloadServer$1.run(PlayerDownloadServer.java:373)Client Console: Player Connect received for player Niuva id 0 (me)INDEX MISSPLACED -1 size 3INDEX MISSPLACED -1 size 3java.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:150) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.net.SocketInputStream.read(SocketInputStream.java:203) at zombie.network.GameFileClient.DoFileTransferZip(GameFileClient.java:497) at zombie.network.GameFileClient.access$000(GameFileClient.java:22) at zombie.network.GameFileClient$1.run(GameFileClient.java:233)receiveObjectChange AddRandomDamageFromZombiejava.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:150) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.net.SocketInputStream.read(SocketInputStream.java:203) at zombie.network.GameFileClient.DoFileTransferZip(GameFileClient.java:497) at zombie.network.GameFileClient.access$000(GameFileClient.java:22) at zombie.network.GameFileClient$1.run(GameFileClient.java:233)java.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:150) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.net.SocketInputStream.read(SocketInputStream.java:203) at zombie.network.GameFileClient.DoFileTransferZip(GameFileClient.java:497) at zombie.network.GameFileClient.access$000(GameFileClient.java:22) at zombie.network.GameFileClient$1.run(GameFileClient.java:233)When the client tries to disconnect the server / exit the game, the client crashes. Upon relaunching the game and attempting to reconnect, the client starts looping the following message in the console, not being able to get in. timeout downloading zip, I'll keep waiting foreverAnd this is what happens server side. ID_NEW_INCOMING_CONNECTIONid=0 guid=711568742487824329User Niuva is trying to connect.Connected new client Niuva ID # 0 and assigned DL port 16262Shared zombie descriptor packet size is 64KBMetaGrid packet size is 33KBjava.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190) at java.net.ServerSocket.bind(ServerSocket.java:376) at java.net.ServerSocket.<init>(ServerSocket.java:237) at java.net.ServerSocket.<init>(ServerSocket.java:128) at zombie.network.PlayerDownloadServer$1.run(PlayerDownloadServer.java:349)Exception in thread "Thread-107" java.lang.NullPointerException at zombie.network.PlayerDownloadServer$1.run(PlayerDownloadServer.java:373)I'm out of ideas and no solution in sight. So my only option now is to turn to the official boards to seek assistance from the developers and more experienced people in the community. Cheers.
  23. Table of Contents: Click the links below to quickly navigate to sections you need. 1. Foreword">Foreword 2. Preparation">prep 3. Firewall Settings">firewall 3.1 Port Opening for Zomboid">pfiptables 4. Steamcmd for Zomboid Server Files">steamcmd 5. Zomboid Server Files">zomboid 5.1 Editing Zomboid Server Settings">serversettings 5.2 Editing Zomboid Server Difficulty">serverdifficulty 6. Server Monitoring Tools">tools 7. Launch Exceptions (Common functioning server errors)">exceptions 1. Foreword: This an installation guide is for beginner-intermediate users, steps are mostly in detailed explanations. If you just got SSH capabilities, a terminal on putty, and centos 7 on a vps/dedi provider, this is for you. Read carefully and make informed decisions via copy and paste. I am not responsible if you brick your server, if you're unsure, google first. VPS and 64bit dictates the tested environment, while providers of your server can be different from mine, centOS 7 is able to reliably run a project zomboid using the steps provided. If your CentOS is older/newer, tweak are needed for repositories, and libraries. Checks and options for the variations of CentOS are provided, but this guide does not derail into helping 32bit and dedicated server users, hopefully this helps you. Side Note (I excluded firewallD and replaced it with good ol' iptables): This entire guide ignores CentOS 7 firewallD and uses the old iptables for firewall options. because botnets were brute forcing SSH port on day 0, while I was newly acquaintenced to CentOS 7, I didn't have time to learn, so I used what I knew, iptables, with fail2ban. If you can help harden this in more native CentOS 7 options with fail2ban and firewallD, feel free to add your input. Editor's Note: [2/19] Going to format this better tomorrow, it's completed but not looking too pretty. [2/22] Update: Proof read and All steps recently tested and working on another dedicated server I'm running. [~~~~] ToDo: Append more zomboid server settings and server tools in the future. 2. Preparation: CTRL+C on windows and right click in a putty terminal to paste. Codes will be in boxes like these: EXAMPLE: DOUBLE CLICK SELECT AND COPY ME# These are comments, no need to copy Updates and checks are needed. Ingredients: Putty, your port 22 access, root and your password, and a centos7 server. What now? Log into your root account. Check for 64bit CentOS: uname -aYou should see "x86_64 x86_64 x86_64" at the end of line, congratulations, you're 64bit. If you're 32bit, the installation process will be a lot easier. Due to you not needing to install both 32bit libraries and 64bit ones to make zomboid work. To make sure you're root: whoamiyou should see "root" at the next returned line after you enter this command. Update repolist for yum: yum update Afterwards, to see what repos you have available: yum repolistTo check if you have RHEL 7 - RPMforge.net for java, and htop. This step is for those that do not have RHEL 7 rpmforge on their yum repolist: yum install yum-utils(wget in a folder if you want organized downloaded files) wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpmwget http://apt.sw.be/RPM-GPG-KEY.dag.txtrpm --import RPM-GPG-KEY.dag.txtrpm -i rpmforge-release-0.5.3-1.el7.rf.x86_64.rpmTo delete these setup files: rm -f RPM-GPG-KEY.dag.txtrm -f rpmforge-release-0.5.3-1.el7.rf.x86_64.rpmTo check for GPG keys: rpm -q --qf "%{NAME}-%{VERSION}-%{RELEASE} \n %{SUMMARY} \n" gpg-pubkeyTo check yum if you have RHEL 7 on the list yum repolist##And if you don't have RHEL 7: yum-config-manager --enable rpmforge 3. Setting up iptables as firewall: I had to prevent botnet attacks on day 0, didn't really get to learn firewallD/firewall-cmd, if you know a better process for this, please append your revision below. You might already have these services on your VPS/Dedi, it doesn't hurt to run yum install, because it updates the services if you already have it, and it will do nothing if you're already up-to date. yum install iptablesyum install iptables-servicesDid it come with a firewallD? systemctl status firewalldsystemctl status firewall-cmdfirewallD is on, disable it systemctl mask firewalldsystemctl start iptablessystemctl stop firewalldsystemctl enable iptablesno firewallD, it's off (skip this if you went through 4 lines above that disabled firewallD, it just repeats starting iptables.) systemctl start iptablessystemctl enable iptablesstart gets it running, enable gets it running after your VPS restarts (hopefully never). IMPORTANT [sSH] If you do not include this line you will be locked out of your server. iptables -I INPUT 1 -p tcp --dport 22 -m --state NEW -j ACCEPT#22 is not your ssh port? change accordingly.(Got locked out twice while I was trying to edit iptables on a dedicated server , no judging) Fail2ban is a quick and easy way of filtering out unwanted login entries from ssh I had security problems on my VPS, so I used it and it works. The latest version of fail2ban is on EPEL, you need to install the repository for it: yum install epel-releaseyum install fail2banEdit with your favourite text editor vi, nano or vim, I chose vim. yum install vimvim /etc/fail2ban/jail.localAppend the following to the empty file, bantime is in seconds, equals to 24 hours. If within 10 minutes, 10 entires were placed, they would be banned for a day, via the firewall settings of iptables set in jail.conf (default setting, where it inherits modifications of jail.local) [sshd]enabled = truebantime = 86400findtime = 600maxentry = 10action = iptables[name=SSH, port=ssh, protocol=tcp] Editing with Vim: 3.1 [important] Opening ports on iptables for your zomboid server: iptables -I INPUT 1 -p tcp -m tcp --dport 16261:XXXXX -j ACCEPTiptables -I INPUT 2 -p udp -m udp --dport 16261:XXXXX -j ACCEPT#UDP and TCP are needed#Replace Xs with additional users to 16261#XXXXX = 16261 + (player capacity)The Xs stands for the amount of users you want added to 16261, the range is dictated by the colon operator, where numbers left to right are inclusive. As in 1:3 is 1, 2 and 3. I read from somewhere that 2GB ram is equivalent to 10-15 players. You can do this later if you want, it's always changeable. My personal experience on a OpenVZ Linux 2GB VPS is that 2GB RAM handles 5 - 7 users smoothly with single player zombie settings. Removing iptables Rules [to refine your open port/mistakes] The oh no, I miscalculated amount of users I can handle, I can have more, or less. Delete old rules set above by... #To check rulesiptables -L INPUT -n --line-numbers#To delete rulesiptables -D INPUT <NUMBER_FROM_LINE_HERE>First line is to acquire a list of rules you've set on iptables. Second line is to remove it via the annotated line#Number dictated by the first command, you don't need the square bracket. Warning: Rule number on list is concatenated, not static. If you delete rule 2, rule 3 is now rule 2. Re type rule check command every time you want to delete, I locked myself out by deleting the SSH port two times too many. Saving iptable Changes service iptables saveYou thought service was replaced by systemctl? lol not quite. Wrapping fail2ban around iptables Check if you have fail2ban running after installation: systemctl status fail2banIf it's not running: systemctl start fail2banAnd enabling it starts it at every restart. systemctl enable fail2ban Congrats! You're done with basic firewall settings. 4. Getting steamcmd for zomboid server files: steamcmd is a script that helps you validate and obtain project zomboid server files and other steam supported games.. Install java and the libraries for glibc in 32bit form. yum install javayum install glibc.i686 libstdc++.i686because zomboid is 32bit, and your server is 64bit centOS, it requires 32 bit library to run a 32 bit game. Other libraries ([verified not needed] optional): The following should give you whatever resources it needs to run the zomboid dedicated server shell script properly as I have installed this out of fear that it would throw exceptions. I hope you wouldn't need the extra step, if you like to do a test, this is the step you don't include, and then include if the shell script terminal throws a bunch of exceptions during initialization. This is usually for when you get some obscure exception thrown at your zomboid console that is not normal. yum install libstdc++.x86_64 glibc.x86_64 glibc-common glibc-devel glibc-headersconcatenated version of the updated code from this op, in addition to the 64 bit versions of the previous glibc libraries. Adding steam user to run zomboid scripts It's recommended you use a separate user when running the zomboid server and steamcmd, out of security reasons that root shouldn't be logged in at all times. adduser steamuserpasswd steamuser#<type steamuser's password> Then you want to add the user to the group for using admin commands, called wheel. But before that, you want to check if this is allowed in the first place. visudoScroll down using arrow keys to find this line (make sure %wheel ALL(ALL) ALL is not commented out), it should look like the above. How to use vi to edit? (it's very similar to vim) Adding steamuser to wheel group usermod -aG wheel steamuserSwitch User to steamuser su steamuserCheck which group you're in by typing groupswhoami is just an empty command to test sudo on. sudo whoamiyour sudo password is that which you set for steamuser, not root. exit#this exits your su steamuser session, not putty terminal for your ssh session.It will return to [root @ yourserver] Making directory for steamcmd navigate to your folder of choice, for the purpose of defaulting a location for the guide, I chose /home/steamuser/ to install steamcmd and project zomboid under. mkdir /home/steamuser/steamcmd#makes directory aka folder called steamcmdcd /home/steamuser/steamcmd#goes to directory aka folder called steamcmdwget http://media.steampowered.com/installer/steamcmd_linux.tar.gz#gets the file from the web, provided by valve.tar -xvzf steamcmd_linux.tar.gz#unzips the filerm -f steamcmd_linux.tar.gz#remove unnecessary install files -f ignores prompted warnings and force yes./steamcmd.sh#runs script, a terminal appearing notifying you with...#Steam>You are now in the terminal of steamcmd.sh, type the line below, replace brackets with your account info. Make sure you have project zomboid on this account or else you wouldn't be able to download the dedicated server files, and be aware, password is visible, so watch your back login <STEAM:USERNAME> <STEAM:PASSWORD>You will be prompted with steamguard verification, yes this is everytime you want to run an update on project_zomboid from steam, fetch and type it from your email, hit enter, after login is confirmed. If you've mistaken your steamguard key, and the steamcmd terminal didn't kick you, type "quit" hit enter, repeat ./steamcmd.sh again and redo from the login. force_install_dir /<ANYWHERE>//<ANYWHERE>/ is a folder soon to be created within /steamcmd/, and it will hold the zomboid server files, to everytime you want to launch you have to visit and type it, i named it /server/. All immediate zomboid server launch options will be allocated within home/steamuser/server after you type this command in the steamcmd terminal: app_update 108600 -beta onlinetest validateThe above line is from the wiki, last revision in 2014, still worked for my setup. app_update is a cheap term for, install if you don't have, update if you do. 108600 is the ID for the steam game, project zomboid. beta opts-in the latest version onlinetest is maybe an id identifer for it (optional??? if someone wants to exclude for a test, results would be appreciated) Validate is just a check to confirm you didn't download a car, cause it's illegal you know. quitThis exits steamcmd terminal 5. Zomboid server files and settings: Preparing for your zomboid server launch. you are in your /home/steamuser/steamcmd folder cd server#or whatever folder you force_install_dir intoList the items under this folder with: ls You better see 'projectzomboid-dedi-server.sh' in there. Allocating RAM: We're going to edit RAM values allowed by the script to run your zomboid server. vim projectzomboid-dedi-server.shEdit these values with vim: -Xms4096m \ -Xmx4096m \Change to your ram's capabilities. Generally RAM: 1GB = 1024, 2GB = 2048, etc., Connal referenced Kirrus on this thread, noting to not place it over 80% of your VM's capacity, that means your VPS. What is Xmx and Xms? heap size allocation (what is xmx/xms) (Minecraft ram allocation) because minecraft runs in a similar setting in java as to this game, it's useful to see how other server hosts allocate RAM. How do you use vim again? (Smash spoiler button with hammer to find out) Spoiler [Ins] #Hit the (Insert) key on your keyboardNavigate your cursor to the place you want to replace, edit like a text file on windows, just backspace to delete, etc., When you're done editing. Hit [Esc] #escape key top left of keyboard to exit out of edit mode from [Ins]After you finished with the values you'd like, hit [shift] + [;] (semi colon), then type wq and enter to save and quit. :wq Using "screen" for multiple tabs in your window. Now we install screen to allow multiple instances of tabs/windows running in your VPS. yum install screenscreen[CTRL] + a , [c] #you actually have to hold Ctrl + a, release both, then hit cWhat screen allows is multiple instances of "tabs" on your one SSH window. To use it just [CTRL] + a, [c] to create a new instance of that tab. Then [CTRL] + a, [n/p] (n or p, to navigate next or previous tabs) and [CTRL] + a, [k] kills the process. (closes the tab) Additional info on "screen" If you see immediately when SSH login is steamuser, click on spoiler to fix. First time running Zomboid Server After you're acquainted with windowed navigation with screen. Launch your server ./projectzomboid-dedi-server.shFor the first time it'll prompt you with an admin password, and another prompt to confirm what you entered. Wait for it to load. when you see.. You're golden. You shouldn't see more lines after server is listening on port, unless you felt a bit hastey and joined it. quitTo exit out of the server in order to change settings. 5.1 Editing more server settings Now you want to start another screen to visit the server settings. [CTRL] + a, n #you actually have to hold Ctrl + a, release both keys, then hit nWill bring you back to the next screen, (you have two screens, we're navigating this one to another location), use it as much as you like, it cycles. vim /root/Zomboid/Server/servertest.iniTo edit values such as public, pvp, maxplayers, etc., Below are the values I really tweaked from default. How do I use vim to edit again? Settings I changed: PVP=falsePauseEmpty=truePublic=truePublicName=[CENTOS]TESTINGPublicDescription=TESTING 1 2 3MaxPlayers=15Remember 2GB = ~10-15 players, RAM wise, scale accordingly, and make sure to delete old iptables and reopen ports according to change. After that is done, you can safely restart your server. su steamusersudo ./projectzomboid-dedi-server.sh#note if sudo every prompts you of a password, it's always the password of that user you're on. Server should launch, and you and others should be able to join. Just know you have screen options, every time you close putty or whatever program you use to gain access to your SSH. You will have the option to resume with screen -rTo switch, just use: CTRL+a, then n. Provided you have two screens, navigates you out of the running server for you to do other server stuff. If you have only one screen, CTRL+a, then c to create a new. 5.2 Server Difficulty Tweaks: Luckily you're given a tool to create this file yourself. it's located on your steam copy of zomboid folder on windows CXYZ:\Program Files\Steam\SteamApps\common\ProjectZomboidThe file name of PZServerSettings.exe It's a GUI guided editor that automatically creates the file named servertest_SandboxVars.luafor your server location of.. C:\Users\YOURNAME\Zomboid\ServerFor your VPS it must be placed on /root/Zomboid/Serverif only you had winscp or an equivalent program to run the .exe file within the vps. Fear not you can just create "servertest_SandboxVars.lua" and paste the following inside. 6. Optional server monitoring tools: (more to be added) Install htop via yum install htophtopit's like task manager for windows, but in a terminal, you can end trees of processes. 7. Common launch Exceptions (if you see these while initialising you shouldn't worry) I see these two common exceptions being handled gracefully, meaning the server still runs. If you have other common launch exceptions, just paste below and I'll append it. I saw these two on my first installation of zomboid, still experimenting with my VPS. On my 3rd installation on a dedicated server, I didn't see the public server one thrown. During initialising phase of server system: "failed to parse Recipes..." When public server is set. you see java.lang.NullPointerException iptables, the perfect setting (guide in progress) Aiming for security and ability to connect players, and public server list, without using no firewall at all. iptables is very logical in its setup, almost too much, where orders matter from top to bottom.The Green and Red are establishing new rules to connection types below it. The bold black rules for udp and tcp is what your server needs for zomboid to accept connections The bolded REJECT is what you want to add SSH access to, before it. See The OUTPUT policy needs to be just that, I'm only using this as a gaming server, and I trust myself and zomboid devs I don't see the need to filter my own server's output. If it's not on ACCEPT, use the following line below. iptables -P OUTPUT ACCEPT#accepts all outward going packets. Because it's your server sending files.We're a server, so we need to accept input, but filter it. If for some reason it's not on ACCEPT. iptables -P INPUT ACCEPT
  24. 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?
  25. Hello guys! I have another super question about the PZ Map tool. I saw this video, but I don't understand how put the right path in the .txt file because i have a OVH linux server and i can not choose the path of it because is not on my pc obviusly... so, how can i do? thanks for helping!
  • Create New...