AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Server IP (https://forums.alliedmods.net/showthread.php?t=143595)

Schwabba 11-21-2010 19:40

Server IP
 
Is it possible to get the Server IP?

Like get_user_ip (but with serverip)?

Sylwester 11-21-2010 19:53

Re: Server IP
 
check this: http://forums.alliedmods.net/showthr...96#post1157296

Bugsy 11-21-2010 20:57

Re: Server IP
 
Or this

Schwabba 11-21-2010 22:16

Re: Server IP
 
Thanks!

ARES[ro] 11-22-2010 13:12

Re: Server IP
 
You guys should update both those codes lol... really unnecessary information passed to much...
use this: http://www.whatismyip.org/

Exolent[jNr] 11-22-2010 13:30

Re: Server IP
 
Quote:

Originally Posted by ARES[ro] (Post 1354533)
You guys should update both those codes lol... really unnecessary information passed to much...
use this: http://www.whatismyip.org/

Bugsy's code gets the page from checkip.dyndns.com and it has less HTML than whatismyip.org.

Sylwester 11-22-2010 14:13

Re: Server IP
 
Isn't it the other way around?

Exolent[jNr] 11-22-2010 14:15

Re: Server IP
 
Quote:

Originally Posted by Sylwester (Post 1354577)
Isn't it the other way around?

My bad. I was thinking of whatismyip.com.
Anyway, the URL that Bugsy uses has just a few more HTML in it, so it's not like you are getting a big improvement by changing to whatismyip.org.

YamiKaitou 11-22-2010 14:15

Re: Server IP
 
Quote:

Originally Posted by Exolent[jNr] (Post 1354547)
Bugsy's code gets the page from checkip.dyndns.com and it has less HTML than whatismyip.org.

You are thinking of whatismyip.com. whatismyip.org does indeed have less HTML code than checkip.dyndns.com

Bugsy 11-22-2010 16:28

Re: Server IP
 
I will check all and see what improvement can be made. Whatsmyip.org looks like it may be the winner.


All times are GMT -4. The time now is 11:28.

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