Jump to content

Search the Community

Showing results for tags 'Linux'.

  • 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

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

  1. 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!
  2. 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).'
  3. Couldn't figure out how to remove.
  4. 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.
  5. 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 ?
  6. 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!
  7. 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 )
  8. 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
  9. 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.
  10. 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"
  11. Hi, I'm not particularly versed in Linux, I've setup servers in the past though, even PZ servers but this one is troubling me. I'm trying to run the server on what I think is CentOS (Server hosted by CreeperHost). I got through the Steam part, downloaded the game and everything no problems, but when I try to ./projectzomboid-dedi-server.sh I get this Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0Loading RakNet from: /home/minecraft/steam/pz/projectzomboidException in thread "main" java.lang.UnsatisfiedLinkError: /home/minecraft/steam/pz/projectzomboid/libRakNet64.so: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /home/minecraft/steam/pz/projectzomboid/libRakNet64.so) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1119) at zombie.core.raknet.RakNetPeerInterface.init(RakNetPeerInterface.java:19) at zombie.network.GameServer.main(GameServer.java:127)Any help would be greatly appreciated, I'm sure it's a minor thing that I've overlooked and I'll end up looking rather silly but as long as it gets the server working. Thanks.
  12. Hi every one! I want to report bugs and crashs frome the linux steam version, and just don't find the log folder. Where should I look? is the file extension .log? I've found the ".steam/.../steamapps/Project Zomboid" and the "~(user)/Zomboid" folders. EDIT: I forgot : I'm on ubuntu 12.04 LTS 64 bits
  13. I figured out how to run pz in the latest steam release for Linux 64bit using Mint 15, I posted my instructions below. I'm not sure of the version, but in the bottom right I see '17 (0014)' _____________________________ In the latest steam release, pz for linux does not boot. I ran my lwjgl command but there was still no result. I ran the program directly in terminal and got this: ./projectzomboid.sh: line 11: cd: ../projectzomboid: No such file or directoryError: Could not find or load main class zombie.gameStates.MainScreenStateNow, the first error has occurred in the past and didn't affect the game. However, it does now, so we need to fix it. I don't know if you recognize this though, but .. is a way of saying in bash (linux) to go down one directory. For example, at ~/Music/indie if you ran cd ../rock you would go from ~/Music/indie --> ~/Music --> ~/Music/rock Relating to our script, doing the exact opposite of what our developers want! So how to fix? Edit the file projectzomboid.sh at ~/.local/share/Steam/SteamApps/common/ProjectZomboid In the line that contains this (INSTDIR one): GAMEDIR="${HOME}/.project_zomboid_2.9.9.17"LOGFILE="${GAMEDIR}/${SCRIPT}.log"--> INSTDIR="`dirname $0`"./projectzomboid ; cd "${INSTDIR}" ; INSTDIR="`pwd`"Delete the last line and add this: cd `dirname $0`if [ ! -d projectzomboid ]; then INSTDIR=`pwd` else INSTDIR="$(cd "projectzomboid"; pwd)"; cd $INSTDIRfiso that it looks like this: SCRIPT="`basename $0`"GAMEDIR="${HOME}/.project_zomboid_2.9.9.17"LOGFILE="${GAMEDIR}/${SCRIPT}.log"cd `dirname $0`if [ ! -d projectzomboid ]; then INSTDIR=`pwd` else INSTDIR="$(cd "projectzomboid"; pwd)"; cd $INSTDIRfi[[ ! -d "${GAMEDIR}" ]] && mkdir -m 0755 "${GAMEDIR}"JARPATH=".:lwjgl.jar:lwjgl_util.jar:jinput.jar"If you're wondering why do a if test, you can do the same thing in the projectzomboid.sh file inside ProjectZomboid/projectzomboid/ and won't screw up the script (as the orginal code did) Might be helpful to dev's...
  14. Hello there folks, I am able to play the release version 10 of Zomboid. But the latest 16 from the forum and the 17 Steam fails... Firstly with the forum version, it fails to even open as mentioned and solved in this post. Thanks to snipertyler. The answer is a wrong liblwjgl.so file, and this code solves it... pzfldr="/PATH/TO/projectzomboid/"; if [ ! -f ~/Downloads/lwjgl.zip ]; then (cd ~/Downloads; wget 'http://sourceforge.net/projects/java-game-lib/files/latest/download?source=files' -O lwjgl.zip); fi && (cd "$pzfldr" && unzip -j "/home/$USER/Downloads/lwjgl.zip" lwjgl-2.9.0/native/linux/liblwjgl64.so lwjgl-2.9.0/native/linux/liblwjgl.so)Secondly, the game will close due to multi thread proccessing as mentioned in this post. This one, however, is solved but not implemented, thanks to Eggplanticus. It can possible be solved in v17. And thirdly, after the wonderful news about PZ being already available on Steam. I cannot get it to run due to Steam being 32bit, and my system 64bit. Steam does run, my system is multiarch enable with working i386 and amd archs. Howver trying to install the needed 'openjdk-7-jre:i386' will inevitably uninstall the 64 bit JRE and with it a bunch of essential system packages. So here a few obstacles in my way of playing the latest Project Zomboid. Any suggestions how to workaround this? Specially getting the Steam PZ to work on linux, as I most likely will do it too on another computer. I am aware that with the solutions mentioned for forum release, its only a matter of time before a working version is around again. Out of curiosity, my OS is Debian Wheezy.
  15. So for me pz doesn't work with 64bit linux mint through the steam download. I get a immediate crash when loading. Same with compatibility mode. I ran the projectzomboid.sh in ~/.local/share/Steam/SteamApps/common/ProjectZomboid to grab any terminal output. Here's what I got: $ bash projectzomboid.sh net.puppygames.steam.SteamException: Can't load native libraries at net.puppygames.steam.SteamAPI.create(SteamAPI.java:76) at net.puppygames.steam.Steam.create(Steam.java:40) at net.puppygames.steam.Steam.init(Steam.java:64) at zombie.core.Core.init(Core.java:1378) at zombie.GameWindow.init(GameWindow.java:1341) at zombie.GameWindow.maina(GameWindow.java:887) at zombie.gameStates.MainScreenState.main(MainScreenState.java:98)AL lib: (EE) alc_cleanup: 1 device not closedthis doesn't *look* similar to the xinitthreads problems I'll try installing 32bit java as recommended in the morning and see if that fixes it..
  16. Tested on 64bit & 32bit builds. So the Linux versions, Debs and Tarballs have this on-going problem of not being able to even start. The stand-alone seems to work. However, the Desura, Steam and forum unstable builds have this problem. After a fun time of trial and error, I identified the problem file, liblwjgl.so (and liblwjgl64.so for 64 bit) They need to be replaced by the new stable build of LWJGL. Download the zip and extract the appropriate file to the projectzomboid folder. It is located in lwjgl-2.9.0.zip/lwjgl-2.9.0/native/linux/liblwjgl.so (and liblwjgl64.so for 64bit) For now, this should fix the problem. I developed a terminal command to do this all in one step. Change the pzfldr variable to your extracted projectzomboid folder (for the forum edition) Run the command, then enter A<Enter> when indicated for replacing the file. Forum Edition: This will work when pz was extracted to a place where you have write permissions. (Try this one first as it lets you easily specify where your pz folder is) pzfldr="/PATH/TO/projectzomboid/"; if [ ! -f ~/Downloads/lwjgl.zip ]; then (cd ~/Downloads; wget 'http://sourceforge.net/projects/java-game-lib/files/latest/download?source=files' -qO lwjgl.zip); fi && (cd "$pzfldr" && unzip -j ~/Downloads/lwjgl.zip lwjgl-2.9.0/native/linux/liblwjgl64.so lwjgl-2.9.0/native/linux/liblwjgl.so)If you installed it using Steam if [ ! -f ~/Downloads/lwjgl.zip ]; then (cd ~/Downloads; wget 'http://sourceforge.net/projects/java-game-lib/files/latest/download?source=files' -qO lwjgl.zip); fi && (cd ~/.local/share/Steam/SteamApps/common/ProjectZomboid/projectzomboid/ && unzip -j "/home/$USER/Downloads/lwjgl.zip" lwjgl-2.9.0/native/linux/liblwjgl64.so lwjgl-2.9.0/native/linux/liblwjgl.so)If you installed it using a deb file (which installs to /opt/projectzomboid/ and requires root) if [ ! -f ~/Downloads/lwjgl.zip ]; then (cd ~/Downloads; wget 'http://sourceforge.net/projects/java-game-lib/files/latest/download?source=files' -qO lwjgl.zip); fi && (cd /opt/projectzomboid/ && sudo unzip -j "/home/$USER/Downloads/lwjgl.zip" lwjgl-2.9.0/native/linux/liblwjgl64.so lwjgl-2.9.0/native/linux/liblwjgl.so)Thank you tazyload for showing me where to find the LWJGL build! CareBearCorpse also made a script that you can simply run as needed inside the projectzomboid folder. I posted this originally here but figured support might be a better place to put this..
  17. The linux mesa drivers currently only support up to glsl 1.3. Therefore, I have created drop-in replacement shaders based on the 2.9.9.11 one which compile and work properly on this platform. Just unpack it to your shaders directory. Now, for example, lights work in game! Updated version of the 2.9.9.15 shaders: This version eliminates warnings about deprecated functions that have been reported.
  18. Smilo

    PZ wont launch

    So i just bought project zomboid on desura, however it wont launch. I have both 32 bit and 64 bit java as said is required on the wiki. I use Ubuntu 12.04 64bit I ran it in terminal and the error message i get is Exception in thread "main" java.lang.NoClassDefFoundError: zombie/gameStates/GameStateMachine$StateAction at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2521) at java.lang.Class.getMethod0(Class.java:2764) at java.lang.Class.getMethod(Class.java:1653) at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486) Caused by: java.lang.ClassNotFoundException: zombie.gameStates.GameStateMachine$StateAction at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 6 more If anyone could help that would be great. Thanks for your time!
×
×
  • Create New...