Commit Graph

13712 Commits

Author SHA1 Message Date
Ovah
b9e9ccf93c Core/Objects: use the actual collision height of players and creatures to get more accurate liquid status results (#23070) 2019-04-06 17:39:04 +02:00
r00ty-tc
8bb88657f8 Core/GameEventMgr: Log error if loading GO/Creature into event that is part of pool
- Only warn, still load the GO/Creature
 - These should be added to game_event_pool by pool ID instead
2019-04-05 22:01:14 +01:00
r00ty-tc
2a7a1b27d5 Core/Database: Correction for later MariaDB version
- Removed unused define CR_INVALID_CONN_HANDLE which was removed entirely in more modern MariaDB versions
2019-04-05 21:51:20 +01:00
Killyana
97edfcb367 Core/Trainers: Fix DB error log
Closes #23167
2019-04-05 15:43:07 +02:00
Killyana
c52eb49f71 Core: Remove wrong emotes played in combat
Ref #23152
2019-04-04 15:36:29 +02:00
Gustavo
cc3293c002 Core/Scripts: Fix Blood summon position (#23088)
* Core/Scripts: Fix Blood summon position

Updates #13162
2019-04-04 00:30:25 -03:00
Gustavo
50f122de77 Core/Misc: Warning fixes (/W4) (#23149)
* Core/Misc: Warning fixes (/W4)
2019-04-03 23:36:26 -03:00
jackpoz
750d89beed Core/Misc: Fix static analysis issues
Fix static analysis issues spotted by Coverity Scan
2019-04-02 21:40:30 +02:00
jackpoz
a12ea482f3 Core/Misc: Fix static analysis issues
Fix static analysis issues spotted by Coverity Scan
2019-04-02 20:11:27 +02:00
jackpoz
1d04a3b216 Core/Misc: Fix GCC 8 warnings 2019-03-31 17:34:28 +02:00
sirikfoll
dbfc6ce773 Core/GameObject: Properly dismount players on GameObject Use
Closes #23124
2019-03-30 21:30:58 -03:00
Shauren
fe0abfe985 Core/PacketIO: Fixed mistake in setting packet value for SMSG_MULTIPLE_MOVES 2019-03-30 15:44:56 +01:00
Shauren
c5ab22b6ed Core/PacketIO: Send movement state change packets only once, not for each player whose visibility we enter
Closes #23141
2019-03-29 23:26:51 +01:00
jackpoz
129ba15378 Core/ObjectMgr: Make LoadCreatureTemplates() easier to maintain
Change how LoadCreatureTemplates() declares the SQL query by putting each field on its own line, making it easier to add/remove fields
2019-03-24 17:44:04 +01:00
ForesterDev
262ddaf819 Core/Conditions: implement CONDITION_GAMEMASTER (#23108) 2019-03-23 17:51:36 +01:00
PolarCookie
a926a3088d Core/Item: Item Signature (#23119) 2019-03-23 14:34:37 +01:00
Trond B. Krokli
a040d48443 Scripts/Wailing Caverns: make Disciple of Naralex say Mutanus, not $n (#23122)
* Scripts/Wailing Caverns: make Disciple of Naralex say Mutanus the Devourer

Disciple of Naralex should say
"This Mutanus the Devourer is a minion from Naralex's nightmare no doubt!"
instead of using $n caused by a missing target in the Talk() script command.
2019-03-22 12:09:41 +01:00
Killyana
5f04c829a8 Core/GameObject: Remove summoned game objects from the map after calling SetSpawnedByDefault(false) (#23120)
Closes #23115
2019-03-18 01:04:38 +01:00
jackpoz
92bf5b1ba7 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)
2019-03-17 21:34:13 +01:00
Trond B. Krokli
7cb31aa482 Scripts/Borean Tundra: link gossip content for NPC Iruk from DB (#23118)
- remove hardcoded text (deprecated method)
- add already existing DB gossip content to enum
- correct spell enum from spell_creature_ to spell_create_
- replace case switch with if statement (only one boolean case)

Extra script file update:
- remove SD comment line 22 (outdated info, replaced by SAI)
2019-03-17 20:02:05 +01:00
Jozef Dúc
62f621fcd7 Check player conditions to enter instance (#23117)
Check player conditions to enter before party condition.
2019-03-17 19:52:46 +01:00
Killyana
9ab05e2b6d Core/SAI: Fix Move to position and Set run if used after a waypoint
Closes #22976
2019-03-13 23:29:52 +01:00
Killyana
75a8639242 Core/SAI: Fix the respawn event for GameObjects (#23112)
Closes #22612
2019-03-13 23:24:51 +01:00
Giacomo Pozzoni
fa8c0dd534 Revert "Core/AuctionHouse: use DisableMgr to disable specific items (#19289)"
This reverts commit f6d3a5b9b9.
2019-03-12 16:09:45 +01:00
ForesterDev
f6d3a5b9b9 Core/AuctionHouse: use DisableMgr to disable specific items (#19289)
* Core/AuctionHouse: use DisableMgr to disable specific item for AuctionHouse or AuctionHouseBot
2019-03-12 09:34:34 +01:00
Shauren
d655862f52 Core/Pets: Fixed saving pet declined names
Closes #23106
2019-03-11 09:04:26 +01:00
Killyana
750be73b99 SAI/GameObject: Despawn the linked trap with the gameobject
Closes #23105
2019-03-09 21:11:21 +01:00
Aokromes
73d2e5da37 Core/Disables: Implement SPELL_DISABLE_ARENAS (#23103)
* Core/Disables: Implement SPELL_DISABLE_ARENAS and SPELL_DISABLE_BATTLEGROUNDS

By fredimachado
2019-03-09 16:09:21 +01:00
Shauren
9d34739d69 Core/PacketIO: Fixed wrong opcode being sent for stunned creatures 2019-03-08 19:22:34 +01:00
ccrs
a006362615 Scripts/Northrend: 482e0da followup
add a little bit of tolerance
2019-03-08 15:25:13 +01:00
Langerz82
e840d4967e Spell/Script: Guard's Mark
Closes #16888
2019-03-08 15:13:32 +01:00
PolarCookie
ec3cb05d7f Core/Spell: SpellAura Redux (#22794)
* typo and correction

* spell aura no longer shared between targets

_spellAura isolated

* SPELL_AURA_CONTROL_VEHICLE is not strictly single target spell

Steam Tank Control and Wyrmrest Commander

units can reseat themselves again

* Rename 9999_99_99_99_world.sql to 2019_03_08_00_world.sql
2019-03-08 08:34:16 +01:00
ccrs
3eecadcebf Scripts/Northrend: 482e0da followup 2019-03-07 22:26:22 +01:00
Killyana
e5470ab1ee Spell/Script: Specify a target for Azure Dragon: On Death Force Cast Wyrmrest Defender to Whisper to Controller - Random 2019-03-07 17:37:03 +01:00
Keader
482e0dad30 Creature/Script: Daegarn
Remove the incorrect SAI and move it to cpp
2019-03-06 16:15:03 +01:00
Killyana
0959f3071a Spell/Script: Summon Scourged Captive
Closes #16357
2019-03-05 19:13:16 +01:00
Gustavo
0eacccc2cd Core/Players: Fix logic in CanSeeSpellClickOn (#23090)
Block SpellClick for the npc if there is no entry
2019-03-05 15:06:19 +01:00
ccrs
7fdf9701df Core/Misc: e69570d followup 2019-03-04 16:52:10 +01:00
ccrs
e69570dd76 Core/Misc: use/implement/portfrommaster InitWorldState packet definition
WorldPackets::WorldState::InitWorldStates
2019-03-04 16:33:08 +01:00
Keader
e1aafddc2e Scripts/Trial of the Crusader: Fixed Slime Pool visual effect
Closes #21660
2019-03-03 23:19:03 -03:00
jackpoz
72052aa9a5 Core/Spells: Adjust range checks to GameObject targets 2019-03-03 21:42:07 +01:00
jackpoz
270a144083 Core/Spells: Adjust range checks to GameObject targets 2019-03-03 21:24:39 +01:00
jackpoz
d2841d6b66 Core/LFG: Teleport players to other players instead of dungeon entrance when continuing a LFG dungeon
This feature already existed in current code but was broken by d0334bf948
2019-03-03 21:08:32 +01:00
Sorikoff
34cfa69efd Core/Movement: Allow using run when moving randomly (#23081)
* Allow run when moving randomly
2019-03-03 19:54:07 +01:00
jackpoz
6c5d997161 Core/Misc: Code cleanup 2019-03-03 19:51:42 +01:00
jackpoz
696039cfed Core/MMaps: MMaps logs cleanup
Move MMaps related logs from "maps" category to "maps.mmaps".
Remove newlines in logs, the log system already takes care of newlines.
2019-03-03 16:54:19 +01:00
Keader
990ad000f8 Spell/Script: Freezing Circle
Closes #11312
See the original issue before cherry pick
2019-03-02 19:57:38 +01:00
jackpoz
c602220e02 Core/MMaps: Fix infinite loop in Detour
Fix another infinite loop in Detour caused by degenerated triangles.
Check the result of some previously ignored Detour calls.
Update recastnavigation to 3a619d773deb7e3a15ee215217c825995fe71312 and apply some more custom changes
2019-03-02 19:53:46 +01:00
Killyana
8dec9b97e2 Core/GameObject: Set loot state to Not ready when a gob is deactivated (#23072) 2019-03-02 15:05:28 +01:00
Sorikoff
dbadb6369c Core/Movement: Allow using walk when chasing v2 (#23073)
* Allow walk when chasing
2019-03-02 15:04:01 +01:00