Commit Graph

251 Commits

Author SHA1 Message Date
hondacrx e049db795f Fixes not getting \n on starting packet which would then have client send it on next packet, which then was wrong size. 2020-08-20 23:28:23 -04:00
hondacrx 165ae9e4f0 Make it so we can login to accounts created with TC 2020-08-20 23:23:23 -04:00
hondacrx 062eecf20b Misc fixes 2020-08-20 23:21:53 -04:00
hondacrx 2773a4430f Misc fixes 2020-08-12 17:44:16 -04:00
hondacrx 459d49f899 Core/BnetServer: Bnetserver cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9392ad28767626e519c463e2110184d71ba8426)
2020-08-12 17:43:37 -04:00
hondacrx c203379108 Core: Updated to 8.3.7.35249
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f9a69c9fa812b82af97809e445fc176b28f90eb)
2020-07-24 18:21:50 -04:00
hondacrx 97ee7c437d Core/SmartAI: implemented SMART_EVENT_EVENT_PHASE_CHANGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/593d3243d4b8301fe03634d279b51a68b5d9effd)
2020-07-24 18:08:59 -04:00
hondacrx 7baa1aede9 Combat/threat rewrite prep - merge RBAC/DB changes.
Port From (https://github.com/TrinityCore/TrinityCore/commit/118e53f1b84fca238a6f1039471351afa61bd6c4)
2020-07-24 17:50:10 -04:00
hondacrx 7bb86f94c5 Proper client timeout detection
Port From (https://github.com/TrinityCore/TrinityCore/commit/2c3fc47a96baa8a47130befda647bf29d8eacce1)
2020-07-24 17:48:02 -04:00
hondacrx 8e46ddaba5 Rename .debug uws to .debug worldstate (clarity change).
Port From (https://github.com/TrinityCore/TrinityCore/commit/29db04c3c92c0a6ca5d35d3fcc49d7766e3eddc3)
2020-07-24 16:26:30 -04:00
hondacrx 9533ebdd98 Add new command 'npc showloot'.
Port From (https://github.com/TrinityCore/TrinityCore/commit/64d8b183de9c56e1350b7323167b509fe2c43805)
2020-07-24 14:39:24 -04:00
hondacrx c70d2a67a0 - Add new commands .group set assistant, .group set maintank and .group set mainassist to toggle raid member flags.
Port From (https://github.com/TrinityCore/TrinityCore/commit/17a0139b0e121b0d8d0f2a079fcfd49090ea35a4)
2020-07-24 13:18:37 -04:00
hondacrx e5b6703dd0 Make some adjustments to .summon and .group summon behavior to make them more permissive:
- Now only requires the either target's group leader or target itself to be on your map
- Now summons all applicable group members even if one member fails checks
- No longer has some truly weird edge case instance unbind code that could cause exploit behavior (Really, I have no idea why this existed, because it certainly didn't do what it might've been meant to do.)
Port From (https://github.com/TrinityCore/TrinityCore/commit/f543e570d65fec3546e982d27d458a759922602d)
2020-07-24 11:46:44 -04:00
hondacrx ddaaae896e So, I came in trying to fix gameobject LoS. So I restructured some stuff.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5392212799b669d91c80cf0e9539a3aaa2abbe79)
2020-07-23 19:01:15 -04:00
hondacrx 286a200178 Core/Movement: Get zone/area IDs from vmap data in the liquid update
Port From (https://github.com/TrinityCore/TrinityCore/commit/51ce3b1c1dc6a53938ed6f240bac00681d18a44f)
2020-07-23 18:22:46 -04:00
hondacrx 2ec6d06950 Core/SAI: Change SmartScript.GetTargets to return an ObjectList
Port From (https://github.com/TrinityCore/TrinityCore/commit/259bde591444980c27a17524c140f078c4159f55)
2020-07-21 15:13:51 -04:00
hondacrx 3489622a60 Core/Auras: Named two test realm aura types
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1956465932aa3f4c2393336ff5fd2f115fe5a21)
2020-07-19 16:44:55 -04:00
hondacrx baa9ab6558 Core/PacketIO: Convert all leftover packets to use packet classes
Port From (https://github.com/TrinityCore/TrinityCore/commit/661470c6587c11e3fa94d2e8b57c92d8be2e297b)
2020-07-14 23:00:31 -04:00
hondacrx 4bb9823456 Core/Misc: Changed GetLocaleByName to return invalid value on invalid input instead of LOCALE_enUS
Port From (https://github.com/TrinityCore/TrinityCore/commit/79cd94d26df33a332586b2aa72a99b123199c88f)
2020-07-14 17:11:56 -04:00
hondacrx e179d29b55 Core/Spells: Include more than first 2 spell effects when determining if a spell is negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/176c75e8dbad95bfdcd88034f75e1452997ddb07)
2020-07-14 16:58:41 -04:00
hondacrx 0f5801d9f4 Core/Players: Remove deprecated skill related config AlwaysMaxWeaponSkill and command .maxskill
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbdabd7d776a86dcb25954faf119797d52c2a425)
2020-07-12 00:44:24 -04:00
hondacrx c06baf1bf5 Core/Spells: Assign spell effect handles for new apply aura effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/c3dcbe04dcea04ce3f453f99d44ebebb542bcda7)
2020-07-12 00:39:37 -04:00
hondacrx 27a8ecc8b3 DB/Account: update account_access table
Port From (https://github.com/TrinityCore/TrinityCore/commit/01d098830a64622262226f7915f872e1cfb301f6)
2020-07-12 00:30:24 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -04:00
hondacrx 4164384b72 Core/Spells: Implemented new target types
Port From (https://github.com/TrinityCore/TrinityCore/commit/fce9fca9002e5bfc99990b9108aa56447e5001bd)
2020-06-21 14:33:32 -04:00
hondacrx 1a2411ae0f Ports from (https://github.com/TrinityCore/TrinityCore)
Core/Unit: don't clear low health aura states on death
Core/Gossip: Fix gossip bug on modify money
Core/Spells: Change the radius of PBAoEs following the feedback received on
Core/Player: update interaction checks, some info taken from client
Core/Spell: abort channeling if no valid targets are found after searching
Core/Creature: fix _DespawnAtEvade saving wrong respawn time
Core/Spell: fixed some problems with per caster aura states
Quickfix a bug introduced by 2f19d97 which prevented GTAoE from being cast.
Core/SmartAI: allow SMART_ACTION_SEND_GOSSIP_MENU to override default gossip
Core/Spell: in case of immunity, check all effects to choose correct procFlags, as none has technically hit
Fix evade issues when a spell hits the target just before evading.
Scripts/Command: implement .debug play music command
Partial revert, Unit::getAttackerForHelper() shouldn't return units that we aren't in combat with (victim can be such a unit for players/player pets, which can startattack from a distance without entering combat).
Fix an issue where CanSpawn would never get invoked on creatures without per-guid script.
Core/Players: fix null dereference crash
2020-06-21 13:01:24 -04:00
hondacrx 6f6f49ec02 Scripts/Commands: Update reload commands names
Port From (https://github.com/TrinityCore/TrinityCore/commit/e21e7cd2e26361d18d57a7c4ec002dbf0abe8ffc)
2020-06-19 20:03:42 -04:00
hondacrx 15192d6a38 Core/Items: Implemented corruption and corruption resistance stats
Port From (https://github.com/TrinityCore/TrinityCore/commit/6533de31005fc9680d9f2b61a4d8ea4958fc8edc)
2020-06-18 15:39:41 -04:00
hondacrx 2d5a910f67 Core/PacketIO: Fixed receiving and sending db2 hotfix packets
Port From (https://github.com/TrinityCore/TrinityCore/commit/5fce3604fc9613299f8780d30abbbe69c0c7e531)
2020-06-18 13:10:45 -04:00
hondacrx d7954f4fc7 Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7306439e7004288fb85890d6a5f730cf1761d71)
2020-06-18 12:39:39 -04:00
hondacrx f0942a257e Misc fixes/Misc DB updates 2020-06-12 16:52:42 -04:00
hondacrx dc66cc54cd Core/Items: Fixed generating default bonuses based on context
Port From (https://github.com/TrinityCore/TrinityCore/commit/e5a6552abcbf0f179aebb67751527242968522f7)
2020-06-10 14:35:32 -04:00
hondacrx d09ddf2032 Core/Items: Implemented new bonus type (extra ItemEffect)
Port From (https://github.com/TrinityCore/TrinityCore/commit/63fba4751142d7a16d6316e9fb5ad844da088509)
2020-06-10 13:25:01 -04:00
hondacrx 0d590cee7b Core/Misc: Ensure that query used for .reload creature_template command always matches the one used for loading during startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/df0a027444e85a37ea39e4da6f5b13754ad211c8)
2020-06-10 12:50:18 -04:00
hondacrx ac876b7c6c Core/Battlegrounds: Queue updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf8714b8705c3fccc77083c6dc8665767430d346)
2020-06-02 17:43:49 -04:00
hondacrx 7290270bbf Core/PacketIO: Fixed BattlefieldStatusHeader structure and QueueID values for other battleground types
Port From (https://github.com/TrinityCore/TrinityCore/commit/d435d5d5ba7040a0de16d5b97202b2e61fd03344)
2020-06-02 13:51:01 -04:00
hondacrx 888d281aa7 Core/Players: Only restore spells learned as quest rewards if they have the right AcquireMethod in SkillLineAbility.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/4acae3992bfecf85d68c0860007f7c538ca45a90)
2020-05-22 14:17:06 -04:00
hondacrx 9cd6f64e86 Core/AuctionHouse: Don't overflow mail attachments, send max 16 items per mail
Port From (https://github.com/TrinityCore/TrinityCore/commit/7e18255ee24f6c8b133f197120e18934cfa50395)
2020-05-22 13:54:15 -04:00
hondacrx c2aee387a8 Core/Scripts: unified scripted gossip/quest api
Port From (https://github.com/TrinityCore/TrinityCore/commit/6604849716bc73d82a4cdbf8c66bb188086ceae4)
2020-05-22 13:28:20 -04:00
hondacrx ea80678e9a Core/Creatures: Fixed level 240 guards and updated scaling level calculation
Port From (https://github.com/TrinityCore/TrinityCore/commit/82b4ca3b7c2329e571d0a341b8a5ab366a5d26f4)
2020-05-20 20:04:00 -04:00
hondacrx 1154b491ff Core/Petitions: Updated petition error values to 8.3
Port From (https://github.com/TrinityCore/TrinityCore/commit/32950cec210fbd2093dd6c3ad932a02d156d7bf7)
2020-05-20 14:02:09 -04:00
hondacrx 2fc4e3e71f TC Ports:
Core/Misc: 522f537048 followup (https://github.com/TrinityCore/TrinityCore/commit/9a57e95f102a9d35ac8416d02e24c0dddbc755ed)
Core/CreatureAI: b6b0353bff followup (https://github.com/TrinityCore/TrinityCore/commit/5d411e0b21b1f1a4653d274d9b1cc7fef17f232b)
Core/Spell: move creature focus (https://github.com/TrinityCore/TrinityCore/commit/8c12f36915b2fddd48a5e4c9244c2b0498a64ae9)
Core/Unit: 2170541a51 followup (https://github.com/TrinityCore/TrinityCore/commit/2d4549023a6655d19671f7f7e6b4f7c9b71ae632)
Core/Misc: cleanup SetInFront uses (https://github.com/TrinityCore/TrinityCore/commit/104e745edfb89f95e34cad7840eae0b6e183bf94)
Core/Unit: 229444b74a follow-up (https://github.com/TrinityCore/TrinityCore/commit/6a96addadd5dea633b3066b8d0427302ba514364)
Core/Unit: revert 3ea46e57af (https://github.com/TrinityCore/TrinityCore/commit/a46286a803b41b375ed9352858c742626bb85720)
Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hook (https://github.com/TrinityCore/TrinityCore/commit/1929ca3aa14f6cd83ea3ac9d7e8c0e2ed0e87a26)
Core/Entities: moved PetAura handling to Player where it belongs (https://github.com/TrinityCore/TrinityCore/commit/4f6d38fe9d5c07e6e8eb88e517af71b6cdc4f9f8)
Core/Spells: Fixed Chilled to the Bone (https://github.com/TrinityCore/TrinityCore/commit/08635c740a7ee04da9b0cd5045075a9432121b06)
Core/Spell: implement pvp trinket immunity against Judgement of Justice (https://github.com/TrinityCore/TrinityCore/commit/05ba662d5daaa3428cc01cdaa3794bf5a073ef17)
2020-05-19 14:49:37 -04:00
hondacrx 6e9d62c3ea Various quest system fixes (seasonal quests, timed quests and more)
Port From (https://github.com/TrinityCore/TrinityCore/commit/16cf95654f35f6bb563e82608476d8f53837bd06)
2020-05-18 23:15:58 -04:00
hondacrx c7f160557f Core/Instance: stop updating the instance resettimes based on creature respawns
Port From (https://github.com/TrinityCore/TrinityCore/commit/7dcc185a151745c8a12e23708bb5d457e5796032)
2020-05-12 17:28:03 -04:00
hondacrx 1315f2c7f5 Core/Loot: implement Loot Item Storage
Port From (https://github.com/TrinityCore/TrinityCore/commit/090fd8304a7a6e2f7c233ac39c94ccc67cc816f8)
2020-05-12 17:11:14 -04:00
hondacrx 415d6d84ba Core/Movement: FormationMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/84df2c57a385df4503fc1f8ff5dfdf445ea2e31f)
2020-05-07 14:34:16 -04:00
hondacrx 43fcc558e4 Core/Achievements: Optimized resetting achievement criteria by condition and changed the functionality to properly reset all possible criteria with given condition
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f7ff9a3efd10cd4f776a67540109e7bb774f1c5)
2020-05-06 17:52:14 -04:00
hondacrx 80843dee89 Core/Items: Updated heart of azeroth level cap and knowledge starting date for 8.3
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac671cc7ecfbc0a2ac56337dba753a22737d92a2)
2020-05-06 17:28:30 -04:00
hondacrx cbc2597adb Core/Spells: implement SMSG_MOUNT_RESULT and use it for transformed mounting cases
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb0d2ed2b96c314ea144b3524195ae96878e0079)
2020-05-06 17:26:03 -04:00
hondacrx db1873492d Core/Creature: added CREATURE_FLAG_EXTRA_GHOST_VISIBILITY to allowed db flags_extra mask
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea0bb7c65e07fa7e4e05f0351c5d0f6387a1da0b)
2020-05-06 14:59:59 -04:00