Secret Experience

Secret Experience (https://secretexperience.net/index.php)
-   [L2J] Dúvidas (https://secretexperience.net/forumdisplay.php?f=37)
-   -   [Interlude] ajuda sobre lag (https://secretexperience.net/showthread.php?t=23233)

ManoeL-ADM 12-07-2010 11:49 PM

ajuda sobre lag
 
como configurar a memoria ram no gameserver e loginserver pra roda sem lag com um dedicado com essas configurações

Citação:

Intel(R) Xeon(R) CPU
E5520 @ 2.27GHz
2.26GHz 2,00 GB de RAM

Citação:

@echo off
title L2JTeon: Game Server Console
:start
echo Starting L2JTeon Game Server.
echo Visit L2JTeon.servergame.com for updates.
echo.
REM ------------------------------------------------------------------------
REM #================================================= =====================#
REM # You need to set here your JDK/JRE params in case of x64 bits System. #
REM # Remove the "REM" after set PATH variable #
REM # If you're not a x64 system user just leave #
REM #================================================= =====================#
REM set PATH="type here your path to java jdk/jre (including bin folder)"
REM ------------------------------------------------------------------------

REM -------------------------------------
REM Default parameters for a basic server.
java -Dfile.encoding=UTF-8 -Xmx512m -cp bsf.jar;bsh-engine.jar;bsh-2.0b5.jar;mmocore.jar;javolution.jar;c3p0-0.9.1.2.jar;mysql-connector-java-5.1.6-bin.jar;l2jteon.jar;jython.jar;jython-engine.jar;commons-logging-1.1.jar;java-engine.jar net.sf.l2j.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 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Administrator Restarted ...
echo.
goto start
:error
echo.
echo GameServer Terminated Abnormaly, Please Verify Your Files.
echo.
:end
echo.
echo GameServer Terminated.
echo.
pause

radiador22~ 12-07-2010 11:53 PM

Modifica essa linha:
Citação:

java -Dfile.encoding=UTF-8 -Xmx512m -cp bsf.jar;bsh-engine.jar;bsh-2.0b5.jar;mmocore.jar;javolution.jar;c3p0-0.9.1.2.jar;mysql-connector-java-5.1.6-
aonde está 512, mude para 1024, com um vps de 2 gb, fiz isso, rodei 170 on de boa. tenta fazer isso, qualquer coisa posta aqui de novo.

ManoeL-ADM 13-07-2010 12:17 AM

mais com geodata ?

radiador22~ 13-07-2010 12:22 AM

Sim, pode pesar um pouco, mas comigo rodou, 150 ~~ 170 normal, sem lag, quando passo prescisei trocar mas lembro uma tarde que deu 210, começo a da uns lag, mas nada absurdo. tudo isso usando geodata, mas isso também é relativo, pois depois usei um dedicado de 8gb e de vez enquando ainda dava uns lag tenebroso mesmo. mas modifica assim pra ver.

ManoeL-ADM 13-07-2010 12:25 AM

como voce tinha deixado configurado seu GEODATA?

Citação:

# GeoData options:
# 0 = GeoData and PathFinding OFF (default)
# 1 = GeoData used to check Line Of Sight (LOS) targetting and
# L2Playable movement. You need to download files for data/geodata folder.
# Monsters can pass walls but not aggro through them.
# 2 = Full GeoData enabled, CURRENTLY FOR TESTING ONLY. Includes PathFinding
# (requires also /data/pathnode files) and all character moves go
# through geodata checks (if a mob passes a wall, pathing is wrong).
GeoData = 0

#[True]Loads GeoData buffer's content into physical memory.
#[False] Does not necessarily imply that the GeoData buffer's content is not resident in physical memory.
ForceGeodata = True

e qual GEODATA voce usa?

radiador22~ 13-07-2010 12:27 AM

# GeoData options:
# 0 = GeoData and PathFinding OFF (default)
# 1 = GeoData used to check Line Of Sight (LOS) targetting and
# L2Playable movement. You need to download files for data/geodata folder.
# Monsters can pass walls but not aggro through them.
# 2 = Full GeoData enabled, CURRENTLY FOR TESTING ONLY. Includes PathFinding
# (requires also /data/pathnode files) and all character moves go
# through geodata checks (if a mob passes a wall, pathing is wrong).
GeoData = 2

#[True]Loads GeoData buffer's content into physical memory.
#[False] Does not necessarily imply that the GeoData buffer's content is not resident in physical memory.
ForceGeodata = True


Logicamente, com os arquivos da geodata dentro do gameserver ^^

ManoeL-ADM 13-07-2010 12:36 AM

o geodata que voce usa eh qual?

baixo onde?

painhoo4 14-12-2010 08:21 PM

Radiador 22:
Primeiramente vc disse como resolver o problema se ele tiver um VPS ou Dedicado de 2 GB !
Mas se a PESSOA Tiver um VPS de 1 GB?

Bom Como Ja Passei Por Esse Problema Tbm Vou Fazer 1 Mini Tutorial Ensinando Como Vs Deve ajeitar a memoria do seu game server!
Bom Vamos Lá:
1º Se vc uza um VPS de 1 GB.. Vc nao podera configurar o seu game server pra consumir 1024! vc so tem 1024 como o game server vai consumir a Memoria toda?
2° Se vc Uza um VPS de 1 GB O nessecario para uma boa jogabilidade, seria deixar o seu game server uzando 512! Logico com Isso ele demoraria alguns minutos a mais pra ligar mas sobraria 512 de Memoria para que seus Players loguem e Nao der as Chatas Travadas.
3º quanto mas Memoria seu game server uzar menos memoria vai sobrar para os players.Entao se vc tem um VPS de 2 GB e colocar a memoria pra uzar 1 GB logico que o game server ira abrir mais por esta uzando um grande quantidade de MEMOROA RAM, Mas Isso deixara 1GB livre para os Players Isso no Caso Ira da Pra Suporta mas ou menos uns 80 Players. Sem Travadas.
4° A Questao do Leag... Geralmente Todos os VPS e Dedicados que alugamos Veem Com Atualizacao do Windowns Ativado. Vc nao preciza Disso.. a menos que corrompa 1 DLL... mas isso ai ja é outro papo!
5º RESUMO:

SE VC UZA MUITA MEMORIA O RESTO E PROS PLAYERS JOGAREM E CONECTAR-SE SEM LEAG'S E TRAVADAS OK?
SEGUNDO EVITE DEIXAR PROGAMAS QUE TEEM ATUALIZACOES AUTOMATICAS EM SEU VPS OU DEDICADO... POS ELES ATUALIZAM FAZENDO DOWNLOAD'S!
NAO ESTOU DIZENDO QUE E CORRETO! MAS NO MEU DEDICADO EU SEMPRE DESATIVO A ATUALIZACAO DO WINDOW'S.!


SE AJUDEI CLICKA EM AGRADEÇA! NAO CUSTA NADA!

:sniper:

{ADM}REIS 14-12-2010 08:23 PM

Gente estou com um vps 3 gb e o ping ta meio alto tem como abaixar ??

lordvenancio 15-12-2010 11:47 AM

reis se vc quer tirar sua duvida posta 1 nao pegando carona nos topicos dos outros ! E com problema de ping que tem que resolver è a sua empresa do vps ou pode ser que o seu problema com ping è alguma configuraçao errada do server !


Horários baseados na GMT -3. Agora são 12:53 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.