Jump to content

Kick after selecting character


Recommended Posts

  • Contributor

Version of Files : 40k source

 

Hi!

 

So if a metin2 server's machine have an internal ip like 192.168... or 10.x... (so it is behind a router) anyone outside that local network will be "kicked" after selecting the character. (Why? because the server will give his internal ip to the client instead of his public ip.)

 

There is this tutorial: 

Does it works? I rather say it work -ish :D

The game acts very weird, sometimes doesn't works at all, sometimes works after it push some "connection refused".

 

So what i want to do instead is, to make the changes at clientside (source) like the old "Sura head MC starter" did.

.gif

 

About 5 years ago a guy gave me a client modification tutorial at skype, what worked.

It was short but i can't remember where and what, and since it was in skype, i can't see it anymore.

 

So if someone know the modification, can you please share with me? Thank you in advance :)

  • Metin2 Dev 1
Link to comment
Share on other sites

  • Contributor

Please read the topic again, there is no problem actually, it's a normal behavior on home-root test servers since the server have an internal ip.

But if the client connects to the public ip, it can work. That is what that sura starter did, and that is what i'm looking for.

Edited by TMP4
Link to comment
Share on other sites

  • Contributor

"I edited the sv side to get the right ip, that's all."

So you did something similar to that tutorial i mentioned.

But the ip can set in the client side too somewhere and then the server can work with his internal ip.

 

I want to leave the svside alone with his internal ip, i just want to set in clientside since it's just a test server.

The live server will not have internal ip so it will work without any modification, that's why i want to set in clientside until it's a test.

Edited by TMP4
Link to comment
Share on other sites

  • Contributor

Ah bro...

 

My problem with that tutorial is that the server get instabil, because it will communicate with public ip inside too while it have internal ip.

(So the internal communications will flow to the router and flow back)

But when it starts, it works, no kicks.

 

But since we can make the changes in clientside too (like the old "sura head mc" starter did) it would be a better solution for me.

I only need these changes temporary while i run it in virtualbox. After these changes not needed.

 

Hope you now understand me.

 

Also i think it's just one line modificaiton in clientside :D But i can't remember where.

Edited by TMP4
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.