Commit Graph
23998 Commits
Author SHA1 Message Date
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 0ead73516adfeaff96292685592085e20737d535)
2019-01-09 17:35:18 +01:00
Gildor 61532e9816 Nopch fix (#22077)
(cherry picked from commit e323652f790b62feaf16d8427779f8e5f949e040)
2019-01-09 17:35:18 +01:00
Gooyeth 8ed2e3602b Typo fix contry -> country (#22075)
(cherry picked from commit a3198cbddc8c08419b582160b440adede15047b6)
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 2fe4ab94c52ad2fa90189ecd9c053da49f06561e)
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 166bb311635bd68da09960987177972608b84396)
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 e68ff4186e685de00362b12bc0b5084a4d6065dd)

# 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 ab6ac42bf032b723167c37caed875c76a1295ec6)
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 2ecc0c0775927934dcfb60d3ce7664b8273da8a6)
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 f86ca9e3c97ab708705eef262bf69837f84bc3d9)
2018-12-09 14:18:42 +01:00
Keader 2e45423537 Core/Entities: Implemented CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE (#18980)
(cherry-picked from 15ea5b1b8d8b160e524a3c9182c87583a1dce3e1)
2018-12-09 14:18:42 +01:00
xinef1 d8f701e1ac Properly clear focused target on evade (#18992)
Closes #18095

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

(cherry-picked from bff36a81be74c8179cfbfb18148a25d6c2a37495)
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 077b5aec9ede78034ba2ec4838b72e8121dab7ce)
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 c90882ed6e2aba3b2d421abdc17cb57bea61d04b)
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 c3474f57bc053c67448169a4c7bb83e10bb25015)
2018-12-09 14:18:42 +01:00
Rushor 77cb6c1a3f Game/AI: Implement ContactDistance for ACTION_MOVE_TO_POS (#18720)
(cherry-picked from 60d1c0e20d3f8f32de81bff047531b927e586a97)
2018-12-09 14:18:42 +01:00
ariel- 0764ac47e0 Core/Collision: fix no-PCH build
(cherry-picked from 65b6202bd81856ab836af7bc6acf96f12f9e81aa)
2018-12-09 14:18:42 +01:00
xinef1 e1cda57955 Core/Pets: Disable pet interface for charmed units while mounted (#18607)
(cherry-picked from 44388bc8fb7d51c2454372d40a4c929b887ee668)
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 38f9919a37e0a3f17c454d4353d9ff2b79382e6b)
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 ba6281bf429384a506aad5125bcc537eef5bfe77)
2018-12-09 14:18:42 +01:00
HelloKitty 46c69df3a7 Core/Vmaps: Stop M2s from occluding for spellcast LoS
Closes #18528

(cherry-picked from 01d715eaef99e91f0959dc85fb7f69eb26d01a22)
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 998efa55d8c81b923bb0725b5de8b0c5894b89da)
2018-12-09 14:18:42 +01:00
Keader 0b715ffc24 Core/Spell: Fixed range issues with some quest spells
(cherry-picked from 6f7310a25993f06676ae91f4d80071d5ce576978)
2018-12-09 14:18:42 +01:00
ariel- 0a0042282b Core/Spell: add missing null caster check
01d272d6cb348c968c531620c341f760e50cb97b follow-up

Closes #18875

(cherry-picked from 7283cbe140c51b917277e30ec352da84f0330c5c)
2018-12-09 14:18:42 +01:00
Keader a31a828a40 Core/Scripts: Removed unneeded check in Blood Prince Council
(cherry-picked from 55c3eb66d7d654c2dfd7ff75334509dee61777e9)
2018-12-09 14:18:42 +01:00
sirikfoll e64cd5669d Core/Scripting: Fixed hotswap calling evade mode for dead creatures
(cherry-picked from afa8527338f8d07531cf2cf8a59195321dfb257e)
2018-12-09 14:18:42 +01:00
ForesterDev f2950f851e Core/Objects: Fixed trap visibility for enemies. (#18815)
Closes #18251

(cherry-picked from d4f8d41d08a48f88078a8bb2ad8df9ec5c3844ef)
2018-12-09 14:18:42 +01:00
ForesterDev 9e021c105f Core/Chat: Fixed logical error for raid warning introduced in fc06465b17a57feafbf2c02316b1b910c2b98e89 (#18814)
Closes #18787

(cherry-picked from 8a07fe7f8c653436c7d8baa8349f2bd79c92c427)
2018-12-09 14:18:42 +01:00
xinef1 0d0dea6398 Fixed visual bug where accessory could detach from vehicle on client (#18590)
Closes #15153

(cherry-picked from 2e635cf3cf73577a0d65d19a4ddddffc4ebc33a2)
2018-12-09 14:18:42 +01:00
Keader 7653d24072 Core/RubySanctum: Updates in Saviana Ragefire encounter
* Fixed Codestyle
* Fixed Spell timers
* Added DespawnAtEvade Method

(cherry-picked from bef8a6dee5352b7c43d0450731104a1660354be7)
2018-12-09 14:18:42 +01:00
Alan Deutscher df7c048fe6 Strip QUEST_FLAGS_AUTO_ACCEPT from quest details sent to client if ignoring auto-accepts in config
(cherry-picked from 7a245c4b691c37eea9d15f4bb1df939a5ba3c0f1)
2018-12-09 14:18:42 +01:00
Alan Deutscher 77150bc8ec Core/Chat: Added option to allow 5-man parties to use raid warnings
Closes #17889

* Added parentheses to satisfy TravisCI.

* Adjusted to a boolean config option instead of an integer.

(cherry-picked from fc06465b17a57feafbf2c02316b1b910c2b98e89)
2018-12-09 14:18:42 +01:00