Enoahe

Member
  • Content count

    13
  • Joined

  • Last visited

1 Follower

About Enoahe

  • Rank
    Freshling
  1. does not allow on the server

    If you want to log in without manually creating users and open your server to the internet, you could use AutoCreateUserInWhiteList=true
  2. [40.16] Worm spawn in fridge.

    Well, they're edible, aren't they?
  3. Help with White-List issue. Images Inside.

    Well... thank you for a hint. Apparently, game stores md5 from passwords, so you can change it like this: 1. Generate new password. If you have issues with imagination, you can generate it like this: cat /dev/urandom | tr -dc 'a-zA-Z2-9' | fold -w 18 | head -1 2. Generate md5 hash from your password: echo -n 'newpassword' | md5sum 3. Replace old hash with a new one in the database: sqlite3 ~/Zomboid/db/servername.db sqlite> update whitelist set password='yournewhash' where username='yourusername'; ^D Now I have access to 'admin' account.
  4. Help with White-List issue. Images Inside.

    Hey, JayT! I've never been able to login as 'admin' user myself. Maybe this is supposed to be this way? You still can create another special user, give him admin access level and use as an admin account only.
  5. How do global xp is gained?

    Hi, Could someone point me in the direction of how exactly do global xp (thing that gives you skill points) is gained by characters? What actions brings you global xp? Did global xp acquisition speed depends on how many skill points you already have? Thanks.
  6. Apparently, Xmx and Xms options should be specified in json config, here: ~steam/.steam/steamcmd/pz/ProjectZomboid64.json (or ProjectZomboid32.json if you using 32-bit version of the server).
  7. And, apparently, I'm wrong again. While fiddling with zombie horde sizes and spawn rates I've stumbled upon couple out of memory errors, like this: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "UdpEngine" Exception in thread "PolyPathThread" java.lang.OutOfMemoryError: Java heap space Eventually JVM crashed and generated report file that says, among the other things, this: VM Arguments: jvm_args: -Xms2048m -Xmx2048m ...
  8. Hi, Is it possible to get current ingame date and time from zomboid server console? I want this to dynamically adjust some variables based on season and time of the day. I probably still can do this without knowing ingame time based only on day length and starting date, but I think they'll get out of sync eventually so I'd like to avoid it. Thanks.
  9. Well, I've kinda fixed it. Apparently those options should be appended after "./ProjectZomboid" part, like this: LD_PRELOAD="${LD_PRELOAD}:${JSIG}" ./ProjectZomboid64 -Xmx26214m -Xms26214m -servername newname"$@"
  10. Hi, I'm trying to change startup java memory parameters as well as default server name. I've changed values for -Xms and -Xmx and appended -servername newname option to java invocation inside start-server.sh script (attached: start-server.sh), but it didn't really change anything: steam@hq:~/pz$ bash -x ./start-server.sh ++ dirname ./start-server.sh + INSTDIR=. + cd . ++ pwd + INSTDIR=/home/steam/pz + /home/steam/pz/jre64/bin/java -version + echo '64-bit java detected' 64-bit java detected + export PATH=/home/steam/pz/jre64/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin + PATH=/home/steam/pz/jre64/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin + export LD_LIBRARY_PATH=/home/steam/pz/linux64:/home/steam/pz/natives:/home/steam/pz:/home/steam/pz/jre64/lib/amd64: + LD_LIBRARY_PATH=/home/steam/pz/linux64:/home/steam/pz/natives:/home/steam/pz:/home/steam/pz/jre64/lib/amd64: + JSIG=libjsig.so + LD_PRELOAD=:libjsig.so + ./ProjectZomboid64 pzexe: looking for PZXInitThreads.so pzexe: libPZXInitThreads64.so was not found. This is ok for a server, but multi-core rendering won't work on a client without it. 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/steam/.steam/steamcmd/pz/jre64/lib/amd64/server/libjvm.so pzexe config file: /home/steam/.steam/steamcmd/pz/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: vmArg (json) 9: -XX:-OmitStackTraceInFastThrow pzexe: using jvm "/home/steam/.steam/steamcmd/pz/jre64/lib/amd64/server/libjvm.so" 1539223647788 versionNumber=39.67.5 demo=false 1539223647788 server name is "servertest" ... As you can see, name is still "servertest" (should be "newname"), -Xms and -Xmx equals 2048m instead of declared 26214m. How can I increase memory allocation and server name in 39.67.5 server version? Thanks.
  11. How to change the amount of starting perk points?

    I believe, you can add more trait points with "CharacterFreePoints" option in servertest_SandboxVars.lua config.
  12. Create a paper with text

    Hi! I wondering, is there a way to give a player writeable item (sheet of paper, journal, notebook, etc) with a predefined text? I want to put a paper with a random quest into a players' inventory upon first spawn. Is it possible without mods? If not, is there a well-known mod that I can use to do this? Thanks.
  13. Hi! Please, tell me how to make server backups properly. Should I stop the server before creating a copy? Thanks.