ZeRo* Posted October 11, 2008 Posted October 11, 2008 Kalispera exw en aprob...8elw na ani3w enan gracia server..kai exw katebasei to pack l2j pernaw ola ta prog kanonika..!alla molis paw na kanw register..mou leei "java" dn anagnorizete esoteriki h e3oterikh entolh.... Mipos 3erete pos mporw na to fix :SS Thx pantos!! EDIT: ok paidia to brika ;) ama exei kaneis idio prob..akoute ti kanete!! anigete me simiomatario to StartGame.bat kai exei afto: @echo off title Game Server Console :start echo Starting L2J Umbrella echo. SET OLDCLASSPATH=%CLASSPATH% call setenv.bat REM ------------------------------------- REM Default parameters for a basic server. java -Dfile.encoding=UTF-8 -Xmx512m net.sf.l2j.gameserver.GameServer REM REM For debug purpose (for devs), use this : REM java -Dfile.encoding=UTF-8 -Xmx512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 net.sf.l2j.gameserver.GameServer REM If you have a big server and lots of memory, you could experiment for example with REM java -server -Dfile.encoding=UTF-8 -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 SoSta??esi bazete afto : C:\Program Files\java\jdk1.6.0_06\bin (analogos pou exete apo8ikefsi to java sas) to bazete etsi: @echo off title Game Server Console :start echo Starting L2J Umbrella echo. SET OLDCLASSPATH=%CLASSPATH% call setenv.bat set PATH="C:\Program Files\Java\jdk1.6.0_07\bin" REM ------------------------------------- REM Default parameters for a basic server. java -Dfile.encoding=UTF-8 -Xmx512m net.sf.l2j.gameserver.GameServer REM REM For debug purpose (for devs), use this : REM java -Dfile.encoding=UTF-8 -Xmx512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 net.sf.l2j.gameserver.GameServer REM If you have a big server and lots of memory, you could experiment for example with REM java -server -Dfile.encoding=UTF-8 -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 to idio kanete kai sta ipolipa...kai meta 8a einai gg!!(kai egw tixai to brika ;) )
0 ZeRo* Posted July 24, 2009 Author Posted July 24, 2009 pfff... -1 karma for spam+undig diabase tous kanones.. Locked.
Question
ZeRo*
Kalispera exw en aprob...8elw na ani3w enan gracia server..kai exw katebasei to pack l2j
pernaw ola ta prog kanonika..!alla molis paw na kanw register..mou leei "java" dn anagnorizete esoteriki h e3oterikh entolh....
Mipos 3erete pos mporw na to fix :SS
Thx pantos!!
EDIT: ok paidia to brika ;) ama exei kaneis idio prob..akoute ti kanete!!
anigete me simiomatario to StartGame.bat kai exei afto:
@echo off
title Game Server Console
:start
echo Starting L2J Umbrella
echo.
SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat
REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx512m net.sf.l2j.gameserver.GameServer
REM
REM For debug purpose (for devs), use this :
REM java -Dfile.encoding=UTF-8 -Xmx512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456
net.sf.l2j.gameserver.GameServer
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Dfile.encoding=UTF-8 -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
SoSta??esi bazete afto : C:\Program Files\java\jdk1.6.0_06\bin (analogos pou exete apo8ikefsi to java sas) to bazete etsi:
@echo off
title Game Server Console
:start
echo Starting L2J Umbrella
echo.
SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat
set PATH="C:\Program Files\Java\jdk1.6.0_07\bin"
REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx512m net.sf.l2j.gameserver.GameServer
REM
REM For debug purpose (for devs), use this :
REM java -Dfile.encoding=UTF-8 -Xmx512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 net.sf.l2j.gameserver.GameServer
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Dfile.encoding=UTF-8 -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
to idio kanete kai sta ipolipa...kai meta 8a einai gg!!(kai egw tixai to brika ;) )
3 answers to this question
Recommended Posts