Jump to content
  • 0

[Help]


Question

8 answers to this question

Recommended Posts

  • 0
Posted

the problem is that i have java installed damn and i thinked vista is cool but i cant do nothing to me server ><

 

add path to your gs , ls and other bats you need

 

set PATH="type here your path to java jdk/jre (including bin folder)"

 

add it inside the bats

 

 

  • 0
Posted

add path to your gs , ls and other bats you need

 

set PATH="type here your path to java jdk/jre (including bin folder)"

 

add it inside the bats

 

 

sry but i cant understand what you mean :( ty for help anyway :)

  • 0
Posted
  • 0
Posted

sry but i cant understand what you mean :( ty for help anyway :)

 

gs.bat is smth like that

 

@echo off
title Game Server Console
:start
echo Starting l2jfree
echo.

SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat

REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx512m com.l2jfree.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 com.l2jfree.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

 

and make it smth like that

 

@echo off
title Game Server Console
:start
echo Starting l2jfree
echo.

SET OLDCLASSPATH=%CLASSPATH%
call setenv.bat

set PATH="type here your path to java jdk/jre (including bin folder)"
REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx512m com.l2jfree.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 com.l2jfree.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

  • 0
Posted

I have a similar problem with windows vista 64 bit. I changed my bat files and have no problem with the login server however the game server has a problem with

 

"Main" Java.lang.OutofMemoryError:GC overhead limit exceeded.

 

Then it just never finishes loading....

 

I have 4 gigs of memory?

 

Should I switch to 32 bit Vista? Did not want to because have 4 gigs of ram on laptop and would lose 1 gig.... I have xp running with interlude server on desktop no problems.... just want to be able to travel and edit my server offline on laptop then apple changes to main server when I return from business trips...

 

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...