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!

Client ("loader") Configuration and Troubleshooting Guide

Status
Not open for further replies.
Divine Celestial
Loyal Member
Joined
Jul 7, 2004
Messages
853
Reaction score
5
This guide covers the following topics:

- Creation of "loader" page.
- Troubleshooting of "loader" page.

---------------------------------------------------------------
The Habbo Hotel client consists of an HTML page, the "loader", which embeds the actual client itself, a Macromedia Shockwave object with the filename of "habbo.dcr".

1. Obtaining and hosting the client set ("DCRs")

The client set can be obtained from the stickied thread in the Releases subforum. Choose the version which agrees with that supported by the server you plan to use, and download the package.

The client set will need to be hosted on an HTTP server which is accessible by all your users. Webhosts (Google for free ones) can be used for this purpose, but they MUST support the uploading of files with the extensions of CCT and DCR, and also allow "hotlinking", as well as having enough bandwidth for your planned userbase. You may also host the client set on your own machine using an HTTP server such as the popular Apache.

Once you have decided on your hosting for the client set, upload all the files in the client set package you downloaded. Ensure that *all* the files are accessible via their URLs, e.g. . The habbo.dcr and all the CCTs must reside at the same directory level.

Note that there are two text files used for configuration, the external_texts and external_variables. These will be referred to as the EXTTXTS and EXTVARS. Upload those as well (your particular client set may not come with them; in that case, use one that is from of an equal or greater version than your client - URLs to them can be found all over these forums.)

2. Creating the Loader Page

This is what your users will access to use the server. Following is the source code for the simplest loader possible. Create a text file and copypasta the following into it, replacing the UPPERCASE strings with the appropriate information. The server IP and port can remain as-is for now; it will still load with them invalid. The critical variables to change are the URL to habbo.dcr, and the EXTTXT and EXTVAR URLs. The title can also be changed to something more original...
PHP:
<html><head><title>Harbl Hotel</title></head> 
<body> 
<embed src="URL_OF_HABBO.DCR" bgColor="#000000" width="720" height="540" 
 swRemote="swSaveEnabled='true' swVolume='true' swRestart='true' swPausePlay='true' swFastForward='true' swTitle='Harbl Hotel' swContextMenu='true'" swStretchStyle="none" swText="" type="application/x-director" pluginspage="http://www.macromedia.com/shockwave/download/" 
 sw6="external.texts.txt=URL_OF_EXTTXTS" 
 sw2="connection.info.host=IP_OR_HOSTNAME_OF_SERVER;connection.info.port=PORT_OF_SERVER"   
 sw4="connection.mus.host=game.habbohotel.co.uk;connection.mus.port=38100"   
 sw3="client.reload.url=URL_OF_CLIENT_PAGE" 
 sw1="site.url=URL_OF_SITE;url.prefix=URL_OF_SITE" 
 sw5="external.variables.txt=URL_OF_EXTVARS" ></embed> 
</body></html>
Save the file with a .HTM extension and upload it to your host.

3. Testing

Access the URL of the file you uploaded in the previous step from your browser (e.g. . If all goes well, the client should load and stop at the login screen:

username1 - Client ("loader") Configuration and Troubleshooting Guide - RaGEZONE Forums


(Do not attempt to login or register, as there is no server for the client to connect to.)

---------------------------------------------------------------

4. Troubleshooting

Check the following, in order, when it doesn't work:

- Are all of the files in the client set accessible via their URLs? In particular, habbo.dcr?
- Is the loader page accessible?
- Are the parameters correct and present in the loader page? Pay special attention to the URLs of habbo.dcr and the EXTTXTs and EXTVARs.
- Have you blocked Macromedia Shockwave?

Common errors and causes:
- Text replaced with underscores: EXTTXTs error - inaccessible or corrupted
- Completely black after loading, or "error has occurred" message: EXTVARs error
- Loads partially and freezes: missing a CCT file - use an HTTP logger to find which file is missing, and place it along with the others in the client set.

---------------------------------------------------------------
Notes

1. Refer to "How to Setup a Habbo Server" if you do not understand this guide. You may not have the prerequisite knowledge required to setup a Habbo Hotel server.

2. The author prefers to use the more correct term "client set" in lieu of "DCRs", as the client set contains only one file with the DCR extension with the remainder being CCTs.

3. Certain aspects of the client can be edited via the EXTTXTs and EXTVARs configuration files. In particular, cast.entry.13 specifies the unique country's entrance interface to use. For example. hh_entry_uk specifies UK hotel appearance, hh_entry_cn specifies China hotel appearance, etc. Make sure that the respective CCT file is actually available in your client set.
 
Last edited:
Status
Not open for further replies.
Back
Top