Jump to content

my friend can't join to my server


Recommended Posts

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
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.