24-05-2011, 11:53 PM
|
#8 (permalink)
|
|
Banido
Registrado em: Nov 2009
Localização: Fortaleza-ce
Posts: 325
Agradecido 203 Vezes em 82 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Nome Real: Allan Alcântara de Alencar
|
Como falei cara...
Citação:
@echo off
title game server console
color 0c
:start
echo starting l2j game server.
Echo.
Rem -------------------------------------
rem default parameters for a basic server.
java -djava.util.logging.manager=com.l2js.util.l2logmana ger -xms1024m -xmx1024m -cp ./../libs/*;l2js-game.jar com.l2js.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.l2js.l2logmanager. Example:
Rem java -djava.util.logging.manager=com.l2js.util.l2logmana ger -xmx1024m -cp ./../libs/*;l2jserver.jar com.l2js.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
|
mude esses locais ...
|
|
|