Noob question

Ziamerko

Member
Mar 29, 2015
54
3
So I am using xampp. Yes I know it's outdated, but I'm just testing. I have some experience in this, but it seems like Xampp have removed the security page, and phpmyadmin does not require a login. Therefore I am stuck in RevCMS Config page. It seem to not connect to the db and i get errors due to the elimination of security page.

Here's my cms config:

<?php

#Please fill this all out.


/*
*
* MySQL management
*
*/

$_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

$_CONFIG['mysql']['username'] = 'root'; //MySQL username

$_CONFIG['mysql']['password'] = ''; //MySQL password

$_CONFIG['mysql']['database'] = 'revdb'; //MySQL database

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

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

$_CONFIG['hotel']['server_ip'] = '127.0.0.1'

$_CONFIG['hotel']['url'] = ' //Does not end with a "/"

$_CONFIG['hotel']['name'] = 'Habbo'; // Hotel's name

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

$_CONFIG['hotel']['email'] = '[email protected]'; //Where the help queries from users are emailed to.

$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance

$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Default motto users will register with.

$_CONFIG['hotel']['credits'] = 5000; //Default number of credits users will register with.

$_CONFIG['hotel']['pixels'] = 10000; //Default number of pixels users will register with.

$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.

$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/235'; //Habbo's latest web_build

$_CONFIG['hotel']['external_vars'] = ' //URL to your external vars

$_CONFIG['hotel']['external_texts'] = ' //URL to your external texts

$_CONFIG['hotel']['product_data'] = ' //URL to your productdata

$_CONFIG['hotel']['furni_data'] = ' //URL to your furnidata

$_CONFIG['hotel']['swf_folder'] = ' //URL to your SWF folder(does not end with a '/')

/*
*
* 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'] = 'Mango';

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


$_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
 
Last edited:

Berk

berkibap#4233
Developer
Oct 17, 2015
863
190
Code:
$_CONFIG ['hotel']['server_ip'] = '127.0.0.1' // bla bla text
To this:
Code:
$_CONFIG['hotel']['server_ip'] = '127.0.0.1';//bla bla text
 

Ziamerko

Member
Mar 29, 2015
54
3
Thanks.

Now on the EMU i have another issue.

Im running old butterfly emulator
Screenshot of error:

Config in emu:
## uberEmulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration asASd1684ASdasdtbykyuadC_
db.hostname=localhost
db.port=3306
db.username=root
db.password=
db.name=revtest
db.mssql=false

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

## Game TCP/IP Configuration
game.tcp.bindip=127.0.0.1
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=10000
game.tcp.enablenagles=False

## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=30001
mus.tcp.allowedaddr=127.0.0.1

## Client configuration
client.ping.enabled=1
client.ping.interval=30000

#IRC
irc.enabled=false
irc.server=irc.website-service.org
irc.port=6667
irc.user=USER CSharpBot 8 * :I'm a C# irc bot
irc.nick=[VG]Mordi
irc.channel=#habbovg_servermod
irc.password=rofl123

group.enabled=true
auth.ssodisabled=false


#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)
game.pixel.enabled=true
game.pixel.amount=150
game.pixel.time=900

#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)
game.credits.enabled=true
game.credits.amount=150
game.credits.time=900

game.login.credits.receiveamount=3000
game.login.pixel.receiveamount=3750

GC.LatencyMode=default


## connectiond details
con.socket=9001
con.max_servers=10000
con.con_per_ip=10000

## connection interval
ping.interval=2000
request.interval.active=2000
request.interval.idle=60000
version.id=1

game.gift.ids=161,162,163,164,165,166,167
groups.enabled=true
 

Kak

Posting Freak
Apr 21, 2017
951
165
Thanks.

Now on the EMU i have another issue.

Im running old butterfly emulator
Screenshot of error:

Config in emu:
## uberEmulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration asASd1684ASdasdtbykyuadC_
db.hostname=localhost
db.port=3306
db.username=root
db.password=
db.name=revtest
db.mssql=false

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

## Game TCP/IP Configuration
game.tcp.bindip=127.0.0.1
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=10000
game.tcp.enablenagles=False

## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=30001
mus.tcp.allowedaddr=127.0.0.1

## Client configuration
client.ping.enabled=1
client.ping.interval=30000

#IRC
irc.enabled=false
irc.server=irc.website-service.org
irc.port=6667
irc.user=USER CSharpBot 8 * :I'm a C# irc bot
irc.nick=[VG]Mordi
irc.channel=#habbovg_servermod
irc.password=rofl123

group.enabled=true
auth.ssodisabled=false


#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)
game.pixel.enabled=true
game.pixel.amount=150
game.pixel.time=900

#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)
game.credits.enabled=true
game.credits.amount=150
game.credits.time=900

game.login.credits.receiveamount=3000
game.login.pixel.receiveamount=3750

GC.LatencyMode=default


## connectiond details
con.socket=9001
con.max_servers=10000
con.con_per_ip=10000

## connection interval
ping.interval=2000
request.interval.active=2000
request.interval.idle=60000
version.id=1

game.gift.ids=161,162,163,164,165,166,167
groups.enabled=true
simple, dont use it. that is outdated as hell and probably buggy and has exploits since its phoenix
 

Users who are viewing this thread

Top