Jump to content
Sign in to follow this  
SD13

Registration Site using Hamachi

Recommended Posts

4 hours ago, SD13 said:

Hello..how to make website for registration for hamachi server...??

 

help plz..thnks

U use zend or xampp? either way, just extract a website template into your htdocs folder in zend or xampp. Then open includes folder > inc.config and find the database connection stuff. Ex:

	$config['db']['game']			= array( 'host'		=> '(local)',
							 'db'		=> 'gamedb',
							 'user'		=> 'sa',
							 'pass'		=> ''			);

	$config['db']['account']		= array( 'host'		=> '(local)',
							 'db'		=> 'accountserver',
							 'user'		=> 'sa',
							 'pass'		=> ''			);

Configure host (local) to your hamachi ip so it will be => 'yourHamachiIP'
db = your database name for gamedb (usually gamedb unless you called it something else)
user = the user you attach the database as.
pass = the pass that you made or assigned to the user (most people use passgen.exe to generate a custom password)

That should be all. Try and see if it works.

  • Like 1

Share this post


Link to post
Share on other sites
5 hours ago, DangThao said:

U use zend or xampp? either way, just extract a website template into your htdocs folder in zend or xampp. Then open includes folder > inc.config and find the database connection stuff. Ex:


	$config['db']['game']			= array( 'host'		=> '(local)',
							 'db'		=> 'gamedb',
							 'user'		=> 'sa',
							 'pass'		=> ''			);

	$config['db']['account']		= array( 'host'		=> '(local)',
							 'db'		=> 'accountserver',
							 'user'		=> 'sa',
							 'pass'		=> ''			);

Configure host (local) to your hamachi ip so it will be => 'yourHamachiIP'
db = your database name for gamedb (usually gamedb unless you called it something else)
user = the user you attach the database as.
pass = the pass that you made or assigned to the user (most people use passgen.exe to generate a custom password)

That should be all. Try and see if it works.

i got blank error...not display anything...here is the in.config.php

 

    // ===================================================================================================
    // = Database-Configuration
    // ===================================================================================================
    // = The following two arrays define the logins which should be used to access the database.
    // =
    // = If you use accounts with passwords, 'pass' MUST contain the UNENCRYPTED passwords! (NOT those
    // = from the config-files of the gameserver, etc. !!!!!!!)
    // ===================================================================================================

    $config['db']['game']            = array( 'host'        => '25.58.125.172',
                             'db'        => 'GameDB',
                             'user'        => 'sa',
                             'pass'        => 'Y87dc#$98'            );

    $config['db']['account']        = array( 'host'        => '25.58.125.172',
                             'db'        => 'AccountServer',
                             'user'        => 'sa',
                             'pass'        => 'Y87dc#$98'            );

    $config['db']['auction']        = array( 'host'        => '25.58.125.172',
                             'db'        => 'Auction',
                             'user'        => 'sa',
                             'pass'        => 'Y87dc#$98'            );

    // ===================================================================================================

 

is there anything i should chenge

 

im using eternal shadow online template website..

white only.jpg

Share this post


Link to post
Share on other sites
On 2/20/2018 at 4:30 PM, SD13 said:

i got blank error...not display anything...here is the in.config.php

 

    // ===================================================================================================
    // = Database-Configuration
    // ===================================================================================================
    // = The following two arrays define the logins which should be used to access the database.
    // =
    // = If you use accounts with passwords, 'pass' MUST contain the UNENCRYPTED passwords! (NOT those
    // = from the config-files of the gameserver, etc. !!!!!!!)
    // ===================================================================================================

    $config['db']['game']            = array( 'host'        => '25.58.125.172',
                             'db'        => 'GameDB',
                             'user'        => 'sa',
                             'pass'        => 'Y87dc#$98'            );

    $config['db']['account']        = array( 'host'        => '25.58.125.172',
                             'db'        => 'AccountServer',
                             'user'        => 'sa',
                             'pass'        => 'Y87dc#$98'            );

    $config['db']['auction']        = array( 'host'        => '25.58.125.172',
                             'db'        => 'Auction',
                             'user'        => 'sa',
                             'pass'        => 'Y87dc#$98'            );

    // ===================================================================================================

 

is there anything i should chenge

 

im using eternal shadow online template website..

white only.jpg

Is that the user and passed u used when you attached your database? if so, should works. Also, try replace ur hamachi ip to '(local)'. 
What Xampp version are you using? some are not working properly.

Share this post


Link to post
Share on other sites
4 hours ago, DangThao said:

Is that the user and passed u used when you attached your database? if so, should works. Also, try replace ur hamachi ip to '(local)'. 
What Xampp version are you using? some are not working properly.

hello...already change the hamachi ip to local ip..still got blank page....here is my xampp version..

xampp.jpg

Share this post


Link to post
Share on other sites
7 hours ago, SD13 said:

hello...already change the hamachi ip to local ip..still got blank page....here is my xampp version..

xampp.jpg

If running in xampp and u're doing hamachi, why not use old xampp 1.7.1? We mainly use that or Zend (this is better ofc)

Share this post


Link to post
Share on other sites
20 hours ago, DangThao said:

If running in xampp and u're doing hamachi, why not use old xampp 1.7.1? We mainly use that or Zend (this is better ofc)

thanks...it work already...just need some modification..

Share this post


Link to post
Share on other sites
17 hours ago, SD13 said:

nee

wan to ask...how to edit sidebar..put our link for client..patch..

Htdocs>templates>sidebar>left.tpl or right.tpl depend what u wanna edit. If you wanna edit other pages, it'll be in htdocs>templates>pages and you look for the page you want to edit there.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...