12.02.2013, 08:09
I've been wondering what would be the best way to protect your gamemode against .amx file theft.
Assuming I'm the only one working on a gamemode and I'm the only one who has the source file, but I'm transfering the .amx file to a FTP server to run the server.
In case someone would steal the amx file and try to run it, what would be the best way to automatically shut down their server?
I guess the most common method is comparing the IP the server is running on to a pre-defined IP, and in-case they aren't equal the server would shut down, but the issue with that is that there isn't a good way of doing that.
I also thought about using y_master and y_lock but I guess that those libraries are against source file theft.
Any suggestions?
Assuming I'm the only one working on a gamemode and I'm the only one who has the source file, but I'm transfering the .amx file to a FTP server to run the server.
In case someone would steal the amx file and try to run it, what would be the best way to automatically shut down their server?
I guess the most common method is comparing the IP the server is running on to a pre-defined IP, and in-case they aren't equal the server would shut down, but the issue with that is that there isn't a good way of doing that.
I also thought about using y_master and y_lock but I guess that those libraries are against source file theft.
Any suggestions?