Holograph Emulator FAQ List
This is small FAQ list which should be used
before posting your question in the
Official Holograph Emulator Help thread, this FAQ list was specifically written for Revision 48 of Holograph Emulator which is coded in C#.NET, if you have questions specifically relating to previous versions then post in the
Official Holograph Emulator Help or post here and I'll try to give a response and add it to a list for the miscellaneous section. You should also refer to the original
FAQ list made by Mickey for general server questions.
I have gone through all 28 pages of the help section and manage to find out the most common problems that I have fixes for, but if you come across and error that you haven't seen before, please post either here or the official help thread and I'll add it to the FAQ list.
Question's
Question #1: I have received an error that says;
Code:
Failed to connect: Error thrown was: ERROR [IM002] [MICROSOFT][ODBC driver manager] Data source name not found and no default driver specified
This basically means that you don't have the right MySQL ODBC installed, you will need to download and install MySQL ODBC connector 5.1 which will allow you to connect from Holograph Emulator to your MySQL database and visa versa.
Question #2: I have received an error that says;
Code:
Failed to connect: Error thrown was: ERROR [HY000] [MySQL][ODBC 5.1 driver] Can't connect to MySQL server on 'localhost' <10061>
This means that details you have entered in the MySQL.ini which is located in your '%root%\bin\Debug\bin' folder are wrong, it may not be all of them but it is at least one of them, make sure the credentials are 100% correct then save and run the emulator again.
Question #3: How do I get Battleball in Holograph Emulator?
The C#.NET source that Nillus released was only supposed to be showing the programmers how to code Battleball for a private server, it wasn't intentionally released for people to run a hotel, no support was given for that download which can be found
here, you can refer to
Nillus' post if you would like to see what needs to be fixed
Question #4: I have a limited amount of furniture in my catalogue, is there any way I can get new furniture?
Yes, and thanks to Kreechin and a couple of other members here at RaGEZONE, you can now add the latest furniture with ease into your catalogue, you should check out the thread
here and then download the latest catalogue and then follow these steps;
1. Go to phpmyadmin, go to your `catalogue_items`, `catalogue_pages`, and `catalogue_deals` and delete them from the database.
2. Import the new SQL file into your database, so go to Import, then hit the 'Browse' button, and find your 'only_catalogue_
xx.sql' SQL file and then hit 'GO' and you should now have a full catalogue besides some sections which haven't been coded yet.
Question #5: How do I get the 'Call for Help' feature to work within my own hotel?
It would require a decent amount of coding knowledge in C#.NET and also require knowledge of Habbo's protocol, it isn't impossible but I honestly couldn't tell you how to do it because I'm not even sure.
Question #6: I have trouble with my users when they buy a Habbo Club subscription they cannot enter the hotel, is there any way I can fix this?
Yes, there's a way but seems it doesn't always work for everyone, it requires you to have Visual Studio C#.NET Express Edition installed (which you should already have installed), open up the project file and press
ctrl +
F, then in the search box type
Then it should take you to
Code:
case "@Z": // Login - initialize Club subscription status
You will need to replace that snippet of code with this one;
Code:
case "@Z": // Login - initialize Club subscription status
//refreshClub();
break;
Compile the project and enter the hotel and it _should_ work, if it doesn't then you'll probably have to disable Habbo Club subscription until someone releases a definite fix. You will have to be hosting your own variables to disable Habbo Club, by hosting your own variables. In your variables find;
Code:
club.subscription.disabled=0
this means that Habbo Club is enabled because of the boolean (0/1 - 1 = True, and 0 = False), if you want to disable your Habbo Club for your hotel then set it to '1', and if you want to have it enabled set it to '0'.
Question #6: How do I use commands within my hotel?
Remember to not have anyone clicked at the time when you press enter after you type the command - you have to whisper and have nothing on your info-matic (just click the black area), some commands are restricted to staff and some are available to every, refer to the list for more detail.
All Habbos;
- :about
- :poof
- :rape <user>
- :care
Staff;
- :alert <user> <message>
- :roomalert <message>
- :kick <user> <message>
- :roomkick <message>
- :shutup <user> <message>
- :unmute <user>
- :roomshutup <message>
- :roomunmute
- :ban <user> <hours> <message>
- :superban <user> <hours> <message>
- :ha <message>
- :ra <message>
- :teleport
- :warp X Y
- :userinfo <username>
Those are the default commands that came with Holograph Emulator revision 48, some hotels have other commands and that's why you may think some commands don't work for you.
Question #7: What are the ranks for users in Holograph Emulator?
The following ranks correspond with the number to the left of the rank;
- Normal Habbo
- Habbo Club member
- eXpert
- Silver Hobba
- Gold Hoba
- Moderator
- Administrator
Question #8: How can I change the starting credits for new registering members?
You can do this by logging into your phpmyadmin (or any third party software such as Navicat) and enter your Holograph database, default is `holodb`, once in there find the `cms_system` table and go to 'explore', click on the pencil and change the value in the `start_credits` text box, press 'GO' and then get someone to register or you make a new account and the starting credits should of changed.
Loader/Client FAQ List
I. IntroductionLoaders are often expressed in the Habbo Hotel community as a web page in which you can log on to a hotel to play a Habbo Hotel Retro, people often have a lot of problems due to loaders and gathering the required information to get them to work.
A basic loader should look like this below..
PHP Code:
<object classid='clsid:166B1BCA-3F9C-11CF-8075-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,8,5,1,0' id='habbo' width='720' height='540'>
<param name='src' value='DCR_URL'>
<param name='swRemote' value='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true' '>
<param name='sw1' value='site.url=SITE_URL;url.prefix=URL_PREFIX'>
<param name='sw2' value='connection.info.host=IP;connection.info.port=PORT'>
<param name='sw3' value='client.reload.url=LINK_TO_YOUR_LOADER'>
<param name='sw4' value='connection.mus.host=game.habbohotel.co.uk;c onnection.mus.port=30001'>
<param name='sw5' value='external.variables.txt=EXTERNAL VARIABLES'>
<param name='sw6' value='external.texts.txt=EXTERNAL_TEXTS'>
<embed src='DCR_URL' bgColor='#000000' width='720' height='540' swRemote='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true'' swStretchStyle='none' swText='' type='application/x-director'>
II. About loadersA basic loader will consist of the following that the hosting computer must use- IP address (eg. 127.0.0.1; or a redirect service eg no.ip.org)
- PORT
There are also other files that you can host either on your computer or a web host[/font][/color][/size][/font]- DCR’s (ccts, soundsets etc)
- External Variables
- External Texts
- C_images
- Figure data
III. Explanation about filesNow we will through each one and I’ll try to explain what each of them mean in its simplest form
IP Address: This is the basically how the internet locates your computer
PORT: This is access point for your computer which the server sends and receives data out of.
DCR's: These are basically the game files which the emulator receives data from and sends data to aswell to produce a feature eg. Hotel alert
External Variables: These in short terms is basically like a configuration/settings file, alot like the one you use with Debbo or HabLog etc, you can turn things off including Habbo Club, Console and alot more, it also provides the locations for such things as figuredata and c_images. To turn things off and on you have the option to enable or disable them in your external variables, it uses boolean (True or Flase, or 1 meaning True and 0 meaning False), I'll show you an example as it is very handy to learnThis is telling us that Habbo Club is disabled
club.subscription.disabled=1
This is telling us that Habbo Club is not disabled
club.subscription.disabled=0
External Texts: These are basically like a big locale system for furniture, alerts, and all text that appears within the hotel.
C_Images: basically the images that appear within the hotel including catalogue headlines, badges and so on.
Figuredata: This is basically the options of which your avatar looks like which interacts with the CCTs which you can your style, it usually comes in XML format for web based changing of clothes and .txt for changing clothes through the client.
IV. Frequently asked questions about loaders[/LEFT]
|
| Quote: |
| Question 1 Question: My loader instantly disconnects after pressing login or register. Answer: This is because the port that the server is using is not the same port that the hotel is trying to connect to. How to fix: You must change the server port to the port that matches the port on the web host either through the configuration file (settings.ini) or you can change it on your website, it’s probably easier to change through the configuration file, you can do this by going to C:\%systemroot%\<name_of_server>\database\configur ation\settings.ini and changing the port in the [SERVER] section, so as an example if I had my port on the website as 90 and the port on my server as 12*** I would have to change the port in settings.ini from 1232 to 90 and restart the server.
|
|
| Quote: |
| Question 2 Question: When I click register or login, it just keeps saying loading and then disconnects me. Answer: This is most likely because of the connection to your computer through your IP address. How to fix: The only way you will be able to fix this problem is by using your correct IP (or Hamachi IP) in the loader, you can see the correct IP by using the command prompt or going to website like WhatsmyIP.org and copying the numerals and replacing the previous numerals with the ones from the website.
|
|
| Quote: |
| Question 3 Question: Only I can connect to my hotel and no one else can connect. Answer: This is most likely because you haven’t portfowarded correctly or you haven’t portfowarded as well and the hotel thinks you’re running the hotel on localhost (127.0.0.1) or a firewall is blocking outside connections to your computer to keep it safe. How to fix: You will need to re-configure your ports so they allow outside connections to connect to your computer, you may feel that you have portfowarded correctly but sometimes it may be firewall which isn’t allowing connections, you may have to allow the server port (usually 90, 12*** or 147) through the firewall.
|
|
| Quote: |
| Question 4 Question: I can’t see the normal text, I can only see text that looks like “login_register1” and so on. Answer: This is due to the loader cannot find the external_texts location therefore it doesn’t have access to the ‘locale’ system, or you are missing some of them.
How to fix: You will need to find someone who has them stored on their website, or you can link to the official hotels one by viewing there source and copying the external_texts location and using them on your loader, you can also copy and paste there external_texts and paste them into a .txt document and host them on your own site, this makes you able to edit them if you want to change the name of the hotel or the furniture name.
|
|
| Quote: |
| Question 5 Question: When I enter a room I can see clear boxes and they don’t load (not PH boxes). Answer: This is mainly due to your net speed and the web hosts net speed as well, it just doesn’t have enough to load some (or all) of them in the amount of time and it often results in you not being able to see the furniture. How to fix: There isn’t official fix for this as its most likely do to your net speed, but if you load the furniture over and over it will most likely let you see the furniture, just like when you visit a website for the first time it comes up slower than the second time you visit it.
|
|
| Quote: |
| Question 6 Question: When I enter a room I can see boxes with PH on them (Place Holder boxes). Answer: This is due to your hof_furni, it either doesn’t locate them through the variables or you don’t have a certain piece of furniture uploaded to them for example if you’re running on official V14 DCRs you won’t be able to see V15+ furniture. How to fix: To fix this you will need to find a pre-hosted set of DCRs to use which have all the furniture included, this can take some time to find a decent link, I would recommend you learn how to host your own (see bottom links) DCR’s, it isn’t hard it just takes a little time uploading them depending on your upload speed of your net and FTP.
|
|
| Quote: |
| Question 7 Question: My loader loads the half of the Sulake bar and then turns black. Answer: This happens a lot and most of the time it’s an easy fix, depending on if you host your own DCRs or not, if you aren’t interested in hosting your own DCRs then I wouldn’t bother reading the fix for this, I would just go and search for pre-hosted DCR’s. How to fix: This is usually due to not all the correct DCR’s and some CCT’s uploaded to the web host in which you’re hosting the DCR’s, hof_furni etc, To fix this make sure you have uploaded ALL the correct stuff to meet the credentials of hosting your own DCR’s, this problem can be fixed also by not having any hotel views to load, if you have no hotel views to load it does sometimes turn black, so you will need to upload at least one hotel view whether it is custom or official ones.
|
|
| Quote: |
| Question 8 Question: I can't find any good DCR's that work with my DebboProject V3.5 or HabLog V9. Answer: This is mainly because when DebboProject V3.5 & HabLog V9 were coded, the official Habbo Hotel(s) were V14/15, so anything features that have been coded differently in official Habbo that is past V14/15 will make them obsolete (won't work), however you can backtrack DCRs to get them to work with these two servers. How to fix: You will need to edit your loader in Notepad, Wordpad or whatever you feel comfortable in, you now find your old set of DCR's in the loader and replace them with this link herehttp://images.habbohotel.co.uk/dcr/release14.1_b8_debug/habbo.dcr |
|
| Quote: |
| Question 9 Question: Do I need to have a router to have portfoward. Answer: No you don't have to have a router to portfoward, you can portforward with a modem, it simply allows a port through your firewall, but make sure you read about the risks of opening a port through your firewall. How to fix: All you have to do is check what port your using for your server (eg. 90, 12*** 147 etc), then go to your Control Panel on your computer, then go to security, 'Add Program Through Firewall' and then just click the 'Add Port' button and then just fill it in (name, port etc) then run your hotel and get a friend to log in and he should be able to login to the hotel as well as you (see figure 1.1 for an image of portfowarding through firewall).
|
|
| Quote: |
| Question 10 Question: My teleporters have stopped working and now they don't teleport anyone.See next question if you console isn't working aswell Answer: This is due to Habbo Hotel changing the way there server sends and receives data with their server thus resulting with the coders here having to recode the teleporters to suit the DCRs, on most old servers for example USA**** Debbo, HabLog etc they have the old V14 teleporters coded but since then Habbo has changed it, but with new server(s) like Holograph Emulator & JASE then everything will be up to date and working with the most recent versions of official Habbo DCRs. How to fix: You will need to host your own DCR’s to be able to fix this problem, and it is simply making hybrid DCR’s (mixing), to get the teleporters to work for oldish servers you will need to upload the V14 CCT's which you can download from this thread and you will need to upload the old teleporter CCT's instead of the newer one(s).See miscellaneous downloads section for the old teleporters fix |
|
| Quote: |
| Question 11 Question: My Console and Call for help don’t work on my hotel. Answer: This is due to Habbo Hotel changing the way there server sends and receives data with their server thus resulting with the coders here having to recode the console to suit the DCRs, on most old servers for example USA**** Debbo, HabLog etc they have the old V14 console coded but since then Habbo has changed it, but with new server above V17 this should work with the most recent DCR’s. How to fix: You will need to host your own DCR’s to be able to fix this problem, and it is simply making hybrid DCR’s (mixing), to get the console and call for help to work for oldish servers you will need to upload the V14 messenger.cct which you can download from this thread and you will need to upload the V14 messenger.cct instead of the newer V17+ one.
See miscellaneous downloads section for the old V14 messenger.cct
|
|
| Quote: |
Question: I get an error whilst trying to use V21 DCRs, an error saying 'cross domain'. Answer: This is due to Habbo Hotel trying to stop us retro's from using there DCRs but thanks to Vista4Life and Schfoo we can now use them if you follow the steps below How to fix: You will need to make a .xml document and call it crossdomain.xml and paste this piece of code into it Code: <?xml version="1.0" ?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="yoursitename"/>
</cross-domain-policy>
Then in your loader you should put this into it aswell Code: sw1="client.allow.cross.domain=0;client.notify.cross.domain=1"
That should now fix your problem (thanks to Vista4Life & Schfoo for coming up with the fix to this problem.
|