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
f381bd47cb
feat(Core/AI): CU_SAI - set creature in combat outside of dungeon ( #2878 )
2020-04-17 16:29:47 +02:00
P-Kito
6a410efa36
feat(Core/AI): CU_SAI - Custom Event Options ( #2881 )
2020-04-17 00:40:06 +02:00
P-Kito
8aa80eef18
feat(Core/SAI): new Actions + Polar Coords System Offset Relocating ( #2880 )
2020-04-16 11:39:45 +02:00
Viste
1432f17c32
fix(Core/Mail): Mailhandler cleanup ( #2802 )
2020-04-15 12:23:30 +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
AsunaFrostwyrm
50287c05f0
fix(CORE/locale): achievement_reward_locale should now work ( #2811 )
...
Closes #2810
2020-04-10 22:31:39 +02:00
Amin.MasterkinG
378cd6fe28
fix(core): "Silenced - You can only chat with GMs" spell ( #2716 )
2020-04-04 11:01:11 +02:00
arenacraftwow
cfdbf00afe
fix(Core/Hook): OnFirstLogin can now make persistent changes ( #2793 )
...
PlayerScript#OnFirstLogin was broken in that if you tried to teach the
player a spell or give an item to him that change wouldn't persist.
Meaning that the next time the Player would log in, his awarded spells
or items would be gone.
Meanwhile PlayerScript#OnLogin didn't have this behavior meaning
that the sematics of PlayerScript#OnFirstLogin and PlayerScript#OnLogin
where very different, which is unexpected.
This issue was caused by an implementation detail in Player#learnSpell
(and similiar) which behaves differently depending on
Player#isBeingLoaded phase. This code change makes its that
PlayerOnFirstLogin hook executes when Player#isBeingLoaded == false
fixing the issue.
Alternatives: The fact that Player#learnSpells and others behave
differently depending on the load phase is questionable and from my
research it seems like this impl detail is only used when giving the
player his template spells. We could add a overload to
Player#learnSpell with a flag like `isSpellTemporary` and make
the template spells loading use it. Then we would be able to remove
this implicit temporary spell mechanism when Player#isBeingLoaded
thing. However this is a deeper change and not worth the risk.
2020-04-01 20:16:00 +02:00
Stefano Borzì
19c3a70d41
feat(Core/Config): make stop time for creatures with WP movement configurable #2715 ( #2829 )
...
Original author Stoabrogga
2020-03-31 01:30:39 +02:00
Nefertumm
bb6047248a
fix(Calendar/Packets): add additional validation when creating events ( #2799 )
2020-03-28 22:47:53 +01:00
Nefertumm
f5e38a7f57
Fix(Core/Packets/AntiDOS): Remove from default some repetitive movement packets ( #2809 )
2020-03-26 21:51:10 -03:00
Stefano Borzì
5ef98b95c9
chore(Core/AH): Restore little comment ( #2702 )
2020-03-25 20:40:25 +01: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
Francesco Borzì
3cf3f69e13
fix(Core/Spell): Melee ranged spells ( #2686 )
...
Co-authored-by: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com >
2020-03-20 18:52:30 +01:00
Viste
ef5d6eae9b
Core/Misc: Remove dependency on undefined behaviour ( #2678 )
...
Co-authored-by: Ujp8LfXBJ6wCPR <github@lillecarl.com >
Co-authored-by: Ujp8LfXBJ6wCPR <github@lillecarl.com >
2020-03-18 20:07:59 +01:00
Nefertumm
8d6bf1f4dc
Fix(Core/Packet): Calendar events exploits ( #2753 )
...
* Calendar handler exploit fix
* Travis and sugestions
* What a noob <.<
2020-03-17 22:11:07 +01:00
Francesco Borzì
8231a7cc1a
fix(GameObject/Quest): GameObject quest / gossip window ( #2676 )
...
Co-authored-by: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com >
2020-03-15 10:09:25 +01:00
Stefano Borzì
ec91c779f3
fix(Core/SAI): SMARTCAST_COMBAT_MOVE ( #2672 )
...
Co-authored-by: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com >
2020-03-14 17:41:03 +01:00
Alan
e72371ee4a
fix: Zul'Aman raid improvements ( #2654 )
2020-03-09 22:54:18 +01:00
Stefano Borzì
ce2f622ef0
fix(core/packet): check malformed guild packet to prevent client crash ( #2739 )
...
* Update AuctionHouseHandler.cpp
* fix(core/packet): prevent crash for malformed guild message
* fix(lint): fix codacy warnings
2020-03-07 10:12:16 +01:00
gengarshadowball
95251dfd2d
fix(Core/Dungeon): Halls of stone doors ( #2646 )
...
* Improved logic and DX
Simplified the Developer Experience reading such a messy code and removed some duplicated useless conditions
* fix(core/dungeon): Halls of stone door
The door is closed before Maiden of Grief and Krystalus die.
* Revert "Merge commit 'refs/pull/2634/head' of https://github.com/azerothcore/azerothcore-wotlk into pr-2634"
This reverts commit 04e8ac45e4d868eda4a89229f3721ee699ba4be5, reversing
changes made to 2fa9f5c249 .
* Review changes
* improvement to check
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com >
2020-03-03 14:00:40 +01:00
gengarshadowball
857e799298
Morph command update ( #2641 )
...
* changed morph command
removed demorph and adapted morph to include a reset option
* command info updated
* Update data/sql/updates/pending_db_world/rev_1580747652284896800.sql
Co-Authored-By: Barbz <BarbzYHOOL@users.noreply.github.com >
* Added subcommand system for Morph
- Subcommands
- Descriptions on database
* travis
* two single quotes query
* Update data/sql/updates/pending_db_world/rev_1580747652284896800.sql
Co-Authored-By: Barbz <BarbzYHOOL@users.noreply.github.com >
* Update data/sql/updates/pending_db_world/rev_1580747652284896800.sql
Co-Authored-By: Barbz <BarbzYHOOL@users.noreply.github.com >
* Update data/sql/updates/pending_db_world/rev_1580747652284896800.sql
Co-Authored-By: Barbz <BarbzYHOOL@users.noreply.github.com >
Co-authored-by: Barbz <BarbzYHOOL@users.noreply.github.com >
2020-03-01 10:34:56 +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
9adba482c2
feat(Core/Hook): A few new hooks ( #2671 )
2020-02-27 22:45:38 +01:00
Stefano Borzì
0749a861aa
fix(Core): build with ENABLE_EXTRA_LOGS ( #2709 )
2020-02-27 08:04:24 +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
Amin.MasterkinG
17fc93d864
fix(Core/Crash): remove unneeded hook OnPlayerChat ( #2707 )
2020-02-26 08:03:18 +01:00
Barbz
6869848364
fix(Core/commands): Realign columns for command ".pdump" ( #2699 )
2020-02-25 08:49:25 +01:00
Stefano Borzì
9e307455a8
refactor(HandleAuctionListOwnerItems): prevent crash ( #2684 )
2020-02-24 08:40:02 +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
d387bdc695
fix(Core/Packet): fix crash happening when someone sends small packets that is processed directly to WorldSocket ( #2669 )
2020-02-22 11:24:08 +01:00
Viste
a7970b711a
Core/Misc: Remove redundant null pointer checks before delete ( #2679 )
...
Co-authored-by: Ujp8LfXBJ6wCPR <github@lillecarl.com >
Co-authored-by: Ujp8LfXBJ6wCPR <github@lillecarl.com >
2020-02-20 18:33:28 +01:00
Yehonal
0cabb8e7e1
refactor(Core/Spells): Improved logic and DX Spell::EffectSummonPet ( #2634 )
2020-02-20 07:55:04 +01:00
niaro-kitty
32dcb3bf63
feat(Core/Spell): Header include optimization for files: SpellAura.h SpellAuraEffects.h ( #2632 )
2020-02-19 07:55:18 +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
dcb714a5ef
fix(Core/CreatureAI): Skip creatures in evade mode for DoZoneInCombat ( #2599 )
2020-02-14 08:06:58 +01:00
Stoabrogga
30fa1ae3b4
fix(Core/Unit): Fix Guardian Pets clearing combat state ( #2619 )
2020-02-13 08:12:52 +01:00
Rochet2
c16f21a271
fix(Core/Eluna): Fix issues with spell procs with Eluna ( #2636 )
2020-02-12 07:58:29 +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
Nefertumm
8cfdfd0af0
Fix (Core/DB): Remove hardcoded text from Malygos ( #2618 )
2020-02-01 22:46:27 -03:00
Dresmyr
1329b6b471
fix(Core/Hook): Make OnPlayerLeaveMap actually trigger ( #2628 )
...
OnPlayerLeaveMap was previously inside the if(remove) block which only is called when the player is logging out, this moves it outside that block but still has it trigger in the same order, thus allowing OnPlayerLeaveMap scripts to fire properly (needed for AutoBalanceFix)
2020-02-01 15:03:48 +01:00
Kaev
ab72dc1e7a
fix(Core/Player): Fix removal of quest items ( #2626 )
2020-01-29 10:32:39 +01:00