Hi!Can someone help me with settings the start login and start gameserver.sh for linux?Im need good settings for 8Gb memory with starting my server in -server mode. Thx
Hey! It's been years since I tried this, just redownloaded everything for the nostalgia but I'm having the "mismatch" problem.
You were right, I used another system, not the one from the post! My bad!
Now I can't find the system that works with AuthGateD 🤣
I see you have found it and uploaded it but the link you provided no longer works. If you are still around, can you please reupload? Thank you!
Question
motili
Hi!Can someone help me with settings the start login and start gameserver.sh for linux?Im need good settings for 8Gb memory with starting my server in -server mode. Thx
Login:
# !/bin/bash
err=1
until [ $err == 0 ];
do
. ./setenv.sh
[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"
[ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
java -Dfile.encoding=UTF-8 -Xmx64m net.l2emuproject.loginserver.L2LoginServer > log/stdout.log 2>&1
err=$?
# /etc/init.d/mysql restart
sleep 10;
done
Gameserver:
# !/bin/bash
err=1
until [ $err == 0 ];
do
. ./setenv.sh
[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/java/`date +%Y-%m-%d_%H-%M-%S`_java0.log.0"
[ -f log/stdout.log ] && mv log/stdout.log "log/stdout/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
# For developers mostly (1. line gc logrotate, 2. line parameters for gc logging):
# [ -f log/gc.log ] && mv log/gc.log "log/gc/`date +%Y-%m-%d_%H-%M-%S`_gc.log"
# -verbose:gc -Xloggc:log/gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution
# Alternative startup by NB4L1
# java -Dfile.encoding=UTF-8 -Xmn128m -Xms512m -Xmx1024m -server net.l2emuproject.gameserver.util.BootManager > log/stdout.log 2>&1
java -Dfile.encoding=UTF-8 -Xmx1024m net.l2emuproject.gameserver.util.BootManager > log/stdout.log 2>&1
err=$?
# /etc/init.d/mysql restart
sleep 10;
done
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now