[Christmas Gift] Water Furni "Fix"

Results 1 to 3 of 3
  1. #1
    Valued Member cabeludo007 is offline
    MemberRank
    Nov 2013 Join Date
    My HouseLocation
    147Posts

    config [Christmas Gift] Water Furni "Fix"

    Hi!
    I'd like to share a little "fix" for a old furni on habbo that a lot of users loves, the Habbo Water.
    So, what i will explain here is a way to YOU create a algorithm that makes the water borders appears and disappears in a right way
    Eg:
    Screenshot by Lightshot
    Screenshot by Lightshot

    How does it works?
    Unlike some special furniture, water furni doesn't needs a special composers (like gift, mannequins, group furni, etc)
    The water borders are hidden and shown with 12 bits.

    Why 12 bits?
    Each bit represents a border (Screenshot by Lightshot) of the furni. As the water furni is a 3x3 furni, it will have 12 square of borders that surround the furni ends.

    The configuration of the borders can be done sending a integer with the bit configuration
    Eg: 0b000000000001
    The ordere of each bite related to each position is:
    Screenshot by Lightshot Screenshot by Lightshot

    So, if you want, like, set the top borders hidden, you need to set the 7th, 8th, 9th and 10th bits as 1.
    Eg. 0b001111000000.
    For to hide the bottom borders, you need to set the 1th, 2th, 3th, and 4th bits as 1.
    Eg. 0b000000001111

    But, How do i will make a algorithm with this?
    It can be done with Bitwise.
    Once you got the integer with these 12 bits, turn it into a String and write on the furni extradata composer. (eg. http://prntscr.com/hltx7u)
    Keep on mind that the furni can be always moved, by wired, player or anything, so you need to make it able to update the extradata everytime the furni is moved from a square to other.
    Eg. (https://i.gyazo.com/d7344cbb208cf1fb...b9865929bf.gif)
    So that's it! Good luck if you will fix water furni on your emulator

    Any question pm me. (may not be fast answered)
    Last edited by cabeludo007; 11-12-17 at 07:05 AM.


  2. #2
    Gaby is offline
    MemberRank
    Apr 2013 Join Date
    Viva HollandiaLocation
    1,607Posts

    Re: [Christmas Gift] Water Furni "Fix"

    Good find.

    Would be nice for someone to post an actual implementation of this.

  3. #3
    o/ Konquer is offline
    MemberRank
    Apr 2014 Join Date
    464Posts

    Re: [Christmas Gift] Water Furni "Fix"

    Never even realized it behaved different on Habbo. Nice share :)



Advertisement