Results 1 to 7 of 7

Thread: Getting IP from external site

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Quote Originally Posted by Toxys View Post
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •