R63, Phoenix WIRED !!

Status
Not open for further replies.
Newbie Spellweaver
Joined
Sep 4, 2009
Messages
22
Reaction score
7
RZ hello, as you may know, the source of phoenix was released open source, but it has been encrypted by the Xenocode, so I worked on this source to rename the methods, the string, int and etc, I 'I finally managed to decrypt the interactor of WIRED! They may be wrong but knowing your ability to code, I think you shoe a better job than me :) you want to help me ? add me to msn : [email protected] (I'm french sorry for GoogleTranslate :/)

Without further ado, here are the Interactors:

internal class WiredFurniUser : FurniInteractor

PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class WiredFurniUser : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {
            bool flag;
            if (!UserHasRights)
            {
            }
        Label_0170:
            flag = (((uint) Convert.ToInt32(UserHasRights)) < 0) && (Session != null);
            if (4 != 0)
            {
                if (!flag)
                {
                    return;
                }
                while (true)
                {
                     Session.GetMessageHandler().GetResponse().Init(651); 
                    Session.GetMessageHandler().GetResponse().AppendInt32(0);
                    do
                    {
                        Session.GetMessageHandler().GetResponse().AppendInt32(5);
                    }
                    while ((((uint) Request) + ((uint) Convert.ToInt32(flag)) > uint.MaxValue));
                    if (Item.wired1.Length <= 0)
                    {
                        if (((uint) Convert.ToInt32(UserHasRights)) >= 0)
                        {
                            goto Label_0170;
                        }
                    }
                    else
                    {
                        Session.GetMessageHandler().GetResponse().AppendString(Item.wired1);
                        goto Label_0049;
                    }
                }
            }
            Session.GetMessageHandler().GetResponse().AppendInt32(0);
        Label_0049:
            Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
            Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
            Session.GetMessageHandler().GetResponse().AppendStringWithBreak("");
            Session.GetMessageHandler().GetResponse().AppendStringWithBreak("HPBHHH");
            Session.GetMessageHandler().SendResponse();
            while (0 != 0)
            {
            }
            if ((((uint) Request) & 0) == 0)
            {
                return;
            }
            goto Label_0049;
        }
    }
}

internal class wired_trg_onsay : FurniInteractor

PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class wired_trg_onsay : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {

            while (UserHasRights)
            {
                Session.GetMessageHandler().GetResponse().Init(650);
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                    Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
                    Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
                    Session.GetMessageHandler().GetResponse().AppendString(Item.wired1);
                    do
                    {
                        Session.GetMessageHandler().SendResponse();
                    }
            }
        }
    }
}

internal class wired_timer : FurniInteractor
PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class wired_timer : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {
            if (UserHasRights)
            {
                Session.GetMessageHandler().GetResponse().Init(650);
                do
                {
                    Session.GetMessageHandler().GetResponse().AppendInt32(0);
                    Session.GetMessageHandler().GetResponse().AppendInt32(5);
                    Session.GetMessageHandler().GetResponse().AppendInt32(0);
                        Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
                        Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
                        Session.GetMessageHandler().GetResponse().AppendStringWithBreak("");
                        Session.GetMessageHandler().GetResponse().AppendString("I");
                        if (Item.wired2.Length <= 0)
                        {
                            Session.GetMessageHandler().GetResponse().AppendString(Item.wired2);
                            break;
                        }
                    
                    Session.GetMessageHandler().GetResponse().AppendString("RB");
                }
                while (((uint) Request) < 0);
                Session.GetMessageHandler().GetResponse().AppendStringWithBreak("HRAH");
                Session.GetMessageHandler().SendResponse();
                Item.xa509e57cf28f9c6c(1);
            }
        }
    }
}

internal class wired_saymsg : FurniInteractor
PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class wired_saymsg : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {

            if (!UserHasRights)
            {
                return;
            }
        
                Session.GetMessageHandler().GetResponse().Init(0x28b);
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                if (((uint) Request) < 0)
                {
                    return;
                }
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
                Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
                Session.GetMessageHandler().GetResponse().AppendStringWithBreak(Item.wired1);
                Session.GetMessageHandler().GetResponse().AppendStringWithBreak("HHSAHH");
                Session.GetMessageHandler().SendResponse();
        }
    }
}

