Search the Community

Showing results for tags 'linux'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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
    • Pen & Paper / Community RPGs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 34 results

  1. Litio

    car texture

    Hello everyone! I have adored what Indie Stone has made of this game and support the linux staff! and already should know this, but here goes, I have the textures of the cars all black when they are in poor condition! I know it's not the most important! the operating system is lubuntu 18.04. continuation of good work! Can you solve , please?
  2. I'm running PZ in full screen on my right monitor, that has 1920x1080, but the game stubbornly believes it should use 1680x1050 which is the resolution of my left monitor. It doesn't actually change resolution but it will only draw over a portion of the screen. If I try to select 1920x1080 in the settings and apply it will change back to 1680x1050 when I hit apply. Borderless window also has a border so using that isn't a good solution atm. Using Xubuntu 18.10, GTX970 with proprietary drivers
  3. So... i get endless game loading while i try start game.... every time... Then I load game via bash and get this bash projectzomboid.sh 64-bit java detected Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0 Setting breakpad minidump AppID = 108600 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198209803892 [API loaded no] Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/defective/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/linux64/libfmod.so.10.8 which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'. java.io.EOFException at zombie.iso.IsoLot.readInt(IsoLot.java:70) at zombie.iso.IsoMetaGrid$MetaGridLoaderThread.loadCell(IsoMetaGrid.java:1202) at zombie.iso.IsoMetaGrid$MetaGridLoaderThread.runInner(IsoMetaGrid.java:1155) at zombie.iso.IsoMetaGrid$MetaGridLoaderThread.run(IsoMetaGrid.java:1146) p.s. i try run execstack bur it not installed and pacman don't find it in repository PC spec: ██████████████████ ████████ OS: Manjaro 18.0.0 Illyria ██████████████████ ████████ Kernel: x86_64 Linux 4.19.1-1-MANJARO ██████████████████ ████████ Uptime: 2h 7m ████████ ████████ Packages: 1296 ████████ ████████ ████████ Shell: bash ████████ ████████ ████████ Resolution: 1600x900 ████████ ████████ ████████ DE: KDE 5.52.0 / Plasma 5.14.3 ████████ ████████ ████████ WM: KWin ████████ ████████ ████████ WM Theme: Breeze High Contrast ████████ ████████ ████████ GTK Theme: Breeze-Dark [GTK2/3] ████████ ████████ ████████ Icon Theme: Adwaita ████████ ████████ ████████ Font: Noto Sans Regular ████████ ████████ ████████ CPU: Intel Pentium 4 3.00GHz @ 2x 3GHz GPU: GeForce GT 610 RAM: 1488MiB / 3252MiB
  4. Litio

    car texture

    Hello everyone! I have adored what Indie Stone has made of this game and support the linux staff! and already should know this, but here goes, I have the textures of the cars all black when they are in poor condition! I know it's not the most important! the operating system is lubuntu 18.04. continuation of good work! Can you solve , please?
  5. Litio

    car texture

    Hello everyone! I have adored what Indie Stone has made of this game and support the linux staff! and already should know this, but here goes, I have the textures of the cars all black when they are in poor condition! I know it's not the most important! the operating system is lubuntu 18.04. continuation of good work! Can you solve , please?
  6. sashapony

    Controller Support Broken (linux)

    Hi. I as many other users have a distate for windows but greatly love the game. my problem is project zomboid controller support for linux has always been broken throughout the entirety of the game development and it saddens me because i cant play multiplayer split screen period... on ANY version of linux whether it be Ubuntu, Arch, Etc... I have looked into several forums about adjusting the config file for the controller but thats Futile as the config file is incompatible with linux controller setups and i just dont know what to do. Can you PLEASE FIX CONTROLLERS!? I want to enjoy this game on the couch in my living room and i cant without having to grab a steam link and my mouse and keyboard... which is not comfortable at all... I have tried using an xbox360, xbox one, ps4, and steam controller and they all have the exact same issue. left stick can only move left and right, the right thumbstick can only look left. to move down you have to hit Start because for some reason the game sees your START button as an Axis for movement.... and Neither trigger works. In the config file there is an option to rebind things sure but you cant though.... the most i could do is make the analog sticks work correctly but start button is forced to be broken... and even after fixing the right thumbsticks... i cant look around without swinging my weapon if i look left or shoving if i look right. The Controller is completely unplayable on linux it also doesnt seem to matter what controller drivers are used either. Please if there is a fix that i can do.... or anything that can be done to fix this issue please reply back
  7. Seba500PLK

    [40.26] Server Linux issue

    Hello i have problem with server ( Project Zomboid Dedicated Server [IWBUMS] appid:380870) in linux ( Ubuntu Server 18.04 ) here log: 64-bit java detected ./start-server.sh: line 12: ./ProjectZomboid64: No such file or directory File "ProjectZomboid64" doesn't exists
  8. Hello. In collaboration with the admins of the Redboid community server, we have discovered a bug that prevents Linux clients from joining Windows-based servers. It seems that there is a mismatch between the contents of the "media/lua" folder between the clients. Specifically, the Linux client has the following file, which is not present in the Windows client: lua/client/OptionScreens/WorldScreen.lua This causes Linux clients attempting to connect to show the following error message: "You have been kicked because your game files do not match the server's.". This is also reflected in the attached screenshot. Removing the above mentioned file on the Linux client, seems to completely resolve the issue. A few system details: OS: Kubuntu 18.04 Kernel: Linux {redacted} 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux PZ version: 39.67.5 (Steam) Please let me know if you have any further questions.
  9. 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-3.8.10.1.jar:java/uncommons-maths-1.2.3.jar 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?
  10. 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:
  11. 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
  12. Jacksay

    [linux] Restart server

    I have question (in french follow), Question1 : I launch my 24/7 dedicated serveur in SSH (in screen command). When update come, I turn of the server with Command+C, U update it with steamcmd, and relauch server. This is the right way ? Because each time I do that, Safehouse are reset, and zombie can spawn (they not here before server stop). Question 2 : Can I juste "reload" server without stop brutally with Command+C after update ? FR : Question 1 : Je lance mon serveur en SSH (avec screen). Quand il y'a une mise à jour, je coupe le serveur avec un Command+C pour tuer le processus. Je lance l'update aec steamCMD, et je relance le serveur. Est-ce la bonne méthode ? car à chaque fois, les abris revendiqués sont reset et des zombies spawn a des endroits où il n'y avait rien avant l'arret du serveur. Question 2 : Peut-t'on mettre a jour le serveur à chaud. Genre on lance l'update via steamCMD avec le serveur qui continue de tourner, et une fois à jour, ça "poke" les client qui doivent se reconnecter avec le bon client ? Merci/thanks
  13. Hey Folks, i tried the last hours to set up a linux server for Project Zomboid and it was very difficult to find some usefull informations, because all of it was very old. So i want to share my short solution of setting up the server successfull at the end. The instruction is for users with basic to advanced knowledge about linux. 1. Open the ports of you Router for UDP/TCP: 16261 bis 162XX (XX = 61+<number of players>) 8766 bis 8767 27015 (TCP should be enough) 2. install steamcmd and login (for login: "login <username> <password>") Follow this instructions: https://developer.valvesoftware.com/wiki/SteamCMD#Linux 3. after login insert: "app_update 380870 validate" 4. go to the PZ folder in Steam/steamapps/common/... or where you forced the installation to. 5. "./start-server.sh" (give it some time, the process is not ready in a few seconds) 6. insert and confirm an admin password and wait until the process shows "Server Started" (or something like this) 7. shut it down and go to the folder: /home/<user>/Zomboid/Server/ 8. edit servertest.ini (more or less important stats: MaxPlayers / RCONPassword / Password / server_browser_announced_ip; If you want to host a public Server, you need to edit the PUBLIC stats) 9. start the server with "./start-server.sh" again. You should be able to connect now 10. optional: start/stop Script to start the server, create a new file with a name like "startZomboid.sh" and insert (Maybe you need to create the "output" folder in you user-space first): #!/bin/bash nohup ./start-server.sh &>/home/<user>/output/zomboid & disown and to stop the server create "startZomboid.sh" and insert: #!/bin/bash TEST=`ps -e | grep ProjectZomboid6 2>&1` kill $TEST | cut -d' ' -f1 If you have any questions, hints or improvements, tell me
  14. ainen

    Server Manager Linux Script

    Hello everyone, I've got an Ubuntu Server 64 bit VM that I would like to host a Project Zomboid server on. I have used this VM for hosting an Ark: Survival Evolved server in the past. I was able to manage this very easily with a tool called arkmanager. It did everything from installing the game, starting/stopping the server, and updating the game/mods. Does anyone know of a tool similar to this for Project Zomboid? If not, could anyone point me in the direction of a current (most scripts I've found seem to be outdated) script that will automatically start the server on Linux. Any help would be greatly appreciated. Thanks!
  15. Australian Zomboid players! Kaizokuroof comes to your aid and has started hosting a Public Project Zomboid Server, available to everyone! SERVER STATUS: ONLINE - The server is currently online. Server details: You can now find the server listed on the public server list, as my IP changes. Server name: Kaizokuroof's Australian PZ Server. Default port Ping limit: 300 Located in Canberra, Australia Game build/Version: NA - currently offline Mods: Currently running; Hydrocraft, ApCom - You can download them by clicking the name. Honor system/Rules: PvE is encouraged, but not enforced. Social engineering via global chat however, is not (no asking to join, to turn around and backstab them) Help! - Project Zomboid map, created by Blindcoder - This is metagaming and while I don't mind if you do, preferably don't use the map unless you're stuck Contact: If you need help with the server, want to band up, or are simply needing a chat then hit me up with the following methods: - Skype; kaizokuroof117 - Steam; supercrazyafroman117 - http://steamcommunity.com/profiles/76561198029318537/ - Or via the forums here, I check back every couple of days, so best bet is Steam, I don't often check skype. Donations: If you enjoy the server, have a little bit of extra cash and want to give something back, then click HERE!
  16. Hi! Currently I'm trying to set up a server on our Debian box, downloaded the dedicated server package (with appid 380870) but when I try to run it the server fails with this error: pzexe: Steam is not running[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.pzexe: SteamAPI_Init() failedMessage: 'Fatal Error', Detail: 'Steam must be running to play this game (SteamAPI_Init() failed).I recognized this error, having seen it in a TF2 dedicated server, which could be fixed by making a symbolic link to the steamclient.so file from steamCMD in the folder ~/.steam/sdk32 but this is already there, so that didn't help. Does anyone know how to fix this? Thanks!
  17. Huskynarr

    Steam Init - Newbie at Server

    Need Help, what make i wrong? I have correct installed, steamclient.so is there and another Games like CS-GO, CSS, CS16 and Starbound running on the Server. Linux Debian 8.1 Jessie 64-Bit. 64-bit java detected[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.Message: 'Fatal Error', Detail: 'Steam must be running to play this game (SteamAPI_Init() failed).'
  18. TylerB

    -Solved myself sorry-

    Couldn't figure out how to remove.
  19. MazeAsh

    Linux[CentOS] Server install issue.

    Hey guys, so I decided to change my Minecraft server into a PZ server and have been using the Cent OS guide pinned here. I've read all through every page, as well as googled the error etc etc but am still stuck. I'm at this point: app_update 108600 -beta onlinetest validateAnd I get this error: app_update 108600 -beta onlinetest validate/home/buildbot/buildslave/steam_rel_client_linux/build/src/clientdll/applicationmanager.cpp (961) : Assertion Failed: Failed to write app state file /server/steamapps/appmanifest_108600.acf/home/buildbot/buildslave/steam_rel_client_linux/build/src/clientdll/applicationmanager.cpp (961) : Assertion Failed: Failed to write app state file /server/steamapps/appmanifest_108600.acf Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)Error! App '108600' state is 0x1 after update job.And got sick of just sitting and staring at my screen not knowing wtf to do next lol. Help please! Edit: Patience is a virtue, downloaded after a lot of reattempts.
  20. JindoBlu

    Round Battle

    ROUND BATTLE(temporary title) Hi! Me and my big brother wanted to play something new, so I'm making a simply and funny arena game. Here some info (sorry for the quality of pics and video) VIDEO: ►HOW TO PLAY? : You can shoot, use special weapons, kick and dodge. You have to defeat your opponent or push it down from the arena. Pretty simple. ►HOW MANY PLAYERS? : Two. Or one, I've almost finished cpu script. ►WHICH PLATFORMS? : I'm developing this for Android in mind, but of course I'll release for Pc, Mac and Linux. On android I've already implemented touch controls and all the stuffs but there will be only single player mode (maybe one day I'll learn networking ) Here some special weapons: only three gifs because I'm tired and I need to sleep... Mine Frozen Orb SHOTGUN (?) And here some maps pics. At the moment there are 7 arenas. LIVING ROOM: if you pass through the door's cat passage (how do you say it?) you will be spit out from the air conditioning duct. ISLAND: twice a minute water goes up and you have to swim onto the raft or your life bar decrease FAR WEST: the mine kart travels the road Some numbers: at the moment there are 8 characters, 9 power up, 16 hats and 7 maps. I'm at 70 % of developing. Sorry for the bad english. Would you like to play this game with your friend ?
  21. Please grab a coffee, it's a long one. Specs of VPS: ~2GB RAM, Openvz CentOS 7 linux. I yum install java, screen, did the glibc installation as advised on the wikipedia page of steamcmd for centOS (glibc-2.17-55.el7_0.5.x86_64 || glibc.i686 and libstdc++.i686), then headed here, checked this link for glibc's -common, -headers and -devel, just in case. Problem #1: NullPointerException when listed as public server Here are the changes I made to the Zomboid/Server/servertest.ini PauseEmpty=truePVP=falsePublic=truePublicName=centosPublicDescription=lowcapsPublicPlayers=15The unique error I get running ./projectzomboid-dedi-server.sh on root (just to make sure it's not a permissions type problem) [ps. ram values set at 1024] Common header while launching: Exceptions: So I changed the servertest.ini to non-public PauseEmpty=truePVP=falsePublic=falsePublicName=PublicDescription=PublicPlayers=15And I get no NullPointerException like the one above, i'm not sure if this is the actual symptom that is preventing me from connecting to my own VPS. Problem #2: translator: failed to parse Recipes for language=EN This occurs both in the public and nonpublic listed options for modifying servertest.ini this problem does not change. I played enough hours to know worms and berries exists in single player, so I thought something is wrong here. I'm not sure if this is affecting the connection problem of client to server. Problem #3: I can't connect from Canada IP (my location) to Chicago IP (server) Obligatory background info: So when I first ssh'd into the VPS I had a warning of 4k login attempts, found out it was at a rate of 136 login attempts per minute from a single china IP, so I set up fail2bail. And since I didn't know anything about firewalld, I installed iptables, like the old CentOS I'm used to, ban-defended my box until it was down to 24 attempts per 10 hours and I caught around over a dozen IPs. so I have both iptables and firewallD, and I opened both on TCP 16261 - 16275, for the 15 player limit I'm imposing. iptables firewallD Even running without public server settings under servertest.ini I can't connect to the VPS, where I can join servers on public servers, I get this: sendto failed with code -1 for char 5 and length 1464.in the ProjectZomboid.exe repeated about ~3 times every time I try. It's like I'm trying to join a non-existing server. Full Logs: Full Logs from default launch script With public setting Without public setting Full Logs from network firewall settings Iptables and firewallD Thanks for reading in advance if you need further information of anything I'll provide in reply asap What I tried: Checking yum for updates Deleting folders of steamcmd, zomboid dedicated script directory, zomboid server ini file folder. Restarted CentOS VPS Network troubleshooting: This might be a network problem, so I nmap -PN -p 16261 -sN (PZ IP)on some public servers to see what their ports are like for the game, and some public servers have it as "open/filtered" under TCP. While mine's under "open/filtered" as well. So I'm now using tcpdump, by now I changed iptables to 16261-16281 that allows all tcp traffic destined port range from 16261-16281 in a line like this. tcpdump -s 6300 dst portrange 16261-16281 -w tcpfileI'm grabbing a snippet of when I launched the script and results. Here's what I did, to trigger the above. TCPDUMP Monitoring method used: I'm assuming the ip from port 55101 is from the public server authenticator. Btw I changed the game port from 16261 to 16262 from that .ini file for server settings, in order to test if that was working as intended. It is So I ran tcpdump -s 6300 dst portrange 16261-16281 -w tcpfile again but this time no public server, it's just the above results without port 55101's server. Then I ran tcpdump -s 6300 src portrange 16261-16281 -w tcpfileTwice, with the same conditions as above, once without public server setting, one with, with the default tcpdump method, no packets were from source of these port ranges. At this point, I tried everything, to my capabilities. So I decided to monitor all traffic that's not port 22, that's default SSH port at the time. tcpdump -s 6300 port not 22 -w tcpfileAnd I got this in return. Using the above quoted default tcpdump method. Analysis of Network packets. Intel gathered from this is: the 198.41.247.217 IP, reverse looks up = project zomboid's main website. mort.positive-dedicated.net i'm assuming is the authenticating server? Something happened between vps and pz's a handshake that allowed mort.positive-dedicated.net to communicate with my VPS, then following a ICMP code 1, where my VPS has the "host unreachable, admin prohibited" could be from IPtables? When I wake up in the afternoon I might just allow traffic from those specific IPs and ports, and maybe things will change for the better? Good news, I tested fate and systemctl stop iptables./projectzomboid-dedi-server.shconnected with my client pc YAY! it worked!systemctl start iptablessystemctl restart fail2banInstant >40 IP ban cause chinese hackers are still botnetting muh IP So now, I know it's iptables settings. What would I need to do for the traffic to be allowed? we'll find out! iptables -A INPUT -p tcp --dport 16261:162XX -j ACCEPTiptables -A INPUT -p udp --dport 16261:162XX -j ACCEPTEverything works as intended, you need TCP and UDP to get it working haha. This windmil journey for ports. Sigh.... Is this what normal traffic is like for a server that is working or is my VPS host the one that's limiting this connection somehow? or is this all within the libraries? Please help!
  22. Dr_Cox1911

    Proper restart-script for server

    I´m currently trying to enhance the performance of my server and therefore need some help. With build28 we can directly manage the server with console-commands, so it should be possible to do a grace restart. Some time ago I used a script which will simply kill the process and restart the sh-script, but I deactivated it because of potential damage to the map/save. I have decent linux skills but I´m kinda stuck here. What I would like to achieve with the restart-script: 5min before restart send a message to all playerssend the "quit"-command to the serverwait a couple of minutesrestart the serverI´m stuck at the communication from my script to the actual game-server. Hope there are some Linux-cracks around here (looking at you Kirrus )
  23. tested & works on - "Debian 8 jessie" - "Ubuntu 14.04.1 LTS trusty" NOTE: for PZ-Version 32.2x and above DOWNLAOD How to use? 1. ) download "spiffo-service.sh" 2. ) put the script into your root account folder 3. ) open the script with "nano" or "vim" and add your steam account details 4. ) execute "./spiffo-service.sh" or with "sudo ./spiffo-service.sh" ** script must be run as root! enjoy && have fun ****** Spiffo's Zomboid Server Service Center ****** Author: Nightmare @ http://n8m4re.de
  24. erayaydin

    Get Mac Adress Error

    Hello, When I set public=true this error happen at bottom: java.lang.NullPointerException at zombie.util.PublicServerUtil.getMacAddress(PublicServerUtil.java:169) at zombie.util.PublicServerUtil.insertDatas(PublicServerUtil.java:141) at zombie.util.PublicServerUtil.insertOrUpdate(PublicServerUtil.java:92) at zombie.network.GameServer.main(GameServer.java:291)OS: Ubuntu 14.10 x64 What I Tested: ifconfig command works.
  25. erayaydin

    Server Installation to VDS

    Hello, I used Spiffo's Zomboid Server Service Center , Buying & Running a Linux Project Zomboid Server and some installer scripts. Again and again I tried with fresh install. Also I'm using a linux distro. My server from Digitalocean.com Server Spec. Ubuntu 14.04 x642GBMemory2 CoreProcessor40GBSSD Disk3TBTransferMy installing way: Installing default-jdk Installing screen Adding a new user with steam name Change user with su Installing SteamCMD Installing ProjectZomboid ./steamcmd.sh +login mysteamusername mysteampassword +force_install_dir /home/steam/Steam +app_update 108600 validate +exit Creating Zomboid and Zomboid/db folders Downloading empty World.db to Zomboid/db Changing RAM in /home/steam/projectzomboid-dedi-server.sh -Xms1024m \ -Xmx1024m \ Execute /home/steam/projectzomboid-dedi-server.sh ./projectzomboid-dedi-server.sh My output only this. Its not generate Zomboid/Server/servertest.ini. Somethings wrong. Loading RakNet from: /home/steam/Steam/projectzomboidSVN REVISION 964versionNumber=Early Access v. 29.3 demo=falseserver name is "servertest" Only this output. I tried, Chown and Chmod to $HOME and Zomboid foldersFresh install with reinstall distro. Thank you for all comments To Moderator: Please change title with "Server Installation Error"