ModernUO/Projects/UOContent/Engines
Kamron Batman d919f71149
fix: Fixes map iterators for Items (#1564)
### Summary

Modifying a ValueLinkList using one of the methods will bump the "version". This field is used by iterators (foreach loops) to determine if the link list was modified while iterating. The sector.Items (and in the future other lists), will no longer be safe to modify while iterating. The server will _CRASH_ if the ValueLinkList is modified.

Thanks to @stefanomerotta for help!


### Screenshots
<img width="588" alt="image" src="https://github.com/modernuo/ModernUO/assets/3953314/83ee0b6e-ff4f-4768-9e29-84456e04b1ec">
2023-10-26 17:49:15 -07:00
..
Bulk Orders fix: Codegens BulkOrderBooks (#1531) 2023-10-03 20:44:15 -07:00
CannedEvil fix: Fixes extension method refactors causing crash (#1529) 2023-10-02 22:24:16 -07:00
Chat feat: Adds a memory mirrored ring buffer for networking. (#1533) 2023-10-09 00:57:53 -07:00
ConPVP fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Craft fix: Changes Map.Sector.Items to link list. (#1547) 2023-10-16 20:51:02 -07:00
Doom fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Ethics fix: Changes Map.Sector.Items to link list. (#1547) 2023-10-16 20:51:02 -07:00
Events fix(core): Caches DateTime.NowUtc (#548) 2021-03-13 01:32:04 -08:00
Factions fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Harvest fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Help feat: Adds KR/EC client versions (No actual support yet). (#1506) 2023-09-18 23:53:18 -07:00
Khaldun fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
ML Quests fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Party fix: Fixes more packet initializations (#1507) 2023-09-19 00:02:17 -07:00
Pathing fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Plants fix: Cleans up FindItems and removes allocations (#1516) 2023-09-28 22:20:36 -07:00
Player Murder System fix: Fixes extension method refactors causing crash (#1529) 2023-10-02 22:24:16 -07:00
Quests fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Spawners fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Stealables fix: Cleans up entity persistence. Generalizes Mobiles/Items/Guilds (#1528) 2023-10-01 22:10:47 -07:00
Treasures of Tokuno fix: Codegens ToT and replaces persistence with config (#1524) 2023-09-30 02:09:28 -07:00
UltimaStore feat: Adds a memory mirrored ring buffer for networking. (#1533) 2023-10-09 00:57:53 -07:00
Veteran Rewards fix: Prepares for IPooledEnumerable removal (#1548) 2023-10-15 11:20:49 -07:00
Virtues fix: Fixes extension method refactors causing crash (#1529) 2023-10-02 22:24:16 -07:00