internal class wired_moverotate : FurniInteractor
PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class wired_moverotate : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {
            bool flag = UserHasRights;
            if (((uint) UserHasRights) <= uint.MaxValue)
            {
                if (!flag)
                {
                    return;
                }
                if (((Convert.ToInt32(flag)) + (Convert.ToInt32(flag))) <= uint.MaxValue)
                {
                    if (((Convert.ToInt32(flag)) + (Convert.ToInt32(flag))) >= 0)
                    {
                        goto Label_02B8;
                    }
                    goto Label_006D;
                }
                goto Label_02DF;
            }
        Label_0019:
            Session.GetMessageHandler().GetResponse().AppendInt32(0);
            if ((((uint) UserHasRights) + ((uint) UserHasRights)) < 0)
            {
                goto Label_0297;
            }
        Label_0046:
            Session.GetMessageHandler().GetResponse().AppendStringWithBreak("H");
            Session.GetMessageHandler().SendResponse();
            return;
        Label_006D:
            flag = Item.wired5.Length <= 0;
            if (flag)
            {
                goto Label_0019;
            }
            Session.GetMessageHandler().GetResponse().AppendInt32(Convert.ToInt32(Item.wired5));
            goto Label_0046;
        Label_01F4:
            Session.GetMessageHandler().GetResponse().AppendInt32(0);
        Label_0206:
            Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
            Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
            if (((Convert.ToInt32(flag)) + ((uint) Request)) < 0)
            {
                goto Label_02B8;
            }
        Label_0250:
            Session.GetMessageHandler().GetResponse().AppendStringWithBreak("");
            if (((Convert.ToInt32(flag)) & 0) == 0)
            {
            Label_018E:
                Session.GetMessageHandler().GetResponse().AppendString("J");
                flag = Item.wired1.Length <= 0;
                if (!flag)
                {
                    Session.GetMessageHandler().GetResponse().AppendInt32(Convert.ToInt32(Item.wired1));
                }
                else
                {
                    Session.GetMessageHandler().GetResponse().AppendInt32(0);
                    if (-1 == 0)
                    {
                        goto Label_0206;
                    }
                }
                flag = Item.wired2.Length <= 0;
                if (0 != 0)
                {
                    goto Label_02CD;
                }
                if (flag)
                {
                    Session.GetMessageHandler().GetResponse().AppendInt32(0);
                }
                else
                {
                    Session.GetMessageHandler().GetResponse().AppendInt32(Convert.ToInt32(Item.wired2));
                    if (((Convert.ToInt32(flag)) + ((uint) Request)) > uint.MaxValue)
                    {
                        return;
                    }
                }
                Session.GetMessageHandler().GetResponse().AppendString("HPA");
                if (((Convert.ToInt32(flag)) - (Convert.ToInt32(flag))) > uint.MaxValue)
                {
                    goto Label_0250;
                }
                if (((Convert.ToInt32(flag)) + ((uint) Request)) >= 0)
                {
                    if ((((uint) UserHasRights) | 0x80000000) != 0)
                    {
                        goto Label_006D;
                    }
                }
                else
                {
                    goto Label_018E;
                }
                goto Label_01F4;
            }
            goto Label_006D;
        Label_0297:
            Session.GetMessageHandler().GetResponse().AppendString(Item.wired4);
            goto Label_0206;
        Label_02B8:
            Session.GetMessageHandler().GetResponse().Init(0x28b);
        Label_02CD:
            Session.GetMessageHandler().GetResponse().AppendInt32(0);
        Label_02DF:
            Session.GetMessageHandler().GetResponse().AppendInt32(5);
            flag = Item.wired4.Length <= 0;
            if (!flag)
            {
                goto Label_0297;
            }
            if (((Convert.ToInt32(flag)) + (Convert.ToInt32(flag))) >= 0)
            {
                goto Label_01F4;
            }
            goto Label_006D;
        }
    }
}


internal class wired_matchfurni : FurniInteractor

PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class wired_matchfurni : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {
            bool flag;
            if (!UserHasRights)
            {
            }
        Label_0139:
            flag = (0 != 0) && (Session != null);
        Label_0144:
            if (((((uint) UserHasRights) | 0xfffffffe) != 0) && flag)
            {
                Session.GetMessageHandler().GetResponse().Init(0x28b);
                if ((((uint) Request) | 8) == 0)
                {
                    goto Label_0144;
                }
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                if ((((uint) Request) + ((uint) Request)) >= 0)
                {
                    Session.GetMessageHandler().GetResponse().AppendInt32(5);
                }
                if (((Convert.ToInt32(flag)) + (Convert.ToInt32(flag))) >= 0)
                {
                    Session.GetMessageHandler().GetResponse().AppendInt32(0);
                    Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
                    Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
                    Session.GetMessageHandler().GetResponse().AppendStringWithBreak("");
                    Session.GetMessageHandler().GetResponse().AppendStringWithBreak("HHKHH");
                    Session.GetMessageHandler().SendResponse();
                }
                if (((uint) UserHasRights) < 0)
                {
                }
                goto Label_0139;
            }
        }
    }
}


internal class wired_givepoint : FurniInteractor

PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class wired_givepoint : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {
            bool flag = UserHasRights;
            if (((Convert.ToInt32(flag)) - ((uint) Request)) < 0)
            {
                goto Label_021B;
            }
            goto Label_0215;
        Label_007A:
            flag = Item.wired2.Length <= 0;
            if (((uint) UserHasRights) > uint.MaxValue)
            {
                goto Label_0215;
            }
            if (((((uint) Request) | 1) != 0) && flag)
            {
                Session.GetMessageHandler().GetResponse().AppendInt32(1);
            }
            else
            {
                Session.GetMessageHandler().GetResponse().AppendInt32(Convert.ToInt32(Item.wired2));
            }
            Session.GetMessageHandler().GetResponse().AppendStringWithBreak("HRAHH");
            Session.GetMessageHandler().SendResponse();
            if (((uint) Request) <= uint.MaxValue)
            {
                return;
            }
        Label_00BF:
            Session.GetMessageHandler().GetResponse().AppendString("QA");
            goto Label_007A;
        Label_0215:
            if (!flag)
            {
                return;
            }
        Label_021B:
            Session.GetMessageHandler().GetResponse().Init(0x28b);
            while (true)
            {
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                Session.GetMessageHandler().GetResponse().AppendInt32(5);
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
                if ((((uint) UserHasRights) & 0) == 0)
                {
                    Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
                    Session.GetMessageHandler().GetResponse().AppendStringWithBreak("");
                    Session.GetMessageHandler().GetResponse().AppendString("J");
                    while (true)
                    {
                        flag = Item.wired1.Length <= 0;
                        if (!flag)
                        {
                            do
                            {
                                Session.GetMessageHandler().GetResponse().AppendInt32(Convert.ToInt32(Item.wired1));
                            }
                            while ((((uint) UserHasRights) - ((uint) Request)) < 0);
                            goto Label_007A;
                        }
                        if (((Convert.ToInt32(flag)) | uint.MaxValue) != 0)
                        {
                            goto Label_00BF;
                        }
                    }
                }
            }
        }
    }
}


internal class wired_game : FurniInteractor


PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class wired_game : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {
            bool flag = UserHasRights;
                Session.GetMessageHandler().GetResponse().Init(650);
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
                Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
                Session.GetMessageHandler().GetResponse().AppendStringWithBreak("");
                Session.GetMessageHandler().GetResponse().AppendStringWithBreak("HHPBH");
                if (4 != 0)
                {
                    Session.GetMessageHandler().SendResponse();
                }
            }
        
    }
}

internal class wired_enterroom : FurniInteractor

PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class wired_enterroom : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {
            bool flag = UserHasRights;
            if (!flag)
            {
                return;
            }
        Label_00DD:
            Session.GetMessageHandler().GetResponse().Init(650);
            Session.GetMessageHandler().GetResponse().AppendInt32(0);
            if (((Convert.ToInt32(flag)) - ((uint) Request)) <= uint.MaxValue)
            {
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                if ((Convert.ToInt32(flag)) > uint.MaxValue)
                {
                    goto Label_00DD;
                }
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                if ((((uint) UserHasRights) + ((uint) UserHasRights)) < 0)
                {
                    goto Label_00DD;
                }
                Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
                Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
                Session.GetMessageHandler().GetResponse().AppendStringWithBreak(Item.wired1);
                Session.GetMessageHandler().GetResponse().AppendStringWithBreak("HHSAH");
            }
            Session.GetMessageHandler().SendResponse();
        }
    }
}


