Getting Server IP
I have 2 server ip-s. LAN ip(inside ip) and INTERNET ip(outside ip). I wanna to get INTERNET IP.
But when I do this: PHP Code:
Any suggsetions? |
Re: Getting Server IP
Just because you are running on lan, what you wanted to get more...
|
Re: Getting Server IP
I'm running internet game. But players from LAN can connect to my server throught other ip.
P.s I have sv_lan 0 Understand me? |
Re: Getting Server IP
You can try this.
Code:
|
Re: Getting Server IP
This is good if you have static ip, but if you have dynamic ip like me, then you can use something like this:
PHP Code:
If you have your own website you could use it for this plugin. Just make script that displays only ip on whole page (like www.whatismyip.org but that one is down for me now so I used other) and modify this plugin. |
Re: Getting Server IP
Query from checkip.dyndns.com much better
|
Re: Getting Server IP
Quote:
|
Re: Getting Server IP
Quote:
|
Re: Getting Server IP
I'm not surprised that it's not working (content received from that website obviously changed), though I don't know why does your server crash when using this plugin. If you got some errors then why didn't you post them?
You can try this version. It works for me now: PHP Code:
|
Re: Getting Server IP
Sorry for not posting the errors, but I closed the server again before copying them. What happened was I got 4 errors from WC3FT when typing ip. After that I got "Program is not responding" from windows. I try the other thing you posted tomorrow.
|
| All times are GMT -4. The time now is 15:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.