Jump to content
  • 0
ShadowKing

[Solved] Closed connection before login?

Question

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

Edited by ShadowKing

Share this post


Link to post
Share on other sites

13 answers to this question

Recommended Posts

  • 0

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?

Edited by Habilis

Share this post


Link to post
Share on other sites
  • 0
15 minutes ago, Habilis said:

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.

Share this post


Link to post
Share on other sites
  • 0

...

Step

Quote

13. Now go to src/common/mmo.h and find the following code : 

???

You put the date of your client?

 

you need to diff your client.

Share this post


Link to post
Share on other sites
  • 0

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

Edited by Habilis

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, ShadowKing said:

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.

Share this post


Link to post
Share on other sites
  • 0

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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.