internal class wired_attime : FurniInteractor

PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class wired_attime : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {
            bool flag = UserHasRights;
            if ((((uint) Request) + ((uint) UserHasRights)) >= 0)
            {
                if (((((uint) Request) + (Convert.ToInt32(flag))) > uint.MaxValue) || !flag)
                {
                    return;
                }
                Session.GetMessageHandler().GetResponse().Init(650);
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                goto Label_0120;
            }
            return;
        Label_003E:
            Session.GetMessageHandler().GetResponse().AppendStringWithBreak("IKH");
            if (0x7fffffff != 0)
            {
                Session.GetMessageHandler().SendResponse();
                return;
            }
        Label_00E1:
            Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
            Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
            Session.GetMessageHandler().GetResponse().AppendStringWithBreak("");
            if (((uint) Request) <= uint.MaxValue)
            {
            }
            Session.GetMessageHandler().GetResponse().AppendString("I");
            flag = Item.wired2.Length <= 0;
            if ((0 != 0) || flag)
            {
                Session.GetMessageHandler().GetResponse().AppendString("I");
                goto Label_003E;
            }
            Session.GetMessageHandler().GetResponse().AppendString(Item.wired2);
            if (3 != 0)
            {
                if ((((uint) UserHasRights) + ((uint) Request)) < 0)
                {
                    return;
                }
                goto Label_003E;
            }
        Label_0120:
            Session.GetMessageHandler().GetResponse().AppendInt32(5);
            Session.GetMessageHandler().GetResponse().AppendInt32(0);
            goto Label_00E1;
        }
    }
}


internal class wired_atscore : FurniInteractor

PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class wired_atscore : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {
            if (!UserHasRights)
            {
                return;
            }
            Session.GetMessageHandler().GetResponse().Init(650);
            Session.GetMessageHandler().GetResponse().AppendInt32(0);
            Session.GetMessageHandler().GetResponse().AppendInt32(5);
            Session.GetMessageHandler().GetResponse().AppendInt32(0);
            Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
            Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
            Session.GetMessageHandler().GetResponse().AppendStringWithBreak("");
            Session.GetMessageHandler().GetResponse().AppendString("I");
            if (0 == 0)
            {
                UserHasRights = Item.wired2.Length <= 0;
            }
            else if ((Convert.ToInt32(flag)) > uint.MaxValue)
            {
                
                Session.GetMessageHandler().GetResponse().AppendStringWithBreak("HRBH");
            Session.GetMessageHandler().SendResponse();
            
            }
            if (!flag)
            {
                Session.GetMessageHandler().GetResponse().AppendString(Item.wired2);
                if ((((uint) UserHasRights) | 2) == 0)
                {
                    return;
                }
            }
            else
            {
                Session.GetMessageHandler().GetResponse().AppendString("PY");
            }
        
            
        }
    }
}


internal class Wired : FurniInteractor

PHP:
namespace Phoenix.HabboHotel.Items.Interactors
{
    using Phoenix.HabboHotel.GameClients;
    using Phoenix.HabboHotel.Items;
    using System;

    internal class Wired : FurniInteractor
    {
        public override void OnPlace(GameClient Session, RoomItem Item)
        {
        }

        public override void OnRemove(GameClient Session, RoomItem Item)
        {
        }

        public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
        {
                if (!UserHasRights)
                {
                    return;
                }

                Session.GetMessageHandler().GetResponse().Init(651); 
                
                Session.GetMessageHandler().GetResponse().AppendInt32(0);
                Session.GetMessageHandler().GetResponse().AppendInt32(5);
                if (((uint) Request) < 0)
                {
                    return;
                }
                    Session.GetMessageHandler().GetResponse().AppendInt32(1);
                    Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
                    Session.GetMessageHandler().GetResponse().AppendInt32(Item.GetBaseItem().SpriteId);
                    Session.GetMessageHandler().GetResponse().AppendRawUInt(Item.Id);
                    Session.GetMessageHandler().SendResponse();
        }
    }
}


I'll update the thread when i'll decrypt a much of the source :).

Update, i've decrypt an other room wired :

PHP:
public void FurniState(RoomUser User, RoomItem Item)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem current;
                bool flag;
                goto Label_002A;
            Label_0010:
                this.Message(User, current, Convert.ToString(Item.Id));
                goto Label_002A;
            Label_0026:
                if (!flag)
                {
                    goto Label_0010;
                }
            Label_002A:
                if (enumerator.MoveNext())
                {
                    current = enumerator.Current;
                    flag = !(current.GetBaseItem().InteractionType.ToLower() == "wf_trg_furnistate");
                    if (((Convert.ToInt32(flag)) + (Convert.ToInt32(flag))) <= uint.MaxValue)
                    {
                        goto Label_0026;
                    }
                    goto Label_0010;
                }
            }
        }


---------- Post added at 05:23 AM ---------- Previous post was at 05:04 AM ----------

A New (Again, i know ^^)

PHP:
public void Time(double Clock)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Item;
                Item = enumerator.Current;
                if (Item.GetBaseItem().InteractionType.ToLower() == "wf_trg_attime");
                {
                    this.Message(null, Item, "AtTime");
                }
                
            }
        }


---------- Post added at 05:26 AM ---------- Previous post was at 05:23 AM ----------

A new (AGAIN :?:)

PHP:
public void GameStart(RoomUser User)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Item;
            Label_001E:
                if (Item.GetBaseItem().InteractionType.ToLower() == "wf_trg_gamestart")
                {
                    this.Message(User, Item, "GameBegun");
                }
                if (enumerator.MoveNext())
                {
                    Item = enumerator.Current;
                }
                return;
            }
        }


---------- Post added at 05:31 AM ---------- Previous post was at 05:26 AM ----------

A New (xP)

PHP:
public void WiredScore(int Score)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Item;
                if (Item.GetBaseItem().InteractionType.ToLower() == "wf_trg_atscore")
                {
                    this.Message(null, Item, "TheScore");
                }
                return;
                if (enumerator.MoveNext())
                {
                    Item = enumerator.Current;
                }
            
            }
        }


---------- Post added at 05:33 AM ---------- Previous post was at 05:31 AM ----------

A New (-_-)
PHP:
public void WalOffFurni(RoomUser USer, RoomItem Item)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Items;
                if (enumerator.MoveNext())
                {
                    Items = enumerator.Current;
                }
                if (Items.GetBaseItem().InteractionType.ToLower() == "wf_trg_offfurni")
                {
                    this.Message(USer, Items, Convert.ToString(Item.Id));
                }
            }
        }


---------- Post added at 05:40 AM ---------- Previous post was at 05:33 AM ----------

If someone can help me to a void.... Go [email protected]..

---------- Post added at 05:44 AM ---------- Previous post was at 05:40 AM ----------

A New (Again where is the end :( ?)
PHP:
 public bool OnSay(RoomUser User, string Message)
        {
            bool flag = false;
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Item;
                if (enumerator.MoveNext())
                {
                    Item = enumerator.Current;
                }
                if (((Convert.ToInt32(flag)) - ((uint)flag3)) <= uint.MaxValue)
                {
                    return flag;
                }
                if (Item.GetBaseItem().InteractionType.ToLower() == "wf_trg_onsay")
                {
                    this.Message(User, Item, Message);
                }
            }
        }


---------- Post added at 06:12 AM ---------- Previous post was at 05:44 AM ----------

I think that Only Toperwin, PeJump or cappo' can done a correct code of the wired..
 
Last edited:
Tr0ll add me to messenger, we must talk about the source, you can help me, and i can help you :) and quackster, thanx but i know, it's translate to Hex :P
 
wy479, my codes don't work LOL ! You must have the message/room.cs code and more ! but i have a BIG probleme a principal void wasn't dessambled and so we are lost without this code :X
 
