Chris Miles and Kinglykrab
30c39194a3
[Zone] Zone State Improvements (Continued) ( #4768 )
...
* [Zone] Zone State Improvements (Continued)
* Ignore a few events when we resume from suspend
* Add is_zone field
* Update database_update_manifest.cpp
* Update database_update_manifest.cpp
* Update database_update_manifest.cpp
* Update zone_save_state.cpp
* Update zone_save_state.cpp
* Add Zone Variables
* Update methods
* Update zone_save_state.cpp
* Update zone_save_state.cpp
---------
Co-authored-by: Kinglykrab <kinglykrab@gmail.com >
2025-03-11 01:14:09 -05:00
Chris Miles
da4e9ab95b
[Release] 23.3.0 ( #4766 )
2025-03-08 03:18:40 -06:00
Chris Miles
a8fea95eab
[Zone] State Save Improvements ( #4765 )
...
* [Zone] State saving improvements
* Make sure we load spawn enabled off of the state row
* Update npc.h
* Update spawn2.cpp
* Update database_instances.cpp
* Update database_instances.cpp
2025-03-08 03:15:42 -06:00
Chris Miles
0c301419c2
[Zone] Make zone controller less likely to be visible, immune to all forms of combat ( #4750 )
...
* [Zone] Make zone controller less likely to be visible, immune to all forms of combat
* Exclude zone controller from scanning
2025-03-06 17:08:08 -05:00
Akkadius
09e079a45e
[Hotfix] Forgot to push up some changes for test output
2025-03-04 17:18:02 -06:00
Chris Miles
4bc881da4b
[Tests] Cleanup Hand-in Tests ( #4749 )
2025-03-04 17:15:27 -06:00
Chris Miles
0615864d51
[Databuckets] Nested Databuckets Protections and Improvements ( #4748 )
...
* Check for valid JSON before using it
* Do not allow nested keys to set be set an expiration
* Prevent overwriting of existing object or array
* Nested deletion support
* Update data_bucket.cpp
* Test cases
* More test cases, fix
* Update databuckets.cpp
* Update databuckets.cpp
* Basic databucket tests
* Update databuckets.cpp
* Update databuckets.cpp
2025-03-04 13:16:21 -06:00
Akkadius
d41725e325
[Hotfix] Fix sigabort crash from invalid JSON
2025-03-03 01:47:34 -06:00
Akkadius
88580b69b6
[Hotfix] Remove one port check in world
2025-03-03 00:49:02 -06:00
Akkadius
f7a6fe595a
[Release] 23.2.0
2025-03-03 00:17:54 -06:00
Chris Miles
07d14c2681
[Crash] Fix crash in add loot code path ( #4745 )
2025-03-03 00:16:51 -06:00
Chris Miles
eac7a73fb6
[Crash] Potential crash fix in scan close mobs ( #4744 )
2025-03-03 00:16:42 -06:00
Chris Miles
c5715f1f14
[Crash] Fix Aura process crash with bots ( #4743 )
2025-03-03 00:13:00 -06:00
Chris Miles
3902230fa1
[Crash] Fix world repop crash ( #4742 )
2025-03-02 22:04:39 -08:00
Chris Miles
212969f5cd
[Crash] Database SetMutex crash fix ( #4741 )
2025-03-02 22:04:24 -08:00
Chris Miles
de4226fdc9
[World] Check if port in use to avoid double booting mistakes ( #4740 )
...
* Stuff
* Potentially fix aura crash
* Reload crash fix
* Revert "Reload crash fix"
This reverts commit 96e1e76306 .
* Fix
* Update entity.cpp
* Update dbcore.cpp
* [World] Check if port in use to avoid double booting mistakes
* Revert "Stuff"
This reverts commit 2162c00edd .
* Revert "Potentially fix aura crash"
This reverts commit 7c242723f4 .
* Revert "Fix"
This reverts commit 8419e284d4 .
* Revert "Update entity.cpp"
This reverts commit 8a1f4545a4 .
* Revert "Update dbcore.cpp"
This reverts commit f0278d9591 .
2025-03-02 22:04:03 -08:00
Chris Miles
2b79a36014
[Release] 23.1.0 ( #4736 )
...
* [Release] 23.1.0
* Version
* Pet table last minute add in
2025-03-01 19:23:50 -06:00
Akkadius
8cf52294e9
[Hotfix] Add character_pet_name to player tables schema
2025-03-01 18:56:38 -06:00
Chris Miles
0ef79903f8
[Crash] Validate item in SE_SummonItemIntoBag ( #4734 )
2025-03-01 18:32:43 -06:00
Chris Miles
ab14458f9e
[Crash] Fix large file size crash in File::GetContents for windows ( #4735 )
2025-03-01 18:32:35 -06:00
Chris Miles
5b94e736b3
[Crash] Fix reload concurrency crash when ran from Spire ( #4733 )
2025-03-01 18:05:28 -06:00
Chris Miles
c3b8cc9744
[Crash] Check for directory existence before traversing in CheckForCompatibleQuestPlugins ( #4730 )
2025-03-01 20:01:37 -04:00
Chris Miles
23c4aa241b
[Crash] World CLI validation ( #4728 )
...
* [Crash] World CLI validation
* Clean
2025-03-01 19:52:51 -04:00
Chris Miles
acb7584e26
[Loginserver] Minor cleanup ( #4729 )
2025-03-01 19:52:21 -04:00
Chris Miles
a885bd9322
[Crash] Fix filesystem crash / exception in DatabaseDumpService::RemoveCredentialsFile() ( #4731 )
2025-03-01 19:51:41 -04:00
Chris Miles
20fe1926e0
[Database] Remove force_interactive from big bag updates ( #4727 )
2025-03-01 16:55:57 -06:00
Chris Miles
eb7118754b
[Zone State] Wrap all serialization/deserialization in try/catch ( #4726 )
2025-03-01 16:46:08 -06:00
Chris Miles
eb6ac25540
[Code Cleanup] More login <-> world code cleanup ( #4724 )
...
* More cleanup
* More cleanup
2025-02-28 16:08:06 -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
Chris Miles
425d24c1f4
[Quest API] Implement eq.handin() and quest::handin() ( #4718 )
...
* [Quest API] Implement eq.handin() and quest::handin()
* Fix MQ using new API style
2025-02-28 15:22:39 -06:00
Akkadius
e2db8ffea8
[Hotfix] Clear m_completed_shared_tasks before reloading
2025-02-24 17:24:18 -06:00
Chris Miles
fa2ab11676
[Tasks] Extend IsTaskCompleted to also be aware of shared task completion ( #4714 )
...
* [Tasks] Extend IsTaskCompleted to also be aware of shared task completion
* Fix my stupidity
* Update client.h
2025-02-24 16:31:35 -06:00
Chris Miles
80e8634a48
[Release] 23.0.2 ( #4711 )
2025-02-21 23:18:29 -06:00
Akkadius
4d73b7d641
[Release] 23.0.1
2025-02-20 02:48:01 -06:00
Chris Miles
ed4f9b0d30
[Fix] Player event ordering merge fix ( #4699 )
2025-02-20 02:46:24 -06:00
Chris Miles
753d83c499
[Release] 23.0.0 ( #4698 )
...
* [Release] 23.0.0
* Update CHANGELOG.md
* Fix migration
2025-02-20 00:17:40 -06:00
Chris Miles
6ac846c003
[Fix] Fix issue with getting an unset nested databucket ( #4693 )
2025-02-19 13:28:02 -06:00
Chris Miles
44963f3f21
[Fix] #rq and #reload quest alias ( #4694 )
2025-02-18 13:28:07 -06:00
Chris Miles
9fd935ef10
[Fix] Prevent zone from loading ETL ID's on bootup ( #4696 )
2025-02-18 13:27:56 -06:00
Chris Miles
6f390c81f9
[Fix] Fix non-error in player_event_logs ( #4695 )
2025-02-18 13:27:43 -06:00
Chris Miles
1bd281c8f2
[Performance] Server Reload Overhaul ( #4689 )
...
* [Performance] Server Reload Overhaul
* Client::SendReloadCommandMessages
* Remove global buffs
2025-02-18 00:54:37 -06:00
Chris Miles
49cf97ae9c
[Databuckets] Add Zone Scoped Databuckets ( #4690 )
...
* [Databuckets] Add Zone Scoped Databuckets
* Add database indexes
* Update database_update_manifest.cpp
* Shutdown fix
* Testing
* Perf boost
* Revert "Perf boost"
This reverts commit 55d3e507d3 .
* Update data_bucket.cpp
2025-02-18 00:14:49 -06:00
Chris Miles
8201175c2c
[Fix] Item Handins to Pets ( #4687 )
...
* [Fix] Item handins to pets
* Update npc.cpp
2025-02-15 17:07:40 -06:00
Chris Miles
e88ea24966
[Fix] GMMove Update Edge Case With Clients ( #4686 )
...
* [Fix] GMMove with clients
* Exclude clients entirely for position update caching
2025-02-15 16:20:37 -06:00
Chris Miles
ac4ffefa09
[Crash] Fix raid/group crash regression ( #4671 )
2025-02-12 00:25:29 -05:00
Chris Miles
59292b15f6
[Loginserver] Fix iterator crash ( #4670 )
2025-02-11 21:22:56 -06:00
Chris Miles
843f6531a7
[Fix] Always spawn zone controller first ( #4669 )
2025-02-11 22:19:15 -05:00
Chris Miles
e0d95b4302
[NPC Handins] Fix MultiQuest Handins ( #4651 )
...
* [NPC Handins] Fix multi-quest handins
* Update linux-build.sh
2025-02-07 03:28:02 -06:00
Chris Miles
1a48add20e
[Loginserver] Modernize codebase ( #4647 )
...
* Beginning of cleanup
* More cleanup
* More cleanup
* Enc cleanup
* client manager cleanup
* client cleanup
* More cleanup
* More cleanup
* Cleanup
* More cleanup, account context, account management
* Remove positional fmt bindings
* Use LoginAccountContext
* Update loginserver_webserver.cpp
* Remove comments
* Port CreateLoginServerAccount to repositories
* More cleanup
* More cleanup
* More cleanup
* More cleanup
* Remove a ton of functions
* More cleanup
* More cleanup
* More cleanup
* Cleanup SendClientAuthToWorld
* Consolidate world server logic
* Update login_accounts_repository.h
* Update login_accounts_repository.h
* Move api tokens to repositories
* Cleanup options
* Move everything else to repositories
* Update account_management.cpp
* uint64 account
* Update login_schema.sql
* Fix
* Update world_server.cpp
* auto
2025-02-06 12:47:02 -06:00
Chris Miles
752ac78c56
[CI] Fix database race condition ( #4646 )
...
* [CI] Fix race condition
* Update linux-build.sh
* Update linux-build.sh
* Update linux-build.sh
* Update linux-build.sh
2025-02-05 19:29:16 -06:00
Akkadius
91a0e14509
[Hotfix] Fix CI since hand-ins are merged
2025-02-03 16:57:46 -06:00
Chris Miles
6fb919a16f
[Items] Overhaul Item Hand-in System ( #4593 )
...
* [Items] Overhaul Item Hand-in System
* Edge case lua fix
* Merge fix
* I'm going to be amazed if this works first try
* Update linux-build.sh
* Update linux-build.sh
* Update linux-build.sh
* Update linux-build.sh
* Update linux-build.sh
* Update linux-build.sh
* Update linux-build.sh
* Update linux-build.sh
* Add protections against scripts that hand back items themselves
* Remove EVENT_ITEM_ScriptStopReturn
* test
* Update npc_handins.cpp
* Add Items:AlwaysReturnHandins
* Update spdat.cpp
* Bypass update prompt on CI
2025-02-03 16:51:09 -06:00
Chris Miles
4fda3c045e
[Release] 22.62.2 ( #4633 )
2025-02-01 16:25:53 -06:00
Chris Miles
08c8e0d81f
[Performance] Significantly Improve Client Network Resends ( #4629 )
...
* [Performance] Significantly Improve Client Network Resends
* Update daybreak_connection.cpp
* Improve resend algorithm to be exact about when to resend
2025-01-31 22:23:08 -06:00
Chris Miles
c966f26ac1
[Release] 22.62.1 ( #4627 )
2025-01-27 16:36:51 -06:00
Akkadius
fe66c24352
Revert "[Memory Leak] Change raw pointer to unique_ptr to avoid potential leak in dbg stream ( #4616 )"
...
This reverts commit 1f3ac2dc4f .
2025-01-27 16:34:05 -06:00
Chris Miles
bdcded7d45
[Performance] Re-use OP_PlayerStateAdd packet memory ( #4626 )
2025-01-27 15:33:03 -06:00
Chris Miles
f939f25aa1
[Performance] Re-use OP_Damage packet memory ( #4625 )
2025-01-27 15:32:55 -06:00
Chris Miles
401f1038f3
[Performance] Re-use OP_SendFindableNPCs packet memory ( #4623 )
2025-01-27 15:32:48 -06:00
Chris Miles
95c6560e7c
[Performance] Re-use OP_HPUpdate packet memory ( #4622 )
2025-01-27 15:32:40 -06:00
Chris Miles
59f645b5c3
[Performance] Re-use OP_Animation packet ( #4621 )
2025-01-27 15:32:30 -06:00
Chris Miles
bbfed8300c
[Repop] Make #repop instant ( #4620 )
2025-01-27 15:32:22 -06:00
Chris Miles
07c762068f
[Performance] Re-use ClientUpdate packet memory ( #4619 )
2025-01-27 15:32:14 -06:00
Chris Miles
b7f94e8315
[Release] 22.62.0 ( #4617 )
2025-01-26 21:26:34 -06:00
Chris Miles
d1f368ab7f
[Databuckets] Implement Nested Databuckets ( #4604 )
...
* WIP
* Fixes
* Fin
* Update data_bucket.cpp
* Update data_bucket.cpp
* Cleanup
* Update data_bucket.cpp
* Update data_bucket.cpp
* NESTED_KEY_DELIMITER
2025-01-26 21:13:31 -06:00
Akkadius
119151c0e3
[Hotfix] Delete later in RemoveItem second case
2025-01-25 14:04:57 -06:00
Chris Miles
faa8a492f7
[Memory Leak] Fix leak in Client::RemoveDuplicateLore ( #4614 )
2025-01-24 13:22:58 -05:00
Chris Miles
2926b4df78
[Memory Leak] Fix memory leak in Client::Handle_OP_MoveMultipleItems ( #4613 )
...
* [Memory Leak] Fix memory leak in Client::Handle_OP_MoveMultipleItems
* Update client_packet.cpp
2025-01-24 02:59:08 -06:00
Chris Miles
986eda44aa
[Memory Leak] Fix leaks in Client::Handle_OP_AugmentItem ( #4612 )
...
* [Memory Leak] Fix leaks in Client::Handle_OP_AugmentItem
* Update client_packet.cpp
2025-01-24 02:58:58 -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
Chris Miles
861eac3660
[Memory Leak] Fix leak in QuestManager::varlink ( #4610 )
2025-01-24 02:56:22 -05:00
Chris Miles
a376bc4471
[Memory Leak] Fix leak in BuyTraderItemOutsideBazaar ( #4609 )
2025-01-24 02:56:15 -05:00
Chris Miles
0acad18067
[CLI] Add --skip-backup to world database:updates ( #4605 )
2025-01-21 19:11:58 -06:00
Akkadius
90c37390f1
[Hotfix] CLI help menu from parsing correctly in World
2025-01-21 18:48:02 -06:00
Akkadius
dba494cd8e
[Hotfix] Update database version to match manifest
2025-01-21 17:39:33 -06:00
Chris Miles
37ced4b003
[Databuckets] Add Account Scoped Databuckets ( #4603 )
...
* [Databuckets] Add Account Scoped Databuckets
* Add variation
* Fix Lua after testing
2025-01-21 16:06:18 -06:00
Chris Miles
d13c725a74
[Linux] Implement KSM Kernel Samepage Merging with Maps ( #4601 )
...
* KSM work
* Windows fixes
* Add KSM logging, cleanup
* Cleanup raycast logging
2025-01-21 15:50:20 -06:00
Chris Miles
25826c6686
[Performance] Client / NPC Position Update Optimizations ( #4602 )
...
* Zone optimizations
* More changes
* More
* Update entity.cpp
* Beautiful
* Amazing
* Feature flag all logic
* Broadcast to group
* Update mob.cpp
* Updates
* Update client.cpp
* Update client.cpp
* Add rule Zone:EnableEntityClipping
* Little bit of cleanup
* Don't send update to self while in group
* Remove visibility work and feature flags
* Cleanup
* Logging
* Improve CheckSendBulkNpcPositions
* No need to cast
* Field cleanup
* Build initial list on zone-in
2025-01-21 15:35:19 -06:00
Akkadius
1a27127c39
[Hotfix] Fix query error in character_evolving_items
2025-01-20 23:21:37 -06:00
Chris Miles and Kinglykrab
c82f1b9afc
[Zone] Implement zone player count sharding ( #4536 )
...
* [Zone] Implement zone player count sharding
* Update client.cpp
* Update database_instances.cpp
* You must request a shard change from the zone you are currently in.
* // zone sharding
* You cannot request a shard change while in combat.
* Query adjustment
* Use safe coords
* Changes
* Fixes to instance query
* Push
* Push
* Final push
* Update client.cpp
* Update eq_packet_structs.h
* Remove pick menu
* Comment
* Update character_data_repository.h
* Update zoning.cpp
---------
Co-authored-by: Kinglykrab <kinglykrab@gmail.com >
2025-01-08 17:41:16 -06:00
Chris Miles
03b30d5c7a
[Database] Change npc_types walkspeed to be of type float ( #4589 )
...
* [Database] Change npc_types walkspeed to be of type float
* Update database_update_manifest.cpp
2025-01-07 14:46:32 -05:00
Chris Miles
490cffb5ea
[Release] 22.61.0 ( #4587 )
2025-01-06 00:27:11 -06:00
Chris Miles
a3a498634f
[Maps] Fix broken Map MMFS implementation ( #4576 )
2025-01-05 23:48:09 -06:00
Chris Miles
c44596b38a
[Network] Prune / disconnect TCP connections gracefully ( #4574 )
2025-01-05 23:48:00 -06:00
Chris Miles
3155b82abb
[Command] Fix #copycharacter ( #4582 )
...
* [Command] Fix #copycharacter
* Update copy_character.cpp
2025-01-05 23:46:59 -06:00
Chris Miles
4c6aaa6995
[Logs] Improve Crash log defaults ( #4579 )
2025-01-05 23:46:43 -06:00
Chris Miles
8a7d5e72cb
[Filesystem] Path Manager Improvements ( #4557 )
...
* [Filesystem] Path Manager Improvements
* Update path_manager.cpp
* Use native fs path building syntax
2025-01-05 23:44:16 -06:00
Chris Miles
66a7dd0143
[Databuckets] Improved Reliability and Performance of Databuckets ( #4562 )
...
* [Databuckets] Don't broadcast client-scoped updates
* Remove temp feature flag
* Remove distributed caching, only cache for character scoped data, simplify
* Update bot.cpp
* Cleanup
* Update data_bucket.cpp
* Cleanup
* Cleanup
* Remove BulkLoadEntities from LoadNPCTypes
* Update data_bucket.cpp
* Cleanup
* More cleanup
* More cleanup
* BulkLoadEntities to BulkLoadEntitiesToCache
* Add CanCache in DeleteData to gate an unnecessary call
2024-12-12 01:17:08 -06:00
Chris Miles
630da0eee6
[Config] Fix World TCP Address Configuration Default ( #4551 )
2024-11-24 17:27:31 -06:00
Chris Miles
33f5c4c6a7
[Bug Fix] Fix issue where NPC's are being hidden as traders ( #4539 )
...
* [Fix] Fix issue where NPC's are being hidden as traders
* Fix
* Update mob.cpp
2024-11-14 19:15:03 -05:00
Akkadius
e4aa6a6957
[Release] 22.59.1
2024-11-13 20:52:46 -06:00
Chris Miles
e4d812f4b4
[Release] 22.59.0 ( #4538 )
2024-11-13 20:08:03 -06:00
Akkadius
011e1d05e7
[Hotfix] Check if the mob is already in the close mobs list before inserting
2024-11-10 23:19:40 -06:00
Akkadius
3f0f95976c
[Hotfix] ScanCloseMobs - Ensure scanning mob has an entity ID
2024-11-10 06:47:42 -06:00
Chris Miles
77de9619b5
[Databuckets] Add database index to data_buckets ( #4535 )
...
* [Databuckets] Add database index to data_buckets
* Update database_update_manifest.cpp
2024-11-08 22:26:00 -05:00
Chris Miles
0ea47fadee
[Performance] Improvements to ScanCloseMobs logic ( #4534 )
...
* [Performance] Minor improvements to ScanCloseMobs
* Remove timer checks one level up to reduce branching
* Reserve memory in m_close_mobs to avoid frequent re-allocations if not already reserved.
2024-11-08 17:48:39 -06:00
Chris Miles
1ce51ca3b0
[Release] 22.58.0 ( #4532 )
2024-11-05 22:02:32 -06:00
Chris Miles
b92eafd21b
[Release] 22.57.1 ( #4523 )
2024-10-22 00:02:14 -05:00
Chris Miles
9583099ace
[Release] 22.57.0 ( #4517 )
2024-10-20 16:17:15 -05:00
Chris Miles and Kinglykrab
bcd943a964
[Code Cleanup] Optimization Code Cleanup ( #4489 )
...
* Initial push
* More
* More
* Further simplify
* More cleanup
* More consolidation
* Fix
* Update
* Update npc.cpp
---------
Co-authored-by: Kinglykrab <kinglykrab@gmail.com >
2024-09-30 18:34:42 -04:00