Commit Graph

31422 Commits

Author SHA1 Message Date
Treeston
daf423a6c3 Scripts/Commands: .account ban no longer fails if an account containing the specified account name is already banned (f.ex. attempting to ban 'test' if 'test2' is already banned) - closes #22990 2019-07-12 13:37:27 +02:00
Treeston
7d6896b541 typo fix, duplicate assignment 2019-07-12 13:14:44 +02:00
Killyana
8c55e0ff06 DB/Condition: Bladespire Clan Banner
Ref #23262
2019-07-11 23:41:21 +02:00
Treeston
4423ca99e7 Entities/GO: FindNearestGameObject no longer incorrectly returns despawned gameobjects. Closes #23262. 2019-07-11 23:31:46 +02:00
Killyana
680e2e6119 DB/Quest: Fix cosmetics for the quest Report to Anselm 2019-07-11 21:14:52 +02:00
Killyana
e74e4bdee4 DB/Creature: Remove Kraz's Corpse as it must be spawn via script 2019-07-11 19:37:18 +02:00
Killyana
ac209c67c6 DB/Creature: Remove Tanzar spawn from Zul'Aman a spawned via a script
https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/scripts/EasternKingdoms/ZulAman/instance_zulaman.cpp#L53
2019-07-11 19:30:37 +02:00
Killyana
69a17a1751 DB/Creature: Blacksouled Keeper & Keeper Witherleaf
From b2783ef809 by Grz3s
2019-07-11 19:14:48 +02:00
Killyana
42abf69a27 DB/Quest: Seeds of the Blacksouled Keepers 2019-07-11 18:32:15 +02:00
Wyrserth
446f8b0b71 DB/SAI: fix issue with quest "A Suitable Disguise".
Closes #23584.
2019-07-11 11:43:49 +02:00
ccrs
965ec9a571 Core/Weather: 6eecb68 followup
missing IntervalTimer::Update call
2019-07-10 23:16:58 +02:00
Giacomo Pozzoni
e4c2bb4f14 Core/ChatCommands: Fix .wp reload crash 2019-07-10 16:02:18 +02:00
Wyrserth
7f63c504d5 DB/Quest: restore ExclusiveGroup data for breadcrumb quests, as they're mutually exclusive.
Also restore PrevQuestId/NextQuestId error logs involving breadcrumb quests. Special cases must be handled via conditions.
2019-07-10 02:58:30 +02:00
Wyrserth
4dbdc22b3b DB/Quest: fix some more breadcrumbs and some offer_reward emotes. 2019-07-09 23:29:00 +02:00
Wyrserth
e6080116f9 Core/Quest: remove arbitrary error logs related to breadcrumb quest chaining.
There are complex cases where breadcrumb quests are mutually exclusive with other breadcrumbs leading to other quests, chaining them shouldn't generate log errors.
2019-07-09 22:48:04 +02:00
Shauren
7917704fd3 Scripts: Update boss_akilzon weather packet 2019-07-09 21:52:26 +02:00
Wyrserth
98c597d685 DB/Quest: fix race requirement for Yorus Barleybrew quests
10371 is Draenei-only, 1698 is for everyone else.
2019-07-09 21:20:13 +02:00
Shauren
6eecb685ce Core/Weather: Fixed weather updates to be thread safe
(cherry picked from commit 6eb9973947)
2019-07-09 21:17:59 +02:00
Nayd
9a9af3cc5f Core/Packets: Update and enable SMSG_WEATHER
(cherry picked from commit 6f7d048765)
2019-07-09 21:17:59 +02:00
Wyrserth
2a9c038fc8 DB/Quest: fix some breadcrumb quests. 2019-07-09 21:16:48 +02:00
Treeston
0ae2afe307 Scripts/World: Rewrite air force trigger bots script, add hostility check along the way. Closes #23307. 2019-07-09 18:24:43 +02:00
Wyrserth
b9d1e66507 DB/Creature: add out of combat events and fix pathing for Conjurer Tyren. 2019-07-09 16:20:03 +02:00
ccrs
bec52dba3d Core/Movement: add missing parenthesis on MotionMaster::Size
pretty sure this can cause unexpected behaviour
2019-07-09 15:25:25 +02:00
Wyrserth
76beda3768 DB/Quest: improvements for quest Hampering Their Escape:
- Add missing flames on item use.
- Prevent trigger creatures from wandering around and falling off the platform
- Add conditions to the item Gnomish Grenade
2019-07-09 00:05:02 +02:00
Wyrserth
90a04adb40 DB/SAI: add waypoints and out-of-combat texts for Ambassador Kelemar, Dela Runetotem, Cheneta, Kristine Denny and Tatai.
Closes #14485.
2019-07-08 23:47:39 +02:00
Treeston
be96d8242c warning fix f2cd721 follow-up 2019-07-08 21:53:50 +02:00
Treeston
a1fd404b64 Core/Quest: Do not allow quests to be turned in if the player no longer satisfies level/skill/reputation requirements. Fixes #226. Yes, you read that issue tag right. 2019-07-08 21:35:57 +02:00
Treeston
f2cd721d53 Scripts/Naxxramas: Thaddius no longer evades on transition, and some general cleanup to that script. Fixes #23026. 2019-07-08 20:16:29 +02:00
Ianislav Vasilev
c71e36acae Scripts/Blood Furnace: Broggok improvements (#23300)
* 23285 Fixed lever respawn and future encounters after it respawns.

* Removed unnecessary additional container.
Made lever not to despawn and respawn but rather change flags only.

* Made one conditional branch easier to debug.
2019-07-08 19:53:08 +02:00
Treeston
a3c3526269 Scripts/Outland: Rewrite the Watch Commander Leonus event so it no longer starts exponentially more often if the grid remains loaded for over an hour. Closes #23348. 2019-07-08 16:04:32 +02:00
Wyrserth
33a80de787 Rename 9999_99_99_99_world.sql to 2019_07_08_00_world.sql 2019-07-08 15:43:53 +02:00
Sorikoff
a64d7df662 Scripts/Spells: Brittle Armor & Mercurial Shield (#23576) 2019-07-08 15:42:35 +02:00
ForesterDev
e71773140c Scripts/Commands: update .wp commands to use orientation field from DB (PR #23566)
Closes #23330
2019-07-08 14:16:10 +02:00
Treeston
671052575a Entities/Player: Properly restore PvP-enabled state on login 2019-07-08 14:09:57 +02:00
Aokromes
574a7c8d3d Core/Misc: More coding standards (#23519)
* Core/Misc: More coding standards

* revert part

* "void  " or more to "void "

* fix? reject

* remove more double whitespaces

* remove more double whitespaces

* more standards

* more coding standards

* More standards

* more coding

* more coding standards

* more coding standards

* And more standards
2019-07-08 12:51:42 +02:00
Treeston
84b7b2e08e Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following implications:
- .npc respawn no longer causes stupid things to happen (Fixes #23014)
- ::DeleteFromDB methods on Creature and GameObject rewritten to be as sensible as such a colossally stupid method can ever be. They're static now.
- .npc delete and .gobj delete ported to new argument handling, and rewritten as per above. They can no longer crash the server when used in instances, too. Yay for that.
- Adjusted various dusty cobwebbed hacks around the core (why does waypoint visualization use permanent spawns *shudder*) to still work too.
2019-07-08 11:56:41 +02:00
ccrs
ec1a77bca2 Build: fix linking error
/home/circleci/project/src/server/game/Movement/MovementGenerators/RandomMovementGenerator.cpp:50:9: fatal error: use of undeclared identifier 'AddFlag'
        AddFlag(MOVEMENTGENERATOR_FLAG_TIMED_PAUSED);
        ^
2019-07-07 19:25:27 +02:00
Treeston
ded18a2690 Entities/Creature: Some asserts are now LOG_ERRORs that block spawning. Fix a group spawning bug exposed by the CoS merge. Improve some command output. 2019-07-07 19:18:32 +02:00
ccrs
b8c0aeaf14 Core/Movement: handle Resume/Pause on RandomMovementGenerator 2019-07-07 18:07:58 +02:00
ccrs
4fa3c04b72 Core/Unit: f869c49 followup
Movement Pause/Clear is already handled in Unit::SetCharmedBy and Unit::RemoveCharmedBy, respectively

TODO: missing PAUSE handling in RandomMovementGenerator
2019-07-07 17:41:36 +02:00
Wyrserth
f869c4969e Core/Vehicle: prevent creature vehicles from following their old movement generator when a player enters them in some cases.
Closes #21731 and #22368.
2019-07-07 17:12:22 +02:00
Wyrserth
9f6d3e93f9 Core/Quest: fix icon in gossip window for repeatable, non-autocomplete quests.
Closes #23572.
2019-07-07 15:43:02 +02:00
Wyrserth
d18b7572f4 DB/Creature: prevent floating Gjalerbron Prisoners from falling to the ground.
Also fix mistake in DELETE query for previously committed SQL file.
2019-07-07 14:21:42 +02:00
jackpoz
283ac3d374 Core/Misc: Fix no-pch build 2019-07-07 13:35:11 +02:00
Wyrserth
644910bdc1 DB/Trainer: remove required ability from Riding spells. The client should only show the required amount of skill.
Also comment out unused argument in previously committed script, thanks Aokromes for noticing!
2019-07-07 02:57:24 +02:00
Wyrserth
6199d458c3 Core/Misc: use Trinity's RandomShuffle() instead of soon-to-be-deprecated std::random_shuffle().
Thanks Riztazz for noticing!
2019-07-07 02:49:40 +02:00
Wyrserth
37862942ce Script/TheOculus: adapt Mage-Lord Urom's script to use EventMap, fix various issues with Teleport and Empowered Arcane Explosion, add missing heroic-mode spell Frost Buffet.
Closes #19452.
2019-07-07 02:32:53 +02:00
Wyrserth
1d1b77c3f0 Core/Spell: don't send duration for auras caused by dynobjects. 2019-07-07 00:06:49 +02:00
Wyrserth
6ef1b3e6c6 Script/BlackrockDepths: randomize timers for Ironhand Guardian's spell Gout of Flame. 2019-07-06 20:29:24 +02:00
Wyrserth
b87350807d Core/Spell: do not allow auras from dynamic objects to stack if they come from the same spell cast by the same caster. 2019-07-06 19:55:36 +02:00