Jump to content

Question

Recommended Posts

  • 0
Posted

tried but nothing

 

@echo off

title Game Server Console

color 0b

:start

echo Starting L2 Brick Game Server.

echo.

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

REM Default parameters for a basic server.

java -Djava.util.logging.manager=l2.brick.util.L2LogManager -Xms1024m -Xmx2048m -cp ./../libs/*;l2brick_server.jar l2.brick.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 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

 

  • 0
Posted

adenaman, the script is already with these values..

 

Try

 

java -Djava.util.logging.manager=l2.brick.util.L2LogManager -Xms2048m -Xmx2048m -cp ./../libs/*;l2brick_server.jar l2.brick.gameserver.GameServer

 

But be sure you have at least 2Go ram free on your pc

  • 0
  • 0
Posted

scaled.php?server=802&filename=immafgine.jpg&res=landing

 

 

@echo off

title Game Server Console

color 0b

:start

echo Starting L2 Brick Game Server.

echo.

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

REM Default parameters for a basic server.

java -Djava.util.logging.manager=l2.brick.util.L2LogManager= -Xms384m -Xmx384m -XX:NewRatio=2 -XX:MaxNewSize=128m -cp ./../libs/*;l2brick_server.jar l2.brick.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 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

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock