Jump to content
Maintenance ×
×
×
  • 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
Share on other sites

  • 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
  • Recently Browsing   0 members

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