Roseau - Fully featured V1 server [Java]

Quackster

a devbest user says what
Aug 22, 2010
1,763
1,234
Roseau
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]
  • 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
- Minimum rank 2:
  • room_kick_any_user
  • answer_call_for_help

Screenshots

(All taken from my test hotel: )

5W1LEU1.png


NiVxNRx.png


Rc3TH4P.png


OdXIaGp.png


BOGiFeC.png


Source repository

All the source can be found here:

Download:

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:

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
And lab-hotel from RZ helped me out with:

  • Instant console messaging.
  • Enabling the debug window for the version 1 client.
And lastly, office.boy and Nilluswho made my life easier with their Blunk v5 server, it helped me with some protocol that was simillar to v1, and their item definition database which was very helpful for the v1 catalogue.

Thanks guys, this is the most completed v1 server to date (if you ignore gamehall rooms)!
- Alex
 

Wickd

The first member of the Knights of the Pink Table
Jan 15, 2013
1,936
612
I guess it's pretty dope but why not create something that the community would actually use?Hmm maybe?
Don't get me wrong this is pretty cool.Where'd you get the source?Are the download links still up?
Love the fact that some of the OG boys are releasing stuff again.
Thanks for the share, Lexi.
 

Quackster

a devbest user says what
Aug 22, 2010
1,763
1,234
Did all that, thanks for the suggestion tho.

Use Pale Moon 32-bit portable, Shockwave requires 32-bit as it's old techology. :p
 
try this shockwave version its what im using and im on the hotel right now :p
 
@Quackster is it possible for you to release the website?

I just ripped it from web.archive.org :p by the way nice room!

Tun5yQE.png
 

Quackster

a devbest user says what
Aug 22, 2010
1,763
1,234
Great release Alex. Kept this one quiet didn't you? lol.
Yeah, I posted a thread initially (other forum) but I didn't want to quit and close yet another development thread, so I kept it quiet until release.
 

Quackster

a devbest user says what
Aug 22, 2010
1,763
1,234
If anyone fails to load Shockwave after installing Pale Moon 32-bit (you NEED 32-bit to load Shockwave files), please download the Shockwave installer I've linked below:



Unfortunately it seems like Adobe no longer links to their Shockwave installer anymore, as it redirects back to their homepage.

 
will theyre be any more updates to this

It depends if there's enough interest.
 
Last edited:

bumzag

New Member
Oct 3, 2017
3
0
Quackster, looking to setup another Retro for old times sake. Every time I open the client via index.html I get the error "Unable to open file "habbo_messenger.cst.lnk"

Any help with that?
 

Quackster

a devbest user says what
Aug 22, 2010
1,763
1,234
Quackster, looking to setup another Retro for old times sake. Every time I open the client via index.html I get the error "Unable to open file "habbo_messenger.cst.lnk"

Any help with that?

It needs to be hosted on a web server for it to work. Don't try and open up index.html in the folder on its own.
 

Users who are viewing this thread

Top