PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

Page 6 of 9 FirstFirst 123456789 LastLast
Results 76 to 90 of 121
  1. #76
    Account Upgraded | Title Enabled! Joe Richardson is offline
    MemberRank
    Feb 2013 Join Date
    485Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Quote Originally Posted by Krako Bobbaz View Post
    Hey,
    I fixed three commands on this emu => roomfreeze / convertshells & convertpixels (about those two Meik2010 you forget to define method_20 and 21 in the inventorycomponent.cs)
    Let me know if you want I share my things.
    Yes, could you share that please, thanks alot.

  2. #77
    Enthusiast Krako Bobbaz is offline
    MemberRank
    Sep 2012 Join Date
    30Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    To add roomfreeze / convertpixels and convertshell commands :

    In RoleManager.cs :

    Under that :
    Code:
    	if (Phoenix.smethod_3(dataRow["cmd_roomalert"].ToString()))
    					{
    						list.Add("cmd_roomalert");
    					}
    Add : Be carefull there is two lines in the file with this same expression, you have to add the folowing one in the two parts.
    Code:
    if (Phoenix.smethod_3(dataRow["cmd_roomfreeze"].ToString()))
                        {
                            list.Add("cmd_roomfreeze");
                        }
    Under that :
    Code:
    this.dictionary_4.Add("getoff", 82);
    Add :
    Code:
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_roomfreeze_name"), 84);
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeempixel_name"), 87);
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeemshell_name"), 88);
    In LicenseTools.cs :

    Under that :
    Code:
    private static bool bool_14 = false;
    Add :
    Code:
    private static bool bool_25 = false;
    private static bool bool_26 = false;
    Then under that :
    Code:
    public static bool Boolean_0
    		{
    			get
    			{
    				return LicenseTools.bool_14;
    			}
    			set
    			{
    				LicenseTools.bool_14 = value;
    			}
    		}
    Add :
    Code:
    public static bool Boolean_15
            {
                get
                {
                    return LicenseTools.bool_25;
                }
                set
                {
                    LicenseTools.bool_25 = value;
                }
            }
                    public static bool Boolean_16
            {
                get
                {
                    return LicenseTools.bool_26;
                }
                set
                {
                    LicenseTools.bool_26 = value;
                }
            }
    In Game.cs
    Under that :
    Code:
    	LicenseTools.Boolean_0 = Phoenix.smethod_3(dataRow["enable_cmd_redeemcredits"].ToString());
    Add :
    Code:
    LicenseTools.Boolean_15 = Phoenix.smethod_3(dataRow["enable_cmd_redeempixels"].ToString());
                LicenseTools.Boolean_16 = Phoenix.smethod_3(dataRow["enable_cmd_redeemshells"].ToString());
    In ChatCommandHandler.cs

    Under That :
    Code:
    	if (Session.GetHabbo().HasFuse("cmd_roomalert"))
    									{
    										text7 = text7 + PhoenixEnvironment.smethod_1("cmd_roomalert_desc") + "\r\r";
    									}
    Add :
    Code:
       if (Session.GetHabbo().HasFuse("cmd_roomfreeze"))
                                        {
                                            text7 = text7 + PhoenixEnvironment.smethod_1("cmd_roomfreeze_desc") + "\r\r";
                                        }
    Then, under that :
    Code:
    	string text8 = "";
    									if (LicenseTools.Boolean_0)
    									{
    										text8 = text8 + PhoenixEnvironment.smethod_1("cmd_redeemcreds_desc") + "\r\r";
    									}
    Add :
    Code:
     string text11 = "";
                                        if (LicenseTools.Boolean_15)
                                        {
                                            text11 = text11 + PhoenixEnvironment.smethod_1("cmd_redeempixel_desc") + "\r\r";
                                        }    
                                        string text12 = "";
                                        if (LicenseTools.Boolean_16)
                                        {
                                            text12 = text12 + PhoenixEnvironment.smethod_1("cmd_redeemshell_desc") + "\r\r";
                                        }
    Then, under that :
    Code:
    case 83:
    									Session.GetHabbo().method_23().method_2();
    									Session.SendNotif(PhoenixEnvironment.smethod_1("cmd_emptypets_success"));
    									Phoenix.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
    									return true;
    Add :
    Code:
    case 84:
                                        if (!Session.GetHabbo().HasFuse("cmd_roomfreeze"))
                                            return false;
                                        Room room12 = Phoenix.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
                                        if (room12 == null)
                                            return false;
                                        for (int index = 0; index < room12.RoomUser_0.Length; ++index)
                                        {
                                            RoomUser roomUser2 = room12.RoomUser_0[index];
                                            if (roomUser2 != null)
                                                roomUser2.bool_5 = !roomUser2.bool_5;
                                        }
                                        return true;
    
                                    case 87:
                                        if (!LicenseTools.Boolean_3)
                                        {
                                            Session.GetHabbo().method_28("Impossible pendant un echange!");
                                            return true;
                                        }
                                        else
                                        {
                                            if (LicenseTools.Boolean_15)
                                            {
                                                Session.GetHabbo().method_23().method_20(Session);
                                            }
                                            else
                                            {
                                                Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
                                            }
                                                return true;
                                        }
    
    
    
                                    case 88:
                                        if (!LicenseTools.Boolean_3)
                                        {
                                            Session.GetHabbo().method_28("Impossible pendant un echange!");
                                            return true;
                                        }
                                        else
                                        {
                                            if (LicenseTools.Boolean_16)
                                            {
                                                Session.GetHabbo().method_23().method_21(Session);
                                            }
                                            else
                                            {
                                                Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
                                            }
                                                return true;
                                        }
    Finally in InventoryComponent.cs

    You have to replace the two last } } of the file by :

    Code:
     public void method_20(GameClient class16_1)
            {
                int num1 = 0;
                List<UserItem> list = new List<UserItem>();
                foreach (UserItem userItem in this.list_0)
                {
                    if (userItem != null && userItem.method_1().Name.StartsWith("PixEx_"))
                    {
                        int num2 = int.Parse(userItem.method_1().Name.Split(new char[1]
              {
                '_'
              })[1]);
                        if (!this.list_1.Contains(userItem.uint_0))
                        {
                            if (num2 > 0)
                                num1 += num2;
                            list.Add(userItem);
                        }
                    }
                }
                foreach (UserItem userItem in list)
                    this.method_12(userItem.uint_0, 0U, false);
                class16_1.GetHabbo().ActivityPoints += num1;
                class16_1.GetHabbo().method_15(true);
                class16_1.SendNotif("Tout les lingots de ton inventaire ont ete transformes en " + (object)num1 + " Pixels!");
            }
    
            public void method_21(GameClient class16_1)
            {
                int num1 = 0;
                List<UserItem> list = new List<UserItem>();
                foreach (UserItem userItem in this.list_0)
                {
                    if (userItem != null && userItem.method_1().Name.StartsWith("PntEx_"))
                    {
                        int num2 = int.Parse(userItem.method_1().Name.Split(new char[1]
              {
                '_'
              })[1]);
                        if (!this.list_1.Contains(userItem.uint_0))
                        {
                            if (num2 > 0)
                                num1 += num2;
                            list.Add(userItem);
                        }
                    }
                }
                foreach (UserItem userItem in list)
                    this.method_12(userItem.uint_0, 0U, false);
                class16_1.GetHabbo().VipPoints += num1;
                class16_1.GetHabbo().method_14(false, true);
                class16_1.SendNotif("Tout les lingots de ton inventaire ont ete transformes en " + (object)num1 + " coquillages!");
            }
        }
    }
    Sorry for the presentation of the things but it's functionnal that is the point.
    Then of course you will have to add the column correspunding to roomfreeze in the permissions tables and convershells/pixels in server_settings, if you need my sql table i'll give you.
    Last edited by Krako Bobbaz; 22-01-14 at 10:16 PM.

  3. #78
    Account Upgraded | Title Enabled! Joe Richardson is offline
    MemberRank
    Feb 2013 Join Date
    485Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Quote Originally Posted by Krako Bobbaz View Post
    To add roomfreeze / convertpixels and convertshell commands :

    In RoleManager.cs :

    Under that :
    Code:
        if (Phoenix.smethod_3(dataRow["cmd_roomalert"].ToString()))
                        {
                            list.Add("cmd_roomalert");
                        }
    Add : Be carefull there is two lines in the file with this same expression, you have to add the folowing one in the two parts.
    Code:
    if (Phoenix.smethod_3(dataRow["cmd_roomfreeze"].ToString()))
                        {
                            list.Add("cmd_roomfreeze");
                        }
    Under that :
    Code:
    this.dictionary_4.Add("getoff", 82);
    Add :
    Code:
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_roomfreeze_name"), 84);
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeempixel_name"), 87);
    this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeemshell_name"), 88);
    In LicenseTools.cs :

    Under that :
    Code:
    private static bool bool_14 = false;
    Add :
    Code:
    private static bool bool_25 = false;
    private static bool bool_26 = false;
    Then under that :
    Code:
    public static bool Boolean_0
            {
                get
                {
                    return LicenseTools.bool_14;
                }
                set
                {
                    LicenseTools.bool_14 = value;
                }
            }
    Add :
    Code:
    public static bool Boolean_15
            {
                get
                {
                    return LicenseTools.bool_25;
                }
                set
                {
                    LicenseTools.bool_25 = value;
                }
            }
                    public static bool Boolean_16
            {
                get
                {
                    return LicenseTools.bool_26;
                }
                set
                {
                    LicenseTools.bool_26 = value;
                }
            }
    In Game.cs
    Under that :
    Code:
        LicenseTools.Boolean_0 = Phoenix.smethod_3(dataRow["enable_cmd_redeemcredits"].ToString());
    Add :
    Code:
    LicenseTools.Boolean_15 = Phoenix.smethod_3(dataRow["enable_cmd_redeempixels"].ToString());
                LicenseTools.Boolean_16 = Phoenix.smethod_3(dataRow["enable_cmd_redeemshells"].ToString());
    In ChatCommandHandler.cs

    Under That :
    Code:
        if (Session.GetHabbo().HasFuse("cmd_roomalert"))
                                        {
                                            text7 = text7 + PhoenixEnvironment.smethod_1("cmd_roomalert_desc") + "\r\r";
                                        }
    Add :
    Code:
       if (Session.GetHabbo().HasFuse("cmd_roomfreeze"))
                                        {
                                            text7 = text7 + PhoenixEnvironment.smethod_1("cmd_roomfreeze_desc") + "\r\r";
                                        }
    Then, under that :
    Code:
        string text8 = "";
                                        if (LicenseTools.Boolean_0)
                                        {
                                            text8 = text8 + PhoenixEnvironment.smethod_1("cmd_redeemcreds_desc") + "\r\r";
                                        }
    Add :
    Code:
     string text11 = "";
                                        if (LicenseTools.Boolean_15)
                                        {
                                            text11 = text11 + PhoenixEnvironment.smethod_1("cmd_redeempixel_desc") + "\r\r";
                                        }    
                                        string text12 = "";
                                        if (LicenseTools.Boolean_16)
                                        {
                                            text12 = text12 + PhoenixEnvironment.smethod_1("cmd_redeemshell_desc") + "\r\r";
                                        }
    Then, under that :
    Code:
    case 83:
                                        Session.GetHabbo().method_23().method_2();
                                        Session.SendNotif(PhoenixEnvironment.smethod_1("cmd_emptypets_success"));
                                        Phoenix.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
                                        return true;
    Add :
    Code:
    case 84:
                                        if (!Session.GetHabbo().HasFuse("cmd_roomfreeze"))
                                            return false;
                                        Room room12 = Phoenix.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
                                        if (room12 == null)
                                            return false;
                                        for (int index = 0; index < room12.RoomUser_0.Length; ++index)
                                        {
                                            RoomUser roomUser2 = room12.RoomUser_0[index];
                                            if (roomUser2 != null)
                                                roomUser2.bool_5 = !roomUser2.bool_5;
                                        }
                                        return true;
    
                                    case 87:
                                        if (!LicenseTools.Boolean_3)
                                        {
                                            Session.GetHabbo().method_28("Impossible pendant un echange!");
                                            return true;
                                        }
                                        else
                                        {
                                            if (LicenseTools.Boolean_15)
                                            {
                                                Session.GetHabbo().method_23().method_20(Session);
                                            }
                                            else
                                            {
                                                Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
                                            }
                                                return true;
                                        }
    
    
    
                                    case 88:
                                        if (!LicenseTools.Boolean_3)
                                        {
                                            Session.GetHabbo().method_28("Impossible pendant un echange!");
                                            return true;
                                        }
                                        else
                                        {
                                            if (LicenseTools.Boolean_16)
                                            {
                                                Session.GetHabbo().method_23().method_21(Session);
                                            }
                                            else
                                            {
                                                Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
                                            }
                                                return true;
                                        }
    Finally in InventoryComponent.cs

    You have to replace the two last } } of the file by :

    Code:
     public void method_20(GameClient class16_1)
            {
                int num1 = 0;
                List<UserItem> list = new List<UserItem>();
                foreach (UserItem userItem in this.list_0)
                {
                    if (userItem != null && userItem.method_1().Name.StartsWith("PixEx_"))
                    {
                        int num2 = int.Parse(userItem.method_1().Name.Split(new char[1]
              {
                '_'
              })[1]);
                        if (!this.list_1.Contains(userItem.uint_0))
                        {
                            if (num2 > 0)
                                num1 += num2;
                            list.Add(userItem);
                        }
                    }
                }
                foreach (UserItem userItem in list)
                    this.method_12(userItem.uint_0, 0U, false);
                class16_1.GetHabbo().ActivityPoints += num1;
                class16_1.GetHabbo().method_15(true);
                class16_1.SendNotif("Tout les lingots de ton inventaire ont ete transformes en " + (object)num1 + " Pixels!");
            }
    
            public void method_21(GameClient class16_1)
            {
                int num1 = 0;
                List<UserItem> list = new List<UserItem>();
                foreach (UserItem userItem in this.list_0)
                {
                    if (userItem != null && userItem.method_1().Name.StartsWith("PntEx_"))
                    {
                        int num2 = int.Parse(userItem.method_1().Name.Split(new char[1]
              {
                '_'
              })[1]);
                        if (!this.list_1.Contains(userItem.uint_0))
                        {
                            if (num2 > 0)
                                num1 += num2;
                            list.Add(userItem);
                        }
                    }
                }
                foreach (UserItem userItem in list)
                    this.method_12(userItem.uint_0, 0U, false);
                class16_1.GetHabbo().VipPoints += num1;
                class16_1.GetHabbo().method_14(false, true);
                class16_1.SendNotif("Tout les lingots de ton inventaire ont ete transformes en " + (object)num1 + " coquillages!");
            }
        }
    }
    Sorry for the presentation of the things but it's functionnal that is the point.
    Then of course you will have to add the column correspunding to roomfreeze in the permissions tables and convershells/pixels in server_settings, if you need my sql table i'll give you.
    I don't have the actual emulator, and i can't download it. Could you provide me with the emulator and sqls. If so, you'd be amazing, thanks

  4. #79
    Enthusiast Krako Bobbaz is offline
    MemberRank
    Sep 2012 Join Date
    30Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Oh really, the file has been removed... I guess i still have the original version somewhere, about the sql if you used the imagician version before, you don't need any updates. I will send you a PM with a dowload link in a few minutes.

  5. #80
    Enthusiast Krako Bobbaz is offline
    MemberRank
    Sep 2012 Join Date
    30Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    I'm now trying to add roompolls, it is not than hard since i've found a uber source for, just to adapt :D

  6. #81
    is it me or is it just .. duckietm is offline
    MemberRank
    Oct 2010 Join Date
    339Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    does that contain the Trax as well ? can we have a copy :)

  7. #82
    Alpha Member Twan is offline
    MemberRank
    Jun 2010 Join Date
    1,961Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Links are down ;(

  8. #83
    Member ruflesbpt is offline
    MemberRank
    Jun 2011 Join Date
    live:ajdaudioLocation
    70Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Download disponible in: http://agehotel.com.br/phx3.11.rar password: ragezone_agehotel123

    Open Source ... NOT EDIT... Source original by topic




    Please fixes and updates in Skype:

    live:ajdaudio
    Last edited by ruflesbpt; 24-01-14 at 12:33 AM.

  9. #84
    Planning Stuff Since 2013 Vrop93 is offline
    MemberRank
    Jan 2012 Join Date
    Grocery StoreLocation
    320Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Cheers, Dude!
    Good to see someone is developing on that source. Love the commands, good job!!

  10. #85
    Apprentice Aoon is offline
    MemberRank
    Jun 2013 Join Date
    GermanyLocation
    24Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Links down.. Please reupload!

  11. #86
    Member ruflesbpt is offline
    MemberRank
    Jun 2011 Join Date
    live:ajdaudioLocation
    70Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Quote Originally Posted by Aoon View Post
    Links down.. Please reupload!

    Download disponible in: http://agehotel.com.br/phx3.11.rar password: ragezone_agehotel123

    Open Source ... NOT EDIT... Source original by topic




    Please fixes and updates in Skype:

    live:ajdaudio

  12. #87
    is it me or is it just .. duckietm is offline
    MemberRank
    Oct 2010 Join Date
    339Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Who knows hot to fix error :

    GameClients\GameClient.cs:line 449
    Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.

  13. #88
    Apprentice iBaBBo is offline
    MemberRank
    Mar 2012 Join Date
    GermanyLocation
    19Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    http://wubbohotel.com/3.11.0.rar - down.
    Please reupload!

  14. #89
    Sean told me to come back Late3 is offline
    MemberRank
    Jul 2007 Join Date
    United KingdomLocation
    1,205Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Does Dance, Rave, Roll, Makesay, Sitdown still not work?

  15. #90
    Apprentice StaffJunior is offline
    MemberRank
    Dec 2013 Join Date
    13Posts

    Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More

    Quote Originally Posted by Late3 View Post
    Does Dance, Rave, Roll, Makesay, Sitdown still not work?
    its work.

    Hehe i fix the pathfinder bug with the lay and sit problem on rooms with stairs.
    http://prntscr.com/2mwavo

    I fixed the Socket error, too.



Advertisement