Tr0ll add me to messenger, we must talk about the source, you can help me, and i can help you :) and quackster, thanx but i know, it's translate to Hex :P

I can still see more of the same '0x28b' which is the byte for 651. Further down I see more classes which need changing to 651 :P
 
Oh ! i've forgot i've this too :

PHP:
public void WalkOnFurni(RoomUser Users, RoomItem Item)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem current = enumerator.Current;
                while (current.GetBaseItem().InteractionType.ToLower() == "wf_trg_onfurni")
                {
                    this.Message(Users, current, Convert.ToString(Item.Id));
                }
            }
        }

        public void GameEnd()
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem current = enumerator.Current;
                if (current.GetBaseItem().InteractionType.ToLower() == "wf_trg_gameend")
                {
                    this.Message(null, current, "GameEnded");
                }
            }
        }
 
Hmmm.. This probably, need of one SQL ..

@OffTopic

This is one code for code or this is already coded ?
 
It's really stupid ^ ^ before you sit to read, I took an open source emulator and phoenix, I started looking into the file storage I look at the voids that I like and rename xD !

---------- Post added at 03:57 AM ---------- Previous post was at 03:54 AM ----------

Add this code too, i've just decrypt now^^ :

PHP:
public void OnEnterRoom(RoomUser User)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Item;
                bool flag;
            Label_0010:
                flag = enumerator.MoveNext();
                if (flag)
                {
                    goto Label_008E;
                }
                return;
            Label_0023:
                if (((Convert.ToInt32(flag)) + (Convert.ToInt32(flag))) >= 0)
                {
                    flag = !(Item.GetBaseItem().InteractionType.ToLower() == "wf_trg_enterroom");
                    goto Label_006C;
                }
            Label_005C:
                this.Message(User, Item, "");
                goto Label_0010;
            Label_006C:
                if (!flag)
                {
                    goto Label_005C;
                }
                if (((Convert.ToInt32(flag)) | 0x7fffffff) == 0)
                {
                }
                goto Label_0010;
            Label_008E:
                Item = enumerator.Current;
                goto Label_0023;
            }
        }
 
Update, i've decrypt an other room wired :

PHP:
public void FurniState(RoomUser User, RoomItem Item)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem current;
                bool flag;
                goto Label_002A;
            Label_0010:
                this.Message(User, current, Convert.ToString(Item.Id));
                goto Label_002A;
            Label_0026:
                if (!flag)
                {
                    goto Label_0010;
                }
            Label_002A:
                if (enumerator.MoveNext())
                {
                    current = enumerator.Current;
                    flag = !(current.GetBaseItem().InteractionType.ToLower() == "wf_trg_furnistate");
                    if (((Convert.ToInt32(flag)) + (Convert.ToInt32(flag))) <= uint.MaxValue)
                    {
                        goto Label_0026;
                    }
                    goto Label_0010;
                }
            }
        }


---------- Post added at 05:23 AM ---------- Previous post was at 05:04 AM ----------

A New (Again, i know ^^)

PHP:
public void Time(double Clock)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Item;
                Item = enumerator.Current;
                if (Item.GetBaseItem().InteractionType.ToLower() == "wf_trg_attime");
                {
                    this.Message(null, Item, "AtTime");
                }
                
            }
        }


---------- Post added at 05:26 AM ---------- Previous post was at 05:23 AM ----------

A new (AGAIN :?:)

PHP:
public void GameStart(RoomUser User)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Item;
            Label_001E:
                if (Item.GetBaseItem().InteractionType.ToLower() == "wf_trg_gamestart")
                {
                    this.Message(User, Item, "GameBegun");
                }
                if (enumerator.MoveNext())
                {
                    Item = enumerator.Current;
                }
                return;
            }
        }


---------- Post added at 05:31 AM ---------- Previous post was at 05:26 AM ----------

A New (xP)

PHP:
public void WiredScore(int Score)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Item;
                if (Item.GetBaseItem().InteractionType.ToLower() == "wf_trg_atscore")
                {
                    this.Message(null, Item, "TheScore");
                }
                return;
                if (enumerator.MoveNext())
                {
                    Item = enumerator.Current;
                }
            
            }
        }


