Commit Graph

32982 Commits

Author SHA1 Message Date
Shauren
bf8714b870 Core/Battlegrounds: Queue updates
* Fixed battleground queues for battlegrounds with id higher than 255
* Fixed queue display ingame after entering bg
* Fixed ingame display after leaving bg queue
* Fixed bg scoreboard
2020-05-31 16:49:18 +02:00
Shauren
161944b764 Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73 2020-05-30 17:43:56 +02:00
Shauren
1ae72db201 Build system: Print found git version when warning about it being too old 2020-05-30 17:42:14 +02:00
Shauren
d435d5d5ba Core/PacketIO: Fixed BattlefieldStatusHeader structure and QueueID values for other battleground types 2020-05-27 00:29:13 +02:00
Shauren
eba31dea27 Core/Maps: Improvements to terrain swap handling
* Fixed memory leak when unloading grids
* Handle child maps being entered
* Allow chaining more child maps (Draenor -> Tanaan Jungle -> Tanaan Jungle - No Hubs Phase)
2020-05-24 22:34:25 +02:00
jackpoz
ebb6f12db8 CI/GitHub: Add another Pull Request labeler as cron job 2020-05-23 23:22:54 +02:00
jackpoz
59e8b98bef CI/GitHub: Remove PR GitHub Action because of current limitations
GitHub Actions triggered when creating a Pull Request receive a read-only token that makes them useless when trying to do anything on GitHub.
Useful links:
- https://github.com/actions/first-interaction/issues/10
- https://github.com/actions/labeler/issues/12
- https://github.com/actions/labeler#pull-request-labeler
2020-05-23 18:43:28 +02:00
jackpoz
58013167de CI/GitHub: Rename jobs 2020-05-23 17:56:59 +02:00
Killyana
872fbb9e1f DB/GameObject: Fix Gob state from the previous commit 2020-05-22 21:42:37 +02:00
Killyana
e3713503ac DB/Spawn: Add missing spawns to Ruins of Gilneas 2020-05-22 21:33:22 +02:00
jackpoz
0435ecc8f5 CI/GitHub: Fix github actions syntax 2020-05-22 13:28:57 +02:00
Giacomo Pozzoni
7c68eb0e70 CI/GitHub: Fix github actions syntax 2020-05-22 13:26:46 +02:00
Shauren
4d69cc1c56 Core/Misc: GCC build and warning fixes 2020-05-21 22:15:58 +02:00
jackpoz
92a289e455 CI/GitHub: Add action to label pull requests 2020-05-21 16:43:42 +02:00
Shauren
aedab76a11 Core/Misc: Add extra ByteBuffer and WorldPacket constructors allowing to set size immediately 2020-05-20 17:28:38 +02:00
Shauren
4acae3992b Core/Players: Only restore spells learned as quest rewards if they have the right AcquireMethod in SkillLineAbility.db2
Closes #24645
2020-05-19 00:04:23 +02:00
Shauren
7a68001452 Core/Spells: Revert b711f0bcae, not valid since cata 2020-05-19 00:02:46 +02:00
Shauren
3e83373907 Core/Achievements: Minor fixes
* Corrected criteria and modifier tree logic after implementing their operators
* Account wide achievements will now show progress ingame (even if we still treat them as per-character)
* Fixed more cases of achievements being granted automatically without satisfying modifier trees
2020-05-18 16:57:59 +02:00
funjoker
4055434ba6 Core/Misc: Unify handling CharacterCreating.Disabled.RaceMask with other racemask fields (#24604) 2020-05-17 23:39:17 +02:00
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 92bf5b1ba7)
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 aa0b7dd152)
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 f913f3bb89)
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