how to login w/out openserver

Results 1 to 6 of 6
  1. #1
    Member evilbaz is offline
    MemberRank
    Jun 2011 Join Date
    70Posts

    how to login w/out openserver

    can someone share how to do this ?

    thanks ragezone


  2. #2
    Apprentice asuarezv is offline
    MemberRank
    Aug 2016 Join Date
    9Posts

    Re: how to login w/out openserver

    Quote Originally Posted by evilbaz View Post
    can someone share how to do this ?

    thanks ragezone
    In your folder Server-> DBSRV, comes an Admin.txt file, lists the IP's that can be access in following format:

    0 10.10.10.1
    1 10.10.10.2
    ...
    100 10.10.10.101

    Assuming 10.10.10.1 is the IP address of your server and the IP 10.10.10.2 to IP 10.10.10.101 are the IP's of people who can enter without using the command /openserver, consider that if you have a dynamic IP, you should be updating the values or create scripts to do it for you.

    Do not forget that should be numbered from zero to N

  3. #3
    Apprentice GMDragos is offline
    MemberRank
    Oct 2016 Join Date
    10Posts

    Re: how to login w/out openserver

    Quote Originally Posted by evilbaz View Post
    can someone share how to do this ?

    thanks ragezone
    Using some php can fix it, define in your website a GM's array, once they log on, with php opens the file admin.txt in DBSRV folder, Read each line and store it in another arrangement, get the IP of the user who logged on and updates the admin.txt file, thus access will be automatically updated. Use next commands:

    fopen, fread, fwrite and $_SERVER[‘REMOTE_ADDR’]

    considers that there may be firewalls and proxies behind the IP
    Last edited by Kreeate; 05-10-16 at 08:28 AM. Reason: removed spam

  4. #4
    Tantra/Web Development jbeitz107 is offline
    MemberRank
    Mar 2012 Join Date
    USALocation
    1,471Posts

    Re: how to login w/out openserver

    This only works if they start the server after the Admin.txt file is edited else the preset ips in this Admin.txt mean nothing.

  5. #5
    Apprentice GMDragos is offline
    MemberRank
    Oct 2016 Join Date
    10Posts

    Re: how to login w/out openserver

    Quote Originally Posted by jbeitz107 View Post
    This only works if they start the server after the Admin.txt file is edited else the preset ips in this Admin.txt mean nothing.
    Apology does not agree, that currently I use the code I'm mentioning in my website, we are 6 GM and so do to connect no matter where we connect.

    I invite you to do the test, our server is connected 24 hours a day and do not need a restart to take changes of Admin.txt.

    GMDragos
    gmdragos@tantra-legion.com
    Last edited by GMDragos; 05-10-16 at 03:30 PM.

  6. #6
    Apprentice sheenliu is offline
    MemberRank
    Apr 2012 Join Date
    7Posts

    Re: how to login w/out openserver

    good morning GMDragos
    hi..can you help me how to connect the website to log in ? or you have a tutorial video can i see sow that i get it and where i get the DBSRV that is my problem plss help GMDragos... thank you sow much and god bless....



Advertisement