Commit Graph

30107 Commits

Author SHA1 Message Date
Ovahlord
02a3a6ce86 Core/Packets: updated SMSG_ATTACKER_STATE_UPDATE packet structure to 4.4.1 2024-11-14 17:33:33 +01:00
Ovahlord
f4395bbb62 Core/Packets: fixed ContentTuningParams structure 2024-11-14 17:29:09 +01:00
Ovahlord
ac87a39550 Core/Packets: fixed packet structure of SMSG_DISPLAY_TOAST 2024-11-14 16:30:57 +01:00
Shauren
dcc59a3d99 Core/Misc: Support IPv6 ip2location
(cherry picked from commit c522e5f4c2)
2024-11-14 00:30:53 +01:00
Shauren
519bb15a0a Core/JSON: Prevent out of bounds memory accesses in json deserialization
(cherry picked from commit e8d949c794)
2024-11-13 19:16:04 +01:00
Ovahlord
e23256fd1e build fix 2024-11-12 21:53:47 +01:00
Ovahlord
5da7cae3d8 Core/Packets: updated SMSG_INSPECT_RESULT packet structure to 4.4.1 2024-11-12 21:46:04 +01:00
Ovahlord
95766668f8 Core/Packets: updated GuildRosterMemberData structure to 4.4.1 2024-11-12 21:16:03 +01:00
Shauren
6f0cba5f56 Core/Misc: Fix some GCC warnings
(cherry picked from commit 4e551741cf)

# Conflicts:
#	src/server/game/Spells/Spell.cpp
2024-11-12 20:57:53 +01:00
Shauren
893f2d4cef Core/Networking: Support IPv6
(cherry picked from commit af4dcc93ed)

# Conflicts:
#	sql/base/auth_database.sql
#	sql/updates/auth/cata_classic/2024_11_12_00_auth.sql
2024-11-12 20:56:47 +01:00
Ovahlord
9721dfca9c Core/Packets: updated packet structure of SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN 2024-11-11 21:45:47 +01:00
Ovahlord
03c0ff0100 Misc/Config: updated config expansion level 2024-11-11 21:32:41 +01:00
Ovahlord
dedf607f00 Core/Packets: updated packet structure of SMSG_WORLD_SERVER_INFO to 4.4.1 2024-11-11 21:11:22 +01:00
Ovahlord
0b28e353c8 Core/Misc: updated GameError enum 2024-11-10 22:58:56 +01:00
Aqua Deus
6e88ddbf88 Core/Auras: Implement SPELL_AURA_DISABLE_GRAVITY (#30365)
(cherry picked from commit 765beae741)

# Conflicts:
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
2024-11-10 20:29:35 +01:00
Shauren
3a20e5102e Core/Position: Position constructor improvements
* Prevent constructing with only X coord
* Remove unneccessary NormalizeOrientation calls when constructed with default orientation (0)

(cherry picked from commit d6ae7030da)

# Conflicts:
#	src/server/game/Garrison/Garrison.cpp
2024-11-10 20:28:53 +01:00
Aqua Deus
1dcba26934 Core/Spells: Define new proc flags (#30390)
(cherry picked from commit 5dfaf41c5e)
2024-11-10 20:28:21 +01:00
Meji
98d1505e33 Core/Summons: Handle summons using SummonProperties.Control type 5 as vehicles (#30391)
(cherry picked from commit 23bb1a56b7)
2024-11-10 20:25:33 +01:00
Meji
aafb08eaff Core/Quests: Fix QuestGiverStatus for QUEST_TYPE_TURNIN (#30401)
(cherry picked from commit c68f4ceeb5)
2024-11-10 20:25:24 +01:00
funjoker
06bf72fa82 Core/PacketIO: updated update fields to 4.4.1.57359 2024-11-10 19:47:55 +01:00
dio85
a8b35996c3 Core/Misc: corrected MAX_RACE value to allow the creation of Worgen characters again (#30406) 2024-11-06 17:17:40 +01:00
Ovahlord
f3d868da98 Core/Packets: fixed structure of SMSG_QUERY_QUEST_INFO_RESPONSE and dropped two removed quest template fields 2024-11-05 20:47:26 +01:00
Ovahlord
1325ba4d0d Core/Items: 'undeprecate' ITEM_FLAG2_DONT_IGNORE_BUY_PRICE implementation
* this has been brought back for classic
2024-11-04 21:34:46 +01:00
Ovahlord
77e82b20bc Core/Creature: turn UNIT_NPC_FLAG_TRAINER_CLASS into a viewer depending flag and show it only for players which can be trained by the creature 2024-11-03 13:56:09 +01:00
Ovahlord
73aa788b2c Core/LFG: send SoftLock = 2 for dungeons which are out of level range, unavailable for the current expansion or not in season to hide them from the dungeon finder list
* the client isn't giving away much info on how these values could be named. All we know from sniffs is that 2 is the value used by default. Though 1 also hides dungeons, we stick with what sniffs say for now until someone with more extensive reverse engineering knowledge can dig up the solution
2024-11-03 13:20:28 +01:00
Meji
f38eca4d3f Core/Transports: Fixed event timestamps for edge cases
Closes #28815

(cherry picked from commit 5872f032c9)
2024-11-03 12:11:48 +01:00
Ovahlord
5e538e49f0 Core/Players: re-enabled hidden appearances for transmogrification as these have been brought over from retail in 4.4.1 2024-11-03 10:01:03 +01:00
Ovahlord
c1bc090fda Core/Packets: updated SMSG_FEATURE_SYSTEM_STATUS packet structure to 4.4.1 2024-11-03 00:05:36 +01:00
Golrag
37914ae4ea Core/Texts: Fix nullptr when no BroadcastText is found
closes #30392

(cherry picked from commit 05c8ad26c2)
2024-11-02 21:03:37 +01:00
Ovahlord
8c9cffc1e8 Core/Packets: updated ResponseCodes and fixed CMSG_CREATE_CHARACTER packet structure 2024-11-02 20:44:14 +01:00
Ovahlord
0f96ba1d66 Core/Misc: removed blank lines 2024-11-02 15:01:46 +01:00
Ovahlord
6de12ffcfa Core/Packets: updated packet structures for 4.4.1 2024-11-01 16:33:57 +01:00
Shauren
5c0fb42c9b Core/Proto: Remove blank lines
(cherry picked from commit 23064351a6)
2024-11-01 08:02:02 +01:00
Shauren
85b4c11bde Core/Proto: Added messages and services missing descriptors in client
(cherry picked from commit 7ff646efa9)
2024-11-01 08:01:57 +01:00
Shauren
df5bc87eb4 Core/Proto: Updated protobuf messages and services for 11.0.2
(cherry picked from commit d4f4cdc238)
2024-11-01 08:01:52 +01:00
funjoker
c641cbeb55 Core/PacketIO: updated update fields to 4.4.1 2024-11-01 08:00:24 +01:00
Ovahlord
31949d05c9 Core/Packets: updated opcodes to 4.4.1 2024-11-01 07:58:42 +01:00
Ovahlord
2d415b4621 Core/DataStores: updated DB2 structures to 4.4.1 2024-11-01 07:56:45 +01:00
Jeremy
d25a2698d8 Core/Units: only set spellClickHandled to true when spell cast was succesful (#30388)
(cherry picked from commit 214580d345)
2024-11-01 07:55:03 +01:00
Wishmaster117
a27ab0d3ca Core/Gossip: Fixed gossip menu option localization for cases without a broadcast text assigned (#30387)
(cherry picked from commit 125971c8cb)
2024-11-01 07:54:54 +01:00
Shauren
dd77c512f3 Core/PacketIO: Skip sending empty SMSG_UPDATE_OBJECT for transports on map changes
(cherry picked from commit f6c37f6791)
2024-11-01 07:54:47 +01:00
Shauren
b0fb2d20a8 Core/Objects: Fixup SMSG_UPDATE_OBJECT related refactors
* Object::BuildValuesUpdateWithFlag is actually unused
* Restore UF::UpdateFieldFlag::Owner for players (self packet)

(cherry picked from commit 963eb6b80c)
2024-11-01 07:54:35 +01:00
Meji
4dbc0a522a Core/SAI: Implemented new action SMART_ACTION_CREDIT_QUEST_OBJECTIVE_TALK_TO (#30382)
(cherry picked from commit 9261140c9d)
2024-11-01 07:54:30 +01:00
Shauren
80a37787c6 Core/Objects: Move UF::UpdateFieldHolder to Object.h and remove owner object pointer since it can be calculated dynamically
(cherry picked from commit 42042504fa)
2024-11-01 07:54:24 +01:00
Shauren
56ada5b873 Core/Objects: Eliminate unneccessary temporary objects and double map lookups when building SMSG_UPDATE_OBJECT
(cherry picked from commit 38a209276d)
2024-11-01 07:54:17 +01:00
Shauren
1edac8ba57 Core/Objects: More minor refactors for SMSG_UPDATE_OBJECT building - move getting and writing field flags to shared function
(cherry picked from commit ee54ade397)

# Conflicts:
#	src/server/game/Entities/Item/AzeriteItem/AzeriteEmpoweredItem.cpp
#	src/server/game/Entities/Item/AzeriteItem/AzeriteEmpoweredItem.h
#	src/server/game/Entities/Item/AzeriteItem/AzeriteItem.cpp
#	src/server/game/Entities/Item/AzeriteItem/AzeriteItem.h
2024-10-27 20:38:13 +01:00
Shauren
c975bc2c65 Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides
(cherry picked from commit 067fa31d15)

# Conflicts:
#	src/server/game/Entities/Item/AzeriteItem/AzeriteEmpoweredItem.cpp
#	src/server/game/Entities/Item/AzeriteItem/AzeriteItem.cpp
2024-10-27 20:38:12 +01:00
Ovahlord
cb4c9009b3 Core/Player: moved zone/area updating and tavern resting checks into Heartbeat and movement updates 2024-10-23 19:29:42 +02:00
Meji
fb56b63171 Core/SAI: Implemented new event type SMART_EVENT_AREATRIGGER_EXIT (88) (#30367)
(cherry picked from commit 0d5242daae)

# Conflicts:
#	sql/updates/world/cata_classic/2024_10_22_03_world.sql
2024-10-22 19:45:21 +02:00
Meji
d07a7592de Core/GameObjects: Don't apply GO_DYNFLAG_LO_INTERACT_COND for GAMEOBJECT_TYPE_FLAGSTAND (#30368)
(cherry picked from commit 5fc9a3afdd)
2024-10-22 19:44:38 +02:00