Jump to content

L2JDEV-SERVIDOR LIVE E ESSENCE!


Recommended Posts


1 hora atrás, oreiudo008 disse:

https://uploaddeimagens.com.br/imagens/ym0_rJA

 

Estou com esse problema, alguem poderia me ajudar??!

Mano, eu tava com esse mesm problema ai. Minha solução pra isso foi:

- coloquei o nome da database: l2dev-essence e fiz a instalação normal dentro dela.

- dexei os IP como veio no arquivo.

Aqui funcionou legal depois disso.

 

Edited by mfebar23
Link to comment
Share on other sites

1 hora atrás, mfebar23 disse:

Mano, eu tava com esse mesm problema ai. Minha solução pra isso foi:

- coloquei o nome da database: l2dev-essence e fiz a instalação normal dentro dela.

- dexei os IP como veio no arquivo.

Aqui funcionou legal depois disso.

 

Ainda nao funcionou, alguem poderia fazer um tutorial pra ajudar kkkkk

Link to comment
Share on other sites

first you need Local Server for Web Development 

there is lot of software: wamp, xampp, ampps, ... for me i work with wampserver64
when installation done

go to browser and write: http: //localhost/phpmyadmin/index.php

now check your default login and password which you can add after in all server files.

you have 2 file to edit :

go to  : L2JDEV_SERVIDOR_LIVE \ login \ config

edit: loginserver.ini

and go to  : L2JDEV_SERVIDOR_LIVE \ game \ config

edit: server.ini

change what is write in red square to what you have in your sql conexion.

don't forget to install 2 files: go to folder L2JDEV_SERVIDOR_LIVE \ db_installer

Database_Installer_GS and Database_Installer_LS

put the same login and pass for your databaseimage.thumb.png.604cd6faf6f5fb5fc6376d63d90a3e48.png

good luck

 

conexion.png

Edited by Hayoma

Hayoma

Link to comment
Share on other sites

Bom, meu problema agora está em ligar o servidor num VPS. Estou com dificuldade em saber onde coloco os IPs. Já pesquisei vários tutoriais aqui no forum porém nenhum deles se aplicou ao meu caso. Seguinte, assim estão meus arquivos no VPS:

- Game/Config/Server.ini:

# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------

# Where's the Login server this gameserver should connect to
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 127.0.0.1
LoginHost = 127.0.0.1

# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 9014

# Bind address for gameserver. You should not need to change it in most cases.
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0) 
GameserverHostname = !!!IP DO VPS AQUI!!!

# Default: 7777
GameserverPort = 7777


# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------

# Specify the appropriate driver and url for the database you're using.
# Default: org.mariadb.jdbc.Driver
Driver = org.mariadb.jdbc.Driver

# Database URL
# Default: jdbc:mariadb://localhost/l2jdev-essence?useUnicode=true&characterEncoding=utf-8&useSSL=false
URL = jdbc:mariadb://localhost/l2jdev-essence?useUnicode=true&characterEncoding=utf-8&useSSL=false

# Database user info (default is "root" but it's not recommended)
Login = root

# Database connection password
Password = 

# Default: 100
MaximumDbConnections = 100

 

- Login/Config/Loginserver.ini:

# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------

# Bind ip of the LoginServer, use 0.0.0.0 to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 0.0.0.0 
LoginserverHostname = 0.0.0.0

# Default: 2106
LoginserverPort = 2106

# The address on which login will listen for GameServers, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 127.0.0.1
LoginHostname = *

# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014


# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------

# Specify the appropriate driver and url for your database.
# Default: org.mariadb.jdbc.Driver
Driver = org.mariadb.jdbc.Driver

# Database URL
# Default: jdbc:mariadb://localhost/l2jdev-essence?useUnicode=true&characterEncoding=utf-8&useSSL=false
URL = jdbc:mariadb://localhost/l2jdev-essence?useUnicode=true&characterEncoding=utf-8&useSSL=false

# Database user info (default is "root" but it's not recommended)
Login = root

# Database connection password
Password = 

# Default: 5
MaximumDbConnections = 5

 

- Game/Config/ipconfig.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: If file is named "ipconfig.xml" this data will be used as network configuration, otherwise server will configure it automatically! -->
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="IP DO VPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">
	<!-- Localhost here -->
	<define subnet="10.0.0.0/8" address="IP DO VPS" />
</gameserver>

 

Algumas ponderações:

