Commit Graph

12116 Commits

Author SHA1 Message Date
xinef1
66dc97bb27 Core/Spells: Added very little tolerance level to completed casts to ensure that spell cast at target standing at the max possible range is finished properly even if target moves a little (#18969) 2017-01-27 20:50:25 +01:00
xinef1
587786ce66 Core/Spells: Properly send autorepeat cancel packet to self and fix some problems with autoshot (#18918)
Closes #13595
Closes #14460
2017-01-27 20:49:08 +01:00
Tonghost
684a5fd3f1 Core/Auth: Use QueryCallbackProcessor insted boost::optional. Fixes build for boost 1.55.0 2017-01-26 13:21:58 -03:00
xinef1
0d1c535041 Fixed unstuck mechanics (#18968) 2017-01-26 11:57:32 +01:00
Shauren
d7b02a0624 Removed debug leftovers
(cherry picked from commit e8273b7b37)
2017-01-25 23:38:19 -03:00
Shauren
580f46693d Build fix
(cherry picked from commit 0314abc26a)
2017-01-25 23:38:16 -03:00
Shauren
4c27203c8f Core/DBLayer: Convert async queries to new query callbacks and remove old callback handling
(cherry picked from commit 8e2634b2b4)

Conflicts:
	src/server/bnetserver/Server/Session.cpp
	src/server/bnetserver/Server/Session.h
	src/server/database/Database/QueryCallback.cpp
	src/server/game/Handlers/CharacterHandler.cpp
	src/server/game/Handlers/SocialHandler.cpp
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSession.h
	src/server/game/Server/WorldSocket.cpp
	src/server/game/Server/WorldSocket.h
	src/server/game/World/World.cpp
	src/server/game/World/World.h
2017-01-25 23:38:13 -03:00
Shauren
8af3cccc83 Core/DBLayer: Refine new query callback for chaining
(cherry picked from commit 73e61fa652)
2017-01-25 23:38:10 -03:00
Shauren
b879a6cae5 Core/DBLayer: Added new async query callback api
(cherry picked from commit fcabeed754)
2017-01-25 23:38:07 -03:00
joschiwald
62b62ddd63 Core/Packets: updated some contactlist packets
(cherry picked from commit e01bb91887)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Entities/Player/SocialMgr.cpp
	src/server/game/Entities/Player/SocialMgr.h
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Server/Packets/MiscPackets.cpp
	src/server/game/Server/Protocol/Opcodes.cpp
	src/server/game/Server/Protocol/Opcodes.h
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSession.h
	src/server/shared/Database/Implementation/CharacterDatabase.cpp
	src/server/shared/Database/Implementation/CharacterDatabase.h
2017-01-25 23:36:24 -03:00
Gustavo
f57132b795 Core/Scripts Fix issue with Lady Deathwhisper's door 2017-01-26 00:17:46 +01:00
ariel-
6ca9f99aaf Core/SpellScript: Pass vector to ValidateSpellInfo by reference 2017-01-24 23:38:46 -03:00
ariel-
2c20b368bc Core/EscortAI: fix invalid iterator dereference 2017-01-24 23:38:21 -03:00
ariel-
2db3e86d9b Core/Scripts: implemented Gnomish Harm Prevention Belt
Updates #18542
2017-01-23 22:03:24 -03:00
ariel-
53eb6ec616 Core/Spell: build fix 2017-01-23 18:38:32 -03:00
ariel-
3544577e48 Core/Spell: unified handling of SPELL_ATTR5_USABLE_WHILE_* attributes
Allowed mechanic mask is calculated on startup and auras checked against those mechanics
Closes #18798
2017-01-23 18:33:34 -03:00
ariel-
ad6912f0d5 Core/Spell: modified HitMask for new default procs 2017-01-23 15:41:43 -03:00
ariel-
bff36a81be Core/Spell: add more aura types to default procs
Ref #18542
2017-01-23 15:35:35 -03:00
ariel-
e33f0e0606 Core/Scripts: implement lightwell aura removal at 30% damaged
Ref #18542
2017-01-23 15:02:12 -03:00
ariel-
9442ce888c Core/Spell: removed some startup errors
Ref #18542
2017-01-23 14:11:28 -03:00
Shauren
c90882ed6e Core/Vmaps: Changed error message when loading outdated vmaps
Closes #18431
Closes #18857
2017-01-22 12:06:02 +01:00
ariel-
c83092a127 Core/Creature: revert turning state apply
partial revert of 6b55faba06

Simply removing the unit state in Creature::ReleaseFocus causes #18549 again
2017-01-22 02:46:20 -03:00
ariel-
6b55faba06 Core/Creature: don't allow turning if spell would cancel due to turning to face target
Closes #18549
2017-01-22 02:24:48 -03:00
ariel-
a8c2d59864 Core/Scripts: Fix Lock and Load proc with Frost trap 2017-01-21 23:48:04 -03:00
ariel-
c3474f57bc Core/Spell: consider spells with no targets for the purpose of finish procs
Closes #18799
2017-01-21 23:42:21 -03:00
Shauren
742c5f1e0b Fix static analysis issues
CID 1291964
CID 1292775

(cherry picked from commit 6767bbc95f)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/SpellHistory.h
	src/server/game/Spells/SpellInfo.cpp
2017-01-21 21:10:46 -03:00
Rushor
60d1c0e20d Game/AI: Implement ContactDistance for ACTION_MOVE_TO_POS (#18720) 2017-01-21 19:10:07 -02:00
Xinef
9b44ed9cda Core/Achievements: Greatly optimize achievement system by splitting large types by miscvalue
Closes #18633
2017-01-21 18:40:35 +01:00
Keader
591a25500d Core/Scripts: Fixed Crok event not starting
[*] Fixed Svalna entering in combat with people ouside of room
Closes #8186
2017-01-21 11:03:26 -03:00
xinef1
44388bc8fb Core/Pets: Disable pet interface for charmed units while mounted (#18607) 2017-01-21 14:50:09 +01:00
xinef1
38f9919a37 Core/Auras: Prevent remove of auras interrupted by turning if the turn could be caused by float calculation error (#18595) 2017-01-21 14:49:06 +01:00
xinef1
ba6281bf42 Core/Units: Drop hostile world references that are out of our sight (fixes combat bug) (#18591) 2017-01-21 14:46:32 +01:00
HelloKitty
01d715eaef Core/Vmaps: Stop M2s from occluding for spellcast LoS
Closes #18528
2017-01-21 14:44:31 +01:00
Shauren
998efa55d8 Core/Player: Removed unneeded distance check from Player::ActivateTaxiPathTo, it is already checked by HandleActivateTaxi* methods (and taxis started serverside should not have such requirements)
Closes #15398
2017-01-21 13:16:06 +01:00
Rushor
a3c6880579 Revert "[3.3.5][master] Core/Movement: Smooth movement #13467 (#18020)" (#18888)
This reverts commit 28050f338d.

Conflicts:
	src/server/game/AI/SmartScripts/SmartAI.cpp
	src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
2017-01-20 14:16:47 +01:00
ariel-
23f76b563f Core/Spell: remove duplicated SPELL_AURA_MOD_DEBUFF_RESISTANCE handling.
Each spell had two rolls in which it could be resisted, effectively adding to the resist chance.

Closes #7406
2017-01-20 01:17:18 -03:00
Keader
28b955bd25 Core/Spell: Fixed Val'kyr Target Search exploit
Closes #16347
by ariel-
2017-01-19 14:12:50 -03:00
Keader
6f7310a259 Core/Spell: Fixed range issues with some quest spells
Closes #17815
2017-01-19 14:09:27 -03:00
ariel-
7283cbe140 Core/Spell: add missing null caster check
01d272d6cb follow-up

Closes #18875
2017-01-19 07:20:02 -03:00
Aokromes
1957c9c114 Core/Updater: Better log for fresh installations 2017-01-15 08:55:11 +01:00
Keader
55c3eb66d7 Core/Scripts: Removed unneeded check in Blood Prince Council 2017-01-13 17:07:03 -03:00
sirikfoll
afa8527338 Core/Scripting: Fixed hotswap calling evade mode for dead creatures 2017-01-13 14:26:43 -03:00
ForesterDev
d4f8d41d08 Core/Objects: Fixed trap visibility for enemies. (#18815)
Closes #18251
2017-01-13 14:27:53 +01:00
ForesterDev
8a07fe7f8c Core/Chat: Fixed logical error for raid warning introduced in fc06465b17 (#18814)
Closes #18787
2017-01-13 09:20:37 +01:00
joschiwald
9edc62f285 Core/SpellScripts: Added helper method to validate spells
(cherry picked from commit 2b5d7eef3a)
2017-01-13 01:05:46 +01:00
xinef1
2e635cf3cf Fixed visual bug where accessory could detach from vehicle on client (#18590)
Closes #15153
2017-01-11 09:30:22 -02:00
Keader
a884660d50 Core/Scripts: Fixed issues in Gal'darah fight
Closes #16219

* Added DespawnAtEvadeMethod
* Fixed Agro
* Implemented Stampede
* Fixed Rhino Spirit flags
* Updated codestyle
2017-01-09 11:36:51 -03:00
Keader
bef8a6dee5 Core/RubySanctum: Updates in Saviana Ragefire encounter
* Fixed Codestyle
* Fixed Spell timers
* Added DespawnAtEvade Method
2017-01-08 23:44:36 -03:00
Rochet2
117d1c31c9 Scripts/Commands: Fix guid usage and enhance commands (#18278)
- Fix targeting gameobjects and creatures for .dist and .gps. The old code used DB guid to search from core generated guid lists.
- Fix some error messages saying 'no player found' even if creatures and gameobjects and players were searched
- Change atoi to atoul when receiving lowguids as string or other uint32 values
- Use ObjectGuid::LowType instead of uint32 for lowguid type
- Allow .gob info to take in gameobject guid link as well as entry link in addition to gameobject entry and update the documentation of the command
- Change .gob delete to post the spawnid (dbguid) instead of the ingame generated guid (which is basically never seen or used by the player in any other commands that I see)
- Allow spawntimesecs to be negative when spawning a gameobject
- Disable searching by ingame spawn id in commands. (it makes little sense for a user to provide a number which is then attempted to be used as DB guid and non DB guid when both could have a match)
- Update .gob turn documentation to tell about possibility to provide orientation in command
- Correct the types in .gob add command result trinity_string
- Correct the creature search for .npc del
- Change .event to .event info
- Add .go offset command
- Remove the .go command for empty string (no subcommand given) because it just used .go xyz
- Extend .gob info to show size, faction, flags and model dimensions
- Remove some unnecessary casts
- Document .wp show better (first and last were not documented)
- Insert spawnid to .wp show info error message
- Fix spawntime printing for .gobject target
- Fix guid targetting for .npc set movetype
- Fix query by spawnid for .wp show info
- Fix deleting of existing waypoints when twice doing the command .wp show on
- Fix deleting of existing waypoints when doing the command .wp show off
- Change wpguid column in DB and in core to uint32, which is what the spawnid type is in core and db.
2017-01-08 04:55:22 +01:00
joschiwald
3d245fb2dc Ups... 2017-01-08 01:01:27 +01:00