[Solved] Closed connection before login?

ShadowKing

New member
Messages
26
Points
0
So I have completed the setup of my server and my client. my only problem now is connecting from my computer to my VPS. My clientinfo.xml is set to my servers ip and all the ports are open needed for the connection.

When I login it says authentication is accepted and the connection of the account is accepted.

However,

Before making it to the char-select screen the login-server says "Closed connection from *insert my IP here*"

Can anyone explain to me what I may have done wrong? Did I miss a configuration somewhere perhaps?

Edit: and of course this results in failed to connect to server on the client side

 
Last edited by a moderator:
When you recompiled your server did you run ./configure with the date of your client?

like so ?

./configure --enable-packetver=YYYYMMDD

make clean

make sql


Also when you diff your client 

try to apply following diffs

Disable Packet Encryption

What else?

 
Last edited by a moderator:
When you recompiled your server did you run ./configure with the date of your client?

like so ?

./configure --enable-packetver=YYYYMMDD

make clean

make sql


Also when you diff your client 

try to apply following diffs

Disable Packet Encryption

What else?
I followed this guide



Didn't do anything like /configure

Applying the disable packet encryption didn't do the job either.

 
Yes, I did that step.

Using Ragexe 2015-05-13 and I have my mmo.h defining it as PACKETVER 20150513

 
Did you diff your client?

using like a NEMO patcher?

put a checkmark neaar this in NEMO 

Disable Packet Encryption

Sorry, that's about all I can say...

 
Last edited by a moderator:
I left the login and char ip as 127.0.0.1 would that cause a problem? Or should it still function correctly? If not I could change them to the actual IP as well.

 
I left the login and char ip as 127.0.0.1 would that cause a problem? Or should it still function correctly? If not I could change them to the actual IP as well.
That's the problem, you need to put the IP address of the server, because the login server its redirecting your client to "127.0.0.1" char-server (your own machine ip).

Try changing those values.

 
Thanks, that solved my original problem, but now whenever I try to connect with a character it fails and I get a map-server error that says

clif_parse: Received unsupported packet (packet 0x521e (0x0002), 11 bytes received)

and then it disconnects my session, I have packet encryption disabled so it shouldn't be that.

 
Back
Top