View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 11-22-2014 , 11:05   Re: Dota 2 Dedicated Servers
Reply With Quote #211

Quote:
Originally Posted by CyberStars View Post
Hello.

After last Dota 2 update I'm not able to get server IP in my plugin.
Before I took it by reading "hostip" convar, but now it doesn't work.
Fix please somehow.
You can read the value of the -ip parameter on the command line. (CommandLine()->ParmValue() in an MM:S plugin or SM extension, or GetCommandLineParam in SM 1.7-dev or later).
psychonic is offline