Raised This Month: $ Target: $400
 0% 

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: DarkDeviL
Forum: Coding MM:S Plugins & SM Extensions 03-05-2021, 14:42
Replies: 6
Views: 4,700
Posted By DarkDeviL
Re: SourceMod extension: how to get server's IP?

"hostip" may not always return the real (public) IP address, such as for example if your server runs behind a router/NAT. In these situations, you may actually see the RFC1918 IP address ranges, e.g....
Forum: Coding MM:S Plugins & SM Extensions 03-05-2021, 00:12
Replies: 6
Views: 4,700
Posted By DarkDeviL
Re: SourceMod extension: how to get server's IP?

Well, the SourceMod > Scripting section says "Scripting in SourcePawn" for it's description. As such, due to your thread in a wrong section, I was somehow under the impression that your "extension"...
Forum: Coding MM:S Plugins & SM Extensions 03-03-2021, 12:05
Replies: 6
Views: 4,700
Posted By DarkDeviL
Re: SourceMod extension: how to get server's IP?

#include <SteamWorks>

// [... all your other code ...]
char sPublicIP[64];
int iPublicIP[4];
if (SteamWorks_GetPublicIP(iPublicIP)) {
Format(sPublicIP, sizeof(sPublicIP),...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 15:13.


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