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

(cherry picked from commit 0a10573fef4243f782e5ea9dd09dd83caa98dbb1)
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 fc856077b5319bc56ab801f9ec4b60050784a298)
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 69e8e9488003a0062a3a82ff4fd09c9f9d82af78)
2022-03-06 18:27:18 +01:00
mdX7 b7e332fa9b DB/Creature: Add missing spirit healer
Closes #25955

(cherry picked from commit acb3999bb8bc289461e9fccad04e3e4a6fd2fddb)
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 a8ee131390948b628e2a5bb539f1815de6480660)
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 f15a7eedfecef6ec63c81fbcb7ea11d07cdefe80)
2022-03-06 18:18:34 +01:00
offl 899ef6b7b1 DB/Creature: Update Arcatraz Sentinel
(cherry picked from commit 34e8988e200b51d3d7b9cbf724a754f6de9fe5ba)
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 3041c3ae36d73cb89df107765f33cf14955ad07c)
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 d2be584f99a63a165cfd1d047f460a8ebfb87ac3)
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 1ff4a7e75b56e1ad68d83f75b493a42ac1ae85c3)
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 f89981800667dd3a87b0ed4cddc2030965713a8a)
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 494b7980987b76218b0753e1fce60d61077c1c01)
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 1ed79d7a2e61bf98178954a427cd4b7acd6c4509)
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 f474418651557acb621e9634993738118fb54a7e)
2022-03-06 16:25:57 +01:00
TDB Release 85b15a4b8c TDB 920.22031 - 2022/03/06 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 7d6f7e4d19b298632deeb27830b876b12c490a03)
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 28353e920b531b7dd221ac926049f5a68b75e7ec)
2022-03-06 01:38:14 +01:00
offl 2fd0c7a1f8 DB/Creature: Fix scale of penguins
(cherry picked from commit 075d46a46bf1172480730e280106adf4c051371e)
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 661f554b9e08a3721227f1e4a4fe6fd74e43a1f4)
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 62320b1efab3a050cf2187490b59234a037c69c8)
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 23cd884f3b38060a6f07d84a49b3683ab486b528)
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 a06a755f4c52da3b4ad07da08f8303fb8517ab2d)
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 10d08d56b3dd6ab87934ae1a18bb6104e53c0b46)
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 d0231c5a8fdea9704be442cbd8840079caf47a6d)
2022-03-06 01:23:14 +01:00
offl 42c52538cd DB/Creature: Remove UNIT_DYNFLAG_TAPPED_BY_PLAYER
Ref #25764

(cherry picked from commit 5d17697687454a4c46bf85fdf12a06b9bf84e4ec)
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 73d3431bfdd4864702f77049cff761eb9ab4c724)
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 e78465ccb4abefba1131f1490db2ea7c2944ed7c)
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 a22bc236ebc038c723774e5b38cd93e814ccc43d)
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 9ee878b7ef8c53eba84113fcba3cd43ede71593b)
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 935792b85c80688ce6dbf32c229367ff7694cc73)
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 e0505729f7892ab8d966898e75b0e5c4f3dc6564)
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 bd243c24515ffb5562ecef555e23f89c463006bd)
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 c98789f60956be1f2d408243c7272289b2a23011)
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 7cff188044ede04d9e4e0b42e499a76b0dc1a4c5)
2022-03-06 00:41:12 +01:00
offl e3bcae9ebc DB/Conditions: Fix Throw Doomhammer spell cast fail
Ref 8c43abaeb291eba1d46a00f3412487856f444e2d

(cherry picked from commit 4c0a8ad3b3f9960fa15504cf32a84218807ac9d5)
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 https://github.com/cmangos/tbc-db/commit/b6e118eb01dcfab7493474715cc92be62a62b381 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 8c43abaeb291eba1d46a00f3412487856f444e2d)
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 a832a1fe903779fa5a03202708997ced7d4c1acc)
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 ec689e790894cfcab5b44b3bd5a9cee036bc9daf)
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 <[email protected]>

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 3a61fe3c31b3fc61d3b881196319ccd96d69c7e4)
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 <[email protected]>
(cherry picked from commit 9af6bf15aa2fe836c3ebba306eaaa8971f00fac4)
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 5d1075959aa01d6a0b36f1337de95d768967f57b)
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 0b463c397b9a5576fedfe452fde2fed2a858fdc7)
2022-03-06 00:10:30 +01:00
offl 81c7fa3ffb DB/Quest: Arathi Basin quests
Closes #25845

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

(cherry picked from commit 9cb2168ab9f16bef23148c10012dc9719b9049e4)
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 7b79adf5b1c9e482d061076065687ab8d058e59c)
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 3258e4cecdcfcf3b2ff0bae3f8aee9804fcef34f)
2022-03-06 00:04:14 +01:00