1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Enhanced Client HouseFoundation Stairs Problem

Discussion in 'Archived Bug Reports' started by argalep, Feb 14, 2017.

  1. argalep
    Offline

    argalep Active Member

    Joined:
    Aug 18, 2014
    Messages:
    428
    Likes Received:
    25
    The stairs at the entrance to the house do not appear :)

    ScreenHunter_63 Feb. 14 16.06.png
     
  2. Dexter_Lexia
    Online

    Moderator ServUO Developer

    Joined:
    Jul 3, 2014
    Messages:
    1,257
    Likes Received:
    72
    I saw that too. Was waiting for a EC bug report topic. I have found a few bugs.
     
  3. Maicom Stoppa
    Offline

    Maicom Stoppa Member

    Joined:
    Jun 17, 2014
    Messages:
    61
    Likes Received:
    1
    Funny. Here they are shown. I just have this bug when customizing (but I found several bugs related to customize, even on CC). I'll make a post when I have the chance.
     
  4. Dexter_Lexia
    Online

    Moderator ServUO Developer

    Joined:
    Jul 3, 2014
    Messages:
    1,257
    Likes Received:
    72
    When you change the foundation style, it will then appear.
     
    • Like Like x 1
    • Thanks! Thanks! x 1
  5. Dexter_Lexia
    Online

    Moderator ServUO Developer

    Joined:
    Jul 3, 2014
    Messages:
    1,257
    Likes Received:
    72
    It's weird. Moving a house, while in EC, does not update. You see the sign and signpost(which are items) move, but not the actual house(which is a multi). I'm pretty sure that boats update properly.
     
  6. argalep
    Offline

    argalep Active Member

    Joined:
    Aug 18, 2014
    Messages:
    428
    Likes Received:
    25
    I checked justuo repo. No such problem is found. There is a place missing
    --- Double Post Merged, Feb 22, 2017 ---
    HouseFoundation.cs change

    Code (C#):
    1. public HouseFoundation(Mobile owner, int multiID, int maxLockdowns, int maxSecures)
    2.             : base(multiID, owner, maxLockdowns, maxSecures)
    3.         {
    4.             this.m_SignpostGraphic = 9;
    5.  
    6.             this.m_Fixtures = new List<Item>();
    7.  
    8.             int x = this.Components.Min.X;
    9.             int y = this.Components.Height - 1 - this.Components.Center.Y;
    10.  
    11.             this.m_SignHanger = new Static(0xB98);
    12.             this.m_SignHanger.MoveToWorld(new Point3D(this.X + x, this.Y + y, this.Z + 7), this.Map);
    13.  
    14.             this.CheckSignpost();
    15.  
    16.             this.SetSign(x, y, 7);
    17.  
    18.             NetState ns = owner.NetState;
    19.             if (ns.IsEnhancedClient)
    20.             {
    21.                 Timer.DelayCall(TimeSpan.Zero, ECEndConfirmCommit, owner);
    22.             }
    23.         }

    add

    Code (C#):
    1. public void ECEndConfirmCommit(Mobile from)
    2.         {
    3.             if (this.Deleted)
    4.                 return;
    5.  
    6.  
    7.             // Commit design state : Construct a copy of the current design state
    8.             DesignState copyState = new DesignState(DesignState);
    9.  
    10.             // Commit design state : Clear visible fixtures
    11.             ClearFixtures(from);
    12.  
    13.             // Commit design state : Melt fixtures from constructed state
    14.             copyState.MeltFixtures();
    15.  
    16.             // Commit design state : Add melted fixtures from constructed state
    17.             AddFixtures(from, copyState.Fixtures);
    18.  
    19.             // Commit design state : Assign constructed state to foundation
    20.             CurrentState = copyState;
    21.  
    22.             //// Update house price
    23.             //Price = newPrice;
    24.  
    25.             // Remove design context
    26.             DesignContext.Remove(from);
    27.  
    28.             // Notify the client that customization has ended
    29.             from.Send(new EndHouseCustomization(this));
    30.  
    31.             // Notify the core that the foundation has changed and should be resent to all clients
    32.             Delta(ItemDelta.Update);
    33.             ProcessDelta();
    34.             CurrentState.SendDetailedInfoTo(from.NetState);
    35.  
    36.             // If a signpost is needed, add it
    37.             CheckSignpost();
    38.  
    39.             // Eject all from house
    40.             from.RevealingAction();
    41.  
    42.             foreach (Item item in GetItems())
    43.                 item.Location = BanLocation;
    44.  
    45.             foreach (Mobile mobile in GetMobiles())
    46.                 mobile.Location = BanLocation;
    47.  
    48.             // Restore relocated entities
    49.             RestoreRelocatedEntities();
    50.         }
    The problem is improving
     
  7. zerodowned
    Online

    Moderator ServUO Developer

    Joined:
    Jun 28, 2014
    Messages:
    1,350
    Likes Received:
    166
    that's my one and only instance of code that helped improve something on EC.
    was a pain to figure out, but it works and doesn't interfere with CC. of course it has a check if EC is being used or not but that's just to avoid unnecessary code from being called.
     
    • Two Thumbs Up Two Thumbs Up x 1
  8. argalep
    Offline

    argalep Active Member

    Joined:
    Aug 18, 2014
    Messages:
    428
    Likes Received:
    25
    ScreenHunter_89 Feb. 25 17.14.png

    * The screen is blue problem
    * The problem continues in old houses
     
  9. Dexter_Lexia
    Online

    Moderator ServUO Developer

    Joined:
    Jul 3, 2014
    Messages:
    1,257
    Likes Received:
    72
    Cast night site.
     
Similar Threads: Enhanced Client
Forum Title Date
Bug Reports Enhanced Client Issue Monday at 1:08 PM
3rd Party Support UO Enhanced Client Question Mar 30, 2017
Windows Support Enhanced Client and inventory Mar 2, 2017
Think Tank Modify Enhanced Client Feb 22, 2017
Bug Reports Being staff while using the Enhanced Client Feb 14, 2017
3rd Party Support question about enhanced client... Feb 10, 2017
3rd Party Support Now that Enhanced Client is supported looking for UOSALoader that works Feb 8, 2017