Ir para conteúdo
  • Cadastre-se
  • 0

Erro Gameserver


mattmir

Pergunta

11 respostass a esta questão

Posts recomendados

  • 0

java -Dfile.encoding=UTF8 -Xms1024m -Xmx2048m -cp ./lib/*;./lib/uMad/*;l2jpx-core.jar net.l2jpx.gameserver.GameServer

 

Tava errado.

"Tente ser uma pessoa de valor , não de sucesso" - Albert Einstein

 

 

Link para o comentário
Compartilhar em outros sites


  • 0

Aumenta memória ram do java que o gameserver está usando, isso vai dar mais memória ram para o seu gameserver fazendo que esse erro não aconteça se configurado corretamente.

"Tente ser uma pessoa de valor , não de sucesso" - Albert Einstein

 

 

Link para o comentário
Compartilhar em outros sites

  • 0

Aumenta memória ram do java que o gameserver está usando, isso vai dar mais memória ram para o seu gameserver fazendo que esse erro não aconteça se configurado corretamente.

Como faço isso Tayran ?

Link para o comentário
Compartilhar em outros sites

  • 0

Com menu de contexto do windows clica em editar no GameServer.bat e procure pela linha do java :

java -Dfile.encoding=UTF8 -Xms1024m -Xmx1024m -cp ./lib/*;./lib/uMad/*;l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer

Aonde está -Xmx1024m aumente os numeros , são aumentados de 512 em 512, se quiser dobrar por exemplo, coloque 2048

"Tente ser uma pessoa de valor , não de sucesso" - Albert Einstein

 

 

Link para o comentário
Compartilhar em outros sites

  • 0

@echo off

title L2 Sagrado: Game Server Console

:start

echo Starting L2J-Project-X Core Game Server.

echo Official website : http://www.l2sagrado.com

echo Enjoy by server core. Bee happy!

echo ------------------------------

echo.

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

REM Default parameters for a basic server.

java -Dfile.encoding=UTF8 -Xmn2048m -Xmn1024m -cp ./lib/*;./lib/uMad/*;l2jpx-core.jar net.l2jpx.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 7 goto telldown

if ERRORLEVEL 6 goto tellrestart

if ERRORLEVEL 5 goto taskrestart

if ERRORLEVEL 4 goto taskdown

REM 3 - abort

if ERRORLEVEL 2 goto restart

if ERRORLEVEL 1 goto error

goto end

:tellrestart

echo.

echo Telnet server Restart ...

echo Send you bug to : http://www.l2jpx.com

echo.

goto start

:taskrestart

echo.

echo Auto Task Restart ...

echo Send you bug to : http://www.l2jpx.com

echo.

goto start

:restart

echo.

echo Admin Restart ...

echo Send you bug to : http://www.l2jpx.com

echo.

goto start

:taskdown

echo .

echo Server terminated (Auto task)

echo Send you bug to : http://www.l2jpx.com

echo .

:telldown

echo .

echo Server terminated (Telnet)

echo Send you bug to : http://www.l2jpx.com

echo .

:error

echo.

echo Server terminated abnormally

echo Send you bug to : http://www.l2jpx.com

echo.

:end

echo.

echo server terminated

echo Send you bug to : http://www.l2jpx.com

echo.

:question

set choix=q

set /p choix=Restart® or Quit(q)

if /i %choix%==r goto start

if /i %choix%==q goto exit

:exit

exit

pause

 

ONDE AI QUE EU MEXO, TENTEI MEXER MAS CONTINUOU :(

Link para o comentário
Compartilhar em outros sites

  • 0

@echo off
title L2 Sagrado: Game Server Console
:start
echo Starting L2J-Project-X Core Game Server.
echo Official website : http://www.l2sagrado.com
echo Enjoy by server core. Bee happy!
echo ------------------------------
echo.

REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF8 -Xmn2048m -Xmn1024m -cp ./lib/*;./lib/uMad/*;l2jpx-core.jar net.l2jpx.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 -------------------------------------

o vermelho troca pelo que o @Tayran.JavaDev falou

Link para o comentário
Compartilhar em outros sites

  • 0

 

@echo off

title L2 Sagrado: Game Server Console

:start

echo Starting L2J-Project-X Core Game Server.

echo Official website : http://www.l2sagrado.com

echo Enjoy by server core. Bee happy!

echo ------------------------------

echo.

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

REM Default parameters for a basic server.

java -Dfile.encoding=UTF8 -Xmn2048m -Xmn1024m -cp ./lib/*;./lib/uMad/*;l2jpx-core.jar net.l2jpx.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 -------------------------------------

o vermelho troca pelo que o @Tayran.JavaDev falou

 

java -Dfile.encoding=UTF8 -Xmn2048m -Xmn1024m -cp ./lib/*;./lib/uMad/*;l2jpx-core.jar net.l2jpx.gameserver.GameServer

 

MUDEI O XMN1024m por XMX1024m e funcionou !! ESSE ERA O ERRO ??

Link para o comentário
Compartilhar em outros sites

  • 0

assim cara

java -Dfile.encoding=UTF8 -Xmn1024m -Xmn1024m -cp ./lib/*;./lib/uMad/*;l2jpx-core.jar net.l2jpx.gameserver.GameServer

Deu erro, mas aquele jeito que citei acima deu certo ! Será que posso continuar daquele jeito ?

Link para o comentário
Compartilhar em outros sites

  • 0

Se deu certo maninho, continue do jeito certo. ^^

Blzz mano VLWWW!!

 

java -Dfile.encoding=UTF8 -Xms1024m -Xmx2048m -cp ./lib/*;./lib/uMad/*;l2jpx-core.jar net.l2jpx.gameserver.GameServer

 

 

 

Tava errado.

AHHHHH!! Então é desse jeito kkkk Vlw tayran, fiquei 2 dias tentando arrumar isso skfnjkasnjfsna, coisas pequenas muda muita coisa em

Link para o comentário
Compartilhar em outros sites

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.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  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.

Processando...
  • Registre-se

    Faça parte da maior e  mais antigas comunidades sobre Lineage2 da América Latina.





×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.