Quackster
a devbest user says what
Roseau
Habbo Hotel v1 server, 2001 client revision
Habbo Hotel v1 server, 2001 client revision
Roseau has been a small project I worked on for a few months now and I've finally come to the point where this is pretty damn complete, far surpassing the original v1 servers that have already been released.
If you're wondering where the development thread of this went, I got sick and tired of constantly creating development threads and never finishing the project so I decided to delete it, and complete it and then release it as a surprise to the community.
This server is written in Java, and uses libraries such as Netty (old version, like 3.x.x) and other libraries that allow MySQL connection pooling, which is BoneCP.
Key features
- Diving works with ticket purchase and voting
- Teleporters work (in same room and different rooms)
- Ranked display works (rank 1 to 5)
- More public rooms working than any other v1 server released (which either had none or one working).
- Wall items working (no other v1 server had this!)
- Instant console messaging (no other v1 server had this either).
Features
- Register
- Check for existing names
- Check for bad names
- Create new user
- User
- Login
- Edit user details (figure, email, etc)
- Navigator
- Lists all public rooms
- Clicking on a public room shows the users in each room
- Shows all recently created private rooms with users in a room at the top, the list is scrollable too
- Search rooms
- List own rooms
- Hides room owner names if the option had been ticked
- Messenger
- Search users on console
- Send user a friend request
- Accept friend request
- Reject friend request
- Send friend message (and can offline message)
- Private room
- Create private room through public room room-o-matics
- Edit room details
- Lock user room
- Ring doorbell of locked room
- Password protect room
- Delete room
- Public Room
- 12 public rooms added
- Main Lobby
- Median Lobby
- Skylight Lobby
- Basement Lobby
- Club Slinky Helsinki (with walkway to second club room)
- Habbo Lido
- Habbo Lido II
- Club Massiva (with walkway to downstairs disco floor)
- Theatredome
- Habburger's
- The Dirty Duck Pub
- Cunning Fox Gamehall (with walkways to all game rooms)
- Cafe Ole
- Hotel Kitchen
- All public rooms are fully furnished to what official Habbo had
- Walkways between rooms work (Habbo Lido to the diving deck, Club Massiva downstairs disco floor, etc)
- Room-o-Matic works
- Sitting on furniture in public rooms
- Bots in public rooms (Habburger's, Cafe Ole, The Dirty Duck Pub)
- Disco lights in Club Massiva working]
- 12 public rooms added
- Lido and Diving Deck
- Change clothes working (with curtain closing)
- Pool lift door closes and opens depending if a user is inside or not.
- Buying tickets work for self and other players.
- Diving.
- Swimming.
- Queue works (line up on first tile and the user automatically walks when there is a free spot).
- Item
- Place room items
- Move and rotate room items
- Pickup room item
- Place wall items
- Pickup wall items
- Place stickies
- Update stickies
- Stack items
- Teleporters work
- Fridges work (grabbing a drink from a fridge)
- Turning items on/off (with rights)
- Randomisation of the rotation of the bottle when it's spun
- Catalogue
- All items are purchasable
- Purchase posters
- Place floor and wall items to decorate wall and floors of private rooms
- Ranked features
- Call for help
- Alert call for help to Hobba staff (picked up call for help not coded).
- Commands
- :about
- :sit
Ranks
(These badges will appear on your user inside rooms).
- Rank 1: Normal rank
- Rank 2: Bronze Hobba
- Rank 3: Silver Hobba
- Rank 4: Gold Hobba
- Rank 5: Staff administrator (Habbo staff badge)
Permissions
- Minimum rank 5:
- room_all_rights
- room_kick_any_user
- answer_call_for_help
Screenshots
(All taken from my test hotel:
You must be registered for see links
)Source repository
All the source can be found here:
You must be registered for see links
Download:
You must be registered for see links
Compiled version can be found in /Roseau-bin/ and the client can be found in /client/ folder with a loader (should be called index.html).
Shockwave Tips
I personally use Pale Moon portable 32 bit version (it has to be 32 bit otherwise it won't work). Shockwave works flawless in this browser. The download is only 31 MB.
Pale Moon 32bit:
You must be registered for see links
Alternatively you can use an older version of Mozilla Firefox, or Internet Explorer (not recommended to use IE due to the fact it freezes all the time).
Code Snippets
PoolLiftInteractor
Code:
package org.alexdev.roseau.game.item.interactors.pool;
import org.alexdev.roseau.game.item.Item;
import org.alexdev.roseau.game.item.interactors.Interaction;
import org.alexdev.roseau.game.player.Player;
import org.alexdev.roseau.messages.outgoing.JUMPINGPLACE_OK;
public class PoolLiftInteractor extends Interaction {
public PoolLiftInteractor(Item item) {
super(item);
}
@Override
public void onTrigger(Player player) { }
@Override
public void onStoppedWalking(Player player) {
this.close();
player.send(new JUMPINGPLACE_OK());
player.getRoomUser().setCanWalk(false);
player.getDetails().setTickets(player.getDetails().getTickets() - 1);
player.getDetails().sendTickets();
player.getDetails().save();
}
public void open() {
this.item.showProgram("open");
this.item.unlockTiles();
}
public void close() {
this.item.showProgram("close");
this.item.lockTiles();
}
}
Thanks to
With Ascii from Puomi Hotel, these things were possible:
- wall items loading
- the correct ITEMS structure
- figuring out the correct structure for ACTIVE OBJECTS
- SHOWPROGRAM for the Club Massiva disco lights
- correct structure for teleporters flashing
- teaching me how to edit the DCR to enable Club Slinky Helsinki to work
- Instant console messaging.
- Enabling the debug window for the version 1 client.
Thanks guys, this is the most completed v1 server to date (if you ignore gamehall rooms)!
- Alex