Jump to content
  • 0

Game Server


JANEZ123456
 Share

Question

6 answers to this question

Recommended Posts

  • 0

You have x64 system :P

 

Open GameServer.bat and you will see something like this :

java -Xmx512m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer

 

Repleace :

java -Xmx512m -cp

 

With:

java -Xmx2012m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer

Link to comment
Share on other sites

  • 0

i have vista x64 what i need change?

@echo off

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 com.l2dot.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

i have vista x64 what i need change?

@echo off

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 com.l2dot.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

 

l2dot btw where is your Xmx? :D

 

alredy answered so locked.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • 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