Jump to content

Question

Posted (edited)

Hello, I have a problem I have Acis 368rev  pack, and I have a problem...

I use whole time on VPS this pack and I do not have any problems, but when I try on PC, it's not allowing me to connect in Gameserver, I do not know why. 

But problem cause this is from source. I search everything in source its looks fine, where I need check maybe please tell me.

(I try this on clean Acis pack, works everything fine)

 

https://imgur.com/a/XjdVa

 

gameserver.java

https://pastebin.com/WsNX5EUA

 

server.config

https://pastebin.com/BsWdnSjU

 

loginserver.config

https://pastebin.com/JNtRs4aZ

 

 

 

 

 

Edited by L2DragonWind

4 answers to this question

Recommended Posts

  • 0
Posted

loginserver config

 

#=============================================================
#                         Loginserver
#=============================================================

# This is transmitted to the clients, so it has to be an IP or resolvable hostname
Hostname = 127.0.0.1

# Bind ip of the LoginServer, use * to bind on all available IPs
LoginserverHostname = *
LoginserverPort = 2106

# The Loginserver host and port.
LoginHostname = *
LoginPort = 9014

 

gameserver config

 

# ================================================================
#                          Gameserver setting
# ================================================================

# This is transmitted to the clients, so it has to be an IP or resolvable hostname. If this ip is resolvable by Login just leave *
Hostname = 127.0.0.1

# Bind ip of the gameserver, use * to bind on all available IPs.
GameserverHostname = *
GameserverPort = 7777

# The Loginserver host and port.
LoginHost = 127.0.0.1
LoginPort = 9014
 

  • 0
Posted

Check ports firewall.

Check l2.ini  - if you put server online in localhost is OK,.

GameserverHostname =  127.0.0.1

 

if  in vps/dedicated change 127.0.0.1 for you VPS/DC IP.

  • 0
Posted (edited)

Check ports firewall.

Check l2.ini  - if you put server online in localhost is OK,.

GameserverHostname =  127.0.0.1

 

if  in vps/dedicated change 127.0.0.1 for you VPS/DC IP.

 

No everything ok there :P

loginserver config

 

#=============================================================
#                         Loginserver
#=============================================================

# This is transmitted to the clients, so it has to be an IP or resolvable hostname
Hostname = 127.0.0.1

# Bind ip of the LoginServer, use * to bind on all available IPs
LoginserverHostname = *
LoginserverPort = 2106

# The Loginserver host and port.
LoginHostname = *
LoginPort = 9014

 

gameserver config

 

# ================================================================
#                          Gameserver setting
# ================================================================

# This is transmitted to the clients, so it has to be an IP or resolvable hostname. If this ip is resolvable by Login just leave *
Hostname = 127.0.0.1

# Bind ip of the gameserver, use * to bind on all available IPs.
GameserverHostname = *
GameserverPort = 7777

# The Loginserver host and port.
LoginHost = 127.0.0.1
LoginPort = 9014
 

2

No everything ok there :P

 

 

 

i found error in here:

https://pastebin.com/k5kKUQAE

 

 i turn off this one and i can connect:

public void addClient(String account, L2GameClient client) { final L2GameClient existingClient = _clients.putIfAbsent(account, client); //if (existingClient == null) //{ try { sendPacket(new PlayerAuthRequest(client.getAccountName(), client.getSessionId())); } catch (IOException e) { _log.warning("Error while sending player auth request."); } //} //else //{ //client.closeNow(); //existingClient.closeNow(); //} }

Edited by L2DragonWind
  • 0
Posted

'Latest' aCis, after external config drop was some problems connecting from local with external ip. 

If you comment such method  don't cry when someone use the bug to multiply items. 

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