Kitzunu
5d9db23608
chore(Common/Misc): Replace old macros with modern C++ attributes ( #6462 )
...
* chore(Common/Misc): Replace old macros with modern C++ attributes
* cherry-pick commit (5ae2a0f47d )
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
* fix build
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2021-06-21 17:26:01 +02:00
Kargatum
5787d00d54
chore(Core/Logging): replace most server loggers ( #5726 )
...
* chore(Core/Logging): replace most server loggers
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-06-21 03:07:12 +02:00
Kargatum
3da83cc0e6
feat(Common/IPLocation): replace ip2nation by ip2location ( #5653 )
2021-06-17 22:02:08 +02:00
UltraNix
c568bdcc42
feat(Modules): load modules configs before Log initialization ( #6104 )
...
in order to properly load modules appenders and loggers
2021-06-04 23:57:10 +02:00
Kargatum
55bea7eb79
feat(Core/Thread): move Processpriority to separated files ( #5638 )
2021-06-02 19:18:24 +02:00
Kargatum
584b8d908e
feat(Core/Apps): add support dynamic lib for EnumUtils ( #6120 )
2021-06-01 17:58:01 +02:00
Kargatum
d398c34c61
chore(Core/Common): delete macro UNUSED ( #6119 )
2021-06-01 17:22:29 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +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
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
Kargatum
c1e96064e9
feat(Core/Common): add Asio network threading ( #6063 )
2021-05-27 16:09:31 +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
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
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
Kitzunu
5ea56d79fc
fix(Core/Banner): Add missing space ( #5881 )
2021-05-20 13:49:10 +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
Kargatum
26f2abaaa9
feat(Core/Authserver): TOTP rewrite ( #5620 )
2021-05-12 18:57:10 -06:00
Kargatum
681c3237df
feat(Core/Config): added info about bad lines in config file ( #5813 )
2021-05-13 04:03:53 +07:00
Francesco Borzì
ebd757a331
Revert "feat(Core/Config): add abort message if config incorrect ( #5438 )" ( #5761 )
...
This reverts commit 61c87a8ab7 .
2021-05-10 15:30:45 +02: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
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
61c87a8ab7
feat(Core/Config): add abort message if config incorrect ( #5438 )
2021-05-02 02:06:55 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
Chaouki Dhib
2d21bfc915
feat(Core/Movement): time synchronisation to better interpret client timestamps ( #5300 )
2021-04-23 15:53:09 +02:00
Kargatum
325dcfc9a6
feat(Core/Build): add the possibility to link libraries dynamically ( #5348 )
2021-04-21 22:16:12 +02:00
Kargatum
a278fd7340
feat(Cmake/Database): separate database lib from common ( #5334 )
...
* feat(Core/Database): separate databse lib from common
* 1
2021-04-20 12:08:23 +02:00
Kargatum
8263faa288
feat(Core/Debugging): Allow to show a message when aborting ( #5228 )
2021-04-18 14:36:54 +02:00
Kitzunu
86192f38b7
refactor(Core/Server): Move Banner into separate file ( #5207 )
...
* refactor(Core/Server): Move Banner into separate file
* fix build
* Update Banner.cpp
* indent
* build
* build
* log
* LOG_INFO
* Update Banner.cpp
* Update Banner.h
* Update Main.cpp
* Update Main.cpp
* Update Master.cpp
* yes
* tes
2021-04-18 00:35:35 +02:00
Kargatum
4af4cbd3d9
feat(Core/Logging): rework logging ( #4692 )
...
* feat(Core/Logging): rework logging
* correct level for sql.sql
* del unused config options
* Correct build
* correct after merge
* whitespace
20:29:37 1. 'Player.cpp'. Replace (1)
20:29:37 2. 'ObjectMgr.cpp'. Replace (3)
* 1
* correct logging
* correct affter merge
* 1
* 2
* LOG_LEVEL_WARN
* #include "AppenderDB.h"
* 3
* 4
* 5
* 1. 'WorldSocket.cpp'. Replace (1)
* 6
* 1
2021-04-17 11:20:07 +02:00
Kargatum
b2861be1cd
feat(Core/Threading): replace ace threading ( #4821 )
2021-04-16 19:45:29 +02:00
Kargatum
53ce87d0f7
feat(Core/Database): implement db loader ( #4431 )
2021-04-12 10:09:13 +02:00
Kargatum
72748ee9f1
refactor(Core/Common): generalise platform specific includes in common/Platform ( #5058 )
2021-04-06 14:24:16 +02:00
UltraNix
0528e0b485
feat(Tools/Vmapextractor): Improved vmap detail level by extracting w… ( #4922 )
2021-04-05 11:51:51 +02:00
Stefano Borzì
ee1918a3e9
fix(Core/Log): GMLogFile -> GmLogFile ( #5130 )
2021-04-05 01:23:46 +02:00
Kargatum
c053e111d3
fix(Scripts/Commands): correct reloading creature_template table ( #5020 )
2021-03-30 09:55:05 +07:00
Kargatum
c4c06a7734
feat(Core/SignalHandler): Replace ACE signal handling with std ( #4877 )
2021-03-24 15:50:56 +01:00
Francesco Borzì
ba9a09dd0c
fix(Core/GUARD_RETURN): correct typo ( #3743 )
2021-03-23 09:30:25 -06:00
UltraNix
485f7e7639
feat(Core/DB/Authserver): remove sha_pass_hash ( #4827 )
2021-03-21 15:17:57 +01:00
Kitzunu
9f354db7be
feat(Core/Creature): Implement c_t_r & c_t_s ( #4359 )
2021-03-21 15:15:59 +01:00
Kargatum
34a129e478
feat(Core/Utilities): Introduce a task scheduler which schedules task ( #4932 )
2021-03-21 14:04:56 +01:00
Hacki95
2031e55ec7
fix(DB/Core) Fix the CLS damage system and update creature_classlevelstats ( #4749 )
...
* Fix the CLS dmg system
Thanks to TC: ccfa82e7d5
2021-03-19 17:26:30 -06:00
Francesco Borzì
f6a17164be
fix(Core/License): issue with old files license ( #4762 )
2021-03-17 09:46:01 -06:00
Kargatum
60d684282b
fix(Core/Utilites): improve acore::String::Trim ( #4704 )
...
- Improve `acore::String::Trim`
- Delete `acore::String::Reduce`
- Skip line comment #4748
2021-03-09 21:02:45 +07:00
Kitzunu
28f1dc5c0c
refactor(Core): replace NULL with nullptr ( #4593 )
2021-03-02 01:34:20 +01:00
Kargatum
dbefa17a53
feat(Core/Config): rework config and delete ACE inherited ( #4608 )
2021-02-28 14:37:03 +01:00
Kargatum
b9e132a941
chore(Misc): correct double includes ( #4647 )
2021-02-26 17:44:08 +07:00
Kitzunu
6e1fb0d525
feat(Core/Creature): implement c_t->spell_school_immune_mask ( #4358 )
...
* feat(Core/Creature): implement spell_school_immune_mask
* ae878e18ef
Co-Authored-By: Wyreth <32145860+Wyreth@users.noreply.github.com >
* Import from TC
* just capitalize sql keywords
* Update rev_1611769264588956600.sql
Co-authored-by: Wyreth <32145860+Wyreth@users.noreply.github.com >
2021-02-03 03:44:09 +01:00
Yehonal
c8f43d8584
feat(Core/Movement): Improved pathfinding, collisions and movements ( #4220 )
...
Npc positioning
Implemented slope check to avoid unwanted climbing for some kind of movements (backwards, repositioning etc.)
Implemented backwards movement
Re-implemented circle repositioning algorithm (smartest than retail, but with the same feeling)
Fixed random position of summoned minions
Improved pet following movement. Also, they attack NPC from behind now. Thanks to @Footman
Swimming creatures
Fixed max_z coordinate for swimming creatures. Now only part of their body is allowed to be out of the water level
Fixed pathfinder for swimming creatures creating shortcuts for specific segments, now they swim underwater to reach the seashore instead of flying above the water level.
Creatures with water InhabitType but no swimming flag now, when not in combat, will walk on water depth instead of swimming. Thanks @jackpoz for the original code
UNIT_FLAG_SWIMMING in UpdateEnvironmentIfNeeded to show the swimming animation correctly when underwater
Implemented HasEnoughWater check to avoid swimming creatures to go where the water level is too low but also to properly enable swimming animation only when a creature has enough water to swim.
Walking creatures
Extended the DetourNavMeshQuery adding area cost based on walkability (slope angle + source height) to find better paths at runtime instead of completely remove them from mmaps
improve Z height in certain conditions (see #4205 , #4203 , #4247 )
Flying creatures
Rewriting of the hover system
Removed hacks and improved the UpdateEnvironmentIfNeeded. Now creatures can properly switch from flying to walk etc.
Spells
LOS on spell effect must be calculated on CollisionHeight and HitSpherePoint instead of position coords.
Improved position for object/creature spawned via spells
Improved checks for Fleeing movements (fear spells)
Other improvements
Implemented method to calculate the CollisionWidth from dbc (used by repositioning algorithm etc.)
Improved raycast and collision checks
Co-authored-by: Footman <p.alexej@freenet.de >
Co-authored-by: Helias <stefanoborzi32@gmail.com >
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-02-01 01:34:27 +01:00