Commit Graph

750 Commits

Author SHA1 Message Date
Kitzunu
7cb967fb56 fix(DB/Spell): Furious Howl & Call of the Wild (#6047)
- Fix Furious Howl (Rank 1) from applying to party members
- Move Furious Howl & Call of the Wild to DB
2021-06-02 12:38:28 +02:00
Kargatum
1011594a6a chore(Core/AchievementMgr): add GetAchievement helper (#6121) 2021-06-01 18:48:14 +02:00
Kargatum
d398c34c61 chore(Core/Common): delete macro UNUSED (#6119) 2021-06-01 17:22:29 +02:00
Azcobu
1889fffbde fix(Core/Spell): Apply AURA_STATE_FAERIE_FIRE to Faerie Fire (#6105)
Adds missing anti-stealth aura to Faerie Fire variant with spell ID 20656.
2021-06-01 15:03:36 +02:00
Kitzunu
b00ac48cfa feat(Core/Script): Allow spell script ValidateSpellInfo to work with any container type (#6078)
* Cherry-pick f2f0aeb562
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-06-01 13:55:51 +02:00
Kitzunu
ca27ce5e37 fix(Script/Command): Build (#6159)
* fix(Script/Command): Build

* codestyle ci is weird

* Update MovementHandler.cpp

* Update cs_server.cpp

* Update cs_server.cpp
2021-05-31 16:51:34 +02:00
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
Kargatum
e3c1e739c6 feat(CI/Codestyle): add check core logs (#6012) 2021-05-31 11:03:00 +02:00
v.tihomirov
793b915907 fix(Core/Unit): Prevent Unit emote when entering combat (#6030) 2021-05-31 09:59:25 +02:00
Kitzunu
ae665f7ec3 feat(Core/Command): server debug (#6007)
* initial work

* fix query

* load

* clean up

* remove from startup

* ACE

* remove static

* Update MySQLThreading.cpp

* not used

* Update MySQLThreading.cpp

* unit testing

* Update WorldMock.h

* show Boost ver

* Update WorldMock.h

* include

* Now we have boost::filesystem woo

* fix build

* fix typo
2021-05-30 21:12:01 +02:00
UltraNix
107658ebbc fix(Core/Spells): triggering potion cooldowns (from TC) (#6016) 2021-05-30 11:53:16 +02:00
Axel Cocat
a355b4d27c fix(Core): fix instance portal not resurrecting when corpse is not spawned (#6106) 2021-05-29 15:37:34 +02:00
Kitzunu
b846179986 refactor(Core/Spell): Change "Attribute &" to HasAttribute() (#5991) 2021-05-29 11:56:19 +02:00
Kitzunu
f1b43a8976 fix(Core/Player): Weapon skill gain (#5961) 2021-05-28 00:49:24 +02:00
Kargatum
d8911d816f feat(Core/PacketIO): correct parsing some opcodes (#6051) 2021-05-28 00:34:54 +02:00
Chero
2ae84e2faf fix(Core/Creature): Creatures will periodically call for assistance. (#5065) 2021-05-27 13:42:48 +02:00
Kargatum
ea5f5f2072 feat(Core/RealmList): port TrinityCore realm api (#5626)
* feat(Core/RealmList): port TrinityCore realm api

* 1

* whitespace cleanup

* Update data/sql/updates/pending_db_auth/rev_1620114805872279900.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* 1

* 2

* Update data/sql/updates/pending_db_auth/rev_1620114805872279900.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* `

* 1

* small corrects

* finish maybe

* realm.Id.Realm

* ws

* 1

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-05-27 00:12:46 +02:00
Kargatum
78e1719c80 feat(Core/Misc): includes cleanup (#5953) 2021-05-26 19:00:08 +07:00
Francesco Borzì
3716ddf3e4 fix(Core/WorldSession): prevent crash in SendPacket (#6045) 2021-05-25 18:05:13 +02:00
Kitzunu
6ac7c559c5 refactor(Core/Creature): Split creature.h (#5974) 2021-05-25 16:25:42 +02:00
robinsch
a75b84ab2e fix(Core): CFBG achievements (#5900) 2021-05-22 15:14:29 +02:00
Kargatum
63a273507c feat(Core/Packets): Port packet handling from TrinityCore (#5617)
* feat(Core/Packets): Port packet handling from TrinityCore

* 1

* 2

* 3

* 1

* 2

* #3670

* 3

* 1

* codestyle

* fix msvc warnings
2021-05-22 00:10:46 +02:00
Maxpro
3f6da61535 fix(Core/Unit): criticals not working against sitting players. (#5872) 2021-05-21 16:35:08 +02:00
Francesco Borzì
aab32e5f30 feat(TOTP): use feature toggle via authserver.conf (#5978)
* Revert "Revert "feat(Core/Auth): add AccountInfo helper (#5640)" (#5971)"

This reverts commit fe6db2ff96.

* feat(TOTP): use feature toggle via authserver.conf

* chore(wip): wip

* Update src/server/authserver/authserver.conf.dist

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-05-21 09:56:52 +02:00
Kitzunu
fe6db2ff96 Revert "feat(Core/Auth): add AccountInfo helper (#5640)" (#5971)
This reverts commit e50754d804.
2021-05-20 23:23:50 +02:00
Kargatum
e50754d804 feat(Core/Auth): add AccountInfo helper (#5640) 2021-05-20 10:16:50 +02:00
Kargatum
ea2e606b13 feat(Core/Logging): improve DB logging (#5437) 2021-05-17 01:49:18 +02:00
Necropola
f239908840 fix(Core/Loot): make Loot::AddItem() honor LootItem::AllowedForPlayer() (#5774)
Original Author: @Wyrserth
2021-05-17 00:15:51 +02:00
Kargatum
13f71c9c4d feat(Core/Random): port random system from TrinityCore (#5454)
* feat(Core/Random): port random system from TrinityCore

* lic

* logic correct

* MultimapErasePair move

* whitespace

17:13:34 1. 'Containers.h'. Replace (1)
17:13:40 2. 'LootMgr.h'. Replace (1)
17:13:44 3. 'World.cpp'. Replace (1)
17:13:47 4. 'instance_scholomance.cpp'. Replace (1)

* correct debug build
2021-05-16 21:53:21 +02:00
UltraNix
0d699222de fix(Core/Gameobjects):bloading addon table. (#5885)
Fixed #5771.
2021-05-16 11:58:38 +02:00
Francesco Borzì
fd801c9310 feat(Core/BG): revamp Battleground.QueueAnnouncer.Limit (#5267) 2021-05-15 17:42:20 +02:00
UltraNix
8dd58ebb5b fix(Core): Memleaks fixes - Part II. (#5760) 2021-05-14 10:15:45 +02:00
Patrick Lewis
c3242caf74 fix(Core/Maps): GetCollisionHeight and Z_OFFSET_FIND_HEIGHT (#5778) 2021-05-14 10:10:35 +02:00
Silker
d04f4be6c5 fix(Core/Spell): Apply AURA_STATE_FAERIE_FIRE (#5703) 2021-05-12 21:46:47 -06:00
Kargatum
26f2abaaa9 feat(Core/Authserver): TOTP rewrite (#5620) 2021-05-12 18:57:10 -06:00
Raelorasz
e5582b3443 fix(Core/Creature): Fix kill credit for some mobs after UpdateEntry (#5746)
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com
2021-05-11 11:11:54 -06:00
Maxpro
87da6d1d94 fix(CORE/CREATURE) Polymorphed erratic mob behavior (#5699) 2021-05-10 20:48:59 -06:00
Shiroe
0079034d73 fix(Core): Lower MIN_WANDER_DISTANCE_GROUND (#5693) 2021-05-10 00:58:22 -06:00
Kitzunu
40f2e5e8c1 fix(Core/LoadSmartAIFromDB): Prevent loading if entryorguid = 0 (#5663)
Co-Authored-By: robinsch <8017650+robinsch@users.noreply.github.com>
2021-05-09 03:33:01 -06:00
Patrick Lewis
6bb8972194 fix(Core/Misc): BuildAuctionMailBody guid (#5743)
Co-Authored-By: UltraNix <80540499+UltraNix@users.noreply.github.com>
2021-05-09 00:32:55 -06:00
Axel Cocat
127a3dd65d fix(Core): Reputation gain rate when nearby party members are dead (#5605) 2021-05-08 15:43:17 -06:00
UltraNix
44babc3c3a fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running (#5572) 2021-05-08 12:39:09 -06:00
Chaouki Dhib
a203a5183b fix(Core/Movement): Fix strange teleport when rooting a fleeing NPC (#5555) 2021-05-08 07:22:18 -06:00
Chaouki Dhib
c3d751bdd7 fix(Core/Movement): MSG_MOVE_SET_* opcodes - GUID missing (#5554) 2021-05-07 13:27:00 -06:00
UltraNix
2189ac0b08 feat(Core/Anticheat): Preparation to implement new passive anticheat … (#5516) 2021-05-07 18:10:44 +02:00
Axel Cocat
0e8e21b812 fix(Core/Groups): fix group enchanting level not resetting properly (#5501) 2021-05-07 13:51:39 +02:00
Kargatum
db7d754f3f feat(Core/Common): delete lib game-interface inherited (#5333)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-05-07 02:16:44 +07:00
Kargatum
545a045273 chore(Core/SharedDefines): move SharedDefines.h to shared lib (#5518)
- Part #5397
2021-05-04 19:30:52 +02:00
Axel Cocat
de23266f04 fix(Core/Battlegrounds): fix Warsong Gulch flags not capping when standing on capture area (#5482)
* fix(Core/Battlegrounds): fix Warsong Gulch flags not capping when standing on capture area

* Added BG_WS_Trigger enum

* add missing brackets
2021-05-03 13:14:22 +02:00
UltraNix
87a35b6569 fix(Core/GameObjects): Gameobject rotation and moving actions not updating to client (#5223) 2021-05-02 19:25:50 -06:00