Jump to content
Forgot your email address? ×
×
×
  • Create New...
  • 0

my friend can't join to my server


brenn

Question

Hi everyone,

when my friend try to join to my server, he kicks after the select character.

 

i use this:

You trying share server over nat. Check you external ip here  http://myexternalip.com/ 
and change it

desc_client.cpp
				 
bSentBoot = true;
TPacketGDBoot p;
p.dwItemIDRange[0] = 0;
p.dwItemIDRange[1] = 0;
memcpy(p.szIP, g_szPublicIP, 16);
DBPacket(HEADER_GD_BOOT, 0, &p, sizeof(p));


Change to


bSentBoot = true;
TPacketGDBoot p;
p.dwItemIDRange[0] = 0;
p.dwItemIDRange[1] = 0;
memcpy(p.szIP, "Youi external ip", 16);
DBPacket(HEADER_GD_BOOT, 0, &p, sizeof(p));

and

strlcpy(p.szPublicIP, g_szPublicIP, sizeof(p.szPublicIP));

to

strlcpy(p.szPublicIP, "You external ip", sizeof(p.szPublicIP));

 

 

it works, my friend can join to my server

but now i have problem with join.

I have no-hamachi server.

Link to comment
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


  • Read our Rules
  • Activity

    1. 1

      Halloween 2021 Ninja M V2

    2. 0

      Visual Studio 2010 Ultimate

    3. 1

      Reduce server memory usage

  • Recently Browsing

    • No registered users viewing this page.

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.