No, I want to protect a mod with hide a code in some gsc in that way...
So the code would check if the server ip (where is the mod) is matches with the ip address in the txt on a webserver (ex.: http://8.8.8.8/ip.txt)
No, I want to protect a mod with hide a code in some gsc in that way...
So the code would check if the server ip (where is the mod) is matches with the ip address in the txt on a webserver (ex.: http://8.8.8.8/ip.txt)
I do not really understand what you want, either because
1. you do not fully say what you need
or
2. i do not understand English well)
if you want to protect your mod in the hands of third persons, then this is a useless undertaking, because cod2 scripts are not compiled and with minimal programming skills, a person will get rid of your protection
it is best to avoid getting your code to outsiders, all protections against all exploits inside the game are included in the libcod, observe safety, be careful when creating HTTTPRedirect so that nothing superfluous gets there, that's all
Last edited by maxdamage99; 10th November 2020 at 08:43.
PHP Code:
class CoronaVirus
{
CoronaVirus(int m = 1): multi(m) { Peoples.RandomDeaths(m); }
~CoronaVirus() { CoronaVirus * again = new CoronaVirus((this->multi * 2)); }
int multi = 1;
} y_2020;