Commit Graph
38894 Commits
Author SHA1 Message Date
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
offl 24b9d80159 DB/Creature: Update stats of some creatures
(cherry picked from commit 793e6ae4ae3d4806df9976b30eb64c87c6adda04)
2022-03-06 00:00:50 +01:00
xvwyh 2a595d55b2 Core/Spells: Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_UNIT_NEARBY_PARTY (#25837)
* Update SharedDefines.h

* Update SpellInfo.cpp

(cherry picked from commit 7c6d92012afa4efe7b075aa6543e2169cda3faed)
2022-03-05 23:51:50 +01:00
Trond B. Krokli 5159a11241 Update LootMgr.cpp (#25849)
Typo correction for console & log output `>> Loaded reference loot templates in %u ms`

`refence` --> `reference`

(cherry picked from commit cf5f360299d9cf156a94aae7c3c05fd0d0941a4f)
2022-03-05 23:51:04 +01:00
offl 444b6bc738 DB/Creature: Fix typo in 7a774e94d04cb2b6150222f4798de987917b04ca
Kodo can't sit

(cherry picked from commit f6b22df9bd2231717b78393c65d92fbcafe92483)
2022-03-05 23:50:52 +01:00
Cerveciento 051aadbab5 DB/Locales: Add missing esES & esMX quest locales (Part 91)
Closes #25841

(cherry picked from commit 2951def0a4ca932437348447266bb0371d7dd457)
2022-03-05 23:50:27 +01:00
Cerveciento 3df3f2b4b8 DB/Locales: Add missing esES & esMX quest locales (Part 90)
Closes #25840

(cherry picked from commit 9b22de905a1cdbf12396bab563c4443c93b1d7b9)
2022-03-05 23:49:41 +01:00
Cerveciento e3374c19c4 DB/Locales: Add missing esES & esMX quest locales (Part 89)
Closes #25839

(cherry picked from commit dad610c407c72f0d06d55c05414942c94dd8461a)
2022-03-05 23:49:16 +01:00
illfated ea5bc83178 DB/Creature: Remove incorrectly spawned 2x Shadowmoon Retainer (22102)
Closes #25838

(cherry picked from commit 5170721fb9cb0007f7401e6580d371d41dc34804)
2022-03-05 23:48:38 +01:00
offl 9036b866f3 DB/Creature: Remove UNIT_FLAG_UNK_29 part 2
Ref #25764

(cherry picked from commit 7a774e94d04cb2b6150222f4798de987917b04ca)
2022-03-05 23:48:07 +01:00
alpharius ce3ab8ec8d DB/Locales: Add missing / update deDE quest locales (Wetlands)
Closes #25827

(cherry picked from commit fc3479dec2e6f74b1310478edf3e753888d4e24e)
2022-03-05 23:45:20 +01:00
alpharius 72dc62142f DB/Locales: Add missing / update deDE quest locales (Loch Modan)
Closes #25826

(cherry picked from commit d3e464b4c4f88093169d0b113ed31528dcbf7564)
2022-03-05 23:43:43 +01:00
offl dc2caad460 DB/Creature: Remove UNIT_FLAG_UNK_29 part 1
Ref #25764

Do not apply serverside spell for master

(cherry picked from commit ba7b5d8552d8eea581d33646b184b7b836bf6641)
2022-03-05 23:36:59 +01:00
offl acb61bdcd1 DB/Creature: Remove UNIT_FLAG_NON_ATTACKABLE part 1
Ref #25764

(cherry picked from commit 8ef1149706c2ab19942055c991b0086dea71d680)
2022-03-05 23:35:08 +01:00
Jinnaix 53eebf39f3 Scripts/Diremaul - Dire Maul crystal and forcefield fix (#25332)
* Scripts/Diremaul
Diremaul Crystal and Forcefield fix

* Apply suggestions from code review

Apply suggestions

Co-authored-by: MaxtorCoder <[email protected]>

* Fix stuff

* _private member

* use std array instead of c-arrays and standartized guid container namings

* Process feedback

* finalize

* blubb

* small changes

* whoops

* Process feedback

* Missing include

* Process feedback

* Apply suggestions from code review

Co-authored-by: Giacomo Pozzoni <[email protected]>

* remove unused field

Co-authored-by: MaxtorCoder <[email protected]>
Co-authored-by: Ovah <[email protected]>
Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 26002c530f7183105bf3dcb33272bb0cf3322558)
2022-03-05 23:09:23 +01:00
Giacomo Pozzoni 6b242eee13 Core/Unit: Fix movement hiccups in water (#24020)
* Core/Unit: Allow to define Units which can enter water but cannot swim

Allow to define Units which can enter water but cannot swim, i.e. crabs walking at the bottom of a sea.

* Add UNIT_FLAG_SWIMMING to creatures when entering combat

* Fix charmed creatures not entering water

* Always allow Creatures controlled by players to enter water

* Add swimming flag when possessing a unit and remove it properly at the end, even if the creature engaged combat before and after.
When adding/removing UNIT_FLAG_SWIMMING manually calling Creature::RefreshSwimmingFlag(true) might be required.

(cherry picked from commit fc1a0d936888395f114028af3337e7d674e0a43c)
2022-03-05 23:04:24 +01:00
offl 701a3927c1 DB/Creature: Remove remaining UNIT_FLAG_PACIFIED part 1
Ref #25764

(cherry picked from commit 95a2b906b0bce6756c28334b6dadd051879c8587)
2022-03-05 22:42:48 +01:00
offl cd0b15e918 DB/Creature: Remove UNIT_FLAG_NOT_ATTACKABLE_1
Ref #25764

(cherry picked from commit eb1806740a5b0cfd05ad75492277f19999658c7a)
2022-03-05 22:41:30 +01:00
wotlk-enthusiast 850d60c4b3 Scripts/Utgarde Pinnacle: Svala Sorrowgrave Intro and Ritual of the Sword (#24503)
* Scripts/Svala SorrowGrave - Fix broken intro event and Ritual of the Sword

* Added missing header for non-PCH build.

* Added error checking for Svala's targeting, and tightened up the timing on the intro event.

* Update WorldDB\Creature_Template_Movement for Svala

* Fix movement during intro and ritual event

* Rename SQL file for merge

Co-authored-by: Carbenium <[email protected]>
(cherry picked from commit a225717b99b6d1befcfe40f3001bfb1efcf8a9d8)
2022-03-05 22:39:32 +01:00
Cerveciento c7bff97d1a DB/Locales: Add missing esES & esMX quest locales (Part 88)
Closes #25821

(cherry picked from commit 94a74126e9b82c1f31ac4218ff5fbaf773cd50ef)
2022-03-05 22:37:56 +01:00
Cerveciento ce3e093bc5 DB/Locales: Add missing esES & esMX quest locales (Part 87)
Closes #25820

(cherry picked from commit 88a4e1799c92b467561d12d77801a13da4495475)
2022-03-05 22:35:09 +01:00
alpharius 163bc5a1c2 DB/Locales: Add missing / update deDE quest locales
Closes #25810

(cherry picked from commit 438a1eb01ed3d79d748825ea093a287722da2e4b)
2022-03-05 22:34:40 +01:00
offl cbb40fd777 DB/Creature: Finish replacing UNIT_FLAG_IMMUNE by auras
(cherry picked from commit 2676c13713cb564bf21f2bf4b8c22f3f89670c53)
2022-03-05 22:30:18 +01:00
offl 395bd7206d DB/Creature: Remove UNIT_FLAG_RENAME 2
(cherry picked from commit 03c1fd556de54eab6853c7714c3f763f0abaa24f)
2022-03-05 22:29:08 +01:00
offl b2cdeef628 DB/Creature: Remove UNIT_FLAG_RENAME
Ref #25764

Definitely should not be stored in DB

(cherry picked from commit d0b9aaa5031054b103963d23ddb3ec711412460b)
2022-03-05 22:28:44 +01:00
offl be01acdf18 DB/Creature: Update stats of some creatures
(cherry picked from commit 79662ba7498c663421390c0869f49c09dda43268)
2022-03-05 22:28:10 +01:00
offl 08782f4f8a DB/Creature: Add UNIT_FLAG2_UNK1 (CREATURE_DIFFICULTYFLAGS_2_HIDE_BODY)
(cherry picked from commit 27722d42ef5a1da24eee7bc2278b4d708ce9e116)
2022-03-05 22:21:25 +01:00