Ir para conteúdo
  • Cadastre-se
  • 0

Erro Startgameserver e startlogin server =/


PHG

Pergunta

Gente Sou Novo Ake Pesso Desculpa Por ALguma Burrice ou Post Errado

O Problema Eh que Eu Peguei E quis Cria Um Server Tah Segui o Tutorial do Kelvin E Ateh Peguei Uma Rev Pre configurada dele Ja Que Naum Sou Muito Bom Nisso Instalei o MySQL,Java Develop kit e o Java JDK,Navicat e Naum Tando Quando Vou Entrar Em startloginserver e Startgameserver no login fika inconpleto e no gameserver da uma eerro que pede para apertar qualquer tecla e fecha =/ uqeria Que Algum Expert Ou Mais Inteligente Que Me Tire Essa Duvida Cruel!

 

oi vo escreve o qe aparece no game server

 

starting L2J Gameserver.

Error Ocurred During Initialization of VM

Too small initial heap for new size specified

server Terminated

Pressione Qualuqer Tecla Para Continuar...

 

Se Quiserem Mais DADOS Soh Pedirem!

 

Desculpe Se For UM Erro Muito Besta Pela Minha Ignorancia =/

Eh Que comecei A Mexer Nisso Faz pokin

 

desde Ja Agradeco...

 

Melhor Forun De L2java

 

L2JBR!!

Link para o comentário
Compartilhar em outros sites

25 respostass a esta questão

Posts recomendados

Tenta assim, va na pasta do gameserver ..

clica com o botao direito do mouse no startgameserver.bat e clique em Editar.

Axe essa Linha:

-->

REM java -server -Xmx512m -Xms512m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

<--

 

Esses numeros em vermelhos, se no seu nao estiver assim, coloque para ver ..

Espero que de certo.. flws...

Editado por llJuniorll™

Dá uma espiadinha..

 

Que Deus abençoe você e sua família..

Filipenses%2B4.19.jpg

Jesus está voltando, aceite-o e viva sua glória!!

Link para o comentário
Compartilhar em outros sites


REM java -server -Dfile.encoding=UTF-8 -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

 

Coloca esses 2 marcados em vermelho 512..

Dá uma espiadinha..

 

Que Deus abençoe você e sua família..

Filipenses%2B4.19.jpg

Jesus está voltando, aceite-o e viva sua glória!!

Link para o comentário
Compartilhar em outros sites

Vei Num Deu Nads =/

 

Eu Vo Fala Alguns possibilidades que eu acho ai vcs me informam ok?

 

Naum Sei Se eh o JAVA serto o qe eu baixei....

 

Uso Roteador e no caso Quero fazer server soh em rede E Botei IP Do Hamachi...

 

Num Sei Se a Rev pre Configurada minha (Do Kelvin) Pego Direito..

 

Mais eu Fiz O Backup Qe Pedia no Tuto...

 

I naum tem nada ver De o Gameserver e o Login server esta fora do client neh?

 

Naum Sei se Tem que Pega a senha do MySQL ou Algo Parecido Pro Navicat se For Preciso onde pego esse senha?

OBS:Naum Botei Senha no L2DB Nem no MySQL!!

Link para o comentário
Compartilhar em outros sites

VM = Java Virtual Machine ..

tenta outro java ..

 

Eu uso esse java,

tenta ai

O conteúdo está oculto, favor efetuar login ou se cadastrar!

Editado por llJuniorll™

Dá uma espiadinha..

 

Que Deus abençoe você e sua família..

Filipenses%2B4.19.jpg

Jesus está voltando, aceite-o e viva sua glória!!

Link para o comentário
Compartilhar em outros sites

eu uso este jdk-6u22-windows-i586.exe...

 

vei num sie se errei na instalacao mais eu fiz td certinho pow!

vo manda meu server.propiert pra tu da uma olhada

OBS: Naum Sei Manda Spolier intao vai assim ms ~~

 

 

# This is the server configuration file. Here you can set up the connection for your server.

# Usually you have to change the ExternalHostname option to

# - 127.0.0.1 (if you want to play alone / testing purpose)

# - LAN IP* (if you want to play from another computer in the network)

# - WAN IP** (if you want to play with friends over internet)

# - Questions? =>

O conteúdo está oculto, favor efetuar login ou se cadastrar!

#

# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"

# **= If you want to get you WAN IP, visit

O conteúdo está oculto, favor efetuar login ou se cadastrar!

# ===================================================================================================

 

# ================================================================

# General server setting !!! REQUIRED to configure to everyone !!!

# ================================================================

 

# Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs

GameserverHostname=0.0.0.0

GameserverPort=7777

 

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname

ExternalHostname=5.17.177.121

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname

InternalHostname=127.0.0.1

# Define internal networks (10.0.0.0/8,192.168.0.0/16 is default internal networks)

InternalNetworks=

# Define optional networks and router IPs

# IP (200.100.200.100) or fully qualified domain name

# (google.com) that resolves to an IP (use ping to determine if a domain resolves).

# Format: ip,net/mask;ip,net/mask,net/mask

# (mask 192.168.0.0/16 or 192.168.0.0/255.255.0.0 would be 192.168.*.*)

# Note: keep InternalNetworks and OptionalNetworks blank for compatibility with older login server

OptionalNetworks=

 

# The Loginserver host and port

LoginPort=9014

LoginHost=127.0.0.1

 

# This is the server id that the gameserver will request (i.e. 1 is Bartz)

RequestServerID = 1

# If set to true, the login will give an other id to the server if the requested id is allready reserved

AcceptAlternateID = True

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

URL=jdbc:mysql://localhost/l2jdb

#URL=jdbc:hsqldb:hsql://localhost/l2jdb

#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=

Login=root

Password=

MaximumDbConnections=50

 

# Datapack root directory, defaults to current directory from which the server is started

#DatapackRoot=H:/workEclipse/L2J Free/trunk/L2_DataPack_IL

 

# Define character name template

# These ones are regular expressions, visit

O conteúdo está oculto, favor efetuar login ou se cadastrar!
for details

# Note: Checking lengths are done server side, but keep it in pattern for future purposes

# Character name ( Default [A-Za-z0-9\-]{3,16} )

CnameTemplate=[A-Za-z0-9\-]{3,16}

# Pet name ( Default [A-Za-z0-9\-]{3,16} )

PetNameTemplate=[A-Za-z0-9\-]{3,16}

# Clan and ally name ( [A-Za-z0-9 \-]{3,16} )

ClanAllyNameTemplate=[A-Za-z0-9 \-]{3,16}

# Title ( [A-Za-z0-9 \-\\[\\]\<\>\(\)\!\|]{3,16} )

TitleTemplate=[A-Za-z0-9 \-\\[\\]\<\>\(\)\!\|]{3,16}

 

# Maximum number of chars per account - 0 = illimited - default = 7

CharMaxNumber = 7

 

# Define how many players are allowed to play simultaneously on your server.

MaximumOnlineUsers=100

 

 

# Minimum and maximum protocol revision that server allow to connect.

# You must keep MinProtocolRevision <= MaxProtocolRevision.

MinProtocolRevision = 500

MaxProtocolRevision = 800

 

#---------------------------------------------

# Safe Reboot configuration

#---------------------------------------------

# This will prevent some exploit during restart/shutdown process

SafeReboot = True

# To use following options, SafeReboot must be set to True

# Time in seconds before server complete shutdown/reboot, when

# following striction take effect

SafeRebootTime = 10

# Disable item enchant

SafeRebootDisableEnchant=True

# Disable players teleportations

SafeRebootDisableTeleport=False

# Disable craft and crystallize

SafeRebootDisableCreateItem=False

# Disable trades and shops

SafeRebootDisableTransaction=False

# Disable actions between players

SafeRebootDisablePcIteraction=False

# Disable actions on NPC

SafeRebootDisableNpcIteraction=False

 

# Network traffic optimization: minimum time between sending char's hp/mp status update packet.

NetworkTrafficOptimization = False

NetworkTrafficOptimizationMs = 1100

 

# Flood Protection

# if enabled players which send more then PACKETLIMIT packets in PACKETTIMELIMIT ms will get kicked

# warning not tested made a quickhack for squeezed :)

FloodProtection = False

PacketLimit = 500

PacketTimeLimit = 1100

 

 

# ================================================================

# JMX Administration

# ================================================================

# Port to connect with l2jmx, -1 to disable jmx completely

admin_portJMX=-1

# Port to connect to jmx via HTTP, -1 to disable

# disable it if it is not local test

# http adaptor is usefull to see if your server is running with l2jbeans, or to see others beans (JRE, logging)

# It is also possible to use it if you forbid this port for external host, but you have to be sure nobody can reach this url !

admin_portHTTP=-1

# password for keystore_file, the keystore file should be in config folder.

# Comment it or remove the keystore file if you doesn't want to activate secure socket.

#keystore_password=password

# keystore file

# this file is used to store a SSL certificate for your jmx server.

# You have to create it with keytool like this :

# $JAVA_HOME/bin/keytool -genkey -keyalg "RSA" -keystore myKeystore.jks -storepass myPassword -dname "cn=myhost"

# Change myKeystore, myPassword and myhost for your own needs

# You have to give this file to all people that will use l2jmx

#keystore=keystore.jks

 

Editado por Williamfs
Para grande quantidade de texto poste em [*spoiler][*/spoiler] (sem os *)
Link para o comentário
Compartilhar em outros sites

Se a linha do gameserver.bat ta comentada, o que adianta mudar alguma coisa?

 

poste aqui todo o arquivo de execução do gameserver...

EM BREVE - GALAGARD.COM.BR

SERVIDOR Grand Crusade - 50x

SERVIDOR Classic - 8x

Link para o comentário
Compartilhar em outros sites

 

@echo off

title Game Server Console

:start

echo Starting L2J Game Server.

echo.

 

SET OLDCLASSPATH=%CLASSPATH%

call setenv.bat

 

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

REM Default parameters for a basic server.

java -Dfile.encoding=UTF-8 -Xmn512m 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

 

 

 

Outra Pergunta Aquilo Que Diz No tuto E tudo oqe devo fazer ou eh o basico?

 

se tem fazer algo como copila me avisa flws.. vo durmi espero respostas

Editado por Williamfs
Para grande quantidade de texto poste em [*spoiler][*/spoiler] (sem os *)
Link para o comentário
Compartilhar em outros sites

java -Dfile.encoding=UTF-8 -Xmn1024m net.sf.l2j.gameserver.GameServer

 

tenta aumentar a memória usada, quanto tu tem de memória ram no seu PC?

EM BREVE - GALAGARD.COM.BR

SERVIDOR Grand Crusade - 50x

SERVIDOR Classic - 8x

Link para o comentário
Compartilhar em outros sites

o login server funciona pq usa menos memória, deve ta configurado em 128...

 

agora se tu ja tem 512, e o loginserver ta tomando 128... tenta baixar o login pra 64, e coloca o 448 no gameserver

 

deve funcionar, faça um teste

EM BREVE - GALAGARD.COM.BR

SERVIDOR Grand Crusade - 50x

SERVIDOR Classic - 8x

Link para o comentário
Compartilhar em outros sites

o login server funciona pq usa menos memória, deve ta configurado em 128...

 

agora se tu ja tem 512, e o loginserver ta tomando 128... tenta baixar o login pra 64, e coloca o 448 no gameserver

 

deve funcionar, faça um teste

 

Certeza uqe o erro na memoria? o meu ta ssim no game server no lgin tava 64 msm olhao game server

 

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

Link para o comentário
Compartilhar em outros sites

Certeza uqe o erro na memoria? o meu ta ssim no game server no lgin tava 64 msm olhao game server

 

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

 

Tudo que tem "REM" é mera descrição:

 

O conteúdo está oculto, favor efetuar login ou se cadastrar!

 

Edita na linha iniciada por JAVA

Link para o comentário
Compartilhar em outros sites

Ta osso... quando tu conseguir resolver vai querer bater a cabeça na parede, garanto

 

isso geralmente é uma bobeira que tu não consegue enxergar...

EM BREVE - GALAGARD.COM.BR

SERVIDOR Grand Crusade - 50x

SERVIDOR Classic - 8x

Link para o comentário
Compartilhar em outros sites

Ta osso... quando tu conseguir resolver vai querer bater a cabeça na parede, garanto

 

isso geralmente é uma bobeira que tu não consegue enxergar...

 

To Quase desistindo mais vlw ai moderador vo testa agora ake

 

Poderiam Se Naum For Incomodo poderian descrever tds os errosa possiveis que esta acontecendo...

 

Desde Ja Agradeco...

Link para o comentário
Compartilhar em outros sites

Agora Deu Erro No Java Virtual Machine

Pode Naum PArecer Mais eh Um Bom sinal Quer Diser Que O Troco Mudo De Figura Vo Baixa o Java Ake e consulto vcs

 

Depois tb Que ah Outro Erro Falando Acho Que Alguma Coisa Com space...

 

Depois Falamos....

 

Vlws Pelo Suporte 100% De VCs....

 

Aguardemm..

Link para o comentário
Compartilhar em outros sites

Caras.. voces querem rodar um server num PC PESSOAL sem ser dedicado só pro server, com apenas 512mb de ram?

 

Sugestão, compre um pc melhor, no mínimo com 1GB, 1.5GB caso queira rodar o jogo tambem.

Link para o comentário
Compartilhar em outros sites

Então, tenta remover o java e instala de novo ai depois pega outra rev pra fazer um teste... se ela rodar, tu joga essa fora e vamo que vamo ^^

Editado por Seifer Almasy®

EM BREVE - GALAGARD.COM.BR

SERVIDOR Grand Crusade - 50x

SERVIDOR Classic - 8x

Link para o comentário
Compartilhar em outros sites

Vocês não leram o que eu escrevi...

 

Não há memoria suficiente para gerar a maquina virtual java...

 

Não vai funcionar num pc de 512mb.... principalmente se for windows xp... e se tiver mal-configurado. A chance de funcionar é mt pequena...

 

Só o sistema ja come a memória quase toda.

Editado por L2ViciO
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...




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