Commit Graph

21304 Commits

Author SHA1 Message Date
Shauren
dbf2f88e40 Core/Maps: Cleaned up incorrect error log
(cherry picked from commit f26a93a8c1)
2024-01-09 12:27:46 +01:00
funjoker
0998d938ec Core/Misc: Build fix 2024-01-09 12:27:13 +01:00
Jeremy
d816fc100a Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types (#29535)
* Fix criteria data type bg loss team score

(cherry picked from commit 1ef0c04520)
2024-01-09 12:26:52 +01:00
Jeremy
c545216960 Core/Maps: Properly set initial spawn group state for groups that have conditions (#29509)
(cherry picked from commit fb64d7fe8e)
2024-01-09 12:20:48 +01:00
Shauren
f9ba4672d9 Core/Database: Fixed a shutdown crash happening if worldserver did not fully start up (for example applying a db update failed)
(cherry picked from commit a2be97414b)
2024-01-09 12:19:45 +01:00
Jeremy
4d8215277b Core/Spells: Clean up some gameobject types in EffectOpenLock (#29532)
(cherry picked from commit 42de312a79)
2024-01-09 12:19:34 +01:00
Shauren
a112606051 Fix bfbda8dcce
(cherry picked from commit 88a7886e0d)
2024-01-09 12:18:57 +01:00
Teleqraph
7021ee27d7 Core/Creatures: Refactor CreatureEliteType (#29525)
* Turn into enum class with official names

(cherry picked from commit bfbda8dcce)
2024-01-09 12:17:51 +01:00
Shauren
0b82cc22d3 Core/Database: Replace union with std::variant in Transaction
(cherry picked from commit 3a9cbd217a)
2024-01-09 12:08:15 +01:00
Shauren
ca6ebfae32 Build fix
(cherry picked from commit 8b54205778)
2024-01-09 12:07:45 +01:00
Shauren
b91c2396d5 Core/Bnet: Implemented new SRP6 variants, and migrate old sha_pass_hash in battlenet_accounts to separate salt and verifier columns
* passwords can now be case sensitive and up to 128 characters long

(cherry picked from commit 623202d68e)
2024-01-09 12:07:15 +01:00
Shauren
23877d2dce Core/Accounts: Migrate RA credentials checking to use AccountMgr instead of copying its logic
(cherry picked from commit e05541665b)
2024-01-09 11:58:28 +01:00
Shauren
df6dcfd5c6 Core/Maps: Fixed pathgenerator always returning NAV_GROUND from GetNavTerrain
(cherry picked from commit a24e3a9511)
2024-01-09 11:58:14 +01:00
funjoker
d3c45346c0 Core/Misc: Again build fixes 2024-01-09 11:53:48 +01:00
funjoker
cdbabe4463 Core/Misc: Another batch of build fixes 2024-01-09 11:22:07 +01:00
funjoker
7eb95c0f2f Core/Misc: Build fixes 2024-01-09 01:01:11 +01:00
funjoker
e31596ef3f Core/Misc: Codestyle fix 2024-01-09 00:46:06 +01:00
funjoker
2a8f1feef6 Core/Misc: Build fixes
Closes #29572
2024-01-09 00:35:58 +01:00
funjoker
a08ab8364a Core/Misc: Codestyle 2024-01-08 22:53:58 +01:00
Shauren
e5bf7ab086 Core/Database: Fixed worldserver hanging if opening a connection to database failed
(cherry picked from commit b130995814)
2023-12-21 00:13:20 +01:00
Shauren
eff969b2c6 Core/Quests: Fixed accessing freed memory after .reload quest_template
(cherry picked from commit 308a34ab41)
2023-12-21 00:13:10 +01:00
Ovahlord
473eca5120 Core/Units: Allow self inflicted damage to bypass CREATURE_STATIC_FLAG_UNKILLABLE (#29502)
(cherry picked from commit 53ac8d3ef5)
2023-12-19 19:52:19 +01:00
Shauren
2ba0adee4b Core/Bnet: Add new loggers to config file template, fixed request/response content logging and fixed setting keep_alive on responses
(cherry picked from commit 15fce17c1a)
2023-12-19 14:15:13 +01:00
Shauren
123f2ad97e Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as http backend and extract generic http code to be reusable elsewhere
(cherry picked from commit acb5fbd48b)
2023-12-19 14:15:00 +01:00
Shauren
5d6896de59 Core/Misc: Minor refactors in BaseEncoding and SslSocket to prepare for future bnetserver changes
(cherry picked from commit 5f00ac4b2b)
2023-12-19 14:14:48 +01:00
Shauren
e0d45f6dff Core/Database: Replace DatabaseWorker with asio io_context
(cherry picked from commit d958bfd0f3)
2023-12-19 14:14:23 +01:00
ModoX
575fc7fde3 Core/Vehicle: Only interrupt channels with SpellAuraInterruptFlags::Mount when entering a vehicle (#29430)
(cherry picked from commit ee95a5e00f)
2023-12-19 14:09:28 +01:00
ModoX
305ca7aa23 Core/Spells: Implemented SPELL_AURA_MOD_FIXATE (#29488)
(cherry picked from commit 8b9eaf0bdf)
2023-12-19 14:09:17 +01:00
Shauren
31d79bae9c Core/Database: Refactor MySQLConnection constructors and async thread creation
(cherry picked from commit 5c59e2a248)
2023-12-19 14:09:02 +01:00
ModoX
26cb12c35a Core/Player: Added helpers to check quest objective status
(cherry picked from commit 9dd8647125)
2023-12-12 08:46:41 +01:00
Shauren
a18e3ef20a Core/Misc: Minor code modernization - kill std::bind
(cherry picked from commit 78bcc3f52a)
2023-12-12 08:44:42 +01:00
Meji
c8e87e59e0 Core/Spells: Fixed target radius calculation for TARGET_DEST_*_RANDOM (#29479)
(cherry picked from commit 87f3ab11d3)
2023-12-12 08:44:09 +01:00
Shauren
9e317a047a Core/Auction House: Added missing nullptr check in AuctionHouseObject::SendAuctionInvoice
(cherry picked from commit d9e4eccf92)
2023-12-12 08:42:59 +01:00
Shauren
10544e4406 Core/Players: Learn parent skilllines if they are missing while learning child skills
Closes #29482

(cherry picked from commit 9022f23748)
2023-12-05 20:50:49 +01:00
Odyssey
ecf714e93c Scripts/Commands: Restore worldserver port output in .server debug (#29466)
(cherry picked from commit 1f7ee02def)
2023-12-05 20:23:40 +01:00
Shauren
ba3af8d98d Core/PacketIO: Fixed server time sent in CalendarRaidLockoutAdded
(cherry picked from commit b4778a4d72)
2023-12-05 20:23:25 +01:00
Ovahlord
21d6e598a5 Core/Misc:
* removed various unused opcode and aura effect handlers
* removed a bunch of deprecated spell scripts
* dropped TraitHandler
* fixed several warnings which have emerged as a result of downgrading the systems
2023-12-04 21:31:24 +01:00
Ovahlord
281d946c40 Revert "Core/Players: Repop players at instance entrance when they release spirit (#29014)"
This reverts commit 9e9f67d6bd.
2023-12-04 20:48:37 +01:00
Ovahlord
da36e58965 Core/Config: fixed commentary of the EnableAELoot option 2023-12-04 15:57:41 +01:00
Ovahlord
5e1211c69e Core/Tools: removed garrison data extraction from PlayerDump 2023-12-04 15:56:27 +01:00
Ovahlord
474e4101f6 Core/Garrison: dropped Garrison implementation 2023-12-04 00:01:43 +01:00
Shauren
7e238a32fb Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS
(cherry picked from commit 333630b7de)
2023-12-01 23:29:27 +01:00
Shauren
33510fafd8 Core/Instances: Prevent sending PendingRaidLock in instances that don't have a InstanceScript
Closes #29470

(cherry picked from commit 75a306e422)
2023-12-01 23:29:27 +01:00
Shauren
845667ca59 Core/Misc: Kill another synchronous db query in packet handlers
(cherry picked from commit 7e76e91152)
2023-12-01 23:29:27 +01:00
ModoX
0af520b10b Scripts/Conditions: Fallback to other targets to get map if first target is invalid
* fixes crash in Ulduar when reaching Assembly of Iron / Kologarn / Algalon area

(cherry picked from commit b1c5e3809c)
2023-12-01 23:29:27 +01:00
ModoX
fbe0ef9f32 Core/Spells: Pass customArg from missiles to its triggered spell
(cherry picked from commit 441a102dc3)
2023-12-01 23:29:27 +01:00
Shauren
04f25ef64c Core/Creatures: Don't require creature.modelid to be one of linked creature_template models
(cherry picked from commit 7cafeb46b3)
2023-12-01 23:29:27 +01:00
Meji
3a33dede9a Core/Units: Update PlayHoverAnim state when flying or hovering (#29434)
(cherry picked from commit c1b36eec56)
2023-12-01 23:29:27 +01:00
Ovahlord
79b2ff56fa Core/Spells: Implement spell queue (#29409)
(cherry picked from commit 27019a62a4)
2023-12-01 23:29:27 +01:00
ModoX
477bd4b0d7 Core/Waypoints: Drop waypoint_scripts table (#29437)
(cherry picked from commit 3f6f683ce4)
2023-12-01 23:29:27 +01:00