Exception has been saved

Results 1 to 1 of 1
  1. #1
    Enthusiast J0kerz is offline
    MemberRank
    Mar 2013 Join Date
    44Posts

    Exception has been saved

    Hello.

    I have a problem:




    PHP Code:
    12/29/2013 10:45:36 PMErrorSystem.Collections.Generic.KeyNotFoundExceptionThe given key was not present in the dictionary.   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at Phoenix.HabboHotel.Roles.RoleManager.method_8(UInt32 uint_0) in c:\Users\Administrator\Desktop\Pepper EMU V3.11.2 NEW\Phoenix\HabboHotel\Roles\RoleManager.cs:line 983
       at Phoenix.HabboHotel.GameClients.GameClient.method_6(String string_0) in c:\Users\Administrator\Desktop\Pepper EMU V3.11.2 NEW\Phoenix\HabboHotel\GameClients\GameClient.cs:line 291
       at Phoenix.Communication.Messages.Handshake.SSOTicketMessageEvent.imethod_0(GameClient class16_0, ClientMessage class18_0) in c:\Users\Administrator\Desktop\Pepper EMU V3.11.2 NEW\Phoenix\Communication\Messages\Handshake\SSOTicketMessageEvent.cs:line 14
       at Phoenix.HabboHotel.GameClients.GameClient.method_13(Byte[]& byte_0) in c:\Users\Administrator\Desktop\Pepper EMU V3.11.2 NEW\Phoenix\HabboHotel\GameClients\GameClient.cs:line 482 
    [
    PHP Code:


    The RoleManager
    .cs

    using System
    ;using System.Collections.Generic;
    using System.Data;
    using Phoenix.Core;
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.Util;
    using Phoenix.Storage;
    namespace 
    Phoenix.HabboHotel.Roles
    {
        
    internal sealed class RoleManager
        
    {
            private 
    Dictionary<uint, List<string>> dictionary_0;
            private 
    Dictionary<uint, List<string>> dictionary_1;
            public 
    Dictionary<uintstringdictionary_2;
            private 
    Dictionary<uintintdictionary_3;
            public 
    Dictionary<stringintdictionary_4;
            public 
    Dictionary<stringintdictionary_5;
            public 
    RoleManager()
            {
                
    this.dictionary_0 = new Dictionary<uint, List<string>>();
                
    this.dictionary_1 = new Dictionary<uint, List<string>>();
                
    this.dictionary_2 = new Dictionary<uintstring>();
                
    this.dictionary_3 = new Dictionary<uintint>();
                
    this.dictionary_4 = new Dictionary<stringint>();
                
    this.dictionary_5 = new Dictionary<stringint>();
            }
            public 
    void method_0(DatabaseClient class6_0)
            {
                
    Logging.smethod_0(PhoenixEnvironment.smethod_1("emu_loadroles"));
                
    this.method_10();
                
    DataTable dataTable class6_0.ReadDataTable("SELECT * FROM ranks ORDER BY id ASC;");
                if (
    dataTable != null)
                {
                    foreach (
    DataRow dataRow in dataTable.Rows)
                    {
                        
    this.dictionary_2.Add((uint)dataRow["id"], dataRow["badgeid"].ToString());
                    }
                }
                
    dataTable class6_0.ReadDataTable("SELECT * FROM permissions_users ORDER BY userid ASC;");
                if (
    dataTable != null)
                {
                    foreach (
    DataRow dataRow in dataTable.Rows)
                    {
                        List<
    string> list = new List<string>();
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_settings"].ToString()))
                        {
                            list.
    Add("cmd_update_settings");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_bans"].ToString()))
                        {
                            list.
    Add("cmd_update_bans");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_bots"].ToString()))
                        {
                            list.
    Add("cmd_update_bots");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_catalogue"].ToString()))
                        {
                            list.
    Add("cmd_update_catalogue");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_navigator"].ToString()))
                        {
                            list.
    Add("cmd_update_navigator");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_items"].ToString()))
                        {
                            list.
    Add("cmd_update_items");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_award"].ToString()))
                        {
                            list.
    Add("cmd_award");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_coords"].ToString()))
                        {
                            list.
    Add("cmd_coords");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_override"].ToString()))
                        {
                            list.
    Add("cmd_override");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_coins"].ToString()))
                        {
                            list.
    Add("cmd_coins");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_pixels"].ToString()))
                        {
                            list.
    Add("cmd_pixels");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_ha"].ToString()))
                        {
                            list.
    Add("cmd_ha");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_hal"].ToString()))
                        {
                            list.
    Add("cmd_hal");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_freeze"].ToString()))
                        {
                            list.
    Add("cmd_freeze");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_enable"].ToString()))
                        {
                            list.
    Add("cmd_enable");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_roommute"].ToString()))
                        {
                            list.
    Add("cmd_roommute");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_setspeed"].ToString()))
                        {
                            list.
    Add("cmd_setspeed");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_masscredits"].ToString()))
                        {
                            list.
    Add("cmd_masscredits");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_globalcredits"].ToString()))
                        {
                            list.
    Add("cmd_globalcredits");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_masspixels"].ToString()))
                        {
                            list.
    Add("cmd_masspixels");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_globalpixels"].ToString()))
                        {
                            list.
    Add("cmd_globalpixels");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_roombadge"].ToString()))
                        {
                            list.
    Add("cmd_roombadge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_massbadge"].ToString()))
                        {
                            list.
    Add("cmd_massbadge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_userinfo"].ToString()))
                        {
                            list.
    Add("cmd_userinfo");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_userinfo_viewip"].ToString()))
                        {
                            list.
    Add("cmd_userinfo_viewip");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_shutdown"].ToString()))
                        {
                            list.
    Add("cmd_shutdown");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_givebadge"].ToString()))
                        {
                            list.
    Add("cmd_givebadge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_removebadge"].ToString()))
                        {
                            list.
    Add("cmd_removebadge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_summon"].ToString()))
                        {
                            list.
    Add("cmd_summon");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_invisible"].ToString()))
                        {
                            list.
    Add("cmd_invisible");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_ban"].ToString()))
                        {
                            list.
    Add("cmd_ban");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_superban"].ToString()))
                        {
                            list.
    Add("cmd_superban");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_roomkick"].ToString()))
                        {
                            list.
    Add("cmd_roomkick");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_roomalert"].ToString()))
                        {
                            list.
    Add("cmd_roomalert");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_mute"].ToString()))
                        {
                            list.
    Add("cmd_mute");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_unmute"].ToString()))
                        {
                            list.
    Add("cmd_unmute");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_alert"].ToString()))
                        {
                            list.
    Add("cmd_alert");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_motd"].ToString()))
                        {
                            list.
    Add("cmd_motd");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_kick"].ToString()))
                        {
                            list.
    Add("cmd_kick");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_filter"].ToString()))
                        {
                            list.
    Add("cmd_update_filter");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_permissions"].ToString()))
                        {
                            list.
    Add("cmd_update_permissions");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_sa"].ToString()))
                        {
                            list.
    Add("cmd_sa");
                        }
                        if (
    Phoenix.smethod_3(dataRow["receive_sa"].ToString()))
                        {
                            list.
    Add("receive_sa");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_ipban"].ToString()))
                        {
                            list.
    Add("cmd_ipban");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_spull"].ToString()))
                        {
                            list.
    Add("cmd_spull");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_disconnect"].ToString()))
                        {
                            list.
    Add("cmd_disconnect");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_achievements"].ToString()))
                        {
                            list.
    Add("cmd_update_achievements");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_texts"].ToString()))
                        {
                            list.
    Add("cmd_update_texts");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_teleport"].ToString()))
                        {
                            list.
    Add("cmd_teleport");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_points"].ToString()))
                        {
                            list.
    Add("cmd_points");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_masspoints"].ToString()))
                        {
                            list.
    Add("cmd_masspoints");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_globalpoints"].ToString()))
                        {
                            list.
    Add("cmd_globalpoints");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_empty"].ToString()))
                        {
                            list.
    Add("cmd_empty");
                        }
                        if (
    Phoenix.smethod_3(dataRow["ignore_roommute"].ToString()))
                        {
                            list.
    Add("ignore_roommute");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_anyroomrights"].ToString()))
                        {
                            list.
    Add("acc_anyroomrights");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_anyroomowner"].ToString()))
                        {
                            list.
    Add("acc_anyroomowner");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_supporttool"].ToString()))
                        {
                            list.
    Add("acc_supporttool");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_chatlogs"].ToString()))
                        {
                            list.
    Add("acc_chatlogs");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_enter_fullrooms"].ToString()))
                        {
                            list.
    Add("acc_enter_fullrooms");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_enter_anyroom"].ToString()))
                        {
                            list.
    Add("acc_enter_anyroom");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_restrictedrooms"].ToString()))
                        {
                            list.
    Add("acc_restrictedrooms");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_unkickable"].ToString()))
                        {
                            list.
    Add("acc_unkickable");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_unbannable"].ToString()))
                        {
                            list.
    Add("acc_unbannable");
                        }
                        if (
    Phoenix.smethod_3(dataRow["ignore_friendsettings"].ToString()))
                        {
                            list.
    Add("ignore_friendsettings");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_sql"].ToString()))
                        {
                            list.
    Add("wired_give_sql");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_badge"].ToString()))
                        {
                            list.
    Add("wired_give_badge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_effect"].ToString()))
                        {
                            list.
    Add("wired_give_effect");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_award"].ToString()))
                        {
                            list.
    Add("wired_give_award");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_dance"].ToString()))
                        {
                            list.
    Add("wired_give_dance");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_send"].ToString()))
                        {
                            list.
    Add("wired_give_send");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_credits"].ToString()))
                        {
                            list.
    Add("wired_give_credits");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_pixels"].ToString()))
                        {
                            list.
    Add("wired_give_pixels");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_points"].ToString()))
                        {
                            list.
    Add("wired_give_points");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_rank"].ToString()))
                        {
                            list.
    Add("wired_give_rank");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_respect"].ToString()))
                        {
                            list.
    Add("wired_give_respect");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_handitem"].ToString()))
                        {
                            list.
    Add("wired_give_handitem");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_alert"].ToString()))
                        {
                            list.
    Add("wired_give_alert");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_roomusers"].ToString()))
                        {
                            list.
    Add("wired_cnd_roomusers");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userhasachievement"].ToString()))
                        {
                            list.
    Add("wired_cnd_userhasachievement");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userhasbadge"].ToString()))
                        {
                            list.
    Add("wired_cnd_userhasbadge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userhasvip"].ToString()))
                        {
                            list.
    Add("wired_cnd_userhasvip");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userhaseffect"].ToString()))
                        {
                            list.
    Add("wired_cnd_userhaseffect");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userrank"].ToString()))
                        {
                            list.
    Add("wired_cnd_userrank");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_usercredits"].ToString()))
                        {
                            list.
    Add("wired_cnd_usercredits");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userpixels"].ToString()))
                        {
                            list.
    Add("wired_cnd_userpixels");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userpoints"].ToString()))
                        {
                            list.
    Add("wired_cnd_userpoints");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_usergroups"].ToString()))
                        {
                            list.
    Add("wired_cnd_usergroups");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_wearing"].ToString()))
                        {
                            list.
    Add("wired_cnd_wearing");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_carrying"].ToString()))
                        {
                            list.
    Add("wired_cnd_carrying");
                        }
                        
    this.dictionary_0.Add((uint)dataRow["userid"], list);
                    }
                }
                
    dataTable class6_0.ReadDataTable("SELECT * FROM permissions_ranks ORDER BY rank ASC;");
                if (
    dataTable != null)
                {
                    foreach (
    DataRow dataRow in dataTable.Rows)
                    {
                        
    this.dictionary_3.Add((uint)dataRow["rank"], (int)dataRow["floodtime"]);
                    }
                    foreach (
    DataRow dataRow in dataTable.Rows)
                    {
                        List<
    string> list = new List<string>();
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_settings"].ToString()))
                        {
                            list.
    Add("cmd_update_settings");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_bans"].ToString()))
                        {
                            list.
    Add("cmd_update_bans");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_bots"].ToString()))
                        {
                            list.
    Add("cmd_update_bots");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_catalogue"].ToString()))
                        {
                            list.
    Add("cmd_update_catalogue");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_navigator"].ToString()))
                        {
                            list.
    Add("cmd_update_navigator");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_items"].ToString()))
                        {
                            list.
    Add("cmd_update_items");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_award"].ToString()))
                        {
                            list.
    Add("cmd_award");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_coords"].ToString()))
                        {
                            list.
    Add("cmd_coords");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_override"].ToString()))
                        {
                            list.
    Add("cmd_override");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_coins"].ToString()))
                        {
                            list.
    Add("cmd_coins");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_pixels"].ToString()))
                        {
                            list.
    Add("cmd_pixels");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_ha"].ToString()))
                        {
                            list.
    Add("cmd_ha");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_hal"].ToString()))
                        {
                            list.
    Add("cmd_hal");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_freeze"].ToString()))
                        {
                            list.
    Add("cmd_freeze");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_enable"].ToString()))
                        {
                            list.
    Add("cmd_enable");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_roommute"].ToString()))
                        {
                            list.
    Add("cmd_roommute");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_setspeed"].ToString()))
                        {
                            list.
    Add("cmd_setspeed");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_masscredits"].ToString()))
                        {
                            list.
    Add("cmd_masscredits");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_globalcredits"].ToString()))
                        {
                            list.
    Add("cmd_globalcredits");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_masspixels"].ToString()))
                        {
                            list.
    Add("cmd_masspixels");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_globalpixels"].ToString()))
                        {
                            list.
    Add("cmd_globalpixels");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_roombadge"].ToString()))
                        {
                            list.
    Add("cmd_roombadge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_massbadge"].ToString()))
                        {
                            list.
    Add("cmd_massbadge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_userinfo"].ToString()))
                        {
                            list.
    Add("cmd_userinfo");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_userinfo_viewip"].ToString()))
                        {
                            list.
    Add("cmd_userinfo_viewip");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_shutdown"].ToString()))
                        {
                            list.
    Add("cmd_shutdown");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_givebadge"].ToString()))
                        {
                            list.
    Add("cmd_givebadge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_removebadge"].ToString()))
                        {
                            list.
    Add("cmd_removebadge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_summon"].ToString()))
                        {
                            list.
    Add("cmd_summon");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_invisible"].ToString()))
                        {
                            list.
    Add("cmd_invisible");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_ban"].ToString()))
                        {
                            list.
    Add("cmd_ban");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_superban"].ToString()))
                        {
                            list.
    Add("cmd_superban");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_roomkick"].ToString()))
                        {
                            list.
    Add("cmd_roomkick");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_roomalert"].ToString()))
                        {
                            list.
    Add("cmd_roomalert");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_mute"].ToString()))
                        {
                            list.
    Add("cmd_mute");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_unmute"].ToString()))
                        {
                            list.
    Add("cmd_unmute");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_alert"].ToString()))
                        {
                            list.
    Add("cmd_alert");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_motd"].ToString()))
                        {
                            list.
    Add("cmd_motd");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_kick"].ToString()))
                        {
                            list.
    Add("cmd_kick");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_filter"].ToString()))
                        {
                            list.
    Add("cmd_update_filter");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_permissions"].ToString()))
                        {
                            list.
    Add("cmd_update_permissions");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_sa"].ToString()))
                        {
                            list.
    Add("cmd_sa");
                        }
                        if (
    Phoenix.smethod_3(dataRow["receive_sa"].ToString()))
                        {
                            list.
    Add("receive_sa");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_ipban"].ToString()))
                        {
                            list.
    Add("cmd_ipban");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_spull"].ToString()))
                        {
                            list.
    Add("cmd_spull");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_disconnect"].ToString()))
                        {
                            list.
    Add("cmd_disconnect");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_achievements"].ToString()))
                        {
                            list.
    Add("cmd_update_achievements");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_update_texts"].ToString()))
                        {
                            list.
    Add("cmd_update_texts");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_teleport"].ToString()))
                        {
                            list.
    Add("cmd_teleport");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_points"].ToString()))
                        {
                            list.
    Add("cmd_points");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_masspoints"].ToString()))
                        {
                            list.
    Add("cmd_masspoints");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_globalpoints"].ToString()))
                        {
                            list.
    Add("cmd_globalpoints");
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmd_empty"].ToString()))
                        {
                            list.
    Add("cmd_empty");
                        }
                        if (
    Phoenix.smethod_3(dataRow["ignore_roommute"].ToString()))
                        {
                            list.
    Add("ignore_roommute");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_anyroomrights"].ToString()))
                        {
                            list.
    Add("acc_anyroomrights");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_anyroomowner"].ToString()))
                        {
                            list.
    Add("acc_anyroomowner");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_supporttool"].ToString()))
                        {
                            list.
    Add("acc_supporttool");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_chatlogs"].ToString()))
                        {
                            list.
    Add("acc_chatlogs");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_enter_fullrooms"].ToString()))
                        {
                            list.
    Add("acc_enter_fullrooms");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_enter_anyroom"].ToString()))
                        {
                            list.
    Add("acc_enter_anyroom");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_restrictedrooms"].ToString()))
                        {
                            list.
    Add("acc_restrictedrooms");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_unkickable"].ToString()))
                        {
                            list.
    Add("acc_unkickable");
                        }
                        if (
    Phoenix.smethod_3(dataRow["acc_unbannable"].ToString()))
                        {
                            list.
    Add("acc_unbannable");
                        }
                        if (
    Phoenix.smethod_3(dataRow["ignore_friendsettings"].ToString()))
                        {
                            list.
    Add("ignore_friendsettings");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_sql"].ToString()))
                        {
                            list.
    Add("wired_give_sql");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_badge"].ToString()))
                        {
                            list.
    Add("wired_give_badge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_effect"].ToString()))
                        {
                            list.
    Add("wired_give_effect");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_award"].ToString()))
                        {
                            list.
    Add("wired_give_award");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_dance"].ToString()))
                        {
                            list.
    Add("wired_give_dance");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_send"].ToString()))
                        {
                            list.
    Add("wired_give_send");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_credits"].ToString()))
                        {
                            list.
    Add("wired_give_credits");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_pixels"].ToString()))
                        {
                            list.
    Add("wired_give_pixels");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_points"].ToString()))
                        {
                            list.
    Add("wired_give_points");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_rank"].ToString()))
                        {
                            list.
    Add("wired_give_rank");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_respect"].ToString()))
                        {
                            list.
    Add("wired_give_respect");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_handitem"].ToString()))
                        {
                            list.
    Add("wired_give_handitem");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_give_alert"].ToString()))
                        {
                            list.
    Add("wired_give_alert");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_roomusers"].ToString()))
                        {
                            list.
    Add("wired_cnd_roomusers");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userhasachievement"].ToString()))
                        {
                            list.
    Add("wired_cnd_userhasachievement");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userhasbadge"].ToString()))
                        {
                            list.
    Add("wired_cnd_userhasbadge");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userhasvip"].ToString()))
                        {
                            list.
    Add("wired_cnd_userhasvip");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userhaseffect"].ToString()))
                        {
                            list.
    Add("wired_cnd_userhaseffect");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userrank"].ToString()))
                        {
                            list.
    Add("wired_cnd_userrank");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_usercredits"].ToString()))
                        {
                            list.
    Add("wired_cnd_usercredits");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userpixels"].ToString()))
                        {
                            list.
    Add("wired_cnd_userpixels");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_userpoints"].ToString()))
                        {
                            list.
    Add("wired_cnd_userpoints");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_usergroups"].ToString()))
                        {
                            list.
    Add("wired_cnd_usergroups");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_wearing"].ToString()))
                        {
                            list.
    Add("wired_cnd_wearing");
                        }
                        if (
    Phoenix.smethod_3(dataRow["wired_cnd_carrying"].ToString()))
                        {
                            list.
    Add("wired_cnd_carrying");
                        }
                        
    this.dictionary_1.Add((uint)dataRow["rank"], list);
                    }
                }
                
    dataTable class6_0.ReadDataTable("SELECT * FROM permissions_vip;");
                if (
    dataTable != null)
                {
                    
    Class13.Boolean_8 false;
                    
    Class13.Boolean_10 false;
                    
    Class13.Boolean_11 false;
                    
    Class13.Boolean_12 false;
                    
    Class13.Boolean_13 false;
                    
    Class13.Boolean_9 false;
                    foreach (
    DataRow dataRow in dataTable.Rows)
                    {
                        if (
    Phoenix.smethod_3(dataRow["cmdPush"].ToString()))
                        {
                            
    Class13.Boolean_8 true;
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmdPull"].ToString()))
                        {
                            
    Class13.Boolean_10 true;
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmdFlagme"].ToString()))
                        {
                            
    Class13.Boolean_11 true;
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmdMimic"].ToString()))
                        {
                            
    Class13.Boolean_12 true;
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmdMoonwalk"].ToString()))
                        {
                            
    Class13.Boolean_13 true;
                        }
                        if (
    Phoenix.smethod_3(dataRow["cmdFollow"].ToString()))
                        {
                            
    Class13.Boolean_9 true;
                        }
                    }
                }
                
    this.dictionary_5.Clear();
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_sleep"), 1);
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_free"), 2);
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_sit"), 3);
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_lay"), 4);
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_stay"), 5);
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_here"), 6);
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_dead"), 7);
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_beg"), 8);
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_jump"), 9);
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_stfu"), 10);
                
    this.dictionary_5.Add(PhoenixEnvironment.smethod_1("pet_cmd_talk"), 11);
                
    this.dictionary_4.Clear();
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_about_name"), 1);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_alert_name"), 2);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_award_name"), 3);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_ban_name"), 4);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_buy_name"), 5);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_coins_name"), 6);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_coords_name"), 7);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_disablediagonal_name"), 8);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_emptyitems_name"), 9);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_empty_name"), 10);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_enable_name"), 11);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_flagme_name"), 12);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_follow_name"), 13);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_freeze_name"), 14);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_givebadge_name"), 15);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_globalcredits_name"), 16);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_globalpixels_name"), 17);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_globalpoints_name"), 18);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_hal_name"), 19);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_ha_name"), 20);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_invisible_name"), 21);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_ipban_name"), 22);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_kick_name"), 23);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_massbadge_name"), 24);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_masscredits_name"), 25);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_masspixels_name"), 26);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_masspoints_name"), 27);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_mimic_name"), 28);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_moonwalk_name"), 29);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_motd_name"), 30);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_mute_name"), 31);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_override_name"), 32);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_pickall_name"), 33);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_pixels_name"), 34);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_points_name"), 35);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_pull_name"), 36);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_push_name"), 37);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeemcreds_name"), 38);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_removebadge_name"), 39);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_ride_name"), 40);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_roomalert_name"), 41);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_roombadge_name"), 42);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_roomkick_name"), 43);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_roommute_name"), 44);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_sa_name"), 45);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_setmax_name"), 46);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_setspeed_name"), 47);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_shutdown_name"), 48);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_spull_name"), 49);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_summon_name"), 50);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_superban_name"), 51);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_teleport_name"), 52);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_unload_name"), 53);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_unmute_name"), 54);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_update_achievements_name"), 55);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_update_bans_name"), 56);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_update_bots_name"), 57);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_update_catalogue_name"), 58);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_update_filter_name"), 59);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_update_items_name"), 60);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_update_navigator_name"), 61);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_update_permissions_name"), 62);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_update_settings_name"), 63);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_userinfo_name"), 64);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_update_texts_name"), 65);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_disconnect_name"), 66);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_commands_name"), 67);
                
    this.dictionary_4.Add("about"68);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_roominfo_name"), 69);
                
    this.dictionary_4.Add("neto737"70);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_dance_name"), 71);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_rave_name"), 72);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_roll_name"), 73);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_control_name"), 74);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_makesay_name"), 75);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_sitdown_name"), 76);
                
    this.dictionary_4.Add("exe"77);
                
    this.dictionary_4.Add("giveitem"79);
                
    this.dictionary_4.Add("sit"80);
                
    this.dictionary_4.Add("dismount"81);
                
    this.dictionary_4.Add("getoff"82);
                
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_emptypets_name"), 83);
                
    Logging.WriteLine("completed!");
                try
                {
                    if (
    int.Parse(Phoenix.GetConfig().data["debug"]) == 1)
                    {
                        
    Logging.WriteLine("Commands loaded:" this.dictionary_4.Count.ToString());
                    }
                }
                catch
                {
                }
            }
            public 
    bool method_1(uint uint_0string string_0)
            {
                
    bool result;
                
    /*if (Phoenix.int_2 == 0)
                {
                    result = false;
                }
                else*/
                
    {
                    if (!
    this.method_7(uint_0))
                    {
                        
    result false;
                    }
                    else
                    {
                        List<
    string> list = this.dictionary_1[uint_0];
                        
    result = list.Contains(string_0);
                    }
                }
                return 
    result;
            }
            public 
    int method_2(uint uint_0)
            {
                return 
    this.dictionary_3[uint_0];
            }
            public 
    bool method_3(uint uint_0)
            {
                return 
    this.method_6(uint_0);
            }
            public 
    bool method_4(uint uint_0string string_0)
            {
                
    bool result;
                if (!
    this.method_6(uint_0))
                {
                    
    result false;
                }
                else
                {
                    List<
    string> list = this.dictionary_0[uint_0];
                    
    result = list.Contains(string_0);
                }
                return 
    result;
            }
            public List<
    stringmethod_5(uint uint_0uint uint_1)
            {
                List<
    stringresult = new List<string>();
                if (
    this.method_6(uint_0))
                {
                    
    result this.dictionary_0[uint_0];
                }
                else
                {
                    
    result this.dictionary_1[uint_1];
                }
                return 
    result;
            }
            public 
    bool method_6(uint uint_0)
            {
                return 
    this.dictionary_0.ContainsKey(uint_0);
            }
            public 
    bool method_7(uint uint_0)
            {
                return 
    this.dictionary_1.ContainsKey(uint_0);
            }
            public 
    string method_8(uint uint_0)
            {
                return 
    this.dictionary_2[uint_0];
            }
            public 
    int method_9()
            {
                return 
    this.dictionary_2.Count;
            }
            public 
    void method_10()
            {
                
    this.dictionary_2.Clear();
                
    this.dictionary_0.Clear();
                
    this.dictionary_1.Clear();
                
    this.dictionary_3.Clear();
            }
            public 
    bool method_11(string string_0GameClient class16_0)
            {
                
    bool result;
                switch (
    string_0)
                {
                case 
    "roomuserseq":
                case 
    "roomuserslt":
                case 
    "roomusersmt":
                case 
    "roomusersmte":
                case 
    "roomuserslte":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_roomusers"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "userhasachievement":
                case 
    "userhasntachievement":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_userhasachievement"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "userhasbadge":
                case 
    "userhasntbadge":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_userhasbadge"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "userhasvip":
                case 
    "userhasntvip":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_userhasvip"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "userhaseffect":
                case 
    "userhasnteffect":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_userhaseffect"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "userrankeq":
                case 
    "userrankmt":
                case 
    "userrankmte":
                case 
    "userranklt":
                case 
    "userranklte":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_userrank"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "usercreditseq":
                case 
    "usercreditsmt":
                case 
    "usercreditsmte":
                case 
    "usercreditslt":
                case 
    "usercreditslte":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_usercredits"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "userpixelseq":
                case 
    "userpixelsmt":
                case 
    "userpixelsmte":
                case 
    "userpixelslt":
                case 
    "userpixelslte":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_userpixels"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "userpointseq":
                case 
    "userpointsmt":
                case 
    "userpointsmte":
                case 
    "userpointslt":
                case 
    "userpointslte":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_userpoints"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "usergroupeq":
                case 
    "userisingroup":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_usergroups"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "wearing":
                case 
    "notwearing":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_wearing"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "carrying":
                case 
    "notcarrying":
                    if (
    class16_0.GetHabbo().HasFuse("wired_cnd_carrying"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                }
                
    result false;
                return 
    result;
            }
            public 
    bool method_12(string string_0GameClient class16_0)
            {
                
    bool result;
                switch (
    string_0)
                {
                case 
    "sql":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_sql"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "badge":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_badge"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "effect":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_effect"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "award":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_award"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "dance":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_dance"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "send":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_send"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "credits":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_credits"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "pixels":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_pixels"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "points":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_points"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "rank":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_rank"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "respect":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_respect"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "handitem":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_handitem"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                case 
    "alert":
                    if (
    class16_0.GetHabbo().HasFuse("wired_give_alert"))
                    {
                        
    result true;
                        return 
    result;
                    }
                    break;
                }
                
    result false;
                return 
    result;
            }
        }



    The GameClient.cs


    PHP Code:
    using System;using System.Data;using System.Text.RegularExpressions;using Phoenix.Core;using Phoenix.HabboHotel.Misc;using Phoenix.HabboHotel.Users.UserDataManagement;using Phoenix.HabboHotel.Support;using Phoenix.Messages;using Phoenix.Util;using Phoenix.HabboHotel.Users;using Phoenix.Net;using Phoenix.HabboHotel.Users.Authenticator;using Phoenix.Storage;namespace Phoenix.HabboHotel.GameClients{    internal sealed class GameClient    {        private uint uint_0;        private GClass1 gclass1_0;        private GameClientMessageHandler class17_0;        private Habbo Habbo;        public bool bool_0;        internal bool bool_1 false;        private bool bool_2 false;        public uint UInt32_0        {            get            {                return this.uint_0;            }        }        public bool Boolean_0        {            get            {                return this.Habbo != null;            }        }        public GameClient(uint uint_1ref GClass1 gclass1_1)        {            this.uint_0 uint_1;            this.gclass1_0 gclass1_1;        }        public GClass1 GetConnection()        {            return this.gclass1_0;        }        public GameClientMessageHandler method_1()        {            return this.class17_0;        }        public Habbo GetHabbo()        {            return this.Habbo;        }        public void method_3()        {            if (this.gclass1_0 != null)            {                this.bool_0 true;                GClass1.GDelegate0 gdelegate0_ = new GClass1.GDelegate0(this.method_13);                this.gclass1_0.method_0(gdelegate0_);            }        }        internal void method_4()        {            this.class17_0 = new GameClientMessageHandler(this);        }        internal ServerMessage method_5()        {            return Phoenix.GetGame().GetNavigator().method_12(this, -3);        }        internal void method_6(string string_0)        {            try            {                UserDataFactory   [MENTION=437263]clas[/MENTION]= new UserDataFactory(string_0this.GetConnection().String_0true);                if (this.GetConnection().String_0 == "127.0.0.1" &&    [MENTION=437263]clas[/MENTION]s.Boolean_0)                {                   [MENTION=437263]clas[/MENTION]= new UserDataFactory(string_0"::1"true);                }                if (   [MENTION=437263]clas[/MENTION]s.Boolean_0)                {                    Console.ForegroundColor ConsoleColor.Red;                    string str "";                    if (Class13.Boolean_2)                    {                        str PhoenixEnvironment.smethod_1("emu_sso_wrong_secure") + "(" this.GetConnection().String_0 ")";                    }                    ServerMessage gClass = new ServerMessage(161u);                    gClass.AppendStringWithBreak(PhoenixEnvironment.smethod_1("emu_sso_wrong") + str);                    this.GetConnection().SendMessage(gClass);                    Console.ForegroundColor ConsoleColor.Gray;                    this.method_12();                    return;                }                Habbo class2 Class59.smethod_0(string_0this,   [MENTION=437263]clas[/MENTION]s,   [MENTION=437263]clas[/MENTION]s);                Phoenix.GetGame().GetClientManager().method_25(class2.Id);                this.Habbo class2;                this.Habbo.method_2   [MENTION=437263]clas[/MENTION]s);                string a;                using (DatabaseClient class3 Phoenix.GetDatabase().GetClient())                {                    class3.ReadString("SELECT ip_last FROM users WHERE id = " this.GetHabbo().Id " LIMIT 1;");                }                this.Habbo.bool_0 = (this.GetConnection().String_0 == Phoenix.string_5 || == Phoenix.string_5);                if (this.Habbo.bool_0)                {                    this.Habbo.uint_1 = (uint)Phoenix.GetGame().GetRoleManager().method_9();                    this.Habbo.bool_14 true;                }            }            catch (Exception ex)            {                this.SendNotif("Login error: " ex.Message);                //Logging.LogException(ex.ToString());                this.method_12();                return;            }            try            {                Phoenix.GetGame().GetBanManager().method_1(this);            }            catch (ModerationBanException gException)            {                this.method_7(gException.Message);                this.method_12();                return;            }            ServerMessage gClass2 = new ServerMessage(2u);            if (this.GetHabbo().bool_14 || Class13.Boolean_3)            {                gClass2.AppendInt32(2);            }            else            {                if (this.GetHabbo().method_20().method_2("habbo_club"))                {                    gClass2.AppendInt32(1);                }                else                {                    gClass2.AppendInt32(0);                }            }            if (this.GetHabbo().HasFuse("acc_anyroomowner"))            {                gClass2.AppendInt32(7);            }            else            {                if (this.GetHabbo().HasFuse("acc_anyroomrights"))                {                    gClass2.AppendInt32(5);                }                else                {                    if (this.GetHabbo().HasFuse("acc_supporttool"))                    {                        gClass2.AppendInt32(4);                    }                    else                    {                        if (this.GetHabbo().bool_14 || Class13.Boolean_3 || this.GetHabbo().method_20().method_2("habbo_club"))                        {                            gClass2.AppendInt32(2);                        }                        else                        {                            gClass2.AppendInt32(0);                        }                    }                }            }            this.method_14(gClass2);
                
    this.method_14(this.GetHabbo().method_24().method_6());
                
    ServerMessage gClass3 = new ServerMessage(290u);            gClass3.AppendBoolean(true);            gClass3.AppendBoolean(false);            this.method_14(gClass3);
                
    ServerMessage gclass5_ = new ServerMessage(3u);            this.method_14(gclass5_);
                if (
    this.GetHabbo().HasFuse("acc_supporttool"))            {                // Permissions bugfix by [Shorty]
                    //this.GetHabbo().bool_0 = true;                //this.GetHabbo().bool_14 = true;                //this.method_2().uint_1 = (uint)Phoenix.GetGame().method_4().method_9();
                    
    this.method_14(Phoenix.GetGame().GetModerationTool().method_0());                Phoenix.GetGame().GetModerationTool().method_4(this);            }            
                
    ServerMessage Logging = new ServerMessage(517u);            Logging.AppendBoolean(true);            this.method_14(Logging);            if (Phoenix.GetGame().GetPixelManager().method_2(this))            {                Phoenix.GetGame().GetPixelManager().method_3(this);            }            ServerMessage gClass5 = new ServerMessage(455u);            gClass5.AppendUInt(this.GetHabbo().uint_4);            this.method_14(gClass5);            ServerMessage gClass6 = new ServerMessage(458u);            gClass6.AppendInt32(30);            gClass6.AppendInt32(this.GetHabbo().list_1.Count);            foreach (uint current in this.GetHabbo().list_1)            {                gClass6.AppendUInt(current);            }            this.method_14(gClass6);            if (this.GetHabbo().int_15 8294400)            {                Phoenix.GetGame().GetAchievementManager().method_3(this16u10);            }            else            {                if (this.GetHabbo().int_15 4147200)                {                    Phoenix.GetGame().GetAchievementManager().method_3(this16u9);                }                else                {                    if (this.GetHabbo().int_15 2073600)                    {                        Phoenix.GetGame().GetAchievementManager().method_3(this16u8);                    }                    else                    {                        if (this.GetHabbo().int_15 1036800)                        {                            Phoenix.GetGame().GetAchievementManager().method_3(this16u7);                        }                        else                        {                            if (this.GetHabbo().int_15 518400)                            {                                Phoenix.GetGame().GetAchievementManager().method_3(this16u6);                            }                            else                            {                                if (this.GetHabbo().int_15 172800)                                {                                    Phoenix.GetGame().GetAchievementManager().method_3(this16u5);                                }                                else                                {                                    if (this.GetHabbo().int_15 57600)                                    {                                        Phoenix.GetGame().GetAchievementManager().method_3(this16u4);                                    }                                    else                                    {                                        if (this.GetHabbo().int_15 28800)                                        {                                            Phoenix.GetGame().GetAchievementManager().method_3(this16u3);                                        }                                        else                                        {                                            if (this.GetHabbo().int_15 10800)                                            {                                                Phoenix.GetGame().GetAchievementManager().method_3(this16u2);                                            }                                            else                                            {                                                if (this.GetHabbo().int_15 3600)                                                {                                                    Phoenix.GetGame().GetAchievementManager().method_3(this16u1);                                                }                                            }                                        }                                    }                                }                            }                        }                    }                }            }            if (Class13.String_4 != "")            {                this.SendNotif(Class13.String_42);            }            for (uint num = (uint)Phoenix.GetGame().GetRoleManager().method_9(); num 1unum -= 1u)            {                if (Phoenix.GetGame().GetRoleManager().method_8(num).Length 0)                {                    if (!this.GetHabbo().method_22().method_1(Phoenix.GetGame().GetRoleManager().method_8(num)) && this.GetHabbo().uint_1 == num)                    {                        this.GetHabbo().method_22().method_2(thisPhoenix.GetGame().GetRoleManager().method_8(num), true);                    }                    else                    {                        if (this.GetHabbo().method_22().method_1(Phoenix.GetGame().GetRoleManager().method_8(num)) && this.GetHabbo().uint_1 num)                        {                            this.GetHabbo().method_22().method_6(Phoenix.GetGame().GetRoleManager().method_8(num));                        }                    }                }            }            if (this.GetHabbo().method_20().method_2("habbo_club") && !this.GetHabbo().method_22().method_1("HC1"))            {                this.GetHabbo().method_22().method_2(this"HC1"true);            }            else            {                if (!this.GetHabbo().method_20().method_2("habbo_club") && this.GetHabbo().method_22().method_1("HC1"))                {                    this.GetHabbo().method_22().method_6("HC1");                }            }            if (this.GetHabbo().bool_14 && !this.GetHabbo().method_22().method_1("VIP"))            {                this.GetHabbo().method_22().method_2(this"VIP"true);            }            else            {                if (!this.GetHabbo().bool_14 && this.GetHabbo().method_22().method_1("VIP"))                {                    this.GetHabbo().method_22().method_6("VIP");                }            }            if (this.GetHabbo().CurrentQuestId 0u)            {                Phoenix.GetGame().GetQuestManager().method_7(this.GetHabbo().CurrentQuestIdthis);            }            if (!Regex.IsMatch(this.GetHabbo().Username"^[-a-zA-Z0-9._:,]+$"))            {                ServerMessage gclass5_2 = new ServerMessage(573u);                this.method_14(gclass5_2);            }            this.GetHabbo().string_4 Phoenix.smethod_7(this.GetHabbo().string_4);            DataTable dataTable null;            using (DatabaseClient class3 Phoenix.GetDatabase().GetClient())            {                dataTable class3.ReadDataTable("SELECT achievement,achlevel FROM achievements_owed WHERE user = '" this.GetHabbo().Id "'");            }            if (dataTable != null)            {                foreach (DataRow dataRow in dataTable.Rows)                {                    Phoenix.GetGame().GetAchievementManager().method_3(this, (uint)dataRow["achievement"], (int)dataRow["achlevel"]);                    using (DatabaseClient class3 Phoenix.GetDatabase().GetClient())                    {                        class3.ExecuteQuery(string.Concat(new object[]                        {                            "DELETE FROM achievements_owed WHERE achievement = '",                            (uint)dataRow["achievement"],                            "' AND user = '",                            this.GetHabbo().Id,                            "' LIMIT 1"                        }));                    }                }            }        }        public void method_7(string string_0)        {            ServerMessage gClass = new ServerMessage(35u);            gClass.AppendStringWithBreak("A moderator has kicked you from the hotel:"13);            gClass.AppendStringWithBreak(string_0);            this.method_14(gClass);        }        public void SendNotif(string Message)        {            this.SendNotif(Message0);        }        public void SendNotif(string string_0int int_0)        {            ServerMessage nMessage = new ServerMessage();            switch (int_0)            {            case 0:                nMessage.Init(161u);                break;            case 1:                nMessage.Init(139u);                break;            case 2:                nMessage.Init(810u);                nMessage.AppendUInt(1u);                break;            default:                nMessage.Init(161u);                break;            }            nMessage.AppendStringWithBreak(string_0);            this.GetConnection().SendMessage(nMessage);        }        public void method_10(string string_0string string_1)        {            ServerMessage gClass = new ServerMessage(161u);            gClass.AppendStringWithBreak(string_0);            gClass.AppendStringWithBreak(string_1);            this.GetConnection().SendMessage(gClass);        }        public void method_11()        {            if (this.gclass1_0 != null)            {                this.gclass1_0.Dispose();                this.gclass1_0 null;            }            if (this.GetHabbo() != null)            {                this.Habbo.method_9();                this.Habbo null;            }            if (this.method_1() != null)            {                this.class17_0.Destroy();                this.class17_0 null;            }        }        public void method_12()        {            if (!this.bool_2)            {                Phoenix.GetGame().GetClientManager().method_9(this.uint_0);                this.bool_2 true;            }        }        public void method_13(ref byte[] byte_0)        {            if (byte_0[0] == 64)            {                int i 0;                while (byte_0.Length)                {                    try                    {                        int num Base64Encoding.DecodeInt32(new byte[]                        {                            byte_0[i++],                            byte_0[i++],                            byte_0[i++]                        });                        uint uint_ Base64Encoding.DecodeUInt32(new byte[]                        {                            byte_0[i++],                            byte_0[i++]                        });                        byte[] array = new byte[num 2];                        for (int j 0< array.Lengthj++)                        {                            array[j] = byte_0[i++];                        }                        if (this.class17_0 == null)                        {                            this.method_4();                        }                        ClientMessage   [MENTION=437263]clas[/MENTION]= new ClientMessage(uint_, array);                        if    [MENTION=437263]clas[/MENTION]!= null)                        {                            try                            {                                if (int.Parse(Phoenix.GetConfig().data["debug"]) == 1)                                {                                    Logging.WriteLine(string.Concat(new object[]                                    {                                        "[",                                        this.UInt32_0,                                        "] --> [",                                       [MENTION=437263]clas[/MENTION]s.Id,                                        "] ",                                       [MENTION=437263]clas[/MENTION]s.Header,                                       [MENTION=437263]clas[/MENTION]s.GetBody()                                    }));                                }                            }                            catch                            {                            }                            Interface   [MENTION=134358]interface[/MENTION];                            if (Phoenix.smethod_10().Handle   [MENTION=437263]clas[/MENTION]s.Idout   [MENTION=134358]interface[/MENTION]))                            {                               [MENTION=134358]interface[/MENTION].imethod_0(this,   [MENTION=437263]clas[/MENTION]s);                            }                        }                    }                    catch (Exception ex)                    {                        Logging.LogException("Error: " ex.ToString());                        this.method_12();                    }                }            }            else            {                if (true)//Class13.Boolean_7)                {                    this.gclass1_0.method_4(CrossdomainPolicy.GetXmlPolicy());                    this.gclass1_0.Dispose();                }            }        }        public void method_14(ServerMessage gclass5_0)        {            if (gclass5_0 != null && this.GetConnection() != null)            {                this.GetConnection().SendMessage(gclass5_0);            }        }    }} 


    The SSOTicketMessageEvent.cs

    PHP Code:
    using System;using Phoenix.Core;using Phoenix.HabboHotel.GameClients;using Phoenix.Messages;using Phoenix.Storage;namespace Phoenix.Communication.Messages.Handshake{    internal sealed class SSOTicketMessageEvent : Interface    {        public void imethod_0(GameClient class16_0ClientMessage class18_0)        {            if (class16_0.GetHabbo() == null)            {                class16_0.method_6(class18_0.PopFixedString());                if (class16_0.GetHabbo() != null && class16_0.GetHabbo().list_2 != null && class16_0.GetHabbo().list_2.Count 0)                {                    using (DatabaseClient   [MENTION=437263]clas[/MENTION]Phoenix.GetDatabase().GetClient())                    {                        try                        {                            ServerMessage gClass = new ServerMessage(420u);                            gClass.AppendInt32(class16_0.GetHabbo().list_2.Count);                            foreach (uint current in class16_0.GetHabbo().list_2)                            {                                string string_ =   [MENTION=437263]clas[/MENTION]s.ReadString("SELECT username FROM users WHERE id = " current " LIMIT 1;");                                gClass.AppendStringWithBreak(string_);                            }                            class16_0.method_14(gClass);                        }                        catch                        {                            Console.ForegroundColor ConsoleColor.Red;                            Logging.WriteLine("Login error: User is ignoring a user that no longer exists");                            Console.ForegroundColor ConsoleColor.Gray;                        }
                        }                }            }        }    }} 




    Can you help me?
    Add me on skype:
    Or leave a comment.
    Last edited by J0kerz; 12-06-14 at 10:50 PM. Reason: no skype




Advertisement