Chris Miles
8d1a9efac9
[Zone] Zone State Improvements Part 3 ( #4773 )
...
* [Zone State] Additional improvements
* Return early
* Update zone_save_state.cpp
* Push
* Push
* Update zone.cpp
* Update zone_save_state.cpp
* Equip items that were dynamically added on restore
* IsZoneStateValid helper
* ZoneStateSpawnsRepository::PurgeInvalidZoneStates
* Add Zone:StateSaveClearDays and PurgeOldZoneStates
* spawn2 / unique_spawn block when restored from zone state
* One time purge
* Update zone_state_spawns_repository.h
* Update npc.cpp
* Update npc.cpp
* test
* ORDER BY spawn2_id
* Stuff
* Restored corpses shouldn't trigger events
* Fix weird edge case
2025-03-13 17:00:30 -05:00
Chris Miles
07d14c2681
[Crash] Fix crash in add loot code path ( #4745 )
2025-03-03 00:16:51 -06:00
Chris Miles
2f7ca2cdc8
[Zone] Implement Zone State Saving on Shutdown ( #4715 )
...
* Save spawns
* Update base_zone_state_spawns_repository.h
* Zone state save work
* Code cleanup
* More cleanup
* Database migration
* Update database_update_manifest.cpp
* Revert decay at storage model
* Code cleanup
* More cleanup
* More cleanup
* More cleanup
* Entity variables
* Add entity variables to the schema
* Post rebase
* Checkpoint
* Serialize / deserialize buffs
* Current hp / mana / end save / load
* Save / load current_waypoint
* Add zone spawn protection
* Finishing touches
* Cleanup
* Update zone_save_state.cpp
* Cleanup
* Update zone_save_state.cpp
* Update npc.cpp
* Update npc.cpp
* More
* Update perl_npc.cpp
* Update zone_loot.cpp
2025-02-28 15:31:06 -06:00
Akkadius
119151c0e3
[Hotfix] Delete later in RemoveItem second case
2025-01-25 14:04:57 -06:00
Chris Miles
b2f71f16fc
[Memory Leak] Fix leak in NPC::RemoveItem ( #4611 )
...
* [Memory Leak] Fix leak in NPC::RemoveItem
* Update loot.cpp
2025-01-24 03:10:06 -05:00
Alex King
1ed282f6ff
[Inventory] Add GetInventorySlots() Method ( #4566 )
...
* [Inventory] Add GetInventorySlots() Method
* Update client.cpp
* Push
2025-01-05 23:48:39 -06:00
Chris Miles
4215a3b9d6
[Loot] Consolidate filtering logic ( #4280 )
...
* [Loot] Consolidate filtering logic
* Log category
2024-04-20 21:17:38 -05:00
Chris Miles
0d09edf9aa
[Loot] Add content filtering to lootdrop_entries ( #4229 )
...
* [Loot] Add content filtering to lootdrop_entries
* Comment unnecessary
* We have two sections of this code for some reason
* Comments
* Fix versions
2024-04-15 05:26:38 -05:00
Chris Miles
96830b4a19
[Loot] Fix issue with nested data being loaded multiple times ( #4192 )
...
* [Loot] Fix issue with nested data being loaded multiple times
* Update zone_loot.cpp
* Fix #lootsim printout
* Update loot.cpp
2024-03-22 23:49:23 -05:00
Chris Miles
c654c1d674
[Loot] Remove from shared memory, simplification ( #3988 )
...
* First pass of pulling loot out of shared memory, functional
* More code cleanup
* More cleanup
* More cleanup
* More cleanup
* Add loot reload type
* Reload, logging
* Update npc.h
* Cleanup
* Logging, don't load attempt to load loottable id 0
* Update worldserver.cpp
* Update client.cpp
* Update zone_loot.cpp
* PR feedback
* Update zone.cpp
* Memory leak suggestion
* Update CMakeLists.txt
* Post rebase issues
2024-02-05 15:17:53 -06:00