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!

Official PlusEMU - Help Thread

Status
Not open for further replies.
◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜
Developer
Joined
May 29, 2007
Messages
2,167
Reaction score
899
Post your help requests related to the PlusEMU emulator here.

Please use the SPOILER tags if you're going to post screenshots or a large chunk of code.
Also make sure your code is between the CODE tags to make it easier to read.

WARNING:
When replying to a post, QUOTE the post. There's a link under the user's post "Reply With Quote" - use it. If you're not replying to a question with quote, it will be considered as Spam.

Edit 01/05/16: Please! Make sure to add your emulator version, if it's either Habboon or any other edit, or original PlusEMU. There's a lot of PlusEmu edits out there, and we would like the questions get to be made in only one thread.
 
Last edited by a moderator:
Newbie Spellweaver
Joined
Dec 22, 2013
Messages
33
Reaction score
1
Go to your bars, replaces flash.dynamic.download.name.template=%revision%/%typeid%.swf by flash.dynamic.download.name.template=%typeid%.swf

Verstuurd vanaf mijn HTC Desire 820 met Tapatalk
I did this, cleared my cache, and it is still disconnecting me when I click on a piece of furniture in the catalog.



It could be an error in your database structure. Is it showing any errors in the emulator? Post your logs file, that could also help.


Verzonden vanaf mijn iPhone met Tapatalk
I'm not sure about that database structure, everything else works fine. I checked all the logs in the Emulator and no errors with this. I just simply disconnect everytime I click on a furni in the catalog. Again, the furni is still white boxes for me, and then it disconnects me. It's not loading the actual furni, I get disconnected before it even tries to load any furni. I can see Pets and everything. Just not furni.
 
Upvote 0
Newbie Spellweaver
Joined
Jan 11, 2016
Messages
23
Reaction score
3
I did this, cleared my cache, and it is still disconnecting me when I click on a piece of furniture in the catalog.




I'm not sure about that database structure, everything else works fine. I checked all the logs in the Emulator and no errors with this. I just simply disconnect everytime I click on a furni in the catalog. Again, the furni is still white boxes for me, and then it disconnects me. It's not loading the actual furni, I get disconnected before it even tries to load any furni. I can see Pets and everything. Just not furni.
Did you have correct link to hof furni? Also changed override vars?

Verstuurd vanaf mijn HTC Desire 820 met Tapatalk
 
Upvote 0
Newbie Spellweaver
Joined
Dec 22, 2013
Messages
33
Reaction score
1
Did you have correct link to hof furni? Also changed override vars?

Verstuurd vanaf mijn HTC Desire 820 met Tapatalk

Fixed, thank you. Some links in the override vars weren't going to the correct path. Appreciate it.
 
Upvote 0
Divine Celestial
Loyal Member
Joined
Oct 2, 2011
Messages
858
Reaction score
272
Guys I am having one issue, sometimes when I click on tabs in the catalog nothing happens... Like i just keep clicking and nothing... Anyone having this issue?
 
Upvote 0
Newbie Spellweaver
Joined
Dec 22, 2013
Messages
33
Reaction score
1
Hi again,

I created a rank 10 and rank 11 and they both have the correct commands but they don't have MOD-Tools or the staff badge enable above their head. What do I have edit in order to make them show?
 
Upvote 0
Newbie Spellweaver
Joined
Jan 22, 2007
Messages
19
Reaction score
3
Hi again,

I created a rank 10 and rank 11 and they both have the correct commands but they don't have MOD-Tools or the staff badge enable above their head. What do I have edit in order to make them show?

Hi!

It's not enough to just make the right commands but you also have to make them have the right permission. Look in permission_rights and in permissions to look what id for what permission you need to use.
 
Upvote 0
Divine Celestial
Loyal Member
Joined
Oct 2, 2011
Messages
858
Reaction score
272
Also another bug, when ever I drag an item from the cata directly into my room and when I buy it it like disappears and I am forced to reload the room then I have to open the the cata log for it to finally show up.

Also moodlights do not work....

Do you guys think this is actually the Habboons emu edit ? As Sledmore stated?
 
Upvote 0
Newbie Spellweaver
Joined
Oct 17, 2015
Messages
58
Reaction score
30
How would I disable the staff badge enable above the head?, I would find it in the emulator .cs?
 
