Commit Graph

39720 Commits

Author SHA1 Message Date
jackpoz
3886c82d0f Scripts/EoE: Attempt to fix players getting stuck after dying
Attempt to fix players getting stuck after dying caused by a hack that calls SetControlled(true, UNIT_STATE_ROOT) by calling the opposite when a dead player leaves the instance, i.e. on releasing.
Close #24458

(cherry picked from commit dc21ac342e)
2022-03-06 19:00:26 +01:00
Giacomo Pozzoni
a4a3e2e759 Core/Creature: Allow to skip Rate.Corpse.Decay.Looted when calling SetCorpseDelay() (#25989)
Add a second parameter to SetCorpseDelay() that specifies if Rate.Corpse.Decay.Looted setting should be ignored, false by default (aka don't ignore by default).
Add a second parameter to SMART_ACTION_SET_CORPSE_DELAY to specify if Rate.Corpse.Decay.Looted should be included, false by default (aka ignore by default).

(cherry picked from commit d5fc86af8b)
2022-03-06 18:59:38 +01:00
Giacomo Pozzoni
1ec33095e6 Core/Warden: Send Lua checks only when ingame (#25977)
(cherry picked from commit 3e6b3f88b0)
2022-03-06 18:54:04 +01:00
dr-j
8992d314dc DB/Quest: Update 'Uncovering the Tunnels' (12003)
Ref #25985

(cherry picked from commit 0a10573fef)
2022-03-06 18:50:18 +01:00
dr-j
a5637d5eda DB/Quest: Update 'That's What Friends Are For...' (12903)
Closes #25985

(cherry picked from commit fc856077b5)
2022-03-06 18:48:30 +01:00
offl
5e05b27d16 DB/Creature: Change flight state CanFly to DisableGravity part 4
Updates #6148

(cherry picked from commit 69e8e94880)
2022-03-06 18:27:18 +01:00
mdX7
b7e332fa9b DB/Creature: Add missing spirit healer
Closes #25955

(cherry picked from commit acb3999bb8)
2022-03-06 18:26:33 +01:00
Cerveciento
6d70762840 DB/Locales: Add missing esES & esMX quest locales (Part 103)
Closes #25981

(cherry picked from commit a8ee131390)
2022-03-06 18:20:35 +01:00
Cerveciento
8c6da74228 DB/Locales: Add missing esES & esMX quest locales (Part 102)
Closes #25973

(cherry picked from commit f15a7eedfe)
2022-03-06 18:18:34 +01:00
offl
899ef6b7b1 DB/Creature: Update Arcatraz Sentinel
(cherry picked from commit 34e8988e20)
2022-03-06 18:17:42 +01:00
offl
9b088287b3 DB/SAI: Update remaining scripts to new model using SMARTCAST_COMBAT_MOVE
Closes #9512

Some were skipped because they requires full rewrite

(cherry picked from commit 3041c3ae36)
2022-03-06 18:16:45 +01:00
Matan Shukry
e93ef06b05 Core/Commands: Implemented command to teleport character to npc
Closes #25870

(cherry picked from commit d2be584f99)
2022-03-06 16:37:42 +01:00
illfated
d1cae5c6a9 DB/Quest: Fix CompletionText of 'The Balance of Nature'
Ref #25950

(cherry picked from commit 1ff4a7e75b)
2022-03-06 16:33:19 +01:00
Cerveciento
b20fd01475 DB/Locales: Add missing esES & esMX quest locales (Part 101)
Closes #25958

(cherry picked from commit f899818006)
2022-03-06 16:31:57 +01:00
Cerveciento
92b4842b8b DB/Locales: Add missing esES & esMX quest locales (Part 100)
Closes #25957

(cherry picked from commit 494b798098)
2022-03-06 16:31:24 +01:00
offl
8e9e15629f Core/Scripts: Verify & migrate spell school immunities to DB
Some already are stored in DB. Looks like they all are still valid for master

(cherry picked from commit 1ed79d7a2e)
2022-03-06 16:30:51 +01:00
offl
7c2129b60e DB/Quest: Fix 'Garments of ...' chains and conditions
Closes #25940

Quests are available only by corresponding to quest location races

(cherry picked from commit f474418651)
2022-03-06 16:25:57 +01:00
TDB Release
85b15a4b8c TDB 920.22031 - 2022/03/06 TDB920.22031 2022-03-06 15:20:27 +00:00
funjoker
b7fa116704 DB/Quest: Update quest_poi bruteforce data 2022-03-06 15:31:21 +01:00
Giacomo Pozzoni
4c30b2a182 Core/SAI: Add new action SMART_ACTION_SET_HEALTH_PCT (#25932)
* Core/SAI: Add new action SMART_ACTION_SET_HEALTH_PCT

Add new action SMART_ACTION_SET_HEALTH_PCT (142) with one single parameter "percent" to set the Unit health.
Close #25317

* Do not allow 0%

(cherry picked from commit 7d6f7e4d19)
2022-03-06 01:43:57 +01:00
Meji
23d77ecb81 Core/Spells: Fixed spell effect 43 (SPELL_EFFECT_TELEPORT_UNITS_FACE_CASTER) (#25945)
(cherry picked from commit 28353e920b)
2022-03-06 01:38:14 +01:00
offl
2fd0c7a1f8 DB/Creature: Fix scale of penguins
(cherry picked from commit 075d46a46b)
2022-03-06 01:35:52 +01:00
Giacomo Pozzoni
a66b968f91 Core/Misc: Fix static analysis issues (#25924)
* Core/Misc: Fix static analysis issues

* Fix infinite loop in ".debug send opcode"
Fix using uninitialized memory in ".debug send opcode"

(cherry picked from commit 661f554b9e)
2022-03-06 01:35:01 +01:00
offl
91d7a8b069 DB/Creature: Add CREATURE_FLAG_EXTRA_NO_COMBAT to Gunship Hull
Closes #25921

(cherry picked from commit 62320b1efa)
2022-03-06 01:27:03 +01:00
illfated
a07a718e7b DB/Item: Remove Plans: Goblin Rocket Boots (7192) from loot & exclude from being sold by AHbot
Closes #25930

(cherry picked from commit 23cd884f3b)
2022-03-06 01:26:21 +01:00
offl
353766c3fb DB/Creature: Remove UNIT_FLAG_NON_ATTACKABLE in few cases
Ref #25764

(cherry picked from commit a06a755f4c)
2022-03-06 01:25:17 +01:00
offl
6032a32cea DB/Creature: Remove UNIT_FLAG_UNK_29 part 4
Ref #25764

(cherry picked from commit 10d08d56b3)
2022-03-06 01:24:32 +01:00
jackpoz
4e3d23188e Scripts/Commands: Improve ".debug objectcount"
Include the number of SetActive objects in ".debug objectcount" command

(cherry picked from commit d0231c5a8f)
2022-03-06 01:23:14 +01:00
offl
42c52538cd DB/Creature: Remove UNIT_DYNFLAG_TAPPED_BY_PLAYER
Ref #25764

(cherry picked from commit 5d17697687)
2022-03-06 01:22:59 +01:00
offl
9ada934e40 DB/Creature: Remove UNIT_FLAG_UNK_29 part 3
Ref #25764

(cherry picked from commit 73d3431bfd)
2022-03-06 01:19:34 +01:00
offl
a6c750d883 DB/Creature: Add InteractionPauseTimer to two creatures
Closes #23503

Closes #25647

(cherry picked from commit e78465ccb4)
2022-03-06 00:57:16 +01:00
Giacomo Pozzoni
5180abfb19 Core/Creature: Add new db field InteractionPauseTimer (#25880)
* Core/Creature: Add new db field InteractionPauseTimer

Add new db field InteractionPauseTimer to allow to define different interaction pause timers for each creature (the previous system was a global setting in worldserver.conf Creature.MovingStopTimeForPlayer)

* Set all columns in creature_template_movement as optional (can be NULL, default NULL). Fill only the columns that should override the default C++ value

* Use the InteractionPauseTimer value throughout the code instead of Creature.MovingStopTimeForPlayer

* Handle InteractionPauseTimer set to 0 as "don't stop at all"

* Implement InteractionPauseTimer in creature_movement_override

creature_movement_override allows NULL values, in which case the values from creature_template_movement will be used for those columns that are NULL, falling back to default C++ values if creature_template_movement has NULL values too (or no rows for the creature)

* Read default InteractionPauseTimer from worldserver.conf

* Rename 2021_99_99_99_world.sql to 2021_01_22_00_world.sql

(cherry picked from commit a22bc236eb)
2022-03-06 00:56:46 +01:00
Cerveciento
f74b4cb265 DB/Locales: Add missing esES & esMX quest locales (Part 99)
Closes #25896

(cherry picked from commit 9ee878b7ef)
2022-03-06 00:44:32 +01:00
Cerveciento
575a394ca9 DB/Locales: Add missing esES & esMX quest locales (Part 98)
Closes #25895

(cherry picked from commit 935792b85c)
2022-03-06 00:43:25 +01:00
Cerveciento
93a0709efb DB/Locales: Add missing esES & esMX quest locales (Part 97)
Closes #25890

(cherry picked from commit e0505729f7)
2022-03-06 00:42:57 +01:00
Cerveciento
8318e0b8f5 DB/Locales: Add missing esES & esMX quest locales (Part 96)
Closes #25889

(cherry picked from commit bd243c2451)
2022-03-06 00:42:32 +01:00
Cerveciento
f4c13bd2f5 DB/Locales: Add missing esES & esMX quest locales (Part 95)
Closes #25859

(cherry picked from commit c98789f609)
2022-03-06 00:42:00 +01:00
Cerveciento
463009b20a DB/Locales: Add missing esES & esMX quest locales (Part 94)
Closes #25851

(cherry picked from commit 7cff188044)
2022-03-06 00:41:12 +01:00
offl
e3bcae9ebc DB/Conditions: Fix Throw Doomhammer spell cast fail
Ref 8c43abaeb2

(cherry picked from commit 4c0a8ad3b3)
2022-03-06 00:36:23 +01:00
offl
74d4ecab15 DB/Quest: Import outro event for 'Hero of the Mag'har'
Closes #24976

Credits, source & more info b6e118eb01 https://github.com/cmangos/tbc-db/pull/63

Valid for master but instead the event should start after turning in 'There Is No Hope'

(cherry picked from commit 8c43abaeb2)
2022-03-06 00:35:40 +01:00
Jan Van Buggenhout
dbf528be69 Core/Misc: Fix typo in SendAuthWaitQue method name (#25887)
(cherry picked from commit a832a1fe90)
2022-03-06 00:31:02 +01:00
Jan Van Buggenhout
9df5eb27e0 Core/Misc: Update WorldSocket::OnRead to WorldSocket::ReadDataHandler in comments and logging (#25885)
(cherry picked from commit ec689e7908)
2022-03-06 00:27:11 +01:00
Trond B. Krokli
d67788a44d Docker/Readme: codestyle cleanup (9af6bf1 follow-up) (#25864)
* Docker/Readme: codestyle cleanup

Changes proposed:
- Simplify MD back tick usage in stand-alone horizontal strings.
- Sentence grammar improvements/adjustments (might->may etc.)
- Punctuation: Add a period dot at the end of proper sentences.
- Punctuation: Add Oxford commas for natural readability.
- Punctuation: Add colon at the end of sentence introducing command examples.
- Reduce indentation level for bullet point annotation from second level to first level.
- Spell Linux with a capital L (proper noun, from "Linus + UNIX").
- UNIX is a proper noun with all its letters in uppercase.
- Remove a stray double quote character from the start of a command.
- Replace HTML entity . with its ASCII representation, a period dot.

Whitespace changes:
- add editorial blank line below H1 (page title) and H2 headings
- add editorial blank line below MD code block fences (codestyle)

* Lowercase 'pch' job name

- "PCH" -> pch

* Revert HTML entity change in README dot md

- Revert README.md to its original `README.md` spelling to avoid coding issues.

* Update contrib/Docker/README.md

Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 3a61fe3c31)
2022-03-06 00:26:01 +01:00
Giacomo Pozzoni
c2068bd423 CI/CircleCI: Expose binaries built on Circle CI as docker images in the Circle CI artifacts (#25832)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 9af6bf15aa)
2022-03-06 00:24:04 +01:00
Cerveciento
3d29c26c61 DB/Locales: Add missing esES & esMX quest locales (Part 93)
Closes #25850

(cherry picked from commit 5d1075959a)
2022-03-06 00:11:21 +01:00
Cerveciento
d9a134bb40 DB/Locales: Add missing esES & esMX quest locales (Part 92)
Closes #25846

(cherry picked from commit 0b463c397b)
2022-03-06 00:10:30 +01:00
offl
81c7fa3ffb DB/Quest: Arathi Basin quests
Closes #25845

(cherry picked from commit 0ca031559f)
2022-03-06 00:09:51 +01:00
offl
280d0fa9c0 DB/Loot: Remove clam meat from creature loot
Closes #25844

(cherry picked from commit 9cb2168ab9)
2022-03-06 00:06:29 +01:00
offl
1d09bd112a DB/Creature: Remove UNIT_FLAG_STUNNED in more cases
Ref #25764

(cherry picked from commit 7b79adf5b1)
2022-03-06 00:05:49 +01:00
offl
09a4bb4837 DB/Creature: Remove UNIT_FLAG_NON_ATTACKABLE part 2
Ref #25764

(cherry picked from commit 3258e4cecd)
2022-03-06 00:04:14 +01:00