---------- Post added at 05:33 AM ---------- Previous post was at 05:31 AM ----------

A New (-_-)
PHP:
public void WalOffFurni(RoomUser USer, RoomItem Item)
        {
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Items;
                if (enumerator.MoveNext())
                {
                    Items = enumerator.Current;
                }
                if (Items.GetBaseItem().InteractionType.ToLower() == "wf_trg_offfurni")
                {
                    this.Message(USer, Items, Convert.ToString(Item.Id));
                }
            }
        }


---------- Post added at 05:40 AM ---------- Previous post was at 05:33 AM ----------

If someone can help me to a void.... Go [email protected]..

---------- Post added at 05:44 AM ---------- Previous post was at 05:40 AM ----------

A New (Again where is the end :( ?)
PHP:
 public bool OnSay(RoomUser User, string Message)
        {
            bool flag = false;
            using (List<RoomItem>.Enumerator enumerator = this.WiredTrigger.GetEnumerator())
            {
                RoomItem Item;
                if (enumerator.MoveNext())
                {
                    Item = enumerator.Current;
                }
                if (((Convert.ToInt32(flag)) - ((uint)flag3)) <= uint.MaxValue)
                {
                    return flag;
                }
                if (Item.GetBaseItem().InteractionType.ToLower() == "wf_trg_onsay")
                {
                    this.Message(User, Item, Message);
                }
            }
        }


---------- Post added at 06:12 AM ---------- Previous post was at 05:44 AM ----------

I think that Only Toperwin, PeJump or cappo' can done a correct code of the wired..
 
Hi All Ragezone!... :P

I come to Kekomundo...

I saw this post and I stop for see them...

For me.. this part of the wired, doesn't have any significate, any function...

If we like to fix the wired, we do to start wired fix 0 %...

So I don't find any function on this code, in the furniinteractor do the panels, (packets of panel wired) and the sql consult...

Sorry for my bad english...

Bye!
 
Yeah, i'm french and i'm agree with you :), i havent find the sql consult but i've see that a void is obsfucated... So without this void we can't find the panel etc, now it's my opinion..
 
Why don't you decrypt the entire emu and release it? :)

Although this is pretty epic.

It's waste of time to decrypt a useless reflection.

---------- Post added at 12:03 AM ---------- Previous post was at 12:01 AM ----------

Btw, the most of all those voids, Are also use less.

Code:
if(!flag)

Lol'd, But succes.
 
I have found a new Void but

xff68059df4bb1ca6(User.X, User.Y);

isn't dessassembled...

PHP:
public void PressurePad(RoomUser User)
        {
            List<RoomItem> list = this.xff68059df4bb1ca6(User.X, User.Y);
            using (List<RoomItem>.Enumerator enumerator = list.GetEnumerator())
            {
                RoomItem ItemWalked;
                if (enumerator.MoveNext())
                {
                    ItemWalked = enumerator.Current;
                    this.WalkOffFurni(User, ItemWalked);
                    if (ItemWalked.GetBaseItem().InteractionType.ToLower() == "pressure_pad")
                    {
                        ItemWalked.ExtraData = "0";
                        ItemWalked.UpdateState(false, true);
                    }
                }
                this.UserMatrix[User.X, User.Y] = 1;
            }
        }
 
If someone can said me what this internal means..

PHP:
internal RoomUser xeab70a99df7c7f20(int x08db3aeabb253cb1, int x1e218ceaee1bb583)
        {
            // This item is obfuscated and can not be translated.
            int num;
            bool flag = 
                if (this.UserList == null)
                {
                    return null;
                }
                num = 0;

                if (num < this.UserList.Length)
                {
                    RoomUser User = this.UserList[num];
                    if (User != null)
                    {
                        if (User.X != x08db3aeabb253cb1)
                        {
                                return User;
                        }
                        goto Label_0049;
                    }
                    if ((((uint)x08db3aeabb253cb1) & 0) != 0)
                    {
                        RoomUser xeccac2;
                        return xeccac2;
                    }
                    goto Label_001B;
                
                goto Label_0013;
            }
            num++;
            
        }

I need to decrypt this for wired.
 
Status
Not open for further replies.
Back