100 Commits
Author SHA1 Message Date
M'Dic 1c7ac83a1c feat(Core/Unit): anticheat helper (#16115)
this covers a case with SPELL_AURA_CONTROL_VEHICLE being used. commonly in dk starter spot and northrend.
2023-04-30 01:27:15 +02:00
M'Dic 7e58650cf5 revert(Core): ChrRace.dbc full implementation (#16114)
* revert (core): ChrRace.dbc full implementation

we revert this due to several issues arrising. Although the dbc reading is done in full and correctly. Azerothcore relied on the original handling (althought not propper) for so long that  there is

* revert

* Update remove_charrace_dbc.sql

* Update remove_charrace_dbc.sql

* Update remove_charrace_dbc.sql
2023-04-29 08:23:11 -03:00
M'Dic a238e5e27b fix(core\player): Missing combat animation (#14199) 2023-04-29 12:27:13 +02:00
M'DicandKitzunu e5665c32f8 update (core\store): sLFGDungeonStore update (#15325)
* update (core\store): sLFGDungeonStore update

update (core\store): sLFGDungeonStore update

Co-Authored-By: Kitzunu <[email protected]>

* update (core\store): sLFGDungeonStore update

Co-Authored-By: Kitzunu <[email protected]>

---------

Co-authored-by: Kitzunu <[email protected]>
2023-04-29 12:25:49 +02:00
M'Dic 7b0efe01e5 chore(core/instance): Move to switch case (#16084)
This has just sloppy. Moved to Case switch with log error and else debug logging
2023-04-28 01:31:09 +02:00
M'DicandHelloKitty 3eae4c5713 fix(core/dbc): improve ChrRace DBC handling (#14843)
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508

Co-authored-by: HelloKitty <[email protected]>
2023-04-28 01:29:33 +02:00
ab2c062f03 feat(core\dbc): item.dbc, sItemStore, item_dbc, item enforcement conf, subclass fix (#14675)
feat (core\log\db): item.dbc and enforcement

dbc enforcement partial pick from tc: https://github.com/TrinityCore/TrinityCore/commit/0c44bd33ee7b42c924859139a9f4b04cf2b91261

Custom Item for testing by menevia16a (SPP DEV VEIL)

feat (core\log\db): item.dbc and enforcement

Update Item.sql

Update DBCStores.cpp

Update World.cpp

Update ObjectMgr.cpp

further replacement from template to dbc lookup

further logging and implementation

cherry pick tc https://github.com/TrinityCore/TrinityCore/commit/fd26c3c87c5e75952d5af033a66c9a28c9af29b9

replace with db lookup

update (sql): Murder all the backticks

line break fixit

fix (item_template): fix incorrect subclass

fix incorrect subclass matching with dbc enforcement

update: log correction for sub class

update log correction for sub class

add subclass to dbc enforcement

add subclass dbc enforcement since it is part of the item.dbc item_dbc

update (log): additional log

Co-authored-by: blub <[email protected]>
Co-authored-by: Shocker <[email protected]>
Co-authored-by: Veil <[email protected]>
Co-authored-by: Shocker <[email protected]>
2023-04-28 01:26:44 +02:00
M'Dic 8aa2a2ac0f chore (core): Clean up (#15977)
* chore (core): Clean up

* Update SmartScript.cpp

* more clean up

* Update boss_xt002.cpp
2023-04-16 21:04:56 -04:00
M'Dic f10928fa5c fix (core) : Violating Flag correction (#15648) 2023-03-30 06:24:23 -03:00
M'Dic 826ac63af3 revert (core): Dismount helper (#15544)
* Revert "add (core): Dismount Helper (#15511)"

This reverts commit 1d5092d37f.

* Revert "add (core): Dismount Helper (#15511)"

This reverts commit 1d5092d37f.
2023-03-22 12:02:11 -04:00
M'Dic 1d5092d37f add (core): Dismount Helper (#15511) 2023-03-20 13:26:16 -04:00
M'Dic 86b0b3dbde fix(Core/Warden): FMT (#15254) 2023-03-03 23:51:02 +01:00
M'Dic 437d93926f fix (core): macos12 depreciation workflow error / security CWE-120 (#14746)
* fix (core): macos12 depreciation workflow error

Fix workflow error message:
azerothcore-wotlk/src/common/Utilities/Util.cpp:558:9: fatal error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf(buffer, "%02X", bytes[i]);

* Update BattlegroundAV.cpp

* more macos12 fixit

* Update spell_generic.cpp
2023-01-23 06:13:27 -05:00
M'Dic 6a5a6e2453 fix (db): EOTS BG StartMaxDist (#14489)
this fixes the StartMaxDist to the appropiate size of 10 instead of default which will never flag the player for being outside the start spot before the bg starts (exploit) and there fore will never tele them back into place after 9 seconds.
2023-01-03 15:54:41 -05:00
M'Dic 2850052f3e Add (core): SendTeleportPacket helper (#14389)
* Add (core): SendTeleportPacket helper

add helper to SendTeleportPacket

* sin hard
2022-12-28 13:05:46 -05:00
M'Dic 4d8be337a8 update (core): Continue Taxi Flight support helper (#14211)
Thank you for the review approval
2022-12-13 11:43:45 -05:00
M'DicandGiacomo Pozzoni 8f19bcddf4 Add (core\logging): Log sync db queries in mapupdater (#13638)
This will Log sync db queries in World::Update() loop for the mapupdater when building in debug.
Originally part of TC Commit https://github.com/TrinityCore/TrinityCore/pull/25174
Apparently azerothcore never cherrypicked it entirely for whatever reason and is needed when running a debugger in debug build for me to find and address some recent crash issues that been posted on the issues to fully verify the issue.

Co-Authored-By: Giacomo Pozzoni <[email protected]>
2022-11-01 19:00:42 -04:00
M'Dic 55a5684c87 Add (core): Effect Transmit Anticheat Helper (#13447)
Add (core): Anticheat Helper
2022-10-23 09:19:35 -04:00
M'Dic d1acab8abf Fix (db): Graveyard Frostmane Hold Alliance (#13448)
Frostmane Hold Grave Fix Alliance
2022-10-21 06:33:10 -04:00
M'Dic e836f08cc4 Revert feat(core): Start Process and DBUpdater (#13465)
Revert "feat(CORE): for Start Process and  DBUpdater

This a selective reverts for commits:
c855e8d227 and  636df19514. To re-enable the windows build to function again while applying updates.

Update DBUpdater.cpp
2022-10-20 07:43:34 +02:00
M'Dic 800c16bbf8 Fix (core): SMSG_BINDPOINTUPDATE packet fix (#13452) 2022-10-18 06:47:04 -04:00
M'Dic 491aef9eea fix (core): Header consistency (#13303) 2022-10-15 11:03:59 -04:00
M'Dic 08d74c5d1c fix (updates\sql): Move orientation to pending (#13399) 2022-10-13 15:09:04 -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
M'Dic 967f8ce6d6 update (core): Startup console capitalizations (#13195) 2022-10-01 13:09:34 -04:00
M'Dic 33fcab0917 fix (core): Log correction (#13181)
fix (core): Commit LOG correction
2022-10-01 09:45:29 -04:00
M'Dic ed68d1bffa fix (Core/Spell): Shadowform Dispel (#13155) 2022-09-28 12:13:46 -04:00
M'Dic e0b7c7d0d3 fix(sql): Squash fix for mariadb (#12830)
Update log_money.sql
2022-08-23 17:48:14 +02:00
M'Dic 02541165b4 fix(Misc/Log): Info to debug learn spell (#12774)
fix (logging): Info to Debug Learn Spell
2022-08-21 14:40:37 +02:00
8b9541873a feat(Core/ChatHandler/Conf): Flood Control Addon Messages (#12603)
* feat(Core/ChatHandler): Flood Control Addon Messages

Original Closed PR by @Kitzunu
https://github.com/azerothcore/azerothcore-wotlk/pull/11675

Cherrypicked TC:
cherry-pick commit (TrinityCore/TrinityCore@5384fc1)
cherry-pick commit (stoneharry/TrinityCore@a0629fc)

Co-Authored-By: stoneharry [email protected]
Co-Authored-By: Shauren [email protected]
Co-Authored-By: stoneharry <[email protected]>
Co-Authored-By: Shauren <[email protected]>
Co-Authored-By: Kitzunu <[email protected]>

* update: (pr): Review Response

* update: (core): Chathandler

No reason why this case should even exist. Previous or current.  This cast is under two sided interations which will always lead to you being in a group of some sorts. there is literally zero sense having a above or equal to level 80 if statement here.

* update (cleanup): Code Style

suggestion per @Nefertumm

Co-Authored-By: Angelo Venturini <[email protected]>

Co-authored-by: stoneharry <[email protected]>
Co-authored-by: Shauren <[email protected]>
Co-authored-by: Kitzunu <[email protected]>
Co-authored-by: Angelo Venturini <[email protected]>
2022-08-17 10:37:34 -04:00
M'Dic 5dd22f822d fix (core): Cast sub-expression to wider-type (#12430)
sub-expression may overflow before being added to a wider type.
Possible fix for a segmentation fault being reported in the chat.
2022-08-13 15:05:23 -04:00
M'Dic 5fe01e2d19 update (core): Additional anticheat helper (#12692)
update (core): Addition anticheat helper
2022-08-09 14:27:09 -04:00
M'Dic 825db0f8c1 update (core): Knock Back Helpers (#12639)
Adds knock back helpers to the core for future core and module use.
2022-08-05 20:15:58 -04:00
M'Dic a4c809f13c update (source): Establish chapter 3 dk script (#12549)
* update (source): Establish chapter 3 dk scripts

Per source notes
 Xinef: Should be in chapter III
We establish chapter 3 script for scarelet enclaved and to make the easy of future development in terms of organization

* Update: (script) Spell Script Loader to Register Spell Script

* update: (script): typo
2022-08-03 16:54:21 -04:00
acidmanifesto 4d888f9431 update (core): Clean Up SendGMText (#12317) 2022-07-10 19:27:56 -04:00
acidmanifesto d7d04c62b1 fix (db): Graveyard Horde Teldrassil (#12278)
* fix (db): Graveyard horde Teldrassil

* update (db): update for workflow code style check

* fix (db): File Rename

* update (db): Typo
2022-07-03 15:26:50 -04:00
acidmanifestoand55Honey ba81fa2919 update (app) Extractor.bat update (#12139)
* update (app) Extractor.bat update

Updating Extractor.bat to match new naming convention of extraction toolsets.

* Update extractor_es.bat

Co-Authored-By: 55Honey <[email protected]>

Co-authored-by: 55Honey <[email protected]>
2022-06-21 18:36:52 -04:00
acidmanifesto 95787beb57 chore(cleanup): Excessive line breaks removal. (#12126)
chore (cleanup): Excess line breaks removed
2022-06-20 12:38:18 -03:00
acidmanifestoandShauren 76d57065e2 fix (core/logging/conf): Fix Logging for Modules (#11601)
* fix (core/logging/conf): Fix Logging for Modules

Fix custom module logging and appender. Also included Logging Async Conf.

* Update Log.cpp

* Core/Logging: Force synchronous logging after io_service shutdown - fixes logging on worldserver shutdown

https: //github.com/TrinityCore/TrinityCore/commit/c71987b1a1403fa20654cc24b37448ca807ff363
Co-Authored-By: Shauren <[email protected]>

Co-authored-by: Shauren <[email protected]>
2022-05-19 09:54:08 -04:00
acidmanifesto e60b953a7a add (core): Additional Helper (#11731)
Anticheat Helper for knock back
2022-05-13 13:16:36 -04:00
11f151a962 fix (core): Prevent Forced UpdateObjectVisibility Before in World (#11730)
fix (Core): Prevent Forced UpdateObjectVisibility Before in World

TC Cherry Pick: https://github.com/TrinityCore/TrinityCore/commit/38dc5667ba13d5c1d094330b0f57ba0ee9b2dde5

Co-Authored-By: Shauren <[email protected]>
Co-Authored-By: Jurgis <[email protected]>

Co-authored-by: Shauren <[email protected]>
Co-authored-by: Jurgis <[email protected]>
2022-05-13 13:02:43 -04:00
acidmanifesto 06a62538cf fix (core\crash): fix client crash dk starter (#11726)
* fix (core\crash): fix client crash dk starter

Fixing it again. Something regressed.

* adjust timer and text playing

* improved timing

* Update chapter1.cpp
2022-05-13 13:00:59 -04:00
acidmanifesto cc6528ad7b Fix (core) water level and ground level correction (#11552)
We do not need to excessively have ground level be -2 below the player when underwater. ground level is ground level. no need for a lower adjustment. Most likely left over from from when the shallow water calculations was wrong entirely that lead to false hits with water walking detection due to core side calculations.
2022-05-01 08:44:03 -04:00
acidmanifesto ad520391d0 fix (core): Water Calculation Corrections (#11516) 2022-04-24 09:58:22 -04:00
acidmanifesto f5b263274f add (core): additional helper for jump destination (#11489) 2022-04-23 06:51:51 -04:00
acidmanifesto 4ec69ba3ed fix (core): inhabit CanSwim revert (#11475) 2022-04-22 09:34:37 -04:00
acidmanifesto f2de895921 fix(core): Null check the helpers (#11476)
* fix (core): move helper

* Update Spell.cpp

* Update Unit.cpp
2022-04-22 10:11:06 -03:00
acidmanifesto eb91bbfc56 feat (core): another helper implemented (#11469) 2022-04-21 13:15:11 -04:00
acidmanifesto d38b6ce0db Feat: (core) Additional Helper (#11457)
* Feat: (core) Additional Helper
2022-04-21 06:06:22 -04:00
acidmanifesto 93a8d4fb63 fix (core) Remove not need operator || (#11425)
Since the mysterous why things evade in shallow water root issue was finally determined because of our shallow water calculations was wrong that was corrected by pr https://github.com/azerothcore/azerothcore-wotlk/pull/11419 we can now remove this operator
2022-04-17 13:24:15 -04:00
acidmanifesto c283883aea fix (core): Shallow Water Calulation Correction (#11419)
Shallow water calculation (in water and water walking value) is in correct and were matching. not right at all. this corrects the issue.
2022-04-16 16:38:57 -04: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
acidmanifesto 0103c896f9 chore(Core\Dep): Zlib 1.2.7 to 1.2.12 (#11401)
version 1.2.7, May 2nd, 2012 to
  version 1.2.12, March 11th, 2022

Ref Security Issue:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-25032
2022-04-15 12:46:36 -03:00
acidmanifesto edd211997e fix (db) Harpy Z Axis fix (#11284)
* fix (db) Harpy Z Axis fix

* Update rev_1649093998908343415.sql

* Update rev_1649093998908343415.sql
2022-04-14 12:23:00 -04:00
acidmanifesto 446546fb96 Add (core): Additional Teleport Helpers (#11277)
Additional Teleport helper placements.
2022-04-03 13:22:44 -04:00
acidmanifestoandTheDdraig 606c5dc7a8 Fix (core) Death Comes from high Client Crash Fix (#11136)
This fixes the client side crash while flying as the EYE OF ACHERUS, apparrently if the player lacks the visual spell on his character the client would crash. This is something I just want NOT ABLE to identify in debugger, however, true story also by the way, @TheDdraig made a suggestion while being both stone and highly intoxicate that he came up with the insane nonsensible approach that actually solved the issue 100%.

Co-Authored-By: TheDdraig <[email protected]>

Co-authored-by: TheDdraig <[email protected]>
2022-03-25 10:13:03 -04:00
acidmanifesto c7a77653a7 fix (db) smartscript error fix Acherus Necromancer (#11109) 2022-03-22 21:10:35 -04:00
acidmanifesto 77f13636b7 fix (core) Script Names not loaded with manual add (#11102)
This fixes Script names not being loaded with npcs and gameobjects when manually added with the .npc\gameobject add cmd that would lead the user to restart the server to load up the npc\gameobject with the script that was manually added
2022-03-22 09:49:06 -04:00
acidmanifesto e2d7dc9bd7 fix (core): Load Order Adjustment GAME_EVENT_START hook (#10939)
This effect any and all Smartscripts using Smart Event 68 (10 total at this time of rev) and 69 (21 total at this time of rev)
Dealing both with event 85 Stitches Event and event 87 Scarlet Oracle
2022-03-09 18:16:52 -05:00
acidmanifesto f2f0b7429e fix (DB): Grimclaw NPC Mini RP event (#10926)
* fix (DB): Grimclaw NPC Mini RP event

Fix issue of "Skyhopping"/"flying".
added missing wayooints.
adjusted smart scripts and action scripts with new waypoint adjustments

* Update rev_1646669713670945917.sql
2022-03-08 06:51:54 -05:00
689d4e02d5 fix (db): Thrash (#10869)
* fix (db): Thrash

Thrash was messed up extremely with a ton of npcs, this is a bit of a revert dealing with those npcs but with corrections to ensure the spell is not spammed and triggers only when they are suppose to.

* Update rev_1646161855065886626.sql

Credits to @temperrr for the assist with finding me the old table to help with the undoing of things

Co-Authored-By: temperrr <[email protected]>

* Update rev_1646161855065886626.sql

* this might be it

* Update data/sql/updates/pending_db_world/rev_1646161855065886626.sql

* Update data/sql/updates/pending_db_world/rev_1646161855065886626.sql

* Update data/sql/updates/pending_db_world/rev_1646161855065886626.sql

* Update rev_1646161855065886626.sql

* Update rev_1646161855065886626.sql

May Talos guide you.

Co-authored-by: temperrr <[email protected]>
Co-authored-by: Nefertumm <[email protected]>
2022-03-06 19:44:08 -05:00
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 https://github.com/TrinityCore/TrinityCore/commit/0f1f7ef4017ac32df669ceee120489321da680aa 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 <[email protected]>
Co-Authored-By: ForesterDev <[email protected]>
2022-02-26 10:05:58 -05:00
acidmanifesto 7435805860 fix (core): server.log dump (#10742) 2022-02-22 14:53:22 -03:00
acidmanifesto d891259f53 fix (db): Smolderthorn Berserker not attacking (#10785)
* fix (db): Smolderthorn Berserker not attacking

Smolderthorn Berserker guid 43101 was not attacking due to it being assigned some weird funky smart script instead of just giving it normal pathing waypoints.

* gooder formatting
2022-02-21 19:22:55 -05:00
acidmanifesto 1294bf7d0d Add (DB\Gameobject): Missing Bon Fires VOS (#10738)
Adds in missing Bon Fires in orgrimmar in valley of strength. Guids used were checked and are currently unused.
2022-02-18 19:18:24 -05:00
9f89865f71 Add (DB/SAI): Raider Jhash and Raider Kerr Durotar TC Cherry pick (#10716)
* Add (DB/SAI): Raider Jhash and Raider Kerr

This is a cherry pick of sorts from https://github.com/TrinityCore/TrinityCore/issues/27680 Which is authored by @alastro-Kraken and signed off by @offl . i am huge supporter of adding life role plays in the game, so it doesn't seem like a walking simulator, sometimes its about the trip and not the destination. However because our sai system is seriously lacking, jacked, busted on parts, and at times have issues with wanting to work with other tables which I have zero idea how or why, this had to be adjusted dramatically as sorts as the default sai from the TC did not work on AZ. So changes made on this end for AZ, we did not include creature formation table additions as for some reason creature formations and smartai scripted npcs do not cooperate with each other, which lead me to use action 29 to put them at a angle and distance, however for some reason our angle is opposite from tc so I have to adjust it to be 90 instead of 270 and change it from a distance of 3 to 2.5.  I had to add in a orientation adjustment for AZ as the JHash thing didn't keep its orientation for some reason on a waypoint pause at razor hill. The damn set data didn't work at all for raider kerr on azerothcore for him to move to the water point in razor hill so i had to make that a freaking timed action list, so I tossed in some 400ms timers so the damn thing will fire off. #400msClub as having it as zero for the time actions didn't fire off at all. I also had to set Raider Kerr to follow Raider Jhash on "Respawn" as that was the only way for it to fire off so he would even follow Jhash in the begin at Valley of Trials and mid point at razor hill, why am i forced to use on respawn for Kerr to follow Jhash after the razor hill stop, i have no idea, but it was the only way for the sai to fire off for kerr to follow jhash for some reason. The actions are then repeated as a loop so it will be seamless which that part was not adjusted. NPC Flag, extra flag, and gossip had to be adjusted for raider JHash as he was never a gossip npc and no exp is gained from him on kill.

Co-Authored-By: Alastro <[email protected]>
Co-Authored-By: offl <[email protected]>
2022-02-18 17:10:25 -05:00
acidmanifesto 881760821e fix (core): Final Override to Final (#10731)
PT2, codefactor was green and then decided to complain about the other final overrides in BG
2022-02-18 14:08:11 -05:00
acidmanifesto c64c0a2945 fix (core): BG Final Override to Final (#10729)
* fix (core): BG Final Override to Final
2022-02-18 09:37:23 -05:00
acidmanifesto 658e936ace Fix (Conf): Add Gossip exemption for AZ Catelogue (#10705)
https://github.com/azerothcore/mod-npc-all-mounts is failing due to its gossip not being made a exception.
Since this is a AZ Catelogue NPC module. We add the exception into the conf as default for it to show passing.
2022-02-16 12:20:14 -05:00
acidmanifesto a7d17a5bb6 fix (core\db): SAI Error Reporting (#10698)
* fix (core\db): SAI Error Reporting

* formatting
2022-02-15 17:00:33 -05:00
acidmanifesto c50f7feda0 feat (core): Add Teleport Helpers (#10611)
* feat (core): Add Teleport Helpers

* Lower case the things
2022-02-09 20:54:46 -05:00
acidmanifesto b0b9fece99 fix: (core) Game Hook Correction (#10572) 2022-02-07 13:18:47 -05:00
acidmanifesto cfb171efda fix (conf): Added additional Cateloge NPC IDS (#10547)
* fix (conf): Added additional Cateloge NPC IDS

This is soo we can get a proppery pass\fail status on npc catelog modules dealing with hard coded gossip

* Update worldserver.conf.dist
2022-02-05 16:32:25 -05:00
acidmanifesto 3d3fd35267 fix (DB): Blacksmithing Plans Loot and Conditions (#10391)
* fix (DB): Blacksmithing Plans Loot and Conditions

Per discussed no valid udb or sniff exist for loot and item. Common sense approach to fill the item until further based on wowhead as research for both conditions and loot %. Conditional is items will only be available if player possess blacksmithing at a skill of 285 minimal. 4 loot items with % were provided by wowhead based on time stamps of comments.

* Updated based on further feedback

* Update rev_1643309943188748904.sql

* Update rev_1643309943188748904.sql

* Update rev_1643309943188748904.sql

* corrections

* Update rev_1643309943188748904.sql

* Update rev_1643309943188748904.sql

* make formate prettiester
2022-02-03 14:28:17 -05:00
acidmanifesto 48ad8b519b Revert "fix (core): Smart Script Clean up\Code Reduction (#10491)" (#10494)
This reverts commit 0a218c975f.
Memory Leak Issue is being identified by a few fellow devs in response to the clean up.
2022-02-02 13:43:48 -05:00
acidmanifesto 0a218c975f fix (core): Smart Script Clean up\Code Reduction (#10491)
* fix (core): Smart Script Clean up

No need to repeat ObjectList* targets = GetTargets(e, unit); over 100 times in the same void you sinners.

* Update SmartScript.cpp

* Update SmartScript.cpp
2022-02-02 12:40:32 -05:00
acidmanifesto 8207e3ffb5 fix (core) : TransportMgr Load up time (#10388)
* fix (core) : TransportMgr Load up time

* white space fix

* merge fix

* merge fix again

* Update TransportMgr.cpp

* Update TransportMgr.cpp

* Update TransportMgr.cpp

* fix conflich with preload grids for continent static transports
2022-01-29 10:44:19 -05:00
acidmanifesto 674b168add fix (core): Delay added so spell animation plays on unit death (#10394)
* fix (core): Delay added so spell animation plays on unit death

Unit death not showing full spell animation. This delay of 400ms provides that opportunity for it to not be nerfed.

* Notes added.
2022-01-28 11:26:15 -05:00
b085ee61eb fix (core): EffectInstaKill Prevents spell animation fix (#10379)
* fix (core): EffectInstaKill Prevents spell animation before deal damage execution

This fixes the issue of spell animations of chain effects of a spell dealing with EffectInstaKill. This was identified as a issue in support of @malcrom 's current scripting efforts. We fix the issue by putting a half second delay and making the delay of a function possible and independent.

Co-Authored-By: Malcrom <[email protected]>

* Fix double to float

Co-Authored-By: Malcrom <[email protected]>

* Remove the STD

I put the STD in STUD and all I need is U

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

per @kitzunu the great

Co-authored-by: Kitzunu <[email protected]>

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

per @nefertumm the beast

Co-authored-by: Nefertumm <[email protected]>

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

Co-authored-by: Kargatum <[email protected]>

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

Co-authored-by: Kargatum <[email protected]>

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

Co-authored-by: Kargatum <[email protected]>

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

Co-authored-by: Kargatum <[email protected]>

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

Co-authored-by: Kargatum <[email protected]>

* Notes Added

Co-authored-by: Malcrom <[email protected]>
Co-authored-by: Kitzunu <[email protected]>
Co-authored-by: Nefertumm <[email protected]>
Co-authored-by: Kargatum <[email protected]>
2022-01-28 11:14:21 -05:00
acidmanifesto 3c3bcc6557 fix(DB/Quest): Add missing objective marker quest 9454 (#10281)
* fix (db/quest) Add missing objective marker quest 9454

Add missing objective marker quest 9454

* Update rev_1642724246151292535.sql

* Update rev_1642724246151292535.sql
2022-01-27 17:50:00 -03:00
+3 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 <[email protected]>
Co-Authored-By: joschiwald <[email protected]>
Co-Authored-By: Shauren <[email protected]>
Co-Authored-By: SnapperRy <[email protected]>
Co-Authored-By: Ariel Silva <[email protected]>
Co-Authored-By: Nick <[email protected]>
Co-Authored-By: r00ty-tc <[email protected]>
Co-Authored-By: Jorge García <[email protected]>
Co-Authored-By: Kaelima <[email protected]>
Co-Authored-By: Shocker <[email protected]>
Co-Authored-By: Giacomo Pozzoni <[email protected]>

* 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 <[email protected]>
Co-authored-by: joschiwald <[email protected]>
Co-authored-by: Shauren <[email protected]>
Co-authored-by: SnapperRy <[email protected]>
Co-authored-by: Ariel Silva <[email protected]>
Co-authored-by: Nick <[email protected]>
Co-authored-by: r00ty-tc <[email protected]>
Co-authored-by: Jorge García <[email protected]>
Co-authored-by: Kaelima <[email protected]>
Co-authored-by: Shocker <[email protected]>
Co-authored-by: Giacomo Pozzoni <[email protected]>
Co-authored-by: Kitzunu <[email protected]>
2022-01-24 19:47:16 -05:00
acidmanifesto b51514afae fix(DB/NPC): WP for stormwind guard guid 79875 (#10294)
WP for stormwind guard guid 79875
2022-01-21 21:30:33 -03:00
acidmanifesto 4c3433cc49 fix (DB/Misc): Rename tele OldIronForge (#10225) 2022-01-17 17:48:26 -08:00
acidmanifesto 7862e3845f Add (DB/Misc): Add OldScarletMonastery (#10216)
Cherry picked by TC Issue https://github.com/TrinityCore/TrinityCore/issues/27626 by @anzz1
2022-01-17 15:39:27 -05:00
acidmanifesto 03a72cfc85 chore(DB/Creature): LBRS guid conflict resolve (#10194)
* fix (db): LBRS guid conflict resolve

https://github.com/azerothcore/azerothcore-wotlk/pull/10171 overwritten guids from https://github.com/azerothcore/azerothcore-wotlk/pull/10079
This Corrects the issue but given out new guids to the lbrs since there is no way points scripted with them
2022-01-15 23:13:07 -03:00
acidmanifesto f5aed756e5 fix (core\script) Double to Float Fix (#10161) 2022-01-13 19:45:10 -05:00
acidmanifesto 4330e44ad0 fix (Core/CodeReduction) TC_ removal (#10162)
TC_ remove from any commit out TC_LOG in the event when we do need to run debug logging, we can just remove the // instead of // TC_
2022-01-13 14:39:54 -05:00
acidmanifesto e6e76f971b fix (Core/CTM) Water Evade Fix (#10147) 2022-01-12 19:59:12 -04:00
acidmanifesto 8f6627d7e7 fix (DB\CTM): Redridge Mulocs CTM added (#10118) 2022-01-12 06:35:44 -03:00
acidmanifesto 0144671517 fix(DB\CTM): Hydroflask CTM 2022-01-12 06:21:23 -03:00
acidmanifesto bb254df44e fix(DB\Creature\Instance): Maraudon CTM fix (#10122)
* Maraudon CTM fix

* Update rev_1641866061298667986.sql

* Update rev_1641866061298667986.sql
2022-01-12 04:22:31 -03:00
acidmanifesto caa42cc85e fix(DB\CTM): Wailing Caverns CTM (#10132)
* fix (DB\CTM): Wailing Caverns CTM

* Update rev_1641925718732444493.sql

* remove dupe
2022-01-12 03:27:38 -03:00
acidmanifesto b42deca6d1 Fix (Core): add missing default,break. (#10114)
Added missing default break in case switch.
2022-01-10 18:16:28 -05:00
acidmanifesto 3cbe23865f fix (Core/Creature): Random Gender on respawn if Gender exsist for Entry (#10108)
* Fix (Core\Creature): Random Gender on respawn if Gender exsrespawn

If creature has genders it will consider gender changing on respawn.
GetCreatureModelInfo to const

* Update Creature.cpp
2022-01-10 10:22:04 -05:00
acidmanifestoandKitzunu 2947c929f3 fix (DB/NPC): Dalaran Visitor CTM fix (#10058)
* fix (DB/NPC): Dalaran CTM fix

Fixes the air swimmers when they land.

* Update rev_1641574598839293356.sql

* and replace of in

* Update data/sql/updates/pending_db_world/rev_1641574598839293356.sql

Co-authored-by: Kitzunu <[email protected]>

Co-authored-by: Kitzunu <[email protected]>
2022-01-09 10:52:31 -05:00
acidmanifesto 2d4e17fd16 refactor(Core/Creature): Remove Inhabit Type (#9272)
This is in reference to issue: https://github.com/azerothcore/azerothcore-wotlk/issues/4361
This is comprised of a cherry pick and partial tc cherry pick:
https://github.com/TrinityCore/TrinityCore/commit/592516ae69d89da3bcb0ede144644a3d2e0186e0
https://github.com/TrinityCore/TrinityCore/commit/dbadb6369cf0b6d394fffaa1dedc612dfb5cbe2a
https://github.com/TrinityCore/TrinityCore/commit/34cfa69efd1857540f1f44b118086bb02334c100
https://github.com/TrinityCore/TrinityCore/commit/12de860b4aefc02cc77b7487ef218fb584cdb552
https://github.com/TrinityCore/TrinityCore/commit/a22bc236ebc038c723774e5b38cd93e814ccc43d
2022-01-06 10:33:22 -03:00
acidmanifesto d504a62293 fix(Core\OpCode): HandleFarSightOpcode (#9965)
* Change TO ThreadUNSAFE

This will process the far sight packet as a is not thread-safe - process it in World::UpdateSessions() compared to the former packet is thread-safe - process it in Map::Update().
This matches up with tc in everything we have with the HandleFarSightOpcode.

* Further Adjustments

* Move to Debug Loggin

TC has it as move to Debug Logging. Stating its a weird opcode handling issue which is not really known why.
2022-01-06 09:22:08 -03:00
acidmanifesto 7354b14ffd Fix (Core\Script) Grammar Correction (#10031)
* Fix (Core\Script) Grammar Correction

GAME_EVENT_CHILDEREN_OF_GOLDSHIRE to GAME_EVENT_CHILDREN_OF_GOLDSHIRE

* SQL correction
2022-01-05 18:21:09 -05:00
acidmanifestoandMalcrom 6f98d32790 Feat (Core\DB\Event) Children of Goldshire (WIP) (#10022)
* (WIP\Event) Children of Goldshire

Currently Compiles with no issues, sql runs fine, Can't seem to get cameron to trigger on the event start.

* Capitalization

* Remove Include

Not sure why it says it isnt found. Most likely was not needed.

* Rename Per Suggested

Rename per @Malcrom 's request

* SQL

Sorry i forgot to push it from my local

* Update zone_elwynn_forest.cpp

* Update rev_1641388762527715027.sql

* NPC's Move Fix

Now to audit the whole event naturally

* remove double

* White space removal

* added override per testing recommendation

* Utiilizing Malcroms PathEndReached

Co-Authored-By: Malcrom <[email protected]>

* Final Draft

All works now.

* abc order adjustment

* Adjust Time for Runaway Lisa

Co-authored-by: Malcrom <[email protected]>
2022-01-05 13:54:30 -05:00
acidmanifesto 8844e2d3bc Fix (DB\Creature) Adjust Shadowforge Surveyor z-position (#9973)
* Z-Axis Adjustment

Reopening of PR by @Azcobu that was closed thru misunderstanding
https://github.com/azerothcore/azerothcore-wotlk/pull/9559/files

* Update rev_1638885155008688879.sql
2022-01-05 04:32:45 +01:00