Jump to content
  • 0

tha mporouse kapoios na voithisei ?


psofoula

Question

7 answers to this question

Recommended Posts

  • 0

Κάνε δεξί κλικ και επεξεργασία το Gameserver.bat και πες μου τι γράφει μέσα για να σου πω τι να αλλάξεις.

Link to comment
Share on other sites

  • 0

dn uparxei kati tetoio to mono pou uparxei einai auto GameServer_loop.sh ... pou dn nomizo na kanei ... dn uparxei kanena .dat file!!

 

StartGameServer.bat <--- Auto ennoeis??

 

@echo off

color 09

title Game Server Console

:start

REM ----------- Set Class Paths and Calls setenv.bat -----------------

SET OLDCLASSPATH=%CLASSPATH%

call classpath.bat

REM ------------------------------------------------------------------

 

REM -------------------------------------

REM Default parameters for a basic server.

java -Dfile.encoding=UTF-8 -Xmx512m lt.equal.gameserver.GameServer

REM

REM If you have a big server and lots of memory, you could experiment for example with

REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

REM -------------------------------------

 

SET CLASSPATH=%OLDCLASSPATH%

 

if ERRORLEVEL 2 goto restart

if ERRORLEVEL 1 goto error

goto end

:restart

echo.

echo Admin Restart ...

echo.

goto start

:error

echo.

echo Server terminated abnormaly

echo.

:end

echo.

echo server terminated

echo.

pause

 

Link to comment
Share on other sites

  • 0

@echo off

color 09

title Game Server Console

:start

REM ----------- Set Class Paths and Calls setenv.bat -----------------

SET OLDCLASSPATH=%CLASSPATH%

call classpath.bat

REM ------------------------------------------------------------------

 

REM -------------------------------------

REM Default parameters for a basic server.

java -Dfile.encoding=UTF-8 -Xmx1024m lt.equal.gameserver.GameServer

REM

REM If you have a big server and lots of memory, you could experiment for example with

REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

REM -------------------------------------

 

SET CLASSPATH=%OLDCLASSPATH%

 

if ERRORLEVEL 2 goto restart

if ERRORLEVEL 1 goto error

goto end

:restart

echo.

echo Admin Restart ...

echo.

goto start

:error

echo.

echo Server terminated abnormaly

echo.

:end

echo.

echo server terminated

echo.

pause

 

 

Βάλε αυτό που έχω με κόκκινο.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...