Commit Graph

24004 Commits

Author SHA1 Message Date
Shauren
ca112b0dae Removed a bunch of "reserved" SAI actions 2019-04-18 00:00:15 +02:00
Aokromes
b28d55b3dc Update SmartScriptMgr.h 2019-04-17 23:51:48 +02:00
Aokromes
0bb8f69164 Core/SmartScripts: Reserve SMART_ACTION_PLAY_CINEMATIC 2019-04-17 22:09:02 +02:00
Shauren
bcda8dd742 Core/Dep: Boost 1.70 compatibility 2019-04-14 00:13:23 +02:00
Shauren
f729050900 Core/Maps: Ensure all child terrain maps are created before doing anything on parent map such as loading respawn times and corpses 2019-04-06 11:13:34 +02:00
Shauren
81dd8574bb Core/PacketIO: Removed old and unused ByteBuffer functions 2019-04-01 22:27:24 +02:00
Shauren
16e06a5392 Core/Mail: Defined new mail message type 2019-03-07 23:12:43 +01:00
Shauren
25594c5a8e Core/Misc: Fix static analysis issues
Fix static analysis issues reported by Coverity
2019-02-16 17:37:16 +01:00
Shauren
d5992f7711 Core/Spells: Add missing spell and aura effect handler array entries
Closes #23015
2019-02-04 16:47:41 +01:00
Kittnz
83e6fde066 Core/Objects: increase sight range of all Infinite, Gigantic and Large objects & correct general default visibility distance (#22892)
Note: This does not make the object active.

Some info on range
https://trinitycore.atlassian.net/wiki/spaces/tc/pages/74950924/Lua+Scene+Script+Documentation#LuaSceneScriptDocumentation-ActorAOIRange

#21111 #21681 #22891

Thanks Kinzcool & Kelno
2019-01-16 20:48:01 +01:00
Shocker
22589ee862 Core/LFG: Change lock status to LFG_LOCKSTATUS_NOT_IN_SEASON for disabled dungeons, more explanatory
Shows "This instance is not available yet" instead of "You are already locked to this instance"
2019-01-12 20:56:53 +02:00
Shocker
f53a1fb1bc Core/Spells: Fix SPELL_AURA_MOD_ROOT_2 not proccing on damage 2019-01-12 20:54:01 +02:00
Shauren
3a323f2b60 Core/Chat: Fixed addon chat messages using C_ChatInfo.SendAddonMessageLogged
Closes #22926
2019-01-11 18:23:10 +01:00
Shauren
50cfeb9aa4 Core/Misc: Improved ip2location code and set it to disabled by default
(cherry picked from commit 0ead73516a)
2019-01-09 17:35:18 +01:00
Gildor
61532e9816 Nopch fix (#22077)
(cherry picked from commit e323652f79)
2019-01-09 17:35:18 +01:00
Gooyeth
8ed2e3602b Typo fix contry -> country (#22075)
(cherry picked from commit a3198cbddc)
2019-01-09 17:35:18 +01:00
Gooyeth
163c487be7 Common: Replace ip2nation by ip2location. (#21957)
Replace ip2nation by ip2location.

Download: https://lite.ip2location.com/database/ip-country
(cherry picked from commit 2fe4ab94c5)
2019-01-09 17:35:13 +01:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Giacomo Pozzoni
2f140693e8 Shared/Misc: Use C99 conformant snprintf and vsnprintf in Visual Studio (#22876)
(cherry picked from commit 166bb31163)
2018-12-31 14:27:05 +01:00
jackpoz
8488150dee Core/DBUpdater: Code cleanup 2018-12-30 18:10:11 +01:00
jackpoz
d2b77ca075 Core/DBUpdater: Fix error message
Fix error message when trying to populate the database showing free'd memory data instead of the sql file name
2018-12-30 18:10:06 +01:00
Ovah
fe388d789b Core/Player: update player phase before updating area depending auras (#22872) 2018-12-17 21:16:17 +01:00
Shauren
38e05e33a8 Core/Commands: Fixed .gobject move and turn
(cherry picked from commit 7eb25f1af6)

Closes #3802
Closes #15598

(cherry picked from commit e68ff4186e)

# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.h
#	src/server/scripts/Commands/cs_gobject.cpp
2018-12-17 19:34:55 +01:00
Quadralqt
ba44e1a8db Core/Spells: Update AOE Damage Cap (#22871) 2018-12-17 16:43:42 +01:00
Shauren
e9bcae1fad Core/Misc: Fixed nopch and clang 6.0 warnings 2018-12-09 16:07:38 +01:00
Shauren
783d640bd6 Fix nopch 2 2018-12-09 15:16:17 +01:00
Shauren
b8110fce32 Fix nopch 2018-12-09 15:09:09 +01:00
Shauren
f94deace76 Merge branch 'bfa' 2018-12-09 14:45:03 +01:00
xinef1
8725eec9c1 Core/Loot: Only allow the roll winner to loot the item he won in case it cannot be added to inventory instantly (full or any other reason) (#19037)
(cherry-picked from ab6ac42bf0)
2018-12-09 14:18:42 +01:00
xinef1
fef8e5fe14 Core/Pets: Fixed bug where pets tamed from large npcs had too big combat reach (#18909)
(cherry-picked from 2ecc0c0775)
2018-12-09 14:18:42 +01:00
xinef1
befea2f7a6 Core/Creatures: Stop falling if corpse is removed (can happen when alive unit is despawned instantly in air) (#18995)
Do not allow to start waypoint movement when unit is dead

(cherry-picked from f86ca9e3c9)
2018-12-09 14:18:42 +01:00
Keader
2e45423537 Core/Entities: Implemented CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE (#18980)
(cherry-picked from 15ea5b1b8d)
2018-12-09 14:18:42 +01:00
xinef1
d8f701e1ac Properly clear focused target on evade (#18992)
Closes #18095

(cherry-picked from 3c81a9a6d4)
2018-12-09 14:18:42 +01:00
xinef1
2b20cb5a64 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)
(cherry-picked from 66dc97bb27)
2018-12-09 14:18:42 +01:00
ariel-
49cd81a1c9 Core/Spell: modified HitMask for new default procs
(cherry-picked from ad6912f0d5)
2018-12-09 14:18:42 +01:00
ariel-
01691e5d3b Core/Spell: add more aura types to default procs
Ref #18542

(cherry-picked from bff36a81be)
2018-12-09 14:18:42 +01:00
ariel-
34ad81b176 Core/Util: avoid one useless copy when adding stuff into a HookList
(cherry-picked from 077b5aec9e)
2018-12-09 14:18:42 +01:00
Shauren
217a9bb34d Core/Vmaps: Changed error message when loading outdated vmaps
Closes #18431
Closes #18857

(cherry-picked from c90882ed6e)
2018-12-09 14:18:42 +01:00
ariel-
63fa69d39f Core/Spell: consider spells with no targets for the purpose of finish procs
Closes #18799

(cherry-picked from c3474f57bc)
2018-12-09 14:18:42 +01:00
Rushor
77cb6c1a3f Game/AI: Implement ContactDistance for ACTION_MOVE_TO_POS (#18720)
(cherry-picked from 60d1c0e20d)
2018-12-09 14:18:42 +01:00
ariel-
0764ac47e0 Core/Collision: fix no-PCH build
(cherry-picked from 65b6202bd8)
2018-12-09 14:18:42 +01:00
xinef1
e1cda57955 Core/Pets: Disable pet interface for charmed units while mounted (#18607)
(cherry-picked from 44388bc8fb)
2018-12-09 14:18:42 +01:00
xinef1
4afee01b01 Core/Auras: Prevent remove of auras interrupted by turning if the turn could be caused by float calculation error (#18595)
(cherry-picked from 38f9919a37)
2018-12-09 14:18:42 +01:00
xinef1
8573b651c8 Core/Units: Drop hostile world references that are out of our sight (fixes combat bug) (#18591)
(cherry-picked from ba6281bf42)
2018-12-09 14:18:42 +01:00
HelloKitty
46c69df3a7 Core/Vmaps: Stop M2s from occluding for spellcast LoS
Closes #18528

(cherry-picked from 01d715eaef)
2018-12-09 14:18:42 +01:00
Shauren
da3783876b 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

(cherry-picked from 998efa55d8)
2018-12-09 14:18:42 +01:00
Keader
0b715ffc24 Core/Spell: Fixed range issues with some quest spells
(cherry-picked from 6f7310a259)
2018-12-09 14:18:42 +01:00
ariel-
0a0042282b Core/Spell: add missing null caster check
01d272d6cb follow-up

Closes #18875

(cherry-picked from 7283cbe140)
2018-12-09 14:18:42 +01:00
Keader
a31a828a40 Core/Scripts: Removed unneeded check in Blood Prince Council
(cherry-picked from 55c3eb66d7)
2018-12-09 14:18:42 +01:00
sirikfoll
e64cd5669d Core/Scripting: Fixed hotswap calling evade mode for dead creatures
(cherry-picked from afa8527338)
2018-12-09 14:18:42 +01:00