Habbo Emulator - Sit Command [r63]

Page 1 of 2 12 LastLast
Results 1 to 25 of 32
  1. #1
    Banned TheLongP is offline
    BannedRank
    Jun 2012 Join Date
    CanadaLocation
    51Posts

    Habbo Emulator - Sit Command [r63]

    Just wanted to release this for fun, took maybe 5 minutes to make it so enjoy. It will seat a Habbo in any room. You can modify as need be for Uber.

    Thought I would release this for the lols so have fun.

    Screenshots





    Code

    Code:
    private static void cmd_sit()
            {
                TargetRoomUser = Session.GetHabbo().CurrentRoom.GetRoomUserByHabbo(Session.GetHabbo().Username);
    
                if (TargetRoomUser.Statusses.ContainsKey("sit") == false)
                {
                    // Checks body position (ensures it is not diagonal).
                    // @notes:
                    // - Do not check head position as it swivels when Habbos talk in the room.
                    if ((TargetRoomUser.RotBody % 2) == 0)
                    {
                        // Sets seated status.
                        TargetRoomUser.Statusses.Add("sit", "1.0");
    
                        // Puts them on the ground level of the room. Comment out to have them 1 space above the ground.
                        TargetRoomUser.Z = -0.5;
                    }
    
                    // Sends update to Habbo in-game.
                    if (TargetRoomUser.Statusses.ContainsKey("sit") == true)
                    {
                        // Updates Habbo.
                        BaalEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId).UpdateUserStatus(TargetRoomUser, true);
    
                        Session.SendNotif("You are now seated.");
                    }
                    else
                    {
                        Session.SendNotif("You cannot be seated diagonally.");
                    }
                }
                else
                {
                    Session.SendNotif("You are already seated! Relax.");
                }
            }
    Last edited by TheLongP; 23-06-12 at 07:15 PM. Reason: Enabled signatures.


  2. #2
    Make a wish .::Arjan::. is offline
    MemberRank
    Jan 2012 Join Date
    the NetherlandsLocation
    504Posts

    Re: Habbo Emulator - Sit Command [r63]

    Nice :)

  3. #3
    Member GemDG is offline
    MemberRank
    Jan 2012 Join Date
    60Posts

    Re: Habbo Emulator - Sit Command [r63]

    can you make it work on phoenix 3.7.4?

  4. #4
    Otaku Sojobo is offline
    MemberRank
    Nov 2006 Join Date
    ScotlandLocation
    1,279Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by debaaske6 View Post
    can you make it work on phoenix 3.7.4?
    Phoenix 3.7.4 already has a sit command and it doesn't spam you with pointless alerts either.

  5. #5
    Member GemDG is offline
    MemberRank
    Jan 2012 Join Date
    60Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by Sojobo View Post
    Phoenix 3.7.4 already has a sit command and it doesn't spam you with pointless alerts either.
    it doesn't work on my hotel when i do :sit i become invisible

  6. #6
    Banned TheLongP is offline
    BannedRank
    Jun 2012 Join Date
    CanadaLocation
    51Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by debaaske6 View Post
    it doesn't work on my hotel when i do :sit i become invisible
    That's Pheonix for you . #PheonixProbs

  7. #7
    Novice MrWw is offline
    MemberRank
    Jun 2012 Join Date
    4Posts

    Re: Habbo Emulator - Sit Command [r63]

    Workaround for the diagonal thing:

    if ((TargetRoomUser.RotBody % 2) != 0)
    TargetRoomUser.RotBody--;
    else
    {
    ....
    }

  8. #8
    G'nome sayin' Exonize is offline
    MemberRank
    May 2011 Join Date
    Czech RepublicLocation
    517Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by debaaske6 View Post
    it doesn't work on my hotel when i do :sit i become invisible
    You are probably using cracked.

  9. #9
    Member GemDG is offline
    MemberRank
    Jan 2012 Join Date
    60Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by Exonize View Post
    You are probably using cracked.
    nope i'm using license 3.7.4 isn't cracked

  10. #10
    Enthusiast rickyo is offline
    MemberRank
    May 2011 Join Date
    Tilburg, NetherLocation
    36Posts

    Re: Habbo Emulator - Sit Command [r63]

    Search on O.taku for Fix
    Its with your VPS/Dedi settings, i tink.

  11. #11
    Banned TheLongP is offline
    BannedRank
    Jun 2012 Join Date
    CanadaLocation
    51Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by MrWw View Post
    Workaround for the diagonal thing:

    if ((TargetRoomUser.RotBody % 2) != 0)
    TargetRoomUser.RotBody--;
    else
    {
    ....
    }
    I was thinking of doing this rather than just sending them the message but I decided I would just send them the message. This is a viable change to the code though.

  12. #12

    herp a derp

    vLife is offline

    Super ModRank
    Apr 2009 Join Date
    The BahamasLocation
    3,814Posts

    Re: Habbo Emulator - Sit Command [r63]

    Not bad Jacob, can I expect more releases from you on here?

  13. #13
    Banned TheLongP is offline
    BannedRank
    Jun 2012 Join Date
    CanadaLocation
    51Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by vLife View Post
    Not bad Jacob, can I expect more releases from you on here?
    If you can convince someone to not ban me right off the bat then yes you can expect me to release quite a few things, all open source (maybe not open source during development).

  14. #14

    herp a derp

    vLife is offline

    Super ModRank
    Apr 2009 Join Date
    The BahamasLocation
    3,814Posts

    Re: Habbo Emulator - Sit Command [r63]

    That I can help with. It has been a long time and I'm sure most have gotten over it, though no one at the time wanted to listen to reason.

  15. #15
    Banned TheLongP is offline
    BannedRank
    Jun 2012 Join Date
    CanadaLocation
    51Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by vLife View Post
    That I can help with. It has been a long time and I'm sure most have gotten over it, though no one at the time wanted to listen to reason.
    Possibly. But this is a matter for PM, not really for this thread. I am just putting together some ideas for the project I plan to do, it will be the colosal finale in my opinion, just writing out the details of the project right now so I can figure out everything.

  16. #16
    Crawl Me Maybe Crawl is offline
    MemberRank
    Aug 2009 Join Date
    Behind YouLocation
    2,142Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by debaaske6 View Post
    nope i'm using license 3.7.4 isn't cracked
    Are you using the database provided in 3.7.3? Could be the reason why.

    I don't see the point in that message, If you type sit - you expect to sit, you don't need to be told that you have sat down.

  17. #17
    Banned TheLongP is offline
    BannedRank
    Jun 2012 Join Date
    CanadaLocation
    51Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by Crawl View Post
    ... I don't see the point in that message, If you type sit - you expect to sit, you don't need to be told that you have sat down.
    I am weird like that, you can feel free to comment it out in your Uber emulator.

  18. #18
    Member Ken816 is offline
    MemberRank
    Jun 2012 Join Date
    59Posts

    Re: Habbo Emulator - Sit Command [r63]

    Decided to test it on UberEmu.. Didnt work.... it has an error with userstatus and stuff...

  19. #19
    Banned TheLongP is offline
    BannedRank
    Jun 2012 Join Date
    CanadaLocation
    51Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by Ken816 View Post
    Decided to test it on UberEmu.. Didnt work.... it has an error with userstatus and stuff...
    I imagine the variables are not word for word the same so just review the classes and object names and make sure they are appropriate for the flow of the code. This works, it's developed and fully functional in my emulator which is based from Nillus's base (same base of Uber Emulator).

  20. #20
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,610Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by debaaske6 View Post
    nope i'm using license 3.7.4 isn't cracked
    All I know it is the same bug as the stacking bug.
    I never had problems with :sit

  21. #21
    Valued Member Shebsonwai is offline
    MemberRank
    Mar 2012 Join Date
    wwwrootLocation
    108Posts

    Re: Habbo Emulator - Sit Command [r63]

    Me like this, good release but I already have this on 7.4.

  22. #22
    Member Ken816 is offline
    MemberRank
    Jun 2012 Join Date
    59Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by TheLongP View Post
    I imagine the variables are not word for word the same so just review the classes and object names and make sure they are appropriate for the flow of the code. This works, it's developed and fully functional in my emulator which is based from Nillus's base (same base of Uber Emulator).
    Ok, Ive tried that... Ive changed the BaalEnvironent to UberEnvironment and ive replaced the first the stuff at the beginning with case "sit": and added return true; and then i get this for an error:
    Code:
    No overload for method 'UpdateUserStatus' takes 2 arguments
    but ive tested it and it reconizes every class....

  23. #23
    Member GemDG is offline
    MemberRank
    Jan 2012 Join Date
    60Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by Crawl View Post
    Are you using the database provided in 3.7.3? Could be the reason why.

    I don't see the point in that message, If you type sit - you expect to sit, you don't need to be told that you have sat down.
    i'm using the database 3.7.4

  24. #24
    Banned TheLongP is offline
    BannedRank
    Jun 2012 Join Date
    CanadaLocation
    51Posts

    Re: Habbo Emulator - Sit Command [r63]

    Quote Originally Posted by Ken816 View Post
    Ok, Ive tried that... Ive changed the BaalEnvironent to UberEnvironment and ive replaced the first the stuff at the beginning with case "sit": and added return true; and then i get this for an error:
    Code:
    No overload for method 'UpdateUserStatus' takes 2 arguments
    but ive tested it and it reconizes every class....
    The error says the problem right there. So add to your method 'UpdateUserStatus' this:

    Code:
    something UpdateUserStatus(var var, bool Force = false)
    Then add this to the method itself:

    (make sure to change the 'updatestatus' to the variable you use.

    Code:
    if (Force == true)
    {
    updatestatus = true;
    }
    else
    {
    ... (everything else in the original method)
    }
    Then it should work fine.

  25. #25
    Member Ken816 is offline
    MemberRank
    Jun 2012 Join Date
    59Posts

    Re: Habbo Emulator - Sit Command [r63]

    yeah, it dont work... just going to steal the cmd from phoenix emulator 3.7.4



Page 1 of 2 12 LastLast

Advertisement