Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Install GameLogin

Status
Not open for further replies.
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
GameLogin guide of activate


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

ID
301 -
302 -
303 -
304 -
305 -
306 - //Navy//GmLog//Data//
307 -

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

301 -
302 -
303 -
304 -
305 -
306 - //Navy//GmLog//Data//
307 -

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):
ID
14ED50 -
14EDAQ -

You must replace "xxx.xxx.xxx.xxx", for your ip, like in the HTMessage.xml, must remain in this manner:
14ED50 -
14EDAQ -


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:
<?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:
 
Last edited:
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
Guía de activación del GameLogin


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

ID
301 -
302 -
303 -
304 -
305 -
306 - //Navy//GmLog//Data//
307 -

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

301 -
302 -
303 -
304 -
305 -
306 - //Navy//GmLog//Data//
307 -

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):
ID
14ED50 -
14EDAQ -

Debes reemplazar "xxx.xxx.xxx.xxx" por tu ip, al igual que en el HTMessage.xml, nos quedaría así:
14ED50 -
14EDAQ -


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:
<?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:
 
Last edited:
Joined
Mar 14, 2010
Messages
504
Reaction score
27
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?
 
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
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
 
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
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).
 
Joined
Mar 14, 2010
Messages
504
Reaction score
27
I have my attachment, i don't really know this database. :(:
based in my attachment where i can put those in the database
 

Attachments

You must be registered for see attachments list
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
I have my attachment, i don't really know this database. :(:
based in my attachment where i can put those in the database

PHP:
$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.
 
Joined
Mar 14, 2010
Messages
504
Reaction score
27
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?
 

Attachments

You must be registered for see attachments list
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
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.
 
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
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.
 
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
Example:

John - Install GameLogin - RaGEZONE Forums
 
Newbie Spellweaver
Joined
Oct 5, 2012
Messages
37
Reaction score
6
un pregunta el HTMessage va solo en la carpeta system del cliente ?
 
Status
Not open for further replies.
Back
Top