Upvote 0
Newbie Spellweaver
Joined
Nov 28, 2009
Messages
69
Reaction score
3
Hey guys,

I have a problem with my client which is black.

I am using the fixed Habboon emu and DB and have all my swf's in my wwwroot/swf folder.

My client won't connect to my emu. Don't know why, I checked all my paths.
(I'm using RevCMS)
Maybe you can have a look at it:

Emu config:
Code:
## uberEmulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password=MYPW
db.name=hotel

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

## Game TCP/IP Configuration
game.tcp.bindip=localhost
game.tcp.port=3030
game.tcp.conlimit=100000
game.tcp.conperip=200
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=localhost
mus.tcp.port=3040
mus.tcp.allowedaddr=localhost

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300

Config.php from CMS
Code:
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
#Please fill this all out.

#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.

/*
*
*	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'] = 'MYPW'; //MySQL password

$_CONFIG['mysql']['database'] = 'hotel'; //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'; //IP of VPS/DEDI/etc

$_CONFIG['hotel']['url'] = 'http://localhost'; //Does not end with a "/"

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

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

$_CONFIG['hotel']['email'] = 'help@myhotel.net'; //Where the help queries from users are emailed to.@Priv skin

$_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/3132'; //Web_Build

$_CONFIG['hotel']['external_vars'] = 'http://localhost/swf/gamedata/external_variables.txt'; //URL to your external vars

$_CONFIG['hotel']['external_texts'] = 'http://localhost/swf/gamedata/external_flash_texts.txt'; //URL to your external texts

$_CONFIG['hotel']['product_data'] = 'http://localhost/swf/gamedata/productdata.txt'; //URL to your productdata

$_CONFIG['hotel']['furni_data'] = 'http://localhost/swf/gamedata/furnidata.xml'; //URL to your furnidata

$_CONFIG['hotel']['swf_folder'] = 'http://localhost/swf/gordon/PRODUCTION-201601012205-226667486'; //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'] = 'Habbo'; 

/*
*
*	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

?>

Client.php
Code:
<!DOCTYPE html>

<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelname}: Client</title>
       
        <link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css">
                <link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" />
       
        <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
        <script type="text/javascript">
		
            var BaseUrl = "http://localhost/swf/";
            var flashvars =
            {
                "client.starting" : "Please wait, {hotelName} is loading...",
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",
                "connection.info.host" : "127.0.0.1",
                "connection.info.port" : "30000",
                "site.url" : "http://localhost",
                "url.prefix" : "http://localhost",
                "client.reload.url" : "http://localhost/client",
                "client.fatal.error.url" : "http://localhost/disconnect",
                "client.connection.failed.url" : "http://localhost/disconnect",
                "external.variables.txt" : "http://localhost/swf/gamedata/external_variables.txt",
                "external.texts.txt" : "http://localhost/swf/gamedata/external_flash_texts.xml",
                "external.figurepartlist.txt" : "http://localhost/swf/gamedata/figuredata.xml",
                "external.override.texts.txt" : "http://localhost/swf/gamedata/external_flash_override_texts.xml",
                "external.override.variables.txt" : "http://localhost/swf/gamedata/external_override_variables.xml",
                "productdata.load.url" : "http://localhost/swf/gamedata/productdata.xml",
                "furnidata.load.url" : "http://localhost/swf/gamedata/furnidata.xml",
                "use.sso.ticket" : "1",
                "sso.ticket" : "{sso}",
                "processlog.enabled" : "0",
                "flash.client.url" : "//localhost/swf/",
                "flash.client.origin" : "popup",
                "nux.lobbies.enabled" : "true"
            };
            var params =
            {
                "base" : BaseUrl + "/",
                "allowScriptAccess" : "always",
                "menu" : "false"          
            };
            swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://localhost/swf/expressInstall.swf",    			flashvars, params, null);

 </script>
 
    </head>

<body>
    <div id="client"></div>

</body>
</html>

Screens of my folder structure:



 
Upvote 0
Newbie Spellweaver
Joined
Aug 5, 2014
Messages
16
Reaction score
0
Hey guys,

I have a problem with my client which is black.

I am using the fixed Habboon emu and DB and have all my swf's in my wwwroot/swf folder.

My client won't connect to my emu. Don't know why, I checked all my paths.
(I'm using RevCMS)
Maybe you can have a look at it:

Emu config:
Code:
## uberEmulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password=MYPW
db.name=hotel

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

## Game TCP/IP Configuration
game.tcp.bindip=localhost
game.tcp.port=3030
game.tcp.conlimit=100000
game.tcp.conperip=200
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=localhost
mus.tcp.port=3040
mus.tcp.allowedaddr=localhost

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300

Config.php from CMS
Code:
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
#Please fill this all out.

#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.

/*
*
*	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'] = 'MYPW'; //MySQL password

$_CONFIG['mysql']['database'] = 'hotel'; //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'; //IP of VPS/DEDI/etc

$_CONFIG['hotel']['url'] = 'http://localhost'; //Does not end with a "/"

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

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

$_CONFIG['hotel']['email'] = 'help@myhotel.net'; //Where the help queries from users are emailed to.@Priv skin

$_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/3132'; //Web_Build

$_CONFIG['hotel']['external_vars'] = 'http://localhost/swf/gamedata/external_variables.txt'; //URL to your external vars

$_CONFIG['hotel']['external_texts'] = 'http://localhost/swf/gamedata/external_flash_texts.txt'; //URL to your external texts

$_CONFIG['hotel']['product_data'] = 'http://localhost/swf/gamedata/productdata.txt'; //URL to your productdata

$_CONFIG['hotel']['furni_data'] = 'http://localhost/swf/gamedata/furnidata.xml'; //URL to your furnidata

$_CONFIG['hotel']['swf_folder'] = 'http://localhost/swf/gordon/PRODUCTION-201601012205-226667486'; //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'] = 'Habbo'; 

/*
*
*	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

?>

Client.php
Code:
<!DOCTYPE html>

<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelname}: Client</title>
       
        <link rel="stylesheet" href="http://forum.ragezone.com/{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css">
                <link rel="shortcut icon" href="http://forum.ragezone.com/{url}/favicon.ico" type="image/vnd.microsoft.icon" />
       
        <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
        <script type="text/javascript">
		
            var BaseUrl = "http://localhost/swf/";
            var flashvars =
            {
                "client.starting" : "Please wait, {hotelName} is loading...",
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",
                "connection.info.host" : "127.0.0.1",
                "connection.info.port" : "30000",
                "site.url" : "http://localhost",
                "url.prefix" : "http://localhost",
                "client.reload.url" : "http://localhost/client",
                "client.fatal.error.url" : "http://localhost/disconnect",
                "client.connection.failed.url" : "http://localhost/disconnect",
                "external.variables.txt" : "http://localhost/swf/gamedata/external_variables.txt",
                "external.texts.txt" : "http://localhost/swf/gamedata/external_flash_texts.xml",
                "external.figurepartlist.txt" : "http://localhost/swf/gamedata/figuredata.xml",
                "external.override.texts.txt" : "http://localhost/swf/gamedata/external_flash_override_texts.xml",
                "external.override.variables.txt" : "http://localhost/swf/gamedata/external_override_variables.xml",
                "productdata.load.url" : "http://localhost/swf/gamedata/productdata.xml",
                "furnidata.load.url" : "http://localhost/swf/gamedata/furnidata.xml",
                "use.sso.ticket" : "1",
                "sso.ticket" : "{sso}",
                "processlog.enabled" : "0",
                "flash.client.url" : "//localhost/swf/",
                "flash.client.origin" : "popup",
                "nux.lobbies.enabled" : "true"
            };
            var params =
            {
                "base" : BaseUrl + "/",
                "allowScriptAccess" : "always",
                "menu" : "false"          
            };
            swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://localhost/swf/expressInstall.swf",    			flashvars, params, null);

 </script>
 
    </head>

<body>
    <div id="client"></div>

</body>
</html>

Screens of my folder structure:




Try sets emulator tcp port to 30000 and you need also rs4.php file your gamedata folder.
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Nov 28, 2009
Messages
69
Reaction score
3
Try sets emulator tcp port to 30000 and you need also rs4.php file your gamedata folder.

Must be something different. Changing the tcp port doesn't fixed it.

I think my client won't connect to the emu because everytime I start my client, I don't see that the emu is loading something..
 
Upvote 0
Status
Not open for further replies.
Back
Top