Commit Graph

544 Commits

Author SHA1 Message Date
CraftedRO
7782a17bc2 DB/Quest: Move Priest Garments quest series from c++ to database (#30627)
Co-authored-by: Jonne733 <40151102+Jonne733@users.noreply.github.com>
2025-02-02 20:21:44 +01:00
Shauren
21a4acfb28 DB/Creatures: Add missing PvPFlags to many creatures 2024-12-06 19:58:33 +01:00
Shauren
aaa6e73c8c Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
(cherry picked from commit d791afae1d)
2023-08-15 20:10:04 +02:00
Shauren
ad3fc81db9 Core/Misc: Add missing Containers.h include where neccessary 2023-08-12 17:56:16 +02:00
Shauren
b7287e85e4 Core/Misc: Fixed deprecation warnings for c++20
(cherry picked from commit ba9bbbc9d0)
2023-08-12 14:24:24 +02:00
lee
60b75e3b6e Scripts/Misc:fix npc_professions locale text (#27894)
* fix npc_professions locale text

fix npc_professions locale text load from db

* fix dup sql

fix dup sql

* add condition and gossip option

add condition and gossip option for money cost depends on player level

* add missing update statements

* Rename 9999_99_99_world.sql to 2023_03_24_00_world.sql

---------

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2023-03-24 10:52:44 +01:00
Malcrom
f98e2bcab4 Scripts/Quests: Help Those That Cannot Help Themselves (#28304) 2022-10-14 14:09:48 +02:00
Shauren
900a2f6d88 Scripts/Gossips: Set gossip menu id for scripts that load menu items from database 2022-10-12 00:41:49 +02:00
M'Dic
5ec5e1e1d0 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 <9536270+schell244@users.noreply.github.com>
2022-09-08 18:19:15 +02:00
offl
1c96eebcc1 Scripts/Quest: Update few quests (#28108) 2022-07-12 00:31:59 +03:00
Shauren
b73d031fe0 Scripts/Gossip: Fixed money not being removed when enabling/disabling experience gains
Closes #27772
2022-04-17 21:33:06 +02:00
Shauren
bc261880d4 Core/Gossip: Fixed gossip menu options not performing their default actions when added by script using db data 2022-04-17 21:32:22 +02:00
Shauren
b1a94bf94c 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
2022-04-03 22:36:49 +02:00
Shauren
d611925dc7 Core/Units: Reduce differences between branches part 1 - unit updatefield accessors 2022-03-29 11:30:49 +02:00
Grindelwald
27cb415c13 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.
2022-01-02 16:39:21 +01:00
Shauren
f4c6e87267 DB: Sync structure of a shared auth table between branches 2022-01-01 19:36:46 +01:00
offl
a8464d34bb Scripts/Quest: Rework 'The Cleansing' (11317,11322) (#27413) 2021-12-18 19:30:35 +02:00
offl
eb812bf3d5 Scripts/Misc: Migrate world event scripts to separate files 2 (#27309) 2021-11-23 18:38:36 +02:00
offl
7a307ebb6d Scripts/Creature: Replace trigger_periodic with unique scripts (#27240) 2021-11-10 16:49:33 +02:00
Malcrom
83ae8fc519 Script/World: Brewfest Reveler Script (#27031) 2021-10-08 18:32:31 +02:00
offl
c4741a131a Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913) 2021-09-15 01:04:03 +03:00
offl
70c3e58327 Scripts/Creature: Update Dancing Flames (#26883) 2021-09-09 23:54:27 +03:00
Shauren
325bdc0ab0 Core/Spells: Remove remaining direct accesses to SpellInfo::Effects 2021-09-04 14:21:02 +02:00
offl
fd9d04062c DB/GameObject: Update Toy Train Set 2021-08-31 23:51:35 +03:00
Gildor
c7ae9d761a Scripts/World: improve Training Dummy script (#26778) 2021-08-09 22:36:14 +02:00
Giacomo Pozzoni
0800ab20a8 Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken (#26787)
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken

* Update scripts
2021-08-09 17:00:34 +02:00
jackpoz
33dace231c Core/Misc: Fix issues reported by static analysis 2021-06-20 13:11:53 +02:00
offl
03c727326d Scripts/Spells: Add comments with id & name of spells part 3 2021-05-31 04:13:29 +03:00
offl
80a4b7f1e2 Scripts/Spells: Add comments with id & name of spells part 1 2021-05-28 17:33:15 +03:00
offl
e5518b53fa DB/GameObject: Matrix Punchograph
Closes #25881
2021-02-01 16:15:44 +02:00
Kyle Phelps
817bd92a2a Split all addon chat logs into separate log streams (#25816)
* Split all addon chat logs into separate log streams

* Add missing channels

(cherry picked from commit ee6e71bbd3)

# Conflicts:
#	src/server/scripts/World/chat_log.cpp
2021-01-08 23:40:59 +01:00
Kargatum
a32b6b8ac4 Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf
2021-01-03 11:47:07 +01:00
offl
cc98f68ac7 DB/Creature: Properly apply CREATURE_FLAG_EXTRA_NO_SKILLGAIN
Closes #25674
2020-12-08 13:09:20 +02:00
offl
be6941cd0c DB/Spells: Move conditions for spell 'Gor'drek's Ointment' from item script to DB 2020-11-11 04:27:44 +02:00
offl
ed8bf7f0e2 DB/Creature: Convert & update support for Tonk Mine to SAI 2020-11-11 04:25:54 +02:00
offl
05fa1a46b3 DB/Quest: Update support for 'Merciful Freedom' (11676) 2020-11-10 00:37:35 +02:00
offl
dc4cb8f1d3 DB/Quest: Convert & update support for 'Prison Break' (11587) to SAI 2020-11-10 00:36:00 +02:00
offl
e5fd5cc031 DB/Quest: Convert & update support for 'The Spider God' & 'Hive in the Tower' to SAI 2020-11-09 04:19:11 +02:00
Maks Szokalski
41188eb535 Add "On" to some gossip methods in AI (#25415)
* Add "On" to some methods

* Update npc_innkeeper.cpp

* Update zone_borean_tundra.cpp
2020-09-10 16:57:11 +02:00
offl
6611b71457 DB/Quest: Convert & update support for 'Ebon Blade Prisoners' to SAI
Closes #24672
2020-08-22 20:05:15 +03:00
Ovahlord
9bf57958e3 Scripts/World: updated Training Dummy script to modern model and removed pointless GameTime shenanigans 2020-08-05 01:19:56 +02:00
Giacomo Pozzoni
7cf122fc2a Core/Misc: Fix static analysis issues (#25178) 2020-07-31 22:53:13 +02:00
Carbenium
8642aaaf92 Core/WorldObject: Replace non-std::chrono SummonGameObject overloads
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest
2020-07-27 23:00:51 +02:00
Carbenium
a41f599be7 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);
2020-07-27 14:53:25 +02:00
Carbenium
92a02a5c87 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)
2020-07-27 13:36:25 +02:00
Carbenium
1131229ee9 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);
2020-07-26 23:30:32 +02:00
Carbenium
5832790428 Scripts/World+Outland+Spells: Use std::chrono overload of Creature::DespawnOrUnsummon 2020-07-26 22:21:59 +02:00
Peter Keresztes Schmidt
ddf16ae4d9 Misc: Remove some unneeded/duplicated includes (#25051) 2020-07-16 14:14:01 +02:00
Peter Keresztes Schmidt
0072fa922d Scripts/World+Pet: Use std::chrono::duration overloads of EventMap (#25017)
Contributes to #25012
2020-07-14 21:15:15 +02:00
Peter Keresztes Schmidt
c92950b3e1 Core/DataStores: Update DBC field names to generated ones (#24999) 2020-07-12 15:36:55 +02:00