Commit Graph

164 Commits

Author SHA1 Message Date
placemolle
fc63d935b9 fix(Core/Item): Meta gems sometimes ignore added sockets (#3643) 2020-11-13 10:24:16 -06:00
Andrius Peleckas
d7becdae27 feat(Core/Spells): Functions will return cast result (#3635) 2020-11-13 08:00:07 -06:00
Goatform
5254aec645 fix(Core/Unit): ranged auto-attack sound issue if a player attacks target not in LOS (#3610) 2020-11-07 18:23:42 +01:00
Petric
b3a967db60 fix(Core): fixed crash happening when clearing old mail (#3604) 2020-10-24 10:42:35 +02:00
Stefano Borzì
d07a34c1d5 feat(Core/Unit): don't allow additions threat in evade mode and implement AURA_INTERRUPT_FLAG_LEAVE_COMBAT (#3381) 2020-10-23 22:12:37 +02:00
Petric
d5bb6ba1c4 refactor(Core/Mail): avoid big mail loading/saving time, only load 50 mails at a time (#3420) 2020-10-21 15:20:32 +02:00
Kitzunu
036a8c2450 fix(Core/Unit): Eating anim (#3472) 2020-10-13 10:23:18 +02:00
Kargatum
a2b26272d2 refactor(Core/Game): restyle game lib with astyle (#3466) 2020-10-12 10:08:15 +02:00
Stefano Borzì
4cca286a4d fix(Core/Creature): dead creatures spawn position on respawn (#3382) 2020-10-09 11:18:01 +02:00
Stefano Borzì
1910b4ab35 chore(Core/Player): remove useless SendQuestComplete (#3380) 2020-09-26 14:46:27 +02:00
Stefano Borzì
4e5440ad91 feat(Core/Events): update holiday code and remove misleading log (event date is the one from game_event) (#3365)
Cherry-picked 5b4287e683

Co-authored-by: ariel- <ariel-@users.noreply.github.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2020-09-20 20:36:33 +02:00
Francesco Borzì
b61ae8abcd fix(Core/Misc): all GCC warnings (#3457) 2020-09-14 17:31:12 +02:00
Kargatum
e15a493927 feat(Core/Time): remove inherited ACE Time (#3455)
Co-authored-by: Viste <viste02@gmail.com>
2020-09-11 14:03:26 +02:00
Stefano Borzì
51330f54d8 refactor(Core/Misc): remove the ternary operator when used improperly (#3327) 2020-09-10 12:29:23 +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
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
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
Viste
ffd03582c9 fix(Core/Unit): melee attack through LoS (#3265) 2020-08-18 14:07:32 +02:00
Francesco Borzì
d2cc3fcbc2 feat(Docker): update to Ubuntu 20.04 + more improvements (#3277) 2020-08-13 00:25:20 +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
IntelligentQuantum
ec806d6c60 refactore(core/config): Move BG Report AFK To Conf (#2813) 2020-07-10 20:06:12 +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
mishaparem
a12e58b105 fix(Core): C++ 11 rule of 3 compiant constructors (#3023) 2020-06-15 12:45:04 +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
Kitzunu
74e0f00229 fix(Core/Conditions): Add CONDITION_SOURCE_TYPE_QUEST_AVAILABLE (#2859)
* Merge CONDITION_SOURCE_TYPE_QUEST_ACCEPT & CONDITION_SOURCE_TYPE_QUEST_SHOW_MARK to CONDITION_SOURCE_TYPE_QUEST_AVAILABLE

Co-authored-by: SnapperRy <snapperry@users.noreply.github.com>
Co-authored-by: Aokromes <aokromes@gmail.com>
2020-05-13 08:46:05 +02:00
P-Kito
2514f8fc9a feat(Core/AI): CU_SAI - Custom Target Options (#2879)
NEW:
* SMART_TARGET_PLAYER_WITH_AURA (spellid, negation?, distMax, distMin) - if target.O is set it will resize the list of targets to target.o
* SMART_TARGET_RANDOM_POINT (range, amount (for summon creature), self (creature is middle else use xyz) (ONLY USED FOR SUMMON CREATURE OR MOVE/JUMP TO POS ACTIONS FOR NOW)

MODIFIED:
* SMART_ACTION_SUMMON_CREATURE now possible to spawn multiple creatures with SMART_TARGET_RANDOM_POINT
* SMART_ACTION_MOVE_TO_POS/JUMP_TO_POS now possible to move to a random point with SMART_TARGET_RANDOM_POINT
* SMART_TARGET_PLAYER_RANGE no longer targets GMs or dead targets and when target.o is >0 it will try all possible targets in max instead of min-maxing


Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2020-04-18 16:59:52 +02:00
P-Kito
8aa80eef18 feat(Core/SAI): new Actions + Polar Coords System Offset Relocating (#2880) 2020-04-16 11:39:45 +02:00
Kitzunu
8a1eab2c23 fix(Core/Creature): Use proper name for wander distance (#2858)
* Change from spawndist to wander_distance

Co-Authored-By: ratkosrb <ratkosrb@users.noreply.github.com>

* fix sql error

Co-Authored-By: ratkosrb <ratkosrb@users.noreply.github.com>

* Let's see if this fixes eluna :)

* Revert "Let's see if this fixes eluna :)"

This reverts commit be675bf83fc6a02f3347ea76408152d623d374bf.

* fix indent

* Revert "fix indent"

This reverts commit f4cb3d2d9fa908445d342b6f2e6dda9d52fd4665.

* Revert "Revert "fix indent""

This reverts commit 48527cfd2f9031f95bdf6e0d7b90111a3c0dc0f2.

Co-authored-by: ratkosrb <ratkosrb@users.noreply.github.com>
2020-04-11 11:20:02 +02:00
Stefano Borzì
19144d8bff fix(Core/Pet): Pet chase range check for melee ranged spells (#2694)
Co-authored-by: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com>
2020-03-25 17:34:04 +01:00
Nefertumm
b868f0ad04 Revert "Fix(Core/Gameobjects): non-consumable goobers no longer despawn on use (#2750)" (#2797)
This is causing troubles with veins and bg gameobjects (those are known)
This reverts commit 0521a314b5.
2020-03-24 03:44:40 -03:00
Nefertumm
846f7862d8 feat(Core/Packet): Implement AntiDOS protection from Trinity (#2789)
* Implement AntiDOS protection from Trinity


Co-authored-by: jackpoz <giacomopoz@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Vincent-Michael <trinity.michael_vincent@gmx.eu>
2020-03-23 15:46:00 -03:00
Kitzunu
c5a7497f4d fix(Core/Gossip): fix titles in quest reward being able to show in gossip (#2791)
Co-Authored-By: Wyrserth <wyrserth@users.noreply.github.com>
2020-03-23 23:40:15 +07:00
Kitzunu
0521a314b5 Fix(Core/Gameobjects): non-consumable goobers no longer despawn on use (#2750)
Taken from 50c5d30d13 & 2b1e8d135b


Co-authored-by: Wyrserth <wyrserth@protonmail.com>
2020-03-21 22:29:52 +01:00
Stoabrogga
2eb0705668 fix(Core/Pet): only show pet details for hunter pets and demons (#2637) 2020-02-28 17:02:54 +01:00
Stoabrogga
8f5c628836 feat(Core/Hook): New GlobalScript hook (#2665)
This allows you to change the behavior of phase system
2020-02-26 09:44:12 +01:00
Stoabrogga
ed243d6911 feat(Core/Config): Parameter to set all creatures with WP movement active (#2615) 2020-02-23 14:08:42 +01:00
Viste
38e8503d21 fix(Core/Misc): fix some exploits (#2630) 2020-02-18 08:26:12 +01:00
Stoabrogga
5ebb982db5 fix(Core/CreatureGroups): Fix "MoveSplineInitArgs::Validate" errors (#2604) 2020-02-16 10:04:55 +01:00
Stoabrogga
30fa1ae3b4 fix(Core/Unit): Fix Guardian Pets clearing combat state (#2619) 2020-02-13 08:12:52 +01:00
Stoabrogga
166967fe86 fix(Core/TempSummon): Fix crash concerning PlayerScript hook (#2650) 2020-02-05 17:40:17 +01:00
Stoabrogga
3f0739f1c9 feat(Core/Hook): New PlayerScript hooks (#2639) 2020-02-04 08:25:11 +01:00
Kaev
2fa9f5c249 fix(Core): potential crashes/bugs reported by static analysis #2 (#2622) 2020-02-03 07:52:27 +01:00
Kaev
ab72dc1e7a fix(Core/Player): Fix removal of quest items (#2626) 2020-01-29 10:32:39 +01:00
Kaev
999d588c37 fix(Core): Fixed a few crashes/bugs that were found via static code analysis (#2617) 2020-01-25 14:26:38 +01:00
Shard
9f690a3741 fix(Core) : Enable randomProperties or suffix up to 5 (#2340) 2020-01-23 08:06:05 +01:00
Nefertumm
59234f8f4b fix(CORE): Missing override on various functions (#2602) 2020-01-21 19:03:15 -03:00
Shard
eadcb1a782 feat(Core/Battlegrounds) Reworked enhanced bg system for modules (#2521) 2020-01-19 17:09:02 +01:00