VIP/CLUB Rights for UberEmulator

Results 1 to 25 of 25
  1. #1
    Elite Member ItachiKM is offline
    Member +Rank
    Jan 2011 Join Date
    133Posts

    VIP/CLUB Rights for UberEmulator

    Hi RZ x)
    Today, I'm reviewing the packets of HabboHotel (Spain HabboHotel Uh...) and I see the packet of the fuserights (YES! It isn't dissapeared!), but I discover, now it works only to the HC/VIP Rights, and I have modified this to fix the VIP/CLUB Rights for Uber, and it is:

    At GameClient.cs (HabboHotel/GameClients); Search (Do it for all)
    Code:
    GetMessageHandler().GetResponse().Init(2);
    Replace:
    Code:
                GetMessageHandler().GetResponse().Init(2);
                GetMessageHandler().GetResponse().AppendInt32(Rights.Count);
    
                foreach (string Right in Rights)
                {
                    GetMessageHandler().GetResponse().AppendStringWithBreak(Right);
                }
    
                GetMessageHandler().SendResponse();
    with
    Code:
                GetMessageHandler().GetResponse().Init(2);
                if(GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                } else {
                    GetMessageHandler().GetResponse().AppendInt32(0); 
                }
                GetMessageHandler().SendResponse();
    Picture (From iEmulator Five)


    I made this code, and I'm from KekoMundo (i'm spanish, sorry for my bad english, i repeat!), but I post this too

    Have a nice day :)!
    Any Errors or anything? Ask me!

    PD: Fuserights are deface! You can delete the code and sql for your db if you have this!, and with this fix, your uberemulator can't work with last SWF!
    Last edited by ItachiKM; 08-05-11 at 03:00 AM.


  2. #2
    Sorcerer Supreme Richardjuhh is offline
    Member +Rank
    Dec 2010 Join Date
    NetherlandsLocation
    351Posts

    Re: VIP/CLUB Rights for UberEmulator

    already released Itachi

    ---------- Post added at 05:57 PM ---------- Previous post was at 05:56 PM ----------

    LOL YOU DIDNT make it LOOOL

    you can better make a better petbot.cs than renaming

    capostrike,Vista4life,Bifi2000 work...

    ---------- Post added at 05:58 PM ---------- Previous post was at 05:57 PM ----------

    you must it do for ALL
    GetMessageHandler().GetResponse().Init(2);

    not only for gameclient
    you arent Itachi i think (youre a fcking renamer)


    here is the original message

    Quote Originally Posted by Bifi2000 View Post
    It's not really "clean".

    Better would be:

    Code:
                GetMessageHandler().GetResponse().Init(2);
                GetMessageHandler().GetResponse().AppendInt32(0);
                    
                if (GetHabbo().HasFuse("fuse_use_vip_outfits")) // VIP 
                    GetMessageHandler().GetResponse().AppendInt32(2);
                else if (GetHabbo().HasFuse("fuse_furni_chooser")) // HC
                    GetMessageHandler().GetResponse().AppendInt32(1);
                else
                    GetMessageHandler().GetResponse().AppendInt32(0);
    
                GetMessageHandler().GetResponse().AppendInt32(0);
                GetMessageHandler().SendResponse();
    Reduced from 22 lines to 12 :P

    If you never need to change the other values then you should do it like this.
    Last edited by Richardjuhh; 04-04-11 at 07:03 PM.

  3. #3
    Elite Member ItachiKM is offline
    Member +Rank
    Jan 2011 Join Date
    133Posts

    Re: VIP/CLUB Rights for UberEmulator

    Quote Originally Posted by Richardjuhh View Post
    already released Itachi

    ---------- Post added at 05:57 PM ---------- Previous post was at 05:56 PM ----------

    LOL YOU DIDNT make it LOOOL

    you can better make a better petbot.cs than renaming

    capostrike,Vista4life,Bifi2000 work...

    ---------- Post added at 05:58 PM ---------- Previous post was at 05:57 PM ----------

    you must it do for ALL
    GetMessageHandler().GetResponse().Init(2);

    not only for gameclient
    you arent Itachi i think (youre a fcking renamer)
    I'm Itachi from KM x)!
    But I'm with HC/VIP with iEmulator 5 and I make this little 'fix' for fix this, I don't see this post, sorry!
    I made this code based on my iEmulator first code, but I think it works, and It's for the last release (It's only with Two Values D:! ("@BJH") (The first value can be J (2) or I (1), but I test '@BH' and it works for a "without-rights habbo" (?)

    If you isn't believe (I'm Itachi), see this:
    (For the largest version: http://img857.imageshack.us/img857/9998/lolazo.png)


    But my code isn't the same of the bifi's code, I think x)!

    ___
    And I don't see the others '@B' in uberEmulator, i only send @B once in my emulator and it works, uh...
    I'll correct them now!
    Last edited by ItachiKM; 04-04-11 at 07:28 PM.

  4. #4
    Member samuele309 is offline
    MemberRank
    Mar 2011 Join Date
    52Posts

    Re: VIP/CLUB Rights for UberEmulator

    thank :)

  5. #5
    Sorcerer Supreme Richardjuhh is offline
    Member +Rank
    Dec 2010 Join Date
    NetherlandsLocation
    351Posts

    Re: VIP/CLUB Rights for UberEmulator

    Ok i believe you!
    and sorry :D

  6. #6
    Infraction Banned HabMoon is offline
    Grand MasterRank
    Jun 2007 Join Date
    HM OfficesLocation
    3,068Posts

    Re: VIP/CLUB Rights for UberEmulator

    Thanks so much :]

  7. #7
    Sorcerer Supreme Emerica is offline
    Member +Rank
    Oct 2010 Join Date
    GermanyLocation
    437Posts

    Re: VIP/CLUB Rights for UberEmulator

    Thanks nice !

  8. #8
    Grand Master Miggs is offline
    Grand MasterRank
    Oct 2010 Join Date
    711Posts

    Re: VIP/CLUB Rights for UberEmulator

    Very Nice!!

  9. #9
    sexiess is a sin. Subway is offline
    Grand MasterRank
    Jun 2010 Join Date
    2,491Posts

    Re: VIP/CLUB Rights for UberEmulator

    thank you much.

  10. #10
    Sorcerer Supreme capostrike93 is offline
    Member +Rank
    Jan 2011 Join Date
    366Posts

    Re: VIP/CLUB Rights for UberEmulator



    :P

  11. #11
    Banned PEjump2 is offline
    BannedRank
    Jan 2010 Join Date
    The NetherlandsLocation
    2,838Posts

    Re: VIP/CLUB Rights for UberEmulator

    Quote Originally Posted by capostrike93 View Post


    :P
    Uber ported to Java with some recoded parts? Congrats!

  12. #12
    :joy: Jonteh is offline
    Grand MasterRank
    Apr 2007 Join Date
    New York, USALocation
    3,372Posts

    Re: VIP/CLUB Rights for UberEmulator

    Java <3_<3

  13. #13
    Sorcerer Supreme capostrike93 is offline
    Member +Rank
    Jan 2011 Join Date
    366Posts

    Re: VIP/CLUB Rights for UberEmulator

    Quote Originally Posted by PEjump2 View Post
    Uber ported to Java with some recoded parts? Congrats!
    not is uber ported..

    just some functions are similar

    and.. thanks.. the project is Cappo Java 1.0

    Cappo Emulator Java 1.0

  14. #14
    Elite Member ItachiKM is offline
    Member +Rank
    Jan 2011 Join Date
    133Posts

    Re: VIP/CLUB Rights for UberEmulator

    Post Updated for the last release, the new packet are @B[Sub Value]HH[Clothes value].0

    ---------- Post added at 07:02 PM ---------- Previous post was at 06:38 PM ----------

    Sorry, dont listen to my last post, I'm seeing It and it don't works not becouse the packet, becouse it must be sended on the wardrobe (the change-look page?), I'm going to see that and uh, sorry x)!
    It works normally with uber (I think)
    Sorry!
    Last edited by ItachiKM; 09-04-11 at 08:04 PM.

  15. #15
    Elite Member ItachiKM is offline
    Member +Rank
    Jan 2011 Join Date
    133Posts

    Re: VIP/CLUB Rights for UberEmulator

    I update this to work with the latest SWF, if u dont see the clothes, your fail is on the @\ (28) packet. It must be like this:
    [VL64ID][Name][Char2][Mission[Char2][Figure][Char2][VL64X][VL64Y][Z Value (use Z.ToString())][Char2]JI[ToLower Gender (Use Gender.ToLower())]{2}MMM{2}[Achievement Points].

    On your (AppendInt, AppendUInt, AppendStringWithBreak, etc), JI Are AppendInt(2) and AppendInt(1), and M is AppendInt(-1).

    ----
    Picture (From iEmulator Five)


    Have a Nice day!

  16. #16
    Elite Member simoneihg is offline
    Member +Rank
    Dec 2010 Join Date
    PalermoLocation
    243Posts

    Re: VIP/CLUB Rights for UberEmulator

    Doesn't works for me i use wichard's edit..

  17. #17
    Sorcerer Supreme bartskinu is offline
    Member +Rank
    Dec 2007 Join Date
    320Posts

    Re: VIP/CLUB Rights for UberEmulator

    It doesn't work! I use this GameClient.cs:

    Code:
    public void Login(string AuthTicket)
            {
                try
                {
                    Habbo NewHabbo = Authenticator.TryLoginHabbo(AuthTicket);
    
                    UberEnvironment.GetGame().GetClientManager().LogClonesOut(NewHabbo.Username);
    
                    this.Habbo = NewHabbo;
                    this.Habbo.LoadData();
                }
                catch (IncorrectLoginException e)
                {
                    SendNotif("Login error: " + e.Message);
                    Disconnect();
                    return;
                }
    
                try
                {
                    UberEnvironment.GetGame().GetBanManager().CheckForBanConflicts(this);
                }
                catch (ModerationBanException e)
                {
                    SendBanMessage(e.Message);
                    Disconnect();
                    return;
                }
    
                using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
                {
                    dbClient.ExecuteQuery("UPDATE users SET online = '1', auth_ticket = '', ip_last = '" + GetConnection().IPAddress + "' WHERE id = '" + GetHabbo().Id + "' LIMIT 1");
                    dbClient.ExecuteQuery("UPDATE user_info SET login_timestamp = '" + UberEnvironment.GetUnixTimestamp() + "' WHERE user_id = '" + GetHabbo().Id + "' LIMIT 1");
                }
    
                GetMessageHandler().GetResponse().Init(2);
                if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                }
                else
                {
                    GetMessageHandler().GetResponse().AppendInt32(0);
                }
                GetMessageHandler().SendResponse();
    
                if (GetHabbo().HasFuse("fuse_use_vip_outfits"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().HasFuse("fuse_furni_chooser"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                }
                else
                {
                    GetMessageHandler().GetResponse().AppendInt32(0);
                }
    
                GetMessageHandler().GetResponse().AppendInt32(0);
                GetMessageHandler().SendResponse();
    
                if (GetHabbo().HasFuse("fuse_mod"))
                {
                    SendMessage(UberEnvironment.GetGame().GetModerationTool().SerializeTool());
                    UberEnvironment.GetGame().GetModerationTool().SendOpenTickets(this);
                }
    
                SendMessage(GetHabbo().GetAvatarEffectsInventoryComponent().Serialize());
    
                MessageHandler.GetResponse().Init(290);
                MessageHandler.GetResponse().AppendBoolean(true);
                MessageHandler.GetResponse().AppendBoolean(false);
                MessageHandler.SendResponse();
    
                MessageHandler.GetResponse().Init(3);
                MessageHandler.SendResponse();
    
                MessageHandler.GetResponse().Init(517);
                MessageHandler.GetResponse().AppendBoolean(true);
                MessageHandler.SendResponse();
    
                if (UberEnvironment.GetGame().GetPixelManager().NeedsUpdate(this))
                {
                    UberEnvironment.GetGame().GetPixelManager().GivePixels(this);
                }
    
                if (GetHabbo().HomeRoom > 0)
                {
                    MessageHandler.GetResponse().Init(455);
                    MessageHandler.GetResponse().AppendUInt(GetHabbo().HomeRoom);
                    MessageHandler.SendResponse();
                }
    
                MessageHandler.GetResponse().Init(458);
                MessageHandler.GetResponse().AppendInt32(30);
                MessageHandler.GetResponse().AppendInt32(GetHabbo().FavoriteRooms.Count);
    
                foreach (uint Id in GetHabbo().FavoriteRooms)
                {
                    MessageHandler.GetResponse().AppendUInt(Id);
                }
    
                //UberEnvironment.GetGame().GetAchievementManager().UnlockAchievement(this, 31, 1); // beta lab rat
    
                if (UberEnvironment.GetGame().GetGameConfiguration().Motd_Enabled == 1)
                {
                    String Message = UberEnvironment.GetGame().GetGameConfiguration().Motd_Message;
                    SendMotd(Message);
                }
    
                MessageHandler.SendResponse();
    
                if (GetHabbo().HasFuse("fuse_use_club_badge") && !GetHabbo().GetBadgeComponent().HasBadge("ACH_BasicClub1"))
                {
                    GetHabbo().GetBadgeComponent().GiveBadge("ACH_BasicClub1", true);
                }
                else if (!GetHabbo().HasFuse("fuse_use_club_badge") && GetHabbo().GetBadgeComponent().HasBadge("ACH_BasicClub1"))
                {
                    GetHabbo().GetBadgeComponent().RemoveBadge("ACH_BasicClub1");
                }
    
                MessageHandler.RegisterUsers();
                MessageHandler.RegisterQuests();
                MessageHandler.RegisterMessenger();
                MessageHandler.RegisterCatalog();
                MessageHandler.RegisterNavigator();
                MessageHandler.RegisterRooms();
            }

  18. #18
    Sorcerer Supreme Emerica is offline
    Member +Rank
    Oct 2010 Join Date
    GermanyLocation
    437Posts

    Re: VIP/CLUB Rights for UberEmulator

    Doesn't work with wichard's uber edit, because there is no:
    PHP Code:
     GetMessageHandler().GetResponse().Init(2);
                
    GetMessageHandler().GetResponse().AppendInt32(Rights.Count);

                foreach (
    string Right in Rights)
                {
                    
    GetMessageHandler().GetResponse().AppendStringWithBreak(Right);
                }

                
    GetMessageHandler().SendResponse(); 
    code..

    What's wrong ?

  19. #19
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,773Posts

    Re: VIP/CLUB Rights for UberEmulator

    Quote Originally Posted by Emerica View Post
    Doesn't work with wichard's uber edit, because there is no:
    PHP Code:
     GetMessageHandler().GetResponse().Init(2);
                
    GetMessageHandler().GetResponse().AppendInt32(Rights.Count);

                foreach (
    string Right in Rights)
                {
                    
    GetMessageHandler().GetResponse().AppendStringWithBreak(Right);
                }

                
    GetMessageHandler().SendResponse(); 
    code..

    What's wrong ?
    Correct if i'm wrong,
    But i thought habbo doesn't send anymore the rights.
    Habbo club and habbo vip is sended with a diffrent packet.

  20. #20
    The Legend Returns vista4life is offline
    Grand MasterRank
    Mar 2007 Join Date
    The NetherlandsLocation
    843Posts

    Re: VIP/CLUB Rights for UberEmulator

    GetMessageHandler().GetResponse().Init(2);

    if (GetHabbo().HasFuse("fuse_use_vip_outfits"))
    {
    GetMessageHandler().GetResponse().AppendInt32(2);
    }
    else if (GetHabbo().HasFuse("fuse_furni_chooser"))
    {
    GetMessageHandler().GetResponse().AppendInt32(1);
    }
    else
    {
    GetMessageHandler().GetResponse().AppendInt32(0);
    }

    GetMessageHandler().GetResponse().AppendInt32(0);
    GetMessageHandler().SendResponse();
    send that. replace the whole @B packet

  21. #21
    Sorcerer Supreme bartskinu is offline
    Member +Rank
    Dec 2007 Join Date
    320Posts

    Re: VIP/CLUB Rights for UberEmulator

    Well, everything works fine, but when i'm trying to change my clothes. Then i got disconnected!

    I made a video:

    YouTube - Problem club rights
    Last edited by bartskinu; 13-05-11 at 11:17 AM.

  22. #22
    Sorcerer Supreme Emerica is offline
    Member +Rank
    Oct 2010 Join Date
    GermanyLocation
    437Posts

    Re: VIP/CLUB Rights for UberEmulator

    Quote Originally Posted by vista4life View Post
    GetMessageHandler().GetResponse().Init(2);

    if (GetHabbo().HasFuse("fuse_use_vip_outfits"))
    {
    GetMessageHandler().GetResponse().AppendInt32(2);
    }
    else if (GetHabbo().HasFuse("fuse_furni_chooser"))
    {
    GetMessageHandler().GetResponse().AppendInt32(1);
    }
    else
    {
    GetMessageHandler().GetResponse().AppendInt32(0);
    }

    GetMessageHandler().GetResponse().AppendInt32(0);
    GetMessageHandler().SendResponse();
    send that. replace the whole @B packet
    Wow, nice.

  23. #23
    Sorcerer Supreme bartskinu is offline
    Member +Rank
    Dec 2007 Join Date
    320Posts

    Re: VIP/CLUB Rights for UberEmulator

    Quote Originally Posted by Emerica View Post
    Wow, nice.
    Is that working for you? Can you post your whole public void Login(string AuthTicket)?

  24. #24
    Elite Member ItachiKM is offline
    Member +Rank
    Jan 2011 Join Date
    133Posts

    Re: VIP/CLUB Rights for UberEmulator

    Quote Originally Posted by bartskinu View Post
    It doesn't work! I use this GameClient.cs:

    Code:
    public void Login(string AuthTicket)
            {
                try
                {
                    Habbo NewHabbo = Authenticator.TryLoginHabbo(AuthTicket);
    
                    UberEnvironment.GetGame().GetClientManager().LogClonesOut(NewHabbo.Username);
    
                    this.Habbo = NewHabbo;
                    this.Habbo.LoadData();
                }
                catch (IncorrectLoginException e)
                {
                    SendNotif("Login error: " + e.Message);
                    Disconnect();
                    return;
                }
    
                try
                {
                    UberEnvironment.GetGame().GetBanManager().CheckForBanConflicts(this);
                }
                catch (ModerationBanException e)
                {
                    SendBanMessage(e.Message);
                    Disconnect();
                    return;
                }
    
                using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
                {
                    dbClient.ExecuteQuery("UPDATE users SET online = '1', auth_ticket = '', ip_last = '" + GetConnection().IPAddress + "' WHERE id = '" + GetHabbo().Id + "' LIMIT 1");
                    dbClient.ExecuteQuery("UPDATE user_info SET login_timestamp = '" + UberEnvironment.GetUnixTimestamp() + "' WHERE user_id = '" + GetHabbo().Id + "' LIMIT 1");
                }
    
                GetMessageHandler().GetResponse().Init(2);
                if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                }
                else
                {
                    GetMessageHandler().GetResponse().AppendInt32(0);
                }
                GetMessageHandler().SendResponse();
    
                if (GetHabbo().HasFuse("fuse_use_vip_outfits"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().HasFuse("fuse_furni_chooser"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                }
                else
                {
                    GetMessageHandler().GetResponse().AppendInt32(0);
                }
    
                GetMessageHandler().GetResponse().AppendInt32(0);
                GetMessageHandler().SendResponse();
    
                if (GetHabbo().HasFuse("fuse_mod"))
                {
                    SendMessage(UberEnvironment.GetGame().GetModerationTool().SerializeTool());
                    UberEnvironment.GetGame().GetModerationTool().SendOpenTickets(this);
                }
    
                SendMessage(GetHabbo().GetAvatarEffectsInventoryComponent().Serialize());
    
                MessageHandler.GetResponse().Init(290);
                MessageHandler.GetResponse().AppendBoolean(true);
                MessageHandler.GetResponse().AppendBoolean(false);
                MessageHandler.SendResponse();
    
                MessageHandler.GetResponse().Init(3);
                MessageHandler.SendResponse();
    
                MessageHandler.GetResponse().Init(517);
                MessageHandler.GetResponse().AppendBoolean(true);
                MessageHandler.SendResponse();
    
                if (UberEnvironment.GetGame().GetPixelManager().NeedsUpdate(this))
                {
                    UberEnvironment.GetGame().GetPixelManager().GivePixels(this);
                }
    
                if (GetHabbo().HomeRoom > 0)
                {
                    MessageHandler.GetResponse().Init(455);
                    MessageHandler.GetResponse().AppendUInt(GetHabbo().HomeRoom);
                    MessageHandler.SendResponse();
                }
    
                MessageHandler.GetResponse().Init(458);
                MessageHandler.GetResponse().AppendInt32(30);
                MessageHandler.GetResponse().AppendInt32(GetHabbo().FavoriteRooms.Count);
    
                foreach (uint Id in GetHabbo().FavoriteRooms)
                {
                    MessageHandler.GetResponse().AppendUInt(Id);
                }
    
                //UberEnvironment.GetGame().GetAchievementManager().UnlockAchievement(this, 31, 1); // beta lab rat
    
                if (UberEnvironment.GetGame().GetGameConfiguration().Motd_Enabled == 1)
                {
                    String Message = UberEnvironment.GetGame().GetGameConfiguration().Motd_Message;
                    SendMotd(Message);
                }
    
                MessageHandler.SendResponse();
    
                if (GetHabbo().HasFuse("fuse_use_club_badge") && !GetHabbo().GetBadgeComponent().HasBadge("ACH_BasicClub1"))
                {
                    GetHabbo().GetBadgeComponent().GiveBadge("ACH_BasicClub1", true);
                }
                else if (!GetHabbo().HasFuse("fuse_use_club_badge") && GetHabbo().GetBadgeComponent().HasBadge("ACH_BasicClub1"))
                {
                    GetHabbo().GetBadgeComponent().RemoveBadge("ACH_BasicClub1");
                }
    
                MessageHandler.RegisterUsers();
                MessageHandler.RegisterQuests();
                MessageHandler.RegisterMessenger();
                MessageHandler.RegisterCatalog();
                MessageHandler.RegisterNavigator();
                MessageHandler.RegisterRooms();
            }

    Replace
    Code:
    GetMessageHandler().GetResponse().Init(2);
                if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                }
                else
                {
                    GetMessageHandler().GetResponse().AppendInt32(0);
                }
                GetMessageHandler().SendResponse();
    
                if (GetHabbo().HasFuse("fuse_use_vip_outfits"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().HasFuse("fuse_furni_chooser"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                }
                else
                {
                    GetMessageHandler().GetResponse().AppendInt32(0);
                }
    
                GetMessageHandler().GetResponse().AppendInt32(0);
                GetMessageHandler().SendResponse();
    For:
    Code:
    GetMessageHandler().GetResponse().Init(2);
                if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                }
                else
                {
                    GetMessageHandler().GetResponse().AppendInt32(0);
                }
                GetMessageHandler().SendResponse();
    u cant send a packet without header...

  25. #25
    Sorcerer Supreme Emerica is offline
    Member +Rank
    Oct 2010 Join Date
    GermanyLocation
    437Posts

    Re: VIP/CLUB Rights for UberEmulator

    Quote Originally Posted by ItachiKM View Post
    Replace
    Code:
    GetMessageHandler().GetResponse().Init(2);
                if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                }
                else
                {
                    GetMessageHandler().GetResponse().AppendInt32(0);
                }
                GetMessageHandler().SendResponse();
    
                if (GetHabbo().HasFuse("fuse_use_vip_outfits"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().HasFuse("fuse_furni_chooser"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                }
                else
                {
                    GetMessageHandler().GetResponse().AppendInt32(0);
                }
    
                GetMessageHandler().GetResponse().AppendInt32(0);
                GetMessageHandler().SendResponse();
    For:
    Code:
    GetMessageHandler().GetResponse().Init(2);
                if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(2);
                }
                else if (GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club"))
                {
                    GetMessageHandler().GetResponse().AppendInt32(1);
                }
                else
                {
                    GetMessageHandler().GetResponse().AppendInt32(0);
                }
                GetMessageHandler().SendResponse();
    u cant send a packet without header...
    ok, works too



Advertisement