Beach Shower Fix 100% UberEmu

Results 1 to 12 of 12
  1. #1
    Grand Master wichard is offline
    Grand MasterRank
    Jul 2009 Join Date
    The NetherlandsLocation
    649Posts

    Beach Shower Fix 100% UberEmu

    Search for: (Room.cs)
    Code:
    public bool KeepAlive;
    After that paste: (Room.cs)
    Code:
    public List<uint> ShowerCase;
    Search for: (Room.cs)
    Code:
    this.UserMatrix = new bool[Model.MapSizeX, Model.MapSizeY];
    After that paste: (Room.cs)
    Code:
    this.ShowerCase = new List<uint>();
    Search for: (Room.cs)
    Code:
                if (ItemsOnSquare == null)
                {
                    ItemsOnSquare = new List<RoomItem>();
    After that paste:
    Code:
                    if (this.ShowerCase.Contains(User.HabboId))
                    {
                        lock (User.GetClient().GetHabbo().CurrentRoom.Items)
                        {
                            foreach (RoomItem Item in User.GetClient().GetHabbo().CurrentRoom.Items)
                            {
                                if (Item.GetBaseItem().InteractionType.ToLower() == "shower")
                                {
                                    Item.ExtraData = "0";
                                    Item.UpdateState(false, true);
                                }
                            }
                        }
                        ShowerCase.Remove(User.HabboId);
                    }
    Search for: (Room.cs)
    Code:
                    if (Item.GetBaseItem().InteractionType.ToLower() == "bed")
                    {
                        if (!User.Statusses.ContainsKey("lay"))
                        {User.Statusses.Add("lay", Item.GetBaseItem().Height.ToString().Replace(',', '.') + " null");}
    
                        User.Z = Item.Z;
                        User.RotHead = Item.Rot;
                        User.RotBody = Item.Rot;
    
                        User.UpdateNeeded = true;
    
                    }
    After that paste: (Room.cs) (Code not from me)
    Code:
                    else if (Item.GetBaseItem().InteractionType.ToLower() == "shower")
                    {
                        Item.ExtraData = "1";
                        Item.UpdateState(false, true);
                        ShowerCase.Add(User.HabboId);
                    }
    Add this interaction to your mysql -> Furniture

    Code:
    shower
    99% Credits to me 1% to another one who coded the last C# code!


  2. #2
    Sorcerer Supreme academic is offline
    Member +Rank
    Jun 2010 Join Date
    AustraliaLocation
    484Posts

    Re: Beach Shower Fix 100% UberEmu

    thanks br0, adding this to my edit of uber. :)

    EDIT: Doesn't work, after adding
    Code:
                    if (this.ShowerCase.Contains(User.HabboId))
                    {
                        lock (User.GetClient().GetHabbo().CurrentRoom.Items)
                        {
                            foreach (RoomItem Item in User.GetClient().GetHabbo().CurrentRoom.Items)
                            {
                                if (Item.GetBaseItem().InteractionType.ToLower() == "shower")
                                {
                                    Item.ExtraData = "0";
                                    Item.UpdateState(false, true);
                                }
                            }
                        }
                        ShowerCase.Remove(User.HabboId);
                    }
    It says that User isn't in the context or w.e. It's probz my edit, idk.
    Last edited by academic; 29-09-10 at 10:14 AM.

  3. #3
    Banned Beny. is offline
    BannedRank
    Aug 2009 Join Date
    536Posts

    Re: Beach Shower Fix 100% UberEmu

    Ok, So what does it look like ???

  4. #4
    Member Elienay is offline
    MemberRank
    Dec 2008 Join Date
    78Posts

    Re: Beach Shower Fix 100% UberEmu

    It's not 100% if you come out of the shower it disables (AT HABBO ORIGINAL)
    in your code the shower doesn't disable.

  5. #5
    Grand Master wichard is offline
    Grand MasterRank
    Jul 2009 Join Date
    The NetherlandsLocation
    649Posts

    Re: Beach Shower Fix 100% UberEmu

    People, paste the codes in the right things..

    It works 100%

    when u on it, it activate

    when you move out it disactivate

  6. #6
    Grand Master Milw0rm is offline
    Grand MasterRank
    Jul 2007 Join Date
    660Posts

    Re: Beach Shower Fix 100% UberEmu

    Doesnt work, i get that User is not found in it when i add the same code that ACADEMiC posted here.

  7. #7

    me ridez bykes

    Sean is offline

    LegendRank
    Jun 2007 Join Date
    JerseyLocation
    4,096Posts

    Re: Beach Shower Fix 100% UberEmu

    This is nice, but post a screenie please :)

  8. #8
    Im Back! PythoneX12 is offline
    Grand MasterRank
    Sep 2010 Join Date
    634Posts

    Re: Beach Shower Fix 100% UberEmu

    Nice but like sean said add some screenies!

  9. #9

    Re: Beach Shower Fix 100% UberEmu

    Works! In Room.cs was 2 the self :D one working! :D

    problem :
    When a pet going in the shower crashed the emulator :D

    sry for my english i come fron germany

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

    Re: Beach Shower Fix 100% UberEmu

    lol, great work.

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

    Re: Beach Shower Fix 100% UberEmu

    I have it already with your uber edit :D but thanks!!

  12. #12
    Grand Master wichard is offline
    Grand MasterRank
    Jul 2009 Join Date
    The NetherlandsLocation
    649Posts

    Re: Beach Shower Fix 100% UberEmu

    its my code inside that edit.



Advertisement