Commit Graph
32963 Commits
Author SHA1 Message Date
jackpoz ce10a9482a CI/GitHub: Add action to label issues 2020-05-17 18:57:51 +02:00
Aokromes c77b1f8b11 Update issue_template.md 2020-05-17 17:32:14 +02:00
Ghaster 00c4be9f59 Tools/vmap_extractor: Fixed a typo reading MAIN/MAID chunks (#24637) 2020-05-17 01:35:40 +02:00
Shauren 7038c74f43 Core/Items: Fixed sending child items by mail if loading from db fails 2020-05-16 17:15:11 +02:00
Shauren e047d14a2f Core/PacketIO: Send item flags in auction items 2020-05-15 09:36:52 +02:00
Shauren d3e1e4be22 Misc: Update protobuf code generator plugin for 4c85198ed6 2020-05-14 10:15:22 +02:00
jackpoz d3782c2d09 Core/Misc: Add console option to update databases only
Add "--update-databases-only" console argument to stop worldserver execution after having updated all databases (if specified in config file)

(cherry picked from commit 92bf5b1ba795303808c5f1b3bf82dd0204133ed8)
2020-05-13 21:06:33 +02:00
Shauren 7e18255ee2 Core/AuctionHouse: Don't overflow mail attachments, send max 16 items per mail 2020-05-13 00:08:27 +02:00
Shauren 340fd1ce6a Core/Mail: Allow server created mails to contain up to 16 items 2020-05-12 22:54:03 +02:00
Aokromes 00a0c6e7ed Misc/Config: Update CharacterCreating.Disabled.RaceMask 2020-05-11 18:20:38 +02:00
Aokromes 78bc0c41e9 Misc/Config: Update CharacterCreating.Disabled.RaceMask and ClassMask 2020-05-11 17:54:15 +02:00
Shauren 4fb6ad5225 Fix dynamic build 2020-05-10 19:29:17 +02:00
Shauren d889228259 Core/DataStores: Allow loading encrypted sections when key is known when reading from casc storage
Closes #24456
2020-05-10 15:29:47 +02:00
Shauren 16761e1d7c Tools/vmap assembler: Move TileAssembler from common to vmap4_assembler where it belongs 2020-05-10 15:24:43 +02:00
Shauren fe7a0c9ad8 Tools/Extractors: Don't try extracting maps that have no wdt defined in Map.db2 2020-05-10 15:22:58 +02:00
Shauren 885d2a7213 Tools/Extractors: Refactor CascHandles into classes 2020-05-10 15:09:19 +02:00
Shauren 13053538f2 Core/Battlenet: Add club services 2020-05-09 01:09:07 +02:00
Shauren 4c85198ed6 Core/protobuf: Remove unneccessary methods from generated services 2020-05-08 00:12:36 +02:00
Shauren 1aaa3131d0 SQL: Fix reapplying 2020_05_02_02_world.sql by autoupdater 2020-05-07 15:31:22 +02:00
ahchxj2416 d40c302839 SQL: Fix 2020_05_02_02_world.sql for mariadb (#24561) 2020-05-07 15:28:33 +02:00
Shauren ea812fec11 Dep/CascLib: Update to ladislav-zezula/CascLib@0a05c59eb8 2020-05-07 14:39:40 +02:00
DuelistRag3 dfdabdb97b Core/Spells: Fixed initializing spell power costs (#24579)
Closes #24315
2020-05-07 00:06:33 +02:00
Shauren d1572327d2 Core/Misc: build fixes
Merges #24550
2020-05-03 14:53:18 +02:00
ariel- e27d7049c3 Core/Misc: build fixes
(cherry picked from commit aa0b7dd1529a5c9cf666d569a54f024d28955c5b)
2020-05-03 03:06:37 +02:00
ariel- 6604849716 Core/Scripts: unified scripted gossip/quest api
- Changed self-accessor on GameObjectAI to "me", like UnitAI
- Moved all related functions to AI, now Unit and GameObject have the same function names with identical behaviour
- Remove "OnUpdate" from CreatureScript/GameObjectScript, was never used and we already have AI Update method
- Quest methods no longer return a bool, the return value was used to call the AI version if the ScriptMgr one returned false
- Implemented GameObjectAI::Destroyed hook (was never called), implemented Damaged method
- Rename OnStateChanged to OnLootStateChanged to reflect when it's really called, and created a new hook OnStateChanged that only gets called on GOState change
- Since the functions are now only getting called from AI, made GetAI methods full virtual. (CanSpawn method is anyways going to be used on creatures with AI)

(cherry picked from commit f913f3bb8977c127d200d5d4a608ab434b21bbcd)
2020-05-03 03:04:32 +02:00
Shauren e3489c48ee Nopch fix 2020-05-02 23:34:07 +02:00
Shauren 82b4ca3b7c Core/Creatures: Fixed level 240 guards and updated scaling level calculation 2020-05-02 22:37:32 +02:00
funjoker f5e20e8012 Core/Players: Store race base stat modifiers separately 2020-05-02 22:37:32 +02:00
funjoker 314a35f0cd Core/Creatures: Update creature scaling to use content tuning
Closes #22831
2020-05-02 22:37:28 +02:00
Golrag d7623adf0e Core/Battlegrounds: Use the following fields from DB2/battleground_template data in the Battleground Class:
* isArena
* name
* queueId
* min & max players (per team)
* map id
* script id
* start max dist
* type id
* min & max level
* Save the WorldSafeLocsEntry* instead of the Position in the BattlegroundTemplate struct
2020-05-02 12:05:30 +02:00
Shauren 32950cec21 Core/Petitions: Updated petition error values to 8.3 2020-05-01 20:48:06 +02:00
Shauren 8c4026a063 Nopch fix 2020-05-01 20:38:52 +02:00
xinef1 48a40fae0a Core/Misc: implemented petition manager (#19010)
- Implemented manager for petitions to perform all petition related tasks and synchronize data with database.
- This kills ugly synchronous querys on packet handlers

(cherry picked from commit a4aa95a5a39d75b9e38fe03aac57ceb7d9bba90f)
2020-05-01 19:32:11 +02:00
ariel- c3811b26bc Core/Achievement: fix bad lookup of ACHIEVEMENT_CRITERIA_DATA_TYPE_S_EQUIPPED_ITEM item
Closes #19064

(cherry picked from commit 70c4a37544ade558fb79383d2668f5f0322d47b8)
2020-05-01 17:35:11 +02:00
Xinef 38d3c5ed16 Core/Achievements: Greatly optimize achievement system by splitting large types by miscvalue
Closes #18633

(cherry picked from commit 9b44ed9cda347bfda1078666b3779d985fc37b2b)
2020-05-01 16:31:01 +02:00
Shauren 57a5969c26 Merge pull request #24500 from funjoker/cherry-picks 2020-05-01 15:41:32 +02:00
Shauren fbd74eb5d8 Core: Updated allowed build to 8.3.0.34220 2020-04-30 00:41:52 +02:00
ariel- 05ba662d5d Core/Spell: implement pvp trinket immunity against Judgement of Justice
By Riztazz, closes #19484

(cherry picked from commit 25a449a90e01d7100d482c156fffa3ac2e7730d2)
2020-04-29 22:23:11 +02:00
Kittnz 230adbfc0e DB/Map: Add missing npcs and gameobjects on the old Champion's Hall & Hall of Legends instances.
Notes: this areas is not accessible for normal players.
(cherry picked from commit 21b2042840e05ebeba365c54d47c07c13fde123f)
2020-04-29 22:07:16 +02:00
Keader 08635c740a Core/Spells: Fixed Chilled to the Bone
Closes #19417
thanks ariel-

(cherry picked from commit 164af391c9662732dfc9cfe677c48bd3f927c2be)
2020-04-29 21:11:17 +02:00
ariel- 4f6d38fe9d Core/Entities: moved PetAura handling to Player where it belongs
(cherry picked from commit 231ec8331b2ba3cded9f0d67c77c949cd45f5a60)
2020-04-29 01:36:47 +02:00
ariel- 1929ca3aa1 Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hook
- Duplicated logic never used, sometimes only ScriptMgr version was called, sometimes only AI
- They only encourage bad scripting practices
- You can still use OnSpellHit or a SpellScript

(cherry picked from commit b6b59f6c239bc0259c92c28bf43bbb50573330b5)
2020-04-29 01:36:46 +02:00
ariel- 93c19c4194 Core/Misc: camelize GetFaction/SetFaction properly
(cherry picked from commit 4c4dca6d694bd1064b403a31a5b1c776a326f3ce)
2020-04-29 01:36:41 +02:00
Killyana 57b1d76ad5 DB/Creature: Add some missing spawns to Naxxanar area
(cherry picked from commit 5a3a9381e445a7d70464d1b97364778e07bbc6f2)
2020-04-28 22:46:56 +02:00
ccrs a46286a803 Core/Unit: revert 3ea46e57af
After discussion we realized, ariel and me, that Creature and Unit IsMovementPreventedByCasting() have not the same checks (order matters)

(cherry picked from commit 5a2f0ce29e29d934c200f617fec6dad619fab9a5)
2020-04-28 22:42:17 +02:00
Killyana acdbc681cc DB: Some Pathing on Coldarra area
(cherry picked from commit 01d9df27d5661088aae88cb672a412a6d5b9ef2f)
2020-04-28 21:49:49 +02:00
ariel- 6a96addadd Core/Unit: 229444b74a follow-up
- IsFocusing is made virtual again, so there's no need to keep a duplicated function

This reverts commit 5043639c563514c079ba6eb959dd4c1c555fa494.

(cherry picked from commit 3ea46e57afe26778704647084cc6fa55a798e510)
2020-04-28 17:51:57 +02:00
ccrs 104e745edf Core/Misc: cleanup SetInFront uses
Set in front modifies only the serverside orientation, use with care.
Also check for current focus to prevent things like incorrect damage on casting creatures (ie dragon breath direction change in your face because of some taunt missclick)

(cherry picked from commit 229444b74a7e2176db142e0446d4268995c5aad6)
2020-04-28 17:51:25 +02:00
ccrs 2d4549023a Core/Unit: 2170541a51 followup
use true as default value since pretty much all the script calls will expect that

(cherry picked from commit c7a57e2a093ada2ece7a01eac2f627aeb26b08d5)
2020-04-28 17:42:26 +02:00
Keader d1bdb8bdd3 Core/Scripts: Re-hack Boss Loken. Followup 3a0cb90ea994e82dd8c70888fb847082f738d5dc
Loken still need ClearUnitState Hack to DoMeleeAttackifReady work

(cherry picked from commit 4431a1149da7bc48ad1047fc8c6135ed02b2e77b)
2020-04-28 14:59:41 +02:00