Commit Graph

195 Commits

Author SHA1 Message Date
Kitzunu
4a4615f4dc feat(Script/Commands): .debug dummy (#9070)
* cherry-pick commit (5ed891a0f0)

Co-Authored-By: Treeston <14020072+Treeston@users.noreply.github.com>
2021-11-12 12:19:35 -03:00
IntelligentQuantum
4a69d1fc07 refactor(Scripts/Commands): convert cs_learn & cs_player to new system (#9050) 2021-11-12 13:03:38 +01:00
IntelligentQuantum
06bc64d1c3 refactor(Scripts/Commands): convert cs_server to new system (#9078) 2021-11-10 13:22:47 +01:00
IntelligentQuantum
01a7d1d899 refactor(Scripts/Commands): Convert cs_reload to new system (#9052) 2021-11-10 12:33:12 +01:00
IntelligentQuantum
540e8e9209 refactor(Scripts/Commands): Convert cs_mmap to new system (#9020) 2021-11-09 10:25:57 -03:00
IntelligentQuantum
e228b08316 feat(Scripts/Commands): convert cs_disable to new system (#9021) 2021-11-09 11:43:19 +01:00
IntelligentQuantum
4653641a0b refactor(Scripts/Commands): Convert cs_cast to new system (#8997) 2021-11-08 09:06:51 -03:00
IntelligentQuantum
a9e5b35a5d feat(Scripts/Commands): new command to debug play music (#8967) 2021-11-08 00:49:35 +01:00
IntelligentQuantum
eb04315da5 feat(Scripts/Commands): convert cs_list to new system (#8920) 2021-11-06 00:00:17 +01:00
IntelligentQuantum
f342535b69 featScripts/Commands): convert cs_lfg to new system (#8919) 2021-11-05 23:59:03 +01:00
Andrius Peleckas
a6340d5b11 fix(Scripts/Player): some refactor related to PlayerCommand functions (#8975) 2021-11-05 17:22:39 +01:00
Kargatum
1b49a1eda2 fix(Core/Commands): correct header PlayerCommand.h file structure (#8947) 2021-11-04 18:39:32 -03:00
IntelligentQuantum
d5509ceb37 refactor(Scripts/Commands): Convert cs_go to new system (#8874) 2021-11-04 12:41:59 -03:00
UltraNix
8af051d6d6 feat(Scripts/Command): implement new command: bags clear (#8549) 2021-11-04 13:10:34 +01:00
IntelligentQuantum
cde621f9eb feat(Scripts/Commands): convert cs_instance to new system (#8831) 2021-11-03 14:25:25 +01:00
Kargatum
aa7932e971 feat(Core/EnumUtils): add more enum for support chat command (#8828) 2021-11-03 10:50:11 +01:00
IntelligentQuantum
2f25323456 feat(Scripts/Commands): convert cs_object to new system (#8855) 2021-11-01 19:28:19 +01:00
Malcrom
f106de8788 refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01:00
IntelligentQuantum
552f8f921f feat(Scripts/Commands): convert cs_debug to new system (#8786) 2021-10-31 09:58:47 +01:00
IntelligentQuantum
6c0bd9c2eb refactor(Scripts/Commands): Convert cs_event to new system (#8832) 2021-10-30 23:12:41 -03:00
IntelligentQuantum
c08ad3e3c9 refactor(Scripts/Commands): Convert cs_npc to new system (#8814) 2021-10-30 16:29:34 -03:00
IntelligentQuantum
668a86762b refactor(Scripts/Commands): Convert cs_character to new system (#8768) 2021-10-30 09:04:39 -03:00
IntelligentQuantum
0a2c7a3756 refactor(Scripts/Commands): Convert cs_spectator to new system (#8811) 2021-10-29 20:35:01 -03:00
IntelligentQuantum
fe682805ab refactor(Scripts/Commands): Convert commands to new system Part 1 (#8704) 2021-10-29 15:58:59 -03:00
IntelligentQuantum
93ae2a58a4 feat(Scripts/Commands): convert cs_bf to new system (#8763) 2021-10-29 15:33:02 +02:00
acidmanifesto
5b6cc5e6f5 chore(Script/Code): remove Not Needed Logging. (#8747)
It is already logged in the gm logs. DRY.
2021-10-29 15:32:02 +02:00
IntelligentQuantum
ec4eff6aa0 feat(Scripts/Commands): convert cs_cheat to new system (#8740) 2021-10-29 15:31:42 +02:00
IntelligentQuantum
b82a73d982 feat(Scripts/Commands): Convert cs_achievement to new system (#8736) 2021-10-29 15:31:04 +02:00
Kargatum
a650fd495c feat(Core/Metrics): implement real time statistic visualization (#8663) 2021-10-28 14:47:29 +02:00
Skjalf
8665452c28 fix(Scripts/Commands): Fill the missing argument for the GPS command so it displays its message correctly (#8734) 2021-10-27 06:28:52 -03:00
IntelligentQuantum
04143658ab chore(Core/Arena): LANG_AREAN_ERROR_NAME_NOT_FOUND > LANG_ARENA_ERROR_NAME_NOT_FOUND (#8737) 2021-10-26 06:20:38 -03:00
acidmanifesto
e678b306e9 fix(Core): enable .freeze and .unfreeze gm cmd for NPCS (#8688) 2021-10-26 01:10:13 +02:00
Kargatum
bc9473482e feat(Core/Chat): new argument parsing and unify chat hyperlink parsing (#6243) 2021-10-23 10:15:42 +02:00
UltraNix
1fb6830b15 feat(Core/Quests): Implemented quest_money_rewards (for quest with Qu… (#8610)
Fixes #8440
2021-10-20 05:45:56 -03:00
Kitzunu
bc82f36f1f refactor(Core/Unit): clean MonsterText methods (#6957) 2021-10-15 10:25:29 +02:00
Skjalf
29c94e5455 fix(Core/Graveyard): prevent non-death knights from getting ported to… (#8206) 2021-10-07 13:07:23 +02:00
Skjalf
c55c5e668f fix(Core/Commands): partially fix an issue with mails sent from console never showing up the 'Customer Support' sender in-game (#8064) 2021-10-04 15:44:04 +02:00
Kargatum
52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
Andrius Peleckas
e6b1201e50 fix(Core/Creature): Fixed GroupAI flags usage in creature_formations (#7544)
* fix(Core/Creature): Fixed GroupAI flags usage

* fix(Core/Creature): build fix + code style...

* fix(Core/Creatures): trailing white spaces...

* Core/Formations: allow only certain members to have follow formation

* Core/Formations: fixed ancient data corruption in CreatureGroup::LeaderMoveTo

* Core/Formations: minor optimization

* Core/Formations: improved some warning messages

* Core/Formations: do not load invalid formation data which has unsupported group ai

* Core/Formations: minor adjust for recent commit

* Core/Formations: log formation data which has angle and distance but dont have GROUP_AI_FLAG_FOLLOW_LEADER flag

* Core/Formations: Minor optimization for formation data handling

* Core/Formations: make sure that FormationInfo members are always initialized on its creation

* Core/Formations: minor warnings adjustments

* DB/Formations: fixed some warnings

* Core/Formations: check group flags only if there is any
I have gues that maybe leader could not assist any member at all but members maybe could be linked for motion

* DB/Formations: fixed rest of DB warnings

* Core/Formations: more improvements for supported AI mask check

* Core/Formations: more improvements for data checks

* DB/Formations: fixed warnings

* meh

* DB/Formations: minor correction

* Core/Formations: code style - brackets, you suck... :D
2021-09-24 19:51:55 +02:00
Kitzunu
339d58ecdc refactor(Core/Misc): Use .empty() instead of == "" (#7870) 2021-09-20 00:46:00 +02:00
Kitzunu
2f449326e0 refactor(Core): Rename ...Manager to ...Mgr (#6910)
* Rename MapManager.h to MapMgr.h

* Rename BanManager.h to BanMgr.h

* Rename MapManager.cpp to MapMgr.cpp

* Rename BanManager.cpp to BanMgr.cpp

* Rename MapRefManager.h to MapRefMgr.h

* Rename ThreatManager.h to ThreatMgr.h

* Rename GridRefManager.h to GridRefMgr.h

* Rename ThreatManager.cpp to ThreatMgr.cpp

* Rename GroupRefManager.h to GroupRefMgr.h

* Rename HostileRefManager.h to HostileRefMgr.h

* Rename HostileRefManager.cpp to HostileRefMgr.cpp

* Rename MMapManager.h to MMapMgr.h

* Rename FollowerRefManager.h to FollowerRefMgr.h

* Rename VMapManager2.h to VMapMgr2.h

* Rename IVMapManager.h to IVMapMgr.h

* Rename MMapManager.cpp to MMapMgr.cpp

* Rename VMapManager2.cpp to VMapMgr2.cpp

* Rename RefManager.h to RefMgr.h

* Rename WaypointManager.h to WaypointMgr.h

* Rename WaypointManager.cpp to WaypointMgr.cpp

* Rename MPQManager.h to MPQMgr.h

* Rename MPQManager.cpp to MPQMgr.cpp

* Rename IMMAPManager.h to IMMAPMgr.h

* fix build

* Update Main.cpp

* chore(Core/Misc): Remove toxic language

* Revert "chore(Core/Misc): Remove toxic language"

* fix build

* build
2021-09-15 17:50:28 +02:00
Efymer
aa9a39e07f feat(Core/debug): Add commad to debug lfg (#6638)
* feat(Core/debug): Add commad to debug lfg

* Update LFGMgr.h

* Update rev_1624914323095978900.sql

* Code review fixes

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-09-14 17:08:49 +02:00
IntelligentQuantum
e6143a1efd feat(Core/Commands): Gear (#7717) 2021-09-12 12:19:14 +02:00
lineagedr
ae8a78d90a feat(Core/Gameobject): add a range check for gameobjects (#7521) 2021-08-31 10:34:43 +02:00
Kitzunu
6978d62482 refactor(Script/Command): modify mount & dismount (#7413)
* refactor(Script/Command): modify mount

* oopsies

* Update rev_1629233438552386300.sql

* codestyle

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* some improvements

* When using .dismount also update speed to 100%

* remove atoul

* Update cs_modify.cpp

* test

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Update cs_modify.cpp

* fix tyop

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
2021-08-29 10:45:43 +02:00
UltraNix
a8c0a2cc89 fix(Core/Movement): (#7008)
- Get zone/area IDs from vmap data in the liquid update
- Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
- Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields.
- Clean up liquid state handling on Unit and Player
- Implemented getting area id from gameobject spawns.
- Removed old core related to getting movement flags dependent on environment.
- Movement flags are now processed more precisely and dynamically.

Original source: TrinityCore.

- Closes #5086
- Updates #2208.
2021-08-25 12:41:20 +02:00
Petric
56a2f6d976 fix(Core/Crash): reload page GetSession check to avoid crash (#7451) 2021-08-22 16:40:40 +02:00
UltraNix
261d5c62cd fix(Core/Collision): typo in VMap BIH generation. (#7066)
* Core/Collision: Fix typo in VMap BIH generation.

Fixed #5768.

* Bump vmap and mmap versions.

* chore: update data version in the bash installer
2021-08-08 12:21:29 +02:00
Francesco Borzì
fab0fc421b refactor(Scripts/Commands): code cleanup (part 4) (#6921) 2021-07-18 13:25:44 +02:00
Kargatum
8568c4fb33 feat(Core): replace ACE network with Boost.Asio (#6574) 2021-07-16 10:43:56 +02:00