Commit Graph

182 Commits

Author SHA1 Message Date
Francesco Borzì
2f1c01a1fd feat(SmartAI): display error on unsupported targets + align TC enums (#1349) 2019-01-28 20:23:35 +01:00
Stoabrogga
acf47073ab feat(SmartAI): Implement action type 115 "SMART_ACTION_RANDOM_SOUND" 2019-01-26 22:16:16 +00:00
Francesco Borzì
206feacab3 feat(SmartAI): improve add quest action (#1333) 2019-01-24 19:07:13 +00:00
Francesco Borzì
c62fec7f77 feat(SmartAI): handle unused SmartActions (#1335)
Emit error when there is a SmartAction in the DB that is not yet supported in AzerothCore.
Emit error when there is a SmartAction in the DB that is not supposed to be used in version 3.3.5a.
2019-01-23 15:51:08 +01:00
Francesco Borzì
8931ae74ba refactor(SmartAI): move AC-only SMART_ACTIONs to avoid conflicts with TC 2019-01-20 19:57:21 +01:00
Francesco Borzì
386b334337 refactor(SmartAI): align some SMART_ACTION(s) to TC (#1329) 2019-01-20 14:09:14 +01:00
Francesco Borzì
7c7c5eb203 Core/DB: refactor(creature_template): closes #1181 (#1322)
* refactor(creature_template): closes #1181

* chore: improve code readability
2019-01-20 13:39:32 +03:00
Francesco Borzì
07d5314a8b refactoring(SAI): add event_param5 and target_param4 (#1324) 2019-01-20 01:02:01 +01:00
Francesco Borzì
aa66ff8f08 Core/Startup: Empty table should not be a startup error (#1320) 2019-01-20 02:24:10 +07:00
FrancescoBorzi
0411cc9c21 fix build 2019-01-19 10:23:23 +01:00
FrancescoBorzi
5e08b2b8d9 add new lines at the end of files 2019-01-19 02:55:10 +01:00
FrancescoBorzi
97ae1496a7 fix: server motd 2019-01-19 02:48:00 +01:00
Vitoco
c9c9007015 Core/Spells: Fix DeathKnight T10 Tank 2P Bonus (#1291)
Now correctly increase the damage done by your Death and Decay ability by 20%
2019-01-17 18:53:05 +01:00
José González
a4d8134e38 Core/Commands: Add new spy command (#1263)
Add a new spy command for game masters and administrators to receive all conversations of followed players.

How to use:

- Use command .spy follow <characterName> with a GM 
- Make that player whisper another player
- You (GM) should receive the message sent
- Use command .spy status. You should get a list with the test subject's name in it.
- Use command .spy unfollow <characterName>
- You should not receive any more messages sent or received by that player


* Core/Commands: Add new spy command
* Importing pending sql
* Fix missing comma in SQL
* Fix travis compile: comment unused parameter
2019-01-15 15:47:14 -03:00
Poszer
d5294f7112 Merge pull request #1255 from poszer/QuestAbandonFinishFix
Quest abandon finish fix
2019-01-15 13:52:26 +01:00
Poszer
6ef7c40313 Update Player.cpp 2019-01-15 00:48:54 +01:00
Poszer
c573c60a0f DB/Quest Going Bearback (#1267)
-Fix client crash while ussing arrows in quest, and pressing Esc.
-Updating creature spells ( Correct is to have Flaming Arror and Burst of Speed )
2019-01-14 11:26:58 +03:00
Kargatum
93bccb9b85 Core/Gossip: improve gossips related to Dual Talent Specialization (#1218) 2019-01-13 17:16:09 +03:00
Kargatum
b34bc28e5b Core/DB: Update all locales to actual TrinityCore (#1160)
* Core/Misc Update all locales table structure to simple system. Port from TrinityCore
Co-Authored-By: Winfidonarleyan <dowlandtop@yandex.com>
* Core/Db/Gossip Update structure gossip_menu and gossip_menu_action to actual TrinityCore
* Core/DB Update Broadcast system to actual TC
* Core/Mail: implement Quest Mail Sender
* Core/Quest Split quest template locales
2019-01-13 01:56:06 +03:00
Vitoco
bb34d1b90a Core/Spell: Val'kyr Target Search bypass invuln (#1229)
This spell now bypass invulnerability.
Fix players using Hand Of Protection to prevent selection from valkyrs.
2019-01-10 14:30:42 +01:00
Poszer
e993c20cac Update Player.cpp 2019-01-10 13:35:54 +01:00
Poszer
ffd578559a Update Player.cpp 2019-01-10 13:23:46 +01:00
Kargatum
c00d5fe0ab CMake: Use source_groups to represent the source tree (#1247) 2019-01-10 07:20:32 +03:00
Poszer
cfa2f86a0d Merge pull request #1241 from poszer/QuestAbandonFinishFix
Core/Quests: Abandon&Finish quest items
2019-01-09 19:58:57 +01:00
Stoabrogga
0be44221d2 Core/Pet: additional check if it's a creature (#1248) 2019-01-09 20:51:27 +03:00
Viste(Кирилл)
31bce00b2a Core/Events: announce event system improvement. (#1228)
* DB: update timestamps for #1187
2019-01-08 16:15:38 +03:00
Kargatum
1a9f8dfc0c Core/DBC Move WorldSafeLocs.dbc storage to DB (#932) 2019-01-08 09:37:31 +03:00
Stoabrogga
3d416de893 Core/Movement: Prevent pet animation stuttering during movement (#1142)
* fix vanity pet distance and angle
* fix vanity pet distance to player
* put size calculation for normal pets into the if-statement for vanity pets
* change pet speed algorithm
* change distance calculation
* another change to the distance calculation; differentiate between player running or flying
2019-01-08 09:36:25 +03:00
Viste(Кирилл)
f852a87f9c Core/Session: proper client timeout detection (#1232)
* Core/Session: proper client timeout detection

- Properly detect client timeout when logged into a character after a configurable time (default 60s) has passed without the client sending any packets.
- Fixes issues with crashed clients leaving characters in the world for a very long time (default 15 minutes), as well as edge case exploits involving intentionally pausing client execution for some amount of time.
2019-01-08 09:33:24 +03:00
poszer
d213a4ef93 Core/Quests: Abandon&Finish quest items
Destroy quest items on quest failure/abandon.

Failing/abandoning a quest should not unconditionally remove required items, non-quest specific items such as crafting reagents should remain in inventory.

Delete all quest bound items on quest reward, failure or abandoning.

Only delete all quest bound items from inventory on turn in if the quest is not repeatable
2019-01-07 18:13:47 +01:00
Nefertumm
e51fe9e081 Core/Misc: add support to calculate zoneId/areaId for creatures & gameojects (#1226) 2019-01-07 12:07:05 +03:00
Viste(Кирилл)
3f45c14822 Core/Quest: implement Quest Tracker (#1233) 2019-01-06 09:32:17 +03:00
Francesco Borzì
2c539c07ae Core/World: do not consider error when no player data in the DB (#1151) 2018-12-30 18:36:07 +01:00
Viste(Кирилл)
7648858939 Core/LootMgr: Update lootMgr to normalize loot_template tables (#1137)
* Core/LootMgr: Update lootMgr to normalize loot_template tables 

original by trinitycore team
2018-12-27 23:55:15 +03:00
Francesco Borzì
94d8476e48 Core/Guilds: fix gcc compile warnings (#1150)
- Closes #1148
2018-12-27 01:45:03 +03:00
Poszer
b1b48b92df CORE/Crash: Fix crash with MoveSpline [hacky] (#1066)
Closes #1063 
Closes #552 

Co-authored-by: grimgravy<sr.alansantos@hotmail.com>
2018-12-25 21:48:17 -03:00
Barbz
d167890b3f CORE/Movement: Fix a potential crash with a player out of bounds. (#970) 2018-12-25 21:42:27 -03:00
Poszer
db25b814e2 Core/Spell: Hand of Reckoning kills totem & puts in combat (#1139)
Closes #626
2018-12-25 19:39:02 +01:00
Viste(Кирилл)
204358bb67 Core/Players: Fixed saving quest item progress (#1129)
Ported from TC (original commit by Shauren)

Add 2 columns to character_queststatus
2018-12-23 14:58:21 +01:00
Barbz
54a6817bbb Core/Achiev: Fix unwanted GM warnings (#1122)
* Core/Achiev: Fix unwanted GM warnings

It now only warns the player that he can't complete achievements.
2018-12-22 11:08:05 +01:00
Nefertumm
468faa3ead Refactored quest_template table structure 2018-12-19 13:47:24 +01:00
Amin.MasterkinG
4bd1330b6e Core: Fix titles not showing on login (#1114)
Wrong field ID fixed.

Closes #1059
2018-12-13 16:43:43 +01:00
Amin.MasterkinG
8c753dc04e Update PINFO command, show character details like TrinityCore. (#1097)
Closes #1067
2018-12-12 02:08:12 -03:00
Chaz
8906d1ea26 Enable SourceType of 8 for Disables table to disable LFG/LFD maps (#1076) 2018-12-11 03:54:15 -03:00
Barbz
b8d2396398 Core/Achiev: Warning if GM mode enabled (#1028)
* Core: Achievements warning if GM mode enabled

Added a warning ingame and in console when you're a GM testing achievements (else it was confusing).
Added an extra type check in UpdateAchievementCriteria, ported from TrinityCore.
2018-12-08 23:02:41 +01:00
talamortis
a9b981d619 [Core / Fix] Fixed an issue if charmed creatures was created by spell they wouldn't disappear if owner was too far away from it.
Lets take quest Taming the beast for example, Once beast was tamed and player was too far away from the creature it would still appear as a pet and cause issues.
2018-11-30 00:27:32 +00:00
talamortis
50aace0e52 [Core / Fix] Mage: Empowered Fire Talent
Fixed an issue where the Mana return was returning 0.2% instead of 2%.
2018-11-29 19:49:47 +00:00
Jinyang li
f2f3872c25 CORE/Spell: add diminishing returns on reflected spell. (#1050)
Fix "Spell which is reflected doesn't create DR on whom is casting the spell"
Now warrior would not add diminishing returns if he reflect spell (code may be a bit hacky)

Closes issue #650 on github
2018-11-23 22:39:30 +01:00
Jinyang li
4b6342b42f Core/NPC: Creatures now alert when they detect stealthed players (#1060)
Creatures stop when they detect a stealthed player like in retail.
Closes #1020
2018-10-31 20:25:23 +01:00
talamortis
7ffc68e4aa Added missed copyrights to CreatureGroups.cpp 2018-10-27 21:28:37 +01:00