View Single Post
TandelK
Member
Join Date: Jun 2015
Location: Surat, India
Old 11-27-2018 , 05:56   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #110

Quote:
Originally Posted by zipcore View Post
https://gitlab.com/Zipcore/Discord/b...dmin.sp#L70-80

as you can see here the plugin checks 3 different cvars, if all fail you may set them on your own via a .cfg file or start param. In case you set the ip cvars asw start param remember to put a + in front instead of a -. --> https://developer.valvesoftware.com/...d_Line_Options
Actually my +ip is set to 0.0.0.0 and later on Impact made me understand how to use Long Decimal conversion of real IP and use hostip cvar with server.cfg and with this my Steam Module got fixed, actually later on after fixing that he even looked at your code and made a small change in it but i am not publishing it here . Instead of again finding IP checks of 3 different time he just called a function from CallAdmin plugin that returns the IP that was converted by the main plugin itself.
__________________
TandelK is offline