Jump to content

Question

Posted

Θελω να ανοιξω εναν server interlude και μου εχει τραβηξει το ενδιαφερον ο l2jfrozen.

Η δυσκολια που αντιμετοπιζω ειναι οτι δεν μπορω να τον ανοιξω πανω σε linux ubuntu.

Eνω με τον l2j δεν ειχα προβλημα.

Κανενα help?

Recommended Posts

  • 0
Posted

Des sto forum to Frozen sigoura tha exei guide..

Ευχαριστω πολυ παιδια αφηστε το topic ανοιχτo αν χρειαστω κατι ty :)
  • 0
Posted

Ξεκινησαν τα προβληματα , οταν ανοιγω τον login περνω αυτο το μηνυμα :

console terminal :P μπαινω σαν root

-su: /home/xxxx/server/Start_LoginServer_noScreen.sh: Permission denied

  • 0
Posted

εσβησες αυτα τα 2 file απο το pack?

 

Start_LoginServer_noScreen.sh

Start_GameServer_noScreen.sh

Τα σβηνω και φτιαχνω αλλα μεσα στον login και game?
  • 0
Posted

Τα σβηνω και φτιαχνω αλλα μεσα στον login και game?

Οχι! Δεν πρεπει να τα σβησεις! Το pack ειναι το ετοιμο η με eclipse?
  • 0
Posted

LoginServer_loop.sh

#!/bin/bash

cd /home/master/server/login
err=1
until [ $err == 0 ];
do
   [ -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 -Xmx256m -XX:+UseSerialGC -XX:+AggressiveOpts -cp lib/*:l2jfrozen-core.jar com.l2jfrozen.loginserver.L2LoginServer > log/stdout.log 2>&1
   err=$?
#   /etc/init.d/mysql restart
   sleep 10;
done

Start_LoginServer_noScreen.sh

#!/bin/bash



cd /home/master/server/login

echo "try to kill all realm screens"

while

pid_realm=`ps ax | grep 'SCREEN -AdmS realm ./LoginServer_loop.sh' | grep -v "grep" -m 1 | sed 's/[^0-9]?\([0-9]*\).*/\1/; s/[^0-9]*//'`

ps -p $pid_realm > /dev/null 2>&1;

do

echo "realm=$pid_realm";

kill $pid_realm;

done

echo realm screen...

screen -AdmS realm ./LoginServer_loop.sh

echo start...

xterm -title 'login server' -e tail -f /home/master/server/login/log/stdout.log &

GameServer_loop.sh

#!/bin/bash

DBHOST=localhost
USER=root
PASS=master
DBNAME=l2jdb

err=1
until [ $err == 0 ];
do
        #mysqlcheck -h $DBHOST -u $USER --password=$PASS -s -r $DBNAME>>"log/`date +%Y-%m-%d_%H:%M:%S`-sql_check.log"
        #mysqldump -h $DBHOST -u $USER --password=$PASS $DBNAME|zip "backup/`date +%Y-%m-%d_%H:%M:%S`-l2jdb_gameserver.zip" -
        [ -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"
        [ -f log/chat.log ] && mv log/chat.log "log/`date +%Y-%m-%d_%H:%M:%S`-chat.log"
        java -Dfile.encoding=UTF- -Xms2g -Xmx5g -Xmn512m -Xss128k -XX:PermSize=128m -XX:MaxPermSize=768m -XX:ParallelGCThreads=2 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -XX:CMSIncrementalDutyCycleMin=0 -XX:CMSIncrementalDutyCycle=10 -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+AggressiveOpts -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:gc.txt -cp lib/*:l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer > log/stdout.log 2>&1
        err=$?
        sleep 10
done

Start_GameServer_noScreen.sh

#! /bin/sh



cd /home/master/server/gameserver

echo server screen...

screen -AdmS server ./GameServer_loop.sh

echo start...



xterm -title 'Game server' -e tail -f /home/master/server/gameserver/log/stdout.log &

  • 0
Posted

Κανε αδδ skype η msn εχω μπολικα για frozen αμα θες.

 

Skype : AnimeLegend

MSN : fivocadamopouloc@hotmail.gr

kanonika apagorebete na dinoume help se tetio project srto kato kato exi forum diko toy
  • 0
Posted

Καλα απο οτι φαινεται δεν ξερεις και πολλα αν και εχεις 1432 post απορω.

Στον l2jfrozen επιτρεπεται το support.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...