Install GameLogin

Page 1 of 3 123 LastLast
Results 1 to 15 of 36
  1. #1
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Install GameLogin

    GameLogin guide of activate


    1. Edit the HTMessage.xml in lines or id 301-307

    You must replace "xxx.xxx.xxx.xxx" for your ip, and with your IP would look like (example):

    Save changes in HTMessage.xml and finish.

    2. Open the HTLauncher.exe with hexadecimal editor, I use and recommend PSPad, and we search http:// (ctrl + F):
    You must replace "xxx.xxx.xxx.xxx", for your ip, like in the HTMessage.xml, must remain in this manner:

    Warning: Are only these two lines, the two are different, so just editing your ip.

    Save the changes!.


    3. Now we have to edit the config.php s_game in the same folder, the config.php indicates that must and must not edit:

    PHP Code:
    <?php
    $host 
    'RADIANTECF1\SQLEXPRESS';  // instance name of sql
    $user 'sa'// user of sql
    $pass 'simeimporta'// password of sql
    $db 'UserLogin'// database UserLogin 
    ?>
    The gamelogin only works on servers that have properly configured the odbc and the databases, if will don't not work the gamelogin.

    4. Finally we are left with the customer serverlist.txt on top you put 0 2 for example:
    0 2
    0 0 5.42.113.96 1000
    0 1 5.42.113.96 3001
    You can add a sequence of 1 to 9, for example:
    0 7
    0 0 5.42.113.96 1000
    0 1 5.42.113.96 3001
    Obviously I have put here just 3 lines of serverlist, do not go to make a mistake inserting only this 3 lines, the serverlist.txt must encripted on the htlauncher.exe.

    Turn on the zones 1 and 6, for activate the gamelogin.


    By: John Am Torres
    Last edited by John; 10-10-12 at 12:04 AM.


  2. #2
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: Install GameLogin

    Guía de activación del GameLogin


    1. Edita el HTMessage.xml en los ID o lineas 301-307:

    Debes reemplazar "xxx.xxx.xxx.xxx" por tu ip, ya con tu ip quedaria asi (ejemplo):

    Guardas los cambios en el HTMessage.xml y listo!.

    2. Abrimos el HTLauncher.exe con un editor hexadecimal, yo uso y recomiendo pspad, y buscamos http:// (ctrl + F):
    Debes reemplazar "xxx.xxx.xxx.xxx" por tu ip, al igual que en el HTMessage.xml, nos quedaría así:

    OJO: Son solo estas 2 lineas, las 2 son diferentes, asi que solo editas tu ip.

    Guardas el launcher como HTLauncher-2.exe (no olvides la extensión), y borras el original, y renombras este a
    HTLauncher.exe!, o simplemente guárdalo a como está.


    3. Ahora debes editar el Config.php en de la carpeta s_game, el mismo config indica que debes editar y que no

    PHP Code:
    <?php
    $host 
    'RADIANTECF1\SQLEXPRESS';  // Nombre de instancia del sql
    $user 'sa'// Usuario del sql 
    $pass 'simeimporta'// Contraseña del sql 
    $db 'UserLogin'// Base de datos UserLogin 
    ?>
    El gamelogin solo funciona con los servidores que tienen las odbc bien configuradas y las bases de datos completas si no no funcionara el gamelogin

    4. Por ultimo nos quedaria el serverlist.txt del cliente, en la parte de arriba le pones 0 2 por ejemplo:
    0 2
    0 0 5.42.113.96 1000
    0 1 5.42.113.96 3001
    Puedes agregar una secuencia del 1 al 9, por ejemplo:
    0 7
    0 0 5.42.113.96 1000
    0 1 5.42.113.96 3001
    Obviamente yo he puesto solo 3 lineas, no vayas a confundirte poniendo solo 3, el serverlist.txt debe ir encriptado en el HTLauncher.exe

    Debes encender la zona 1 y 6 para activar el GameLogin.


    Por: John Am Torres
    Last edited by John; 10-10-12 at 12:03 AM.

  3. #3
    Unknown marcuel is offline
    MemberRank
    Mar 2010 Join Date
    499Posts

    Re: Install GameLogin

    helo, i'm very curios of this
    "<?php
    $host = 'RADIANTECF1'; ( instance name of sql )
    $user = 'sa'; ( user of sql )
    $pass = 'simeimporta'; ( password of sql )
    $db = 'UserLogin'; ( database UserLogin )
    ?>"
    How to know the $host? $user? $pass? and $DB? i don't understand this lines, is this database from my xampp or not?

  4. #4
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: Install GameLogin

    Quote Originally Posted by marcuel View Post
    How to know the $host? $user? $pass? and $DB? i don't understand this lines, is this database from my xampp or not?
    Change:
    $host = 'RADIANTECF1';

    For your instance, example:
    $host = 'JOHN-PC\SQLEXPRESS';

    and so with the others, change content of '', like you web in xampp same data of the conec.php

  5. #5
    Unknown marcuel is offline
    MemberRank
    Mar 2010 Join Date
    499Posts

    Re: Install GameLogin

    so the host will be in my SQL server?

  6. #6
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: Install GameLogin

    Quote Originally Posted by marcuel View Post
    so the host will be in my SQL server?
    $host = Host server of SQL Server (example: JOHN-PC\SQLEXPRESS).
    $user = User of SQL Server (All time is "sa").
    $pass = Password of SQL Server (You was inserted in the installation).
    $db = The UserLogin database (The database of your webpage, all time is UserLogin).

  7. #7
    Unknown marcuel is offline
    MemberRank
    Mar 2010 Join Date
    499Posts

    Re: Install GameLogin

    I have my attachment, i don't really know this database.
    based in my attachment where i can put those in the database
    Attached Thumbnails Attached Thumbnails error.png  

  8. #8
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: Install GameLogin

    Quote Originally Posted by marcuel View Post
    I have my attachment, i don't really know this database.
    based in my attachment where i can put those in the database
    PHP Code:
    $host 'XRAY-RAYS'//<- Server name or host server
    $user 'sa'//<- Don't change or remove
    $pass '123456'//<- Password (change for your SQL password).
    $db 'UserLogin'//<- Dont change or remove. 

  9. #9
    Unknown marcuel is offline
    MemberRank
    Mar 2010 Join Date
    499Posts

    Re: Install GameLogin

    I login my sql server but no password. hmppp,

  10. #10
    Unknown marcuel is offline
    MemberRank
    Mar 2010 Join Date
    499Posts

    sad Re: Install GameLogin

    I got error
    "Fatal error: Call to undefined function mssql_pconnect() in C:\xampp\htdocs\GM\config\config.php on line 5"

    my php settings

    "<?php
    function Conectarse()
    {
    global $link;
    if (!($link=mssql_pconnect("xray-rays","sa","12345678")))
    {
    exit();
    }
    if (!mssql_select_db("UserLogin",$link))
    {
    exit();
    }
    return $link;
    }
    Conectarse();"

    and my sql server in my attachment


    How to correct this error?
    Attached Thumbnails Attached Thumbnails sql.png  

  11. #11
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: Install GameLogin

    Fatal error: Call to undefined function mssql_pconnect() in C:\xampp\htdocs\GM\config\config.php on line 5
    1. <?php
    2. function Conectarse()
    3. {
    4. global $link;
    5. if (!($link=mssql_pconnect("xray-rays","sa","12345678")))
    6. {
    7. exit();
    8. }
    9. if (!mssql_select_db("UserLogin",$link))
    10. {
    11. exit();
    12. }
    13. return $link;
    14. }
    15. Conectarse();
    16. ?>

    The webpage don't conect to the SQL Server, check the ODBC, must complete with user and password, and this it don't is about the gamelogin.

  12. #12
    Unknown marcuel is offline
    MemberRank
    Mar 2010 Join Date
    499Posts

    Re: Install GameLogin

    what do you mean ODBC? ODBC in webpage?
    in my attachment i have odbc files where i can edit it?
    Attached Thumbnails Attached Thumbnails odbc.png  

  13. #13
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: Install GameLogin

    Quote Originally Posted by marcuel View Post
    what do you mean ODBC? ODBC in webpage?
    in my attachment i have odbc files where i can edit it?
    ODBC for the Server. BILL_CONN, TantraGM, UserLogin, don't have?, you need create this ODBC, but, is other object, search in your open server guide.

  14. #14
    Unknown marcuel is offline
    MemberRank
    Mar 2010 Join Date
    499Posts

    Re: Install GameLogin

    in my attachment, This files u said?
    Attached Thumbnails Attached Thumbnails database.png  

  15. #15
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: Install GameLogin

    Example:




Page 1 of 3 123 LastLast

Advertisement