Commit Graph

285 Commits

Author SHA1 Message Date
Mickaël Mauger
2e5e3bda5d fix(Scripts/Commands): Fix assertion error on mmaps path command (#13704) 2022-11-16 01:24:27 -03:00
Skjalf
200a4b6af4 fix(Scripts/Commands): Fix group list command output (#13614) 2022-11-01 00:20:20 -03:00
UltraNix
41d3df9fcb fix(Scripts/Commands): Fixed command learn all my talents for chars… (#13529)
fix(Scripts/Commands): Fixed command `learn all my talents` for chars with 255 level.

Fixes #4788
2022-10-29 07:12:35 -03:00
Skjalf
192bf4736b feat(Scripts/Commands): Implement character changeaccount command (#13532)
* feat(Scripts/Commands): Implement character changeaccount command

* strings and stuff

* clear unused
2022-10-24 22:43:46 -03:00
Skjalf
e55d7cb951 fix(Core/ObjectAcessor): Fix crash caused by forced character renames (#13527) 2022-10-24 12:24:23 -03:00
Droz
8d7370decf Fix(core/scripts): issue 13325 - reset talents command (#13326)
Fix issue 13325 - reset talents command does not set offline player at_login flag to reset talents.
2022-10-15 11:05:00 -04:00
M'Dic
2e6f6e26da Add (core\db): Support for Homebind Orientation (#13389)
Add (core\db) Support for Homebind Orientation
2022-10-12 14:39:02 -04:00
Angelo Venturini
ad4ce0895f fix: Qaston revert (#13320)
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271)"

This reverts commit e05f61d1b3.

* Revert "fix(Core): Crash (#13292)"

This reverts commit a818bcf3e2.

* Revert "fix: Crash (#13241)"

This reverts commit be423a91b5.

* delete sql

* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079)"

This reverts commit cbd3fd0967.

* add sql revert

* fix sql

* remove update from world.updates
2022-10-05 21:53:20 +02:00
IntelligentQuantum
cbd3fd0967 refactor(Core/Spells): Implement QAston Proc System (#11079)
* .

* sql

* .

* .

* 1

* 2

* 3

* 4

* 5

* 6

* 7

* 8

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* Update spell_item.cpp

* Update Unit.cpp

* 16

* 17

* 18

* 19

* 20

* 21

* Update Unit.cpp

* REVERT UltraNIX Commit

* 22

* 23

* .

* .

* .

* warrior

* warlock

* shaman rogue priest paladin mage

* spell item

* hunter

* druid

* dk

* war

* error style

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* .

* DOND DEL ME WAD DO DO

* error 2

* .

* .

* .

* FIX

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* .

* ja genau

* Update .gitignore

* .

* .

* .,

* .

* .

* .

* .

* Update Unit.cpp
2022-10-02 19:39:34 +02:00
Maelthyr
1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
ZhengPeiRu21
1ddd884d6a feat(Core): Implement SP Bonus Coefficients from DBC (#12562)
* cherry-pick commit (1826437c09)

* Co-authored by: ariel- <ariel-@users.noreply.github.com>

* feat(Core): Implement SP Bonus Coefficients from DBC

* Several coefficient corrections

* Fix spell_dru_lifebloom
2022-09-17 11:09:04 +02:00
Angelo Venturini
031dfc4c5b fix(Core/Commands): Achievement checkall (#12649) 2022-08-09 08:25:57 -03:00
neifion-00000000
b7353ce9b2 feat(Core/Commands): Introduce .npc guid (#12440) 2022-07-20 01:04:23 -03:00
Kempec Halk
c93fb05515 feat(Core/Commands): Debug Spell Visuals Command (#12216)
* feat(Core/Commands): Debug Spell Visuals Command

* feat(DB/Commands): Debug Visual Help

* Add missing eol at eof
2022-07-05 22:55:37 -03:00
r0m1ntik
5e509344ac Fix command .skirmish (#12149)
fix-issue-11966

Co-authored-by: Badanin Roman <r.badanin@etud.univ-pau.fr>
2022-07-01 11:32:30 -04:00
Kempec Halk
6bff66a9f6 feat(Core/Command): Deserter Command send feedback (#11958)
* feat(Core/Command): Deserter feedback Part 1

* docs(Core/Command): Deserter RemoveAll Documentation

* feat(Core/Command): Deserter feedback Part 2

* fix(Core/Command): Deserter remove all count

* feat(Core/Commands): Deserter merge optimizations
2022-07-01 11:30:00 -04:00
Kempec Halk
3ef2b09a40 feat(Core/Command): Deserter rm all time parameter (#11963)
* feat(Core/Command): Deserter rm all time variable

* feat(Core/Command): deserter remove all TimeString

* chore(Core/Commands): Deserter remove all slight improvements
2022-06-22 16:19:45 -04:00
UltraNix
9d19aaf6a2 fix(Core): Crashfix. (#12092) 2022-06-18 08:46:33 -04:00
Kempec Halk
3c434cee12 feat(Core/Command): Use timestring with all commands (#12050) 2022-06-13 14:05:26 -03:00
Kempec Halk
8e7c4fa226 fix(Core): Deserter overrides from BG and Command (#11961)
* fix(Core/Command): Deserter offline add

* feat(Core/Command): Deserter online add restriction

* fix(Core/Battleground): Deserter overrides longer debuff
2022-06-13 08:58:49 -03:00
Kempec Halk
c0c85ebf0a feat(Core/Commands): deserter command offline & using targets & console support (#11921) 2022-06-02 10:11:53 -03:00
Axel Cocat
fbd5e981ca fix(Scripts/Commands): fix baninfo command issues (#11871) 2022-05-27 00:21:43 -03:00
Maelthyr
c5368816fa Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758) 2022-05-18 05:36:57 -03:00
SilentCLD
7975bc63ca fix(Core/Commands): Fix removing item from player account (#11041)
The additem command would silently return when trying to remove an item
from a player security level account
2022-05-06 00:33:18 -03:00
Kitzunu
026941c39e refactor(DB): Handle SQL files in a new way (#11494)
* refactor(DB): Handle SQL files in a new way

* remove proof that it works files

* Update rev_1650721405699287200.sql

* Update rev_1650721339143444200.sql

* Update rev_1650721386624384400.sql

* fix build

* fix
2022-04-28 14:37:37 -03:00
Kitzunu
1501445b0a chore(Core/Misc): nullptr cleanup (#11467) 2022-04-21 19:17:20 +02:00
Kitzunu
7ecd738674 feat(Core/Mail): Server mail (#10628) 2022-04-19 23:43:14 +02:00
acidmanifesto
db360f0cfb Fix (Core\DB) Hostil to Hostile spelling fix (#11399)
* Fix (Core) Hostil to Hostile spelling fix

* sql cmd adjustment as well

* AliGnZ

* Further Hostil to Hostile Correction

Per @Si1ker  Research via https://github.com/azerothcore/azerothcore-wotlk/pull/11399#issuecomment-1099506373
2022-04-16 11:00:38 -04:00
UltraNix
47790c9714 fix(Core/Vmaps): Stop M2s from occluding for spellcast LoS. Original autho… (#11341)
* Core/Vmaps: Stop M2s from occluding for spellcast LoS. Original authors: @Shauren & @HelloKitty

Fixes #11293

* buildfix.

Co-Authored-By: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
2022-04-10 09:24:35 -03:00
Kitzunu
edb7cac19b feat(Core/Unit): NPCFlags helpers (#11286)
* cherry-pick commit (TrinityCore/TrinityCore@d611925)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
2022-04-05 13:52:42 +02:00
Nefertumm
883becc6d9 feat(Core/Command): Split respawn command (#11245)
* feat(Core/Command): Split respawn command

* feat(Core/Command): Split respawn command

* typo
2022-04-02 11:48:04 -03:00
Kitzunu
535c7451a2 feat(Core/Unit): New helpers for DynamicFlags (#11230)
* feat(Core/Unit): New helpers for DynamicFlags

* cherry-pick commit (d611925dc7)

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

* oopsie

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-04-01 07:14:29 -03:00
IntelligentQuantum
6e2e73d6ae feat(Scripts/Commands): debug objectcount 2022-04-01 06:57:26 -03:00
Kitzunu
856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -03:00
Malcrom
ee08039a52 fix(Core/Command): Fix issue with waypoint show off (#11111)
* fix(Core/Command): Fix issue with waypoint show off

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

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

Co-authored-by: Kargatum <dowlandtop@yandex.com>
2022-03-22 21:48:31 -03:00
Kargatum
78bdc89881 feat(Core/Battleground): rework bg queue system (#10817) 2022-03-15 14:36:49 -03:00
IntelligentQuantum
7ad65752fa feat(Core/Maps): Improvements to Cinematic function (#10765) 2022-03-11 08:21:54 +01:00
Kitzunu
d927ce6fac feat(Core/Creature): Implement quest_greetings table (#10526)
* cherry-pick commit (6dda09818d)

Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
2022-03-06 18:19:08 +01:00
IntelligentQuantum
5d51b0060c fix(Scripts/Commands): solve crash in .npc move (#10825) 2022-03-02 14:56:48 +01:00
acidmanifesto
69e2f2e3aa fix/feat: (Core/PacketIO): updated sound and creature addon (#10813)
* fix\feat: (Core/PacketIO): updated sound and creature addon

updated SMSG_PLAY_SOUND, SMSG_PLAY_MUSIC and SMSG_PLAY_OBJECT_SOUND via tc cherry pick
https://github.com/TrinityCore/TrinityCore/pull/2363 and 0f1f7ef401 by @joschiwald  and @ForesterDev
This so far a attempt to align atleast with sound with tc, and correct a potentional issue of hearing creature sounds that is not in visible range. I notice PlaySound was being defined in some weird dependency as it isnt with tc so I renamed it to Playsound. Notice a isLarge still being used in the creature addon when it was depreciated, so i removed that a that seem to of interfered with visibilitydistanceType.

Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
2022-02-26 10:05:58 -05:00
UltraNix
9d12652c3e fix(Core/Misc): Remove from LFG/batleground queues when teleported to battleground/LFG dungeon. (#10740)
Players cannot queue up for battleground during LFG dungeon.
Players cannot queue up for LFG dungeon during battleground/arena match.
Fixes #10635
2022-02-20 12:33:04 -03:00
Kitzunu
665919d010 refactor(Core/Misc): rename some variables that can be confusing (#10592) 2022-02-14 20:06:59 +01:00
Kitzunu
7d43d7db91 fix(Scripts/Commands): Improve server debug command (#10528) 2022-02-11 22:10:39 +01:00
IntelligentQuantum
3f85eb9ac6 fix(Scripts/Commands): cs_list crash (#10480)
* Update cs_list.cpp

* This way? not tested

* Update cs_list.cpp
2022-02-05 18:43:39 +01:00
UltraNix
0b02ba87fc fix(Core/Reputations): Faction rep gained by killing mobs is now prop… (#9737)
* fix(Core/Reputations): Faction rep gained by killing mobs is now properly rounded up.

Do not increase reputation rank if exceeds max rank cap.
Fixes #8718
2022-02-05 07:37:00 -03:00
Kargatum
de13bf426e feat(Core/DBLayer): replace char const* to std::string_view (#10211)
* feat(Core/DBLayer): replace `char const*` to `std::string_view`

* CString

* 1

* chore(Core/Misc): code cleanup

* cl

* db fix

* fmt style sql

* to fmt

* py

* del old

* 1

* 2

* 3

* 1

* 1
2022-02-05 00:37:11 +01:00
Kitzunu
c63ebde9d7 feat(Guild/Commands): guild rename (#10323)
* feat(Guild/Commands): guild rename

* cherry-pick commit (678cade116#)

* Update cs_guild.cpp
2022-02-03 06:01:16 -03:00
Skjalf
2d7434f767 feat(Scripts/Commands): Implement go quest starter/ender command (#10442)
* feat(Scripts/Commands): Implement go quest starter/ender command

* Update cs_go.cpp
2022-01-31 08:56:37 -03:00
Kargatum
5969df4e30 refactor(Core/Logging): switch to fmt style for LOG_ (#10366)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp

* rework logging

* add fmt replace logs

* logging

* FMT_LOG_

* settings

* fix startup

* 1

* 2

* 3

* 4

* 5

* fmt::print

* to fmt
2022-01-27 16:44:41 +01:00
acidmanifesto
b4b7a00b94 fix (core/pdump): Fix Pdump write and load thru TC Cherry picks (#10349)
* fix (core/pdump): Fix Pdump write and load thru TC Cherry picks

TC Cherry picks were over 30. I am not listing it all but i am listing authors of said relations that this pr is based on.

Co-Authored-By: Brian <runningnak3d@gmail.com>
Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: SnapperRy <19622383+SnapperRy@users.noreply.github.com>
Co-Authored-By: Ariel Silva <ariel-@users.noreply.github.com>
Co-Authored-By: Nick <31777+paradox@users.noreply.github.com>
Co-Authored-By: r00ty-tc <r00ty-tc@users.noreply.github.com>
Co-Authored-By: Jorge García <259712+xurxogr@users.noreply.github.com>
Co-Authored-By: Kaelima <kaelima@live.se>
Co-Authored-By: Shocker <43253032+shockerqt@users.noreply.github.com>
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>

* fix whitespace

formatting look like it had a stroke.

* Updated in script notes

Updated in script notes to reflect it was a note from tc that was refactored in

* Acore::StringTo

* acore::stringto

Co-authored-by: Brian <runningnak3d@gmail.com>
Co-authored-by: joschiwald <736792+joschiwald@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: SnapperRy <19622383+SnapperRy@users.noreply.github.com>
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
Co-authored-by: Nick <31777+paradox@users.noreply.github.com>
Co-authored-by: r00ty-tc <r00ty-tc@users.noreply.github.com>
Co-authored-by: Jorge García <259712+xurxogr@users.noreply.github.com>
Co-authored-by: Kaelima <kaelima@live.se>
Co-authored-by: Shocker <43253032+shockerqt@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-24 19:47:16 -05:00