Raised This Month: $ Target: $400
 0% 

How can I know the server IP which the client connected


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sunpiny
New Member
Join Date: Feb 2006
Old 03-19-2006 , 22:42   It doesn't work
Reply With Quote #1

Thx!

But it doesn't work.

When Server Start, it display "Server IP Address IP1:27015". I don't bind the IP, it select one IP such as IP1.

You can 'connect IP2:27015' Or 'connect IP3:27015' ,I can enter the Server with all IP1,IP2,IP3. But get_cvar_string("net_address" , szServerIP , 1 always return the IP: IP1, which the "DISPLAY IP" when the server start . it's IP1.

I want to get IP such as:
Client CMD 'connect IP2:27015' , it should return IP2
Client CMD 'connect IP3:27015' , it should return IP3
Client CMD 'connect IP1:27015' , it should return IP1

it seems no way can reach it
sunpiny is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode