Commit Graph

1574 Commits

Author SHA1 Message Date
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
Chero
17599313da fix(Scripts/ScarletMonastery): Whitemane spell cast (#6073) 2021-06-01 11:16:47 +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
Kargatum
f25a47715a feat(Cmake/Modules): support add config all modules without AC_ADD_CONFIG_FILE (#5994) 2021-05-31 00:40:45 +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
Kargatum
48ddfd62c5 feat(Core/Soap): delete ACE inherited (#4951) 2021-05-30 13:06:02 +02:00
UltraNix
107658ebbc fix(Core/Spells): triggering potion cooldowns (from TC) (#6016) 2021-05-30 11:53:16 +02:00
Kitzunu
07d0f654d5 feat(Core/Containers): MapGetValuePtr (#6111)
* feat(Core/Containers): MapGetValuePtr

* Added MapGetValuePtr to allow writing `if (Val* v = MapGetValuePtr(map, key))`

(cherry picked from commit a1e3b54e07)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
2021-05-30 06:19:37 +02:00
Kitzunu
a9ed64e600 feat(Core/Util): AsUnderlyingType (#6117)
* Add AsUnderlyingType function to cast enum value to its underlying type (avoids repeating std::underlying_type everywhere)

(cherry picked from commit fdd9227b23)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
2021-05-30 03:46:04 +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
Kargatum
c1e96064e9 feat(Core/Common): add Asio network threading (#6063) 2021-05-27 16:09:31 +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
Kitzunu
ca77a95521 fix(Core/Spell): packet build in spell_pvp_trinket_wotf_shared_cd (#6048) 2021-05-25 20:15:29 +02: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
Kitzunu
ea764812d1 feat(Core/Main): Show Boost Version (#6019) 2021-05-24 00:52:56 +07:00
Kargatum
50adcf2065 feat(Deps/Boost): add boost support (#5676)
* feat(Deps/Boost): add boost support

* 1

* 2

* to 1.74
2021-05-23 13:53:15 +02:00
Kitzunu
b483094840 fix(Script/Creature): Script warlock imp (#5960)
* fix(Core/Creature): Script warlock imp

* creature

* Update pet_warlock.cpp
2021-05-23 04:03:18 +02:00
Emir
0527c17d5f fix(Scripts/Quest): A Cry For Help (#5720) 2021-05-22 21:53:45 +02:00
robinsch
a75b84ab2e fix(Core): CFBG achievements (#5900) 2021-05-22 15:14:29 +02:00
Kitzunu
565e9ff8aa refactor(Core/CliRunnable): Make AC> a static (#5621) 2021-05-22 15:14:04 +02:00
HEBAN Simon
8ac74e475f fix(Core): GUID of GameObject (#6001) 2021-05-22 15:11:41 +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
Axel Cocat
983d4b5771 fix(Core/Database): fix wrong Field::IsNull() return value on null binary fields (#5975) 2021-05-21 01:13:49 +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
Kitzunu
5ea56d79fc fix(Core/Banner): Add missing space (#5881) 2021-05-20 13:49:10 +02:00
Kargatum
e50754d804 feat(Core/Auth): add AccountInfo helper (#5640) 2021-05-20 10:16:50 +02:00
Walter Pagani
d3fcebaac5 fix(Scripts/Event): Removing hardcore texts in Love is in the Air (#5831) 2021-05-19 10:20:29 +02:00
UltraNix
6f4f0043c2 fix(Scripts): Crashfix. (#5913) 2021-05-18 02:16:59 +02:00
Kargatum
d0a259d6ee feat(Cmake/Compiler): deprecated clang6 and gcc 7 (#5671) 2021-05-17 01:50:03 +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
Walter Pagani
376a7983b3 fix(Scripts/Innkeeper): remove hard-coded texts (#5811) 2021-05-14 20:41:54 +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
b14ffdb8b9 fix(Scripts/DB/SAI): Return to Vahlarriel (#5712) 2021-05-12 22:21:46 -06:00
Kargatum
29d3dc3f2b feat(Deps/Gperftools): make gperftools lib to interface (#5797) 2021-05-12 22:10:46 -06:00