- Consigo carregar o Loginserver sem erros:

[17/03 14:04:15] Database: Initialized.
[17/03 14:04:15] Loading LoginController...
[17/03 14:04:25] Cached 10 KeyPairs for RSA communication.
[17/03 14:04:25] Loaded 127 server names.
[17/03 14:04:25] Loaded 2 registered Game Servers.
[17/03 14:04:25] Cached 10 RSA keys for Game Server communication.
[17/03 14:04:26] Loaded 2 IP Bans.
[17/03 14:04:26] Listening for GameServers on *:9014
[17/03 14:04:27] ClientNetworkManager: Listening on 0.0.0.0:210

- Já o Gameserver aparece esse erro:

Exception in thread "main" java.net.BindException: Cannot assign requested address: bind
	at java.base/sun.nio.ch.Net.bind0(Native Method)
	at java.base/sun.nio.ch.Net.bind(Net.java:479)
	at java.base/sun.nio.ch.Net.bind(Net.java:468)
	at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
	at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:134)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:550)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334)
	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506)
	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491)
	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973)
	at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:248)
	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:832)

- As portas do VPS já foram liberadas via firewall do windows e pelo painel de controle do VPS.

- Só para constar: onde tem escrito "IP DO VPS", obviamente eu uso o ip do vps. Coloquei assim somente para ilustrar como está o arquivo.

Alguém tem uma solução para isso?

Edited by mfebar23
Link to comment
Share on other sites

Spoiler

 

PROBLEMA SOLUCIONADO:

Server.ini:

LoginHost = 127.0.0.1

LoginPort = 9014

GameserverHostname = IP INTERNO DO VPS!!!

GameserverPort = 7777

-----------------------------------------------------

Loginserver.ini:

LoginserverHostname = IP INTERNO DO VPS!!!

LoginserverPort = 2106

LoginHostname = 127.0.0.1

LoginPort = 9014

-----------------------------------------------------

ipconfig.xml:

<gameserver address="IP EXTERNO DO VPS!!!" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">
    <!-- Localhost here -->
    <define subnet="10.0.0.0/8" address="IP EXTERNO DO VPS!!!" />
</gameserver>

 

Lembre-se de liberar as portas necessárias com seu VPS e de colocar o IP EXTERNO DO VPS!!! dentro do L2.ini da system!

Link to comment
Share on other sites

4 horas atrás, mfebar23 disse:
  Show hidden content

 

SOLVED PROBLEM:

Server.ini:

LoginHost = 127.0.0.1

LoginPort = 9014

GameserverHostname = INTERNAL IP OF THE VPS !!!

GameserverPort = 7777

-------------------------------------------------- ---

Loginserver.ini:

LoginserverHostname = INTERNAL IP OF THE VPS !!!

LoginserverPort = 2106

LoginHostname = 127.0.0.1

LoginPort = 9014

-------------------------------------------------- ---

ipconfig.xml:

<gameserver address = " EXTERNAL IP OF THE VPS !!! " xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: noNamespaceSchemaLocation = "../ data / xsd / ipconfig.xsd" >
    <! - Localhost here ->
    <define subnet = "10.0.0.0/8" address = " VPS EXTERNAL IP !!! " />
</gameserver>

 

Remember to release the necessary ports with your VPS and put the EXTERNAL IP of the VPS !!! inside the system's L2.ini!

greate, good work 🙂

Hayoma

Link to comment
Share on other sites

  • 3 weeks later...

well trying to test "Live" its really cool ! , if you use java 14 and right settings (with ip's) running without problems!

but i found some problems at community board. i cant use buffs and some gmshop html's missing and not open multisell !

Screenshot_1.png

Screenshot_2.png

  • Sad 1

😄Time Relax GIF

Link to comment
Share on other sites

  • 2 weeks later...

Eu baixei aqui para dar uma olhada porem não há como saber exatamente oq foi modificado no live / essence sem olhar com muita calma, a versão atual da mobius live está mais atualizada eu recomendaria a quem for usar esses arquivos a tentar atualizar e mesclar ambos, ou simplesmente ir pra mobius, como não testei o essence não posso falar nada sobre, obrigado pelos arquivos.

Link to comment
Share on other sites

Tem que liberar acesso Man não dá pra ENTRAR no drive tá privado.

About Thing!

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
Guest
This topic is now closed to further replies.



×
×
  • Create New...

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.