ariel-
3698f3a262
Core/Entities: allow guardian pets to inherit spellmods
...
(cherry picked from commit 97e608b05302818170ab8ada03077b8dafc55af9)
2020-06-14 20:09:45 +02:00
Chazy Chaz
e21e7cd2e2
Scripts/Commands: Update reload commands names
...
(cherry picked from commit 4843544c217800ba56b3084a8b1ca2fcf62cb091)
2020-06-14 20:09:40 +02:00
Chaouki Dhib
419689b485
Core/Spells: change to the way the spell effect SPELL_EFFECT_JUMP work
...
(cherry picked from commit d625c0f619fa0bfee137070862132e6d9e3cb445)
2020-06-14 20:04:17 +02:00
ccrs
55576d20d8
Core/Creature: drop method SetPosition
...
eeeevil, use UpdatePosition. It was there just for old scripts compatibility.
(cherry picked from commit 17579f8d91e0dcc6990fe581de9ca51ed444b754)
2020-06-14 20:04:17 +02:00
ccrs
a90f60f7d3
Core/Transport: fix logic error
...
justStopped was always set true, but when transports spawn and remain stationary timer, _currentFrame->ArriveTime and _currentFrame->DepartureTime are set to 0, making justStopped always remain true and triggering incorrect calls.
(cherry picked from commit dd2151cc7a6a92c4103560609517e32220e51950)
2020-06-14 20:04:17 +02:00
ccrs
08f13f83af
Core/Creature: IsMovementPreventedByCasting followup
...
Handle correctly move allowed channels: IsChannelActive checks if channel phase has started (after cast if any)
Must skip the other checks since all channels focus target.
ref #19532
(cherry picked from commit b74264aef418a3c44e98a3cf9da692fd662e008d)
2020-06-14 20:04:16 +02:00
Shauren
d53a2dea5f
Core/Misc: Add .Size() to TypeUnorderedMapContainer for stats/debugging
2020-06-14 15:09:33 +02:00
Carbenium
1258800add
Core/Entities: Add a missing include
2020-06-14 14:08:24 +02:00
Shauren
83aaa48b85
Tools/vmap extractor: Various fixes
...
* Fixed output file name case normalization - exclude names built from file ids (starting with FILE)
* Skip antiportal WMO groups
Closes #23972
Closes #24798
2020-06-14 00:43:02 +02:00
Shauren
6533de3100
Core/Items: Implemented corruption and corruption resistance stats
2020-06-13 00:30:32 +02:00
funjoker
2493d88a72
Core/DataStores: Fix loading hotfixes deleting records for db2s not loaded by worldserver ( #24783 )
...
* Also load WorldStateExpression.db2
2020-06-12 11:07:11 +02:00
Shauren
c7306439e7
Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
2020-06-12 01:29:18 +02:00
Shauren
1cdd1d0249
Core/Auras: Defined unknown aura type
2020-06-09 11:56:22 +02:00
Shauren
5fce3604fc
Core/PacketIO: Fixed receiving and sending db2 hotfix packets
2020-06-08 00:08:37 +02:00
Shauren
e5a6552abc
Core/Items: Fixed generating default bonuses based on context
2020-06-07 12:38:38 +02:00
Shauren
b47c19d506
Core/DataStores: Allow custom hotfixes (VerifiedBuild <= 0, has loading priority) to coexist with sniffed data (VerifiedBuild > 0)
2020-06-06 23:40:53 +02:00
Shauren
63fba47511
Core/Items: Implemented new bonus type (extra ItemEffect)
2020-06-05 00:27:40 +02:00
Shauren
df0a027444
Core/Misc: Ensure that query used for .reload creature_template command always matches the one used for loading during startup
2020-06-04 00:13:05 +02:00
Shauren
3f5dbf1f88
Fix GCC build
2020-06-03 00:40:44 +02:00
Shauren
db7126de46
Core/DataStores: Fixed loading hotfixes crash when compiled with strict database type checking
...
Closes #24716
2020-06-01 00:15:33 +02:00
Shauren
41c3675bb9
Fix warnings
2020-05-31 17:18:18 +02:00
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
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
Shauren
4d69cc1c56
Core/Misc: GCC build and warning fixes
2020-05-21 22:15:58 +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
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
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
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