Mercury domain problem

Reznal

New Member
May 16, 2014
8
2
Hey everyone,
So I have a Mercury running on my vps with cms, etc. Although currently it is running under my ip address, when I update the website to my domain name and try to load the client, It loads into the game for 1 or 2 seconds then disconnects, on my emulator it Does not say I connect, just disconnect, there are no errors in google chrome dev or the emulator logs.
Any help would be much appreciated.
 

Reznal

New Member
May 16, 2014
8
2
not in the emulator config ofcourse.. Ive updaated my cmd config and external variables with my domain, kept ip in the emu config files.
I figure it has to be something to do with the emu as all the cms works just disconnects me from the client once its loaded.
 

Reznal

New Member
May 16, 2014
8
2
Care to tell me where?
All domains in the cms config are set and all domains in the external variables. What config would be setup wrong that allows me to connect for 1 seconds then auto disconnect when it works using vps ip?
 

Stevee

Posting Freak
Mar 29, 2011
580
35
Care to tell me where?
All domains in the cms config are set and all domains in the external variables. What config would be setup wrong that allows me to connect for 1 seconds then auto disconnect when it works using vps ip?
IF you'd rather not answer the questions below post:
CMS config
emu config
vars.
got skype?
TV?
I'll help you resolve it.
 

Reznal

New Member
May 16, 2014
8
2
Variables :
Emu Config
## Mercury Emulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=name
db.password=pass
db.name=name

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=1
db.pool.maxsize=500

## Game TCP/IP Configuration
game.tcp.bindip=(ip)
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=(ip)
mus.tcp.port=30001
mus.tcp.allowedaddr=0.0.0.0

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
CMS Config
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }

$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.

$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host - 208.67.16.47, Hamachi IP, VPS or Dedi's IP

$_CONFIG['mysql']['username'] = 'name'; //Phpmyadmin username

$_CONFIG['mysql']['password'] = 'pass'; //Phpmyadmin password

$_CONFIG['mysql']['database'] = 'name'; //Phpmyadmin database name

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
* Hotel management - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = '(ip)'; //localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['hotel']['url'] = ' //URL to your hotel, does not end with a "/"

$_CONFIG['hotel']['name'] = 'Nexxt'; // Your Hotel's Name

$_CONFIG['hotel']['desc'] = ''; //Hotel's description

$_CONFIG['hotel']['email'] = '[email protected]'; //Email for users to submit help requests to

$_CONFIG['hotel']['in_maint'] = false; //false for no maintenance mode & true for maintenance mode

$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Starting motto for new users

$_CONFIG['hotel']['credits'] = 100000; //How many coins new users get

$_CONFIG['hotel']['pixels'] = 50000; //How many pixels new users get

$_CONFIG['hotel']['figure'] = 'lg-285-89.sh-290-1408.hr-3163-31.ch-210-106.hd-190-1'; //Default figure users will register with.

$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/2769'; //Web_Build

$_CONFIG['hotel']['external_vars'] = ' //External Vars [Don't edit]

$_CONFIG['hotel']['external_texts'] = ' //External Flash Texts [Don't edit]

$_CONFIG['hotel']['product_data'] = ' //Product Data [Don't edit]

$_CONFIG['hotel']['furni_data'] = ' //Furni Data [Don't edit]

$_CONFIG['hotel']['swf_folder'] = ' //SWF Folder [Don't edit]

/*
*
* Templating management - Pick one of our default styles or make yours by following our examples!
*
*/

#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.

$_CONFIG['template']['style'] = 'New';

/*
*
* Other topsites.. thing
*
*/

$_CONFIG['thehabbos']['username'] = 'Kryptos';
$_CONFIG['retro_top']['user'] = 'Kryptos';

/*
*
* Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.
*
*/

$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';


/*
*
* Social Networking stuff
*
*/

$_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account

$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account

?>
 

Reznal

New Member
May 16, 2014
8
2
Ok, so Ive fixed it by getting rid of cloudflare completely, reverting back to just domain nameservers etc, Once that went through I redone my cloudflar from scratch and now it all works, everything is exact the same as before but it works for some reason.
Thanks for trying to help anyways :)
 

RyanzRetros

Developer of ChakCMS
Jan 14, 2015
978
182
Ok, so Ive fixed it by getting rid of cloudflare completely, reverting back to just domain nameservers etc, Once that went through I redone my cloudflar from scratch and now it all works, everything is exact the same as before but it works for some reason.
Thanks for trying to help anyways :)
Glad you fixed it. Thread can be closed now?
 

Users who are viewing this thread

Top