ModernUO/Projects/Server/Items
Kamron Batman d3fdb180b3
fix: Fixes searching multis/clients. Adds missing map enumeration tests (#2278)
> [!IMPORTANT]
> **Dev Note:** This is an **important** patch as the bug could lead to major issues like:
> * Multis/Players disappearing from view or not being counted during game logic.
> * World processes (e.g., area checks, targeting) failing to detect entities correctly.
> * General stability and correctness concerns for core map functionality.
>
> **Important Breaking Change**: Multis now properly use the map link list. This means modifying a multi while iterating will cause the server to crash. The crash _is expected_. Please modify/fix code accordingly to create a list using `PooledRefQueue` or `PooledRefList` instead of moving/deleting multis while inside the foreach.

### Summary

* Fixes a bug where deleting/moving a multi (boat/house) in some circumstances can use undefined behavior due to unsafe changes to List<BaseMulti>
* Fixes a bug where Multis may not be considered while searching due to a bug causing the sector search to end early.
2025-11-27 11:59:47 -08:00
..
BaseMulti.cs fix: Fixes issue with duping items and serialization, and sector lists. (#1662) 2024-01-23 23:08:52 -08:00
Container.cs fix: Eliminates List allocations in various places. (#2158) 2025-11-16 18:33:53 -08:00
Containers.cs fix: Fixes dropping gold/bank checks in a bank box when it is full (#2044) 2025-01-01 16:47:32 -08:00
Item.cs fix: Moves container enumerables to Item. (#2238) 2025-07-24 14:26:35 -07:00
Item.Enumerable.cs fix: Moves container enumerables to Item. (#2238) 2025-07-24 14:26:35 -07:00
ItemBounds.cs feat: Adds item graphic size to Bounds.bin and makes item graphic offset available to gumps (#2115) 2025-02-10 19:31:39 -08:00
Layer.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
LightType.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
SecureTradeContainer.cs fix: Cleans up core code (#1187) 2022-10-10 21:47:08 -07:00
VirtualCheck.cs feat: Moves gumps out of the core (#1916) 2024-08-09 19:07:32 -07:00
VirtualHair.cs feat: Adds PlayerDeathEvent and CreatureDeathEvent using code generated events (#1927) 2024-09-05 21:23:03 -07:00