Quote:
Originally Posted by anupm
Just some query ...
Will it be like if some other server is using this plugin then it will not work ?
Because here you are taking the userip and checking that .
It will be better if you can please provide me the code which will only work for a certain server ip and will not work in any other server .
|
As long as they don't get the source (sma) and change the ip, they won't be able to run it.
set_fail_state
Also, I'm not getting a user's ip, despite the name. I'm getting the ip of 'user' 0, which is the server. Just replace 127.0.0.1:27015 with your server ip:port and it should work.
And what do you mean it would be better if I could provide code? That is the code. It will only work on a server with ip/port 127.0.0.1:27015 right now.