Commit Graph

765 Commits

Author SHA1 Message Date
Francesco Borzì
438cde6a56 fix(Core/Spline): -Wcast-function-type warning (#3442) 2020-09-08 23:08:52 +02:00
Stefano Borzì
821e7d03e8 fix(Core/player): do not show zone at first login (#3358)
* Update AuctionHouseHandler.cpp

* fix(Core/player): do not show location at first login

* Update Player.cpp

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2020-09-08 22:49:54 +02:00
Stefano Borzì
4a9476bbfd refactor(Core): replace ACE atomic types with standard C++ (#3421)
* Update AuctionHouseHandler.cpp

* refactor(atomic-type): replace ACE atomic types

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
2020-09-08 10:41:01 +02:00
Stefano Borzì
e9c805a743 refactor(lfg): refactor code and style (#3326)
* Update AuctionHouseHandler.cpp

* refactor(LFG): improve code style

* refactor(LFG): minor improvements

* chore(LFG): improve code style

* refactor(lfg): improve code style

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2020-09-04 10:18:43 +02:00
Petric
15cc6fe0b6 fix(Core/Spells): Implement SPELL_ATTR7_INTERRUPT_ONLY_NONPLAYER. (#3313)
Co-authored-by: HeartWell <moki.play@mail.ru>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-09-03 12:02:00 +02:00
Petric
29f2c2aeda feat(Core/Script): Playing music from GameObjects and added holiday zones music script (#3307) 2020-09-02 16:32:41 +02:00
Moki
26c99c383f Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60. (#3304)
* Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60

Adding a TrinityCore commit eac9c1f0b9

* Update rev_1597581112860069800.sql

* Update rev_1597581112860069800.sql

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-09-01 14:19:09 +02:00
Kitzunu
1f89282b22 refactor(Core): NULL -> nullptr (#3275)
* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-31 11:55:09 +02:00
Kitzunu
3aad2dc564 fix(Core/SpellEffects): Make Shadowmeld drop combat (#3272)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-30 22:50:28 +02:00
r0m1ntik
971d55d463 fix (Core/Quest) Correct link quest and fix command lookup quest for multilanguage dbc (#3271)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-30 19:42:36 +02:00
Shard
d8ad0c5200 Allow mages to refresh Living Bomb (#3228)
Currently, mages can't refresh Living Bomb if the target already have the dot.

###How to reproduce the issue :
1. Use Living Bomb on a target
2. Try to re-use Living Bomb on the same target
3. Observe the error message

###Expected Blizzlike behaviour
Living Bomb should be reapplyable 

###Why this PR : 
This PR allow to refresh the duration of Living Bomb on the same target

I've didn't found a bad mage's video that refreshes Living Bomb on his target, but found some Fire Mage 3.3.5 guides that mentions : 
"Never refresh your LB (Living Bomb) before the explosion (except if I clearly tell you to)."
https://sites.google.com/site/pvemage335/fire/rotation-gameplay

"Living Bomb – every 12 seconds **after the explosion**"
https://www.gnarlyguides.com/wotlk/guides/pve-fire-mage/#plink-rotation

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2020-08-26 11:44:41 +02:00
Viste
a9b90c9a07 refactor(Core): remove ace_autoptr, cleanup (#3276) 2020-08-25 12:52:22 +02:00
Kitzunu
c79a475708 fix(DB/SmartScriptMgr): Move CWZ valid check (#3206) 2020-08-24 17:20:22 +02:00
Vhiper
77b7a20fb9 fix(Core/DBCStores): prevent crash worldserver 2020-08-23 01:50:26 +02:00
Kitzunu
dd40e2e844 fix(Core/SpellAuras): Show auras to client limit (#3193)
Co-authored-by: Pascal Bachor <gerhood@users.noreply.github.com>
2020-08-22 10:34:12 +02:00
Christopher Galbraith
d7c9b36a5c fix(Core/Spells): Winter's Chill now stacks from multiple sources
Signed-off-by: Chris <chriscgalbraith@gmail.com>
2020-08-21 19:07:02 +02:00
Kitzunu
73d725312d feat(Core/Config): CONFIG_INTERVAL_SAVE (#3171) 2020-08-20 15:50:32 +02:00
IntelligentQuantum
5d284f02a7 feat(Core/SendListInventory): Add multivendor function (#3172) 2020-08-20 11:00:11 +02:00
Francesco Borzì
2bc832efe3 fix(CI/Core/ArenaSpectator): clang warnings + prevent new warnings (#3317)
Co-authored by @meerd
2020-08-19 19:44:07 +02:00
Viste
ffd03582c9 fix(Core/Unit): melee attack through LoS (#3265) 2020-08-18 14:07:32 +02:00
Yehonal
7fba8b910f fix(#2147): enrage and some false-negative spells (#3153)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2020-08-18 11:10:43 +02:00
Stefano Borzì
408366f39f chore(unit-object-accessor): add findConnectedPlayer to object accessor (#3155) 2020-08-17 10:36:42 +02:00
Kitzunu
8b9cec620d refactor(Core/SpellInfo): Positive/Negative spells from SpellFamilyName into DB (#3149)
* Implement SPELL_ATTR0_CU_POSITIVE_EFF0

* Implement SPELL_ATTR0_CU_POSITIVE_EFF1

* Implement SPELL_ATTR0_CU_POSITIVE_EFF2

* Move SpellFamilyName spells into DB to define if they are POSITIVE or NEGATIVE spells

* Rename column from entry to spell_id to make more sense
2020-08-16 13:25:26 +02:00
CosmeF
4f04af6a64 fix(Core/ObjectMgr): solve Global Storage issue 2020-08-13 15:44:36 +02:00
Francesco Borzì
d2cc3fcbc2 feat(Docker): update to Ubuntu 20.04 + more improvements (#3277) 2020-08-13 00:25:20 +02:00
Francesco Borzì
0e1713d1b7 fix(Core/Spell): rogue's poisons logic check (#3278) 2020-08-11 15:29:53 +02:00
Kitzunu
64778f8dec feature(World/Config): Implement MaxWhoListReturns (#3127) 2020-08-04 22:36:01 +02:00
Kitzunu
4e76485037 fix(Core/playercreateinfo_item): Alter amount of allowed items (#3122)
* Change table `amount` to SMALLINT Unsigned

* Add a note column

* Remove deprecated item
2020-08-03 15:01:22 +02:00
Stefano Borzì
fdb84742d1 fix(Core/MailHandler): Prevent client crash while receiving a malformed mail (#3223)
* Fix an issue in the MailHandler that let you crash the users client.
2020-07-28 11:02:09 +02:00
Barbz
a37fa5307c fix(Core/Vendors): Load npc_vendor items in the right order (#3099)
* fix(Core/Vendors): Load npc_vendor items in the right order

Before that commit, if you copied a npc_vendor, the order would not be replicated (if all items were on the same `slot`). Now it works fine and it's consistent.

* Update ObjectMgr.cpp

* fix(sql): ASC position in the query

* Update ObjectMgr.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2020-07-27 17:01:27 +02:00
Kargatum
833611f1c5 feat(Core/DBC): rework load DBC (#3002)
* Move DBC load system from TC
* Add db tables for all dbc
* Support override data from db
* Support override spells from db (#2994)
2020-07-22 08:43:16 +02:00
Kitzunu
39f2d13f66 fix(Core/SmartScripts): Disallow Gob to use Combat with Zone (#3199)
* Proper  fix for https://github.com/azerothcore/azerothcore-wotlk/issues/3028
2020-07-19 20:46:14 +02:00
Kitzunu
b3b56bc655 fix(Core/Player): Display random properties in inspect (#3067)
5b7b21c362
Co-Authored-By: Paraciusz <paraciusz@users.noreply.github.com>
2020-07-14 23:36:08 +02:00
Kitzunu
02e1dce7a4 refactor(Core/World): Make the file a bit more pretty (#3058) 2020-07-14 11:29:21 +02:00
Kargatum
94e6ef17a2 feat(Core/Config): rework configs load system (#2566) 2020-07-12 17:47:12 +02:00
IntelligentQuantum
ec806d6c60 refactore(core/config): Move BG Report AFK To Conf (#2813) 2020-07-10 20:06:12 +02:00
Barbz
90dabd7b1b feat(Core/Loot): Increase the max loot possible by 2 (#3025)
Before it was 16, now let's use the max potential of the client.
2020-07-05 11:18:49 +02:00
Kitzunu
0b4af00ab7 feat(Core/Config): Enable/Disable Debug BG/Arena (#3001) 2020-06-21 13:17:07 +02:00
gengarshadowball
0b35a24053 fix(Core/Spell): Implement SPELL_ATTR0_CU_DONT_BREAK_STEALTH (#3056)
* Implement the ability to add SPELL_ATTR0_CU_DONT_BREAK_STEALTH on spells from DB

Co-authored-by: Shadowball Gengar <shadowballgengar60@gmail>
2020-06-19 12:00:21 +02:00
Francesco Borzì
34077115a5 refactor(Core/BG): improvements to the queue system (#3091)
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com>
2020-06-18 12:04:56 +02:00
Francesco Borzì
7307438a7f fix(Core/BG): fix BG_QUEUE_INVITATION_TYPE_NO_BALANCE (#3134) 2020-06-18 00:13:14 +02:00
mishaparem
a12e58b105 fix(Core): C++ 11 rule of 3 compiant constructors (#3023) 2020-06-15 12:45:04 +02:00
Francesco Borzì
ebec48e6fd fix(Core/Battleground): fix queue issue (#3116)
* Remove useless code that was only causing issue to the BG queue

* Prevent new Battlegrounds to start if there are already other Battlegrounds that have free slots

Co-authored-by Yehonal <yehonal.azeroth@gmail.com>
2020-06-14 23:12:24 +02:00
gengarshadowball
7b7b62efe6 fix(Core/WorldSocket): All control paths will return a value (#3117) 2020-06-13 14:05:51 +02:00
Francesco Borzì
64e0867c28 fix(Core/BG): do not start new BGs if there are BGs with free slots (#3082) 2020-06-05 16:40:15 +02:00
Kitzunu
3d9d51977d fix(Core/MailHandler): Security check (#2889) 2020-06-03 08:42:12 +02:00
Francesco Borzì
7c0cc3cf89 fix(Core/Clang): make it work with clang 10 (#3104) 2020-06-02 18:29:12 +02:00
iThorgrim
2e597c0665 fix(Core/Query): Update GroupMgr query to support MySQL 8.0 (#3068) 2020-05-30 13:35:01 +02:00
Stefano Borzì
3c5bb73f29 fix(Core/ChatHandler): Prevent messages > 255 characters (#3063) 2020-05-27 08:50:21 +02:00
TheWatchingI
c7f4204d1f fix(Core/Pet): Risen Ghoul random name & pet detail (#2945)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2020-05-23 15:38:38 +02:00