Roseau - Fully featured V1 server [Java]

Page 1 of 5 12345 LastLast
Results 1 to 15 of 69
  1. #1
    Moderator Quackster is offline
    ModeratorRank
    Dec 2010 Join Date
    AustraliaLocation
    3,109Posts

    Roseau - Fully featured V1 server [Java]


    RaGEZONE Recommends

    RaGEZONE Recommends

    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: FUSE Hotel - Home Page)













    Source repository

    All the source can be found here: GitHub - TheAmazingAussie/Roseau: Habbo Hotel emulator for the 2001 "v1" client revision.

    Download: https://github.com/TheAmazingAussie/...ive/master.zip

    The repository includes the client files, the loader and the MySQL database for the server.

    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: https://www.palemoon.org/palemoon-portable.shtml

    Alternatively you can use an older version of Mozilla Firefox as 52 has most NAPI functions disabled but 36-38 will work, 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 RaGEZONE helped me out with:

    • Instant console messaging.
    • Enabling the debug window for the version 1 client.


    And lastly, @office.boy and @Nillus who 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
    Last edited by Quackster; 06-05-17 at 05:56 PM.
    Icarus Emulator source repository
    https://github.com/TheAmazingAussie/Icarus
    The link to the emulator's server development thread can be found here.

    Latest cracked SWF releases: swfhub.com
    Also includes header dumps for easy header updating, and various other game files.


  2. #2
    Veteran Glaceon is online now
    SubscriberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,216Posts

    Re: Roseau - Fully featured V1 server [Java]

    Great release! Been on the test hotel couple of times and this certainly is one of the best oldskool servers released - and is the best v1 ever released! Great job!
    https://aurora-dev.com/ - https://worldofmrjosh.com

    No matter how much you fall down, you can always reach your destination by standing up again.

  3. #3
    8-bit Bitch Slapper Alpha Ducky is offline
    Alpha MaleRank
    Mar 2007 Join Date
    In My HouseLocation
    2,631Posts

    Re: Roseau - Fully featured V1 server [Java]

    Hell yeah Alex! Glad to see the project was a success.

  4. #4
    En Fran├žais? Bjork is offline
    True MemberRank
    Apr 2007 Join Date
    849Posts

    Re: Roseau - Fully featured V1 server [Java]

    Good work! I tried the demo hotel and it was a pleasure! :)
    Sorry for my bad English, I'm french ;)


  5. #5
    hi academic is offline
    True MemberRank
    Jun 2010 Join Date
    AustraliaLocation
    493Posts

    Re: Roseau - Fully featured V1 server [Java]

    I'm in the pictures!

    Awesome release man! The best v1 server for sure!

  6. #6
    Moderator Quackster is offline
    ModeratorRank
    Dec 2010 Join Date
    AustraliaLocation
    3,109Posts

    Re: Roseau - Fully featured V1 server [Java]

    Quote Originally Posted by Bjork View Post
    Good work! I tried the demo hotel and it was a pleasure! :)
    Thanks Bjork, a lot has changed since you went on so I recommend you should try it out again. More features and bug fixes, but I won't hold it against you if you won't. :P
    Icarus Emulator source repository
    https://github.com/TheAmazingAussie/Icarus
    The link to the emulator's server development thread can be found here.

    Latest cracked SWF releases: swfhub.com
    Also includes header dumps for easy header updating, and various other game files.

  7. #7
    You looking at me? Zoxq is online now
    True MemberRank
    Dec 2015 Join Date
    293Posts

    Re: Roseau - Fully featured V1 server [Java]

    Wow, this brings back so many memories. Great release!

  8. #8
    Registered Bet4 is offline
    MemberRank
    Nov 2013 Join Date
    18Posts

    Re: Roseau - Fully featured V1 server [Java]

    Wow, this is incredible, good work.

  9. #9
    Member Gonzaloh is offline
    MemberRank
    Aug 2007 Join Date
    ChileLocation
    32Posts

    Re: Roseau - Fully featured V1 server [Java]

    I tried it on your site, it's amazing. Thanks!

    Tip: In order to use Adobe Shockwave Player in updated Mozilla Firefox it is necessary to use the ESR x86 (Extended Support Release) version of the browser, which can be downloaded here.

  10. #10
    Moderator Quackster is offline
    ModeratorRank
    Dec 2010 Join Date
    AustraliaLocation
    3,109Posts

    Re: Roseau - Fully featured V1 server [Java]

    Quote Originally Posted by Gonzaloh View Post
    I tried it on your site, it's amazing. Thanks!

    Tip: In order to use Adobe Shockwave Player in updated Mozilla Firefox it is necessary to use the ESR x86 (Extended Support Release) version of the browser, which can be downloaded here.
    Not advised because support for NAPI plugins using the Extended Support Release will end in May 2018. That's why I suggest people either use an older version of Firefox (36-38) or they download Pale Moon portable 32-bit where both have Shockwave working flawlessly.
    Icarus Emulator source repository
    https://github.com/TheAmazingAussie/Icarus
    The link to the emulator's server development thread can be found here.

    Latest cracked SWF releases: swfhub.com
    Also includes header dumps for easy header updating, and various other game files.

  11. #11
    Account Upgraded | Title Enabled! LeChris is offline
    True MemberRank
    Sep 2011 Join Date
    United StatesLocation
    449Posts

    Re: Roseau - Fully featured V1 server [Java]

    It's so weird seeing a v1 server today, but the throwback is pretty amazing man. Good job on this and glad to see you stick it through until the end

  12. #12
    Retired maritnmine is offline
    True MemberRank
    May 2007 Join Date
    North KoreaLocation
    1,089Posts

    Re: Roseau - Fully featured V1 server [Java]

    I'm just missing a few tech specs like what you use for db, sockets, etc. Looks really awesome, but Im pretty disappointed you're not using any dependency system such as Gradle or Maven to avoid having to bit JARs inside your git repo (the repo is ~35MiB now and can easily go down to prob less than 1MB). If you need any help just hit me up on Discord and I'll help you out with this.

  13. #13
    Ultra Light Beam Makarov is offline
    GammaRank
    Apr 2010 Join Date
    GothamLocation
    3,679Posts

    Re: Roseau - Fully featured V1 server [Java]

    This is great, thanks!

  14. #14
    Death from above! The General is offline
    The OmegaRank
    Aug 2011 Join Date
    8,852Posts

    Re: Roseau - Fully featured V1 server [Java]

    Code:
    		} finally {
    			Storage.closeSilently(resultSet);
    			Storage.closeSilently(preparedStatement);
    			Storage.closeSilently(sqlConnection);
    		}
    Use try-with resources.
    If you are using Arcturus, contact me
    Skype: wesley.jabbo
    Discord: TheGeneral#0063

  15. #15
    Hardcore Member Pepijntjuh is offline
    MemberRank
    Jun 2016 Join Date
    122Posts

    Re: Roseau - Fully featured V1 server [Java]

    OMG :O
    Nice release but can you update it whatever to MySQL v10 version?
    Then can i made any catalog! :D




Page 1 of 5 12345 LastLast

Advertisement