Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
d8a4668c77
Core/Misc: Add missing Containers.h include where neccessary
2023-01-06 16:44:11 +01:00
Shauren
ba9bbbc9d0
Core/Misc: Fixed deprecation warnings for c++20
2023-01-01 00:26:53 +01:00
Shauren
e65fae7bcd
Scripts/Gossips: Set gossip menu id for scripts that load menu items from database
...
(cherry picked from commit 900a2f6d88f7676f5053da33d80981297b07ccde)
2022-10-13 12:41:34 +02:00
Meji and Shauren
ba49dbfdcb
Core/Gossip: Drop OptionNpcFlag from gossip_menu_option ( #28254 )
...
Co-authored-by: Shauren <[email protected] >
2022-10-09 22:03:04 +02:00
M'Dic
400b8e3192
Scripts/Events: Ironforge hourly bell event correction ( #28234 )
...
Changes go_bells script to play the BellTollDwarfGnome once at every hour.
References:
https://www.reddit.com/r/classicwow/comments/ou0rw5/question_what_is_that_super_loud_bellowing/
cherry-pick commit (Hourly bell: Dwarf horn sound should only play once vmangos/core#1569 )
Co-authored-by: schell244 <[email protected] >
(cherry picked from commit 5ec5e1e1d0bfd586f934de7716ac88abaaa972b1)
2022-09-29 21:44:13 +02:00
Meji and Shauren
69e0249807
Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side ( #28220 )
...
Co-authored-by: Shauren <[email protected] >
2022-09-08 14:49:03 +02:00
offl
d02989e9e6
Scripts/Quest: Update few quests ( #28108 )
...
(cherry picked from commit 1c96eebcc185026cac4a84875195fb93c0485d08)
2022-09-05 21:01:44 +02:00
ModoX
ed93a97068
Core/Units: Replace UNIT_DYNFLAG_DEAD with UNIT_FLAG3_FAKE_DEAD ( #28117 )
2022-07-15 22:34:06 +02:00
Shauren
5dbfaecd5c
Core/WorldStates: Migrate battleground worldstates to new system
2022-07-10 18:59:29 +02:00
Shauren
daafde7518
Scripts/Gossip: Fixed money not being removed when enabling/disabling experience gains
...
Closes #27772
(cherry picked from commit b73d031fe0d217b5189847ed38efc938c69b3c88)
2022-06-10 16:56:34 +02:00
Shauren
36dde87249
Core/Movement: Delay creating MoveSplineInit objects used by GenericMovementGenerator to spline launch time
...
* This fixes inconsistent transport state detection for players exiting vehicles that are on transport (ICC gunship battle), fixes players being telerpoted to middle of nowhere on that fight
(cherry picked from commit b1a94bf94c500b64a5c4ae92642a95d048d9f392)
2022-06-10 15:16:39 +02:00
Shauren
94aac14b4d
Core/Spells: Rename SpellAttr6 to use official attribute names
2022-05-06 20:23:13 +02:00
Shauren and funjoker
fda65981c7
Core/Conversations: Conversation actor improvements
...
* Store NoActorObject in database
* Support adding player as conversation actor using database
* Send actor id in packets
Co-authored-by: funjoker <[email protected] >
Closes #27911
2022-04-19 22:15:12 +02:00
Shauren
5558769405
Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
2022-04-16 12:15:37 +02:00
Shauren
b47185cabf
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
2022-03-27 18:14:47 +02:00
Grindelwald
e811387bde
Update inkeeper content ( #27507 )
...
* Update localized hotel content
Update localized hotel content
* Using the database to display GOSSIP
The broadcast_text_locale has the relevant gossip_menu_option data, but C++'s strong coding makes them appear only in the default English.
(cherry picked from commit 27cb415c13aeda8c1aa16c207b414184ab2ad700)
2022-03-24 23:33:59 +01:00
offl
c3368fd5fc
Scripts/Quest: Rework 'The Cleansing' (11317,11322) ( #27413 )
...
(cherry picked from commit a8464d34bb0f77e0d616e6f21aaf7d7a79276180)
2022-03-24 14:41:00 +01:00
offl
4281049e0c
Scripts/Misc: Migrate world event scripts to separate files 2 ( #27309 )
...
(cherry picked from commit eb812bf3d510d9c6712448c4bb35983c91f97b4c)
2022-03-23 00:03:14 +01:00
offl
7698203122
Scripts/Creature: Replace trigger_periodic with unique scripts ( #27240 )
...
(cherry picked from commit 7a307ebb6d08f614f11020418fa1c697f084a6bc)
2022-03-21 23:12:00 +01:00
Malcrom
64933d033e
Script/World: Brewfest Reveler Script ( #27031 )
...
(cherry picked from commit 83ae8fc5197f90ba97de2e961f7c98e3c567837b)
2022-03-19 23:47:01 +01:00
offl
c4906ce60b
Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE ( #26913 )
...
(cherry picked from commit c4741a131a0a28b69c228d3637beab7090e5f1e3)
2022-03-15 23:03:26 +01:00
offl
2d4f087f85
Scripts/Creature: Update Dancing Flames ( #26883 )
...
(cherry picked from commit 70c3e58327855eb0e05a235f31bf72e135846877)
2022-03-15 00:11:06 +01:00
offl
94840f791c
DB/GameObject: Update Toy Train Set
...
(cherry picked from commit fd9d04062c129049a134768ec15d09402c3fa95a)
2022-03-14 23:51:23 +01:00
Gildor
20c8698bc4
Scripts/World: improve Training Dummy script ( #26778 )
...
(cherry picked from commit c7ae9d761a3c9a7523d4bd195979f294f8c9e7cd)
2022-03-12 14:45:19 +01:00
Giacomo Pozzoni
71c2f0af46
Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken ( #26787 )
...
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken
* Update scripts
(cherry picked from commit 0800ab20a8039620fd271a43c173c008af68c22a)
2022-03-12 14:45:04 +01:00
jackpoz
d0fe16b787
Core/Misc: Fix issues reported by static analysis
...
(cherry picked from commit 33dace231c5a169375523ffa89a2cc3fa48737bd)
2022-03-11 11:48:18 +01:00
offl
0408693646
Scripts/Spells: Add comments with id & name of spells part 3
...
(cherry picked from commit 03c727326dce5d990fd453f42a92300dbd68dc0e)
2022-03-10 23:52:03 +01:00
offl
f2777596a0
Scripts/Spells: Add comments with id & name of spells part 1
...
(cherry picked from commit 80a4b7f1e2f4baae40f08e87cb8cda0a1db833b9)
2022-03-10 22:41:12 +01:00
offl
38476e51e7
DB/GameObject: Matrix Punchograph
...
Closes #25881
(cherry picked from commit e5518b53fa37fbcf401db635d95099b474a916d0)
2022-03-06 19:41:58 +01:00
Kargatum
373ed8f46b
Core: whitespace cleanup, reduce double blank line to single ( #25795 )
...
* Core/Misc: fix double empty line
* worldserver.conf
(cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-03-05 20:07:57 +01:00
offl
3a4ce889ea
DB/Creature: Properly apply CREATURE_FLAG_EXTRA_NO_SKILLGAIN
...
Closes #25674
(cherry picked from commit cc98f68ac7fa06c134463903c5c887a7ad2f72a5)
2022-03-05 00:55:29 +01:00
offl
39e9983205
DB/Creature: Convert & update support for Tonk Mine to SAI
...
(cherry picked from commit ed8bf7f0e2e67ca1eb65ffa05518fe29df526642)
2022-03-01 00:00:39 +01:00
offl
c883c0ee1f
DB/Quest: Update support for 'Merciful Freedom' (11676)
...
(cherry picked from commit 05fa1a46b36f81c177a503f7f5de14eb34830208)
2022-02-28 23:59:55 +01:00
offl
0b0532e96a
DB/Quest: Convert & update support for 'Prison Break' (11587) to SAI
...
(cherry picked from commit dc4cb8f1d3895316c6ecc7a47c392a6da7a9f948)
2022-02-28 23:59:23 +01:00
offl
c267c015ed
DB/Quest: Convert & update support for 'The Spider God' & 'Hive in the Tower' to SAI
...
(cherry picked from commit e5fd5cc031b13b802939590a755eef29f276f44f)
2022-02-28 23:50:42 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Meji
27cba3f523
Core/Scripts: Added script hook to execute actions after completing an achievement ( #27718 )
2022-02-08 23:23:05 +01:00
Maks Szokalski
bc04acb726
Add "On" to some gossip methods in AI ( #25415 )
...
* Add "On" to some methods
* Update npc_innkeeper.cpp
* Update zone_borean_tundra.cpp
(cherry picked from commit 41188eb535e445b73909659980257da2939e4be4)
2022-02-05 22:18:19 +01:00
offl
fc2f582d4f
DB/Quest: Convert & update support for 'Ebon Blade Prisoners' to SAI
...
Closes #24672
(cherry picked from commit 6611b7145746d5bc18541f7f3a4b641739877740)
2022-02-04 00:27:12 +01:00
Ovahlord
785b6f294f
Scripts/World: updated Training Dummy script to modern model and removed pointless GameTime shenanigans
...
(cherry picked from commit 9bf57958e36721fa301f62c4a5c6bd88c58edc28)
2022-01-26 14:37:31 +01:00
Giacomo Pozzoni
61bf51874d
Core/Misc: Fix static analysis issues ( #25178 )
...
(cherry picked from commit 7cf122fc2a604bae77d0b935536c41ec9203e62d)
2022-01-24 20:21:25 +01:00
Carbenium
82fce41852
Core/WorldObject: Replace non-std::chrono SummonGameObject overloads
...
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest
(cherry picked from commit 8642aaaf9268364454b409db7eb62f31210e6d6c)
2022-01-24 12:55:43 +01:00
Carbenium
3bba8d50b1
Core/WorldObject: Remove non-std::chrono SummonCreature overload
...
Remove
TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0);
(cherry picked from commit a41f599be72ccc88b13c1cf725f20cee4a5335d7)
2022-01-24 12:39:59 +01:00
Carbenium
eeffb310de
Core/EventProcessor: std::chrono-ify CalculateTime
...
uint64 CalculateTime(uint64 t_offset) has been replaced with Milliseconds CalculateTime(Milliseconds t_offset).
Also add the std::chrono-ified overload void AddEvent(BasicEvent*, Milliseconds, bool)
(cherry picked from commit 92a02a5c8750913f596d7e3b58bf8439cb770c28)
2022-01-24 12:00:35 +01:00
Carbenium
310f996b1d
Core/WorldObject: Partially std::chrono-ify SummonCreature overloads
...
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0);
to
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime = 0s);
(cherry picked from commit 1131229ee9c43704b11187f0b11c327db92018b6)
2022-01-24 11:55:32 +01:00
Carbenium
38695b0943
Scripts/World+Outland+Spells: Use std::chrono overload of Creature::DespawnOrUnsummon
...
(cherry picked from commit 5832790428b124876ba48eacaf47806fd10a3c47)
2022-01-23 23:58:48 +01:00
Peter Keresztes Schmidt
54d3110ca7
Scripts/World+Pet: Use std::chrono::duration overloads of EventMap ( #25017 )
...
Contributes to #25012
(cherry picked from commit 0072fa922db1642d720c545ccc2ac095c140f0ca)
2022-01-23 16:02:35 +01:00
Peter Keresztes Schmidt
1e1679a1f7
Core/DataStores: Port refactors from Update DBC field names to generated ones ( #24999 )
...
(cherry picked from commit c92950b3e1f6366d85d707365a8ad2caddafeecc)
2022-01-23 00:06:16 +01:00
Peter Keresztes Schmidt
c4098897a8
game/AI: Convert SelectAggroTarget to enum class ( #24818 )
...
* game/AI: Convert SelectAggroTarget to enum class
* game/AI: Rename SelectAggroTarget to SelectTargetMethod
(cherry picked from commit 418c3b1fd50664aad035bd975a65281e82ba2dea)
2022-01-06 21:53:27 +01:00