Jump to content
  • 0

gameserver problem


Question

Posted

gameserver problem

 

starting l2j game server

unrecognized vm option usercompressedoops

could not create the java vitrual marchine

 

@echo off

title Game Server Console

:start

echo Starting L2J Game Server.

echo.

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

REM Default parameters for a basic server.

java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xmx3550m -Xms3550m -Xmn2g -Xss128k -XX:ParallelGCThreads=20 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+UseCompressedOops -cp ./../libs/*;l2jserver.jar com.l2jserver.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 If you are having troubles on server shutdown (saving data),

REM add this to startup paramethers: -Djava.util.logging.manager=com.l2jserver.L2LogManager. Example:

REM java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xmx1024m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer

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

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

 

 

 

mipos prepei na to alakso apo edo?

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...