Giacomo Pozzoni
c0b75bf40d
Core/MMAPs: Adjust walkable climb and fix a lot of mmap raycast issues ( #24539 )
...
* Core/MMAPs: Adjust walkable climb
Adjust walkable climb as recast using walkableClimb also to find the poly from a position, giving priority to polys that are below the position but closer than walkableClimb.
* Temporarily disable static collision (the whole check should be removed)
* Core/Spells: removed deprecated mmap path check for TARGET_DEST_CASTER_FRONT_LEAP
* Core/Objects: allow flying units to use the helper as well (flying units casting radius based spells)
* Code refactor
* Handle raycasts that end in a point with no height in the mmap mesh as PATHFIND_NOPATH
* Walk back a bit from raycast hitpoints as sometime the 2D result point is outside of the polygons due to floating point errors.
* Remove whitespace
* Revert 4a197ba22a as a raycast point path should have the Z retrieved with getPolyHeight(). Raycast will only return a 2-point path with Start and Hitpoint/End
* Cleanup PathGenerator raycast case
* Fix PathGenerator raycast broken if start and end are on same poly.
Fix PathGenerator raycast broken if no wall is hit.
Remove unused case of using raycast with an existing previous path (can be added back properly if needed).
Remove forcing poly length to 2 when we actually have already the right number.
* Use closestPointOnPolyBoundary on the second try of finding a point on poly for raycast.
Note that in this case the mesh height is not used which might cause issues. The poly boundary height will be used instead.
* Handle cases where getPolyHeight() fails because the point is on polygon border (and caused by floating point imprecision)
* Add far from poly flags
* Set PATHFIND_INCOMPLETE in raycast case if startFarFromPoly or endFarFromPoly
* Fix blink close to walls with no valid polygon behind the wall
* Require to re-extract mmaps
Co-authored-by: Ovah <dreadkiller@gmx.de >
2020-05-15 20:43:12 +02:00
HelloKitty
43b595111d
Further improve ChrRace DBC handling ( #24508 )
...
* Core/DBC: Added ChrRacesAllianceType for ChrRaces.dbc
* Core/Character: Check ChrRace DBC playable in HandleCharCreateOpcode
* Core/DBC: Implement ChrRacesFlags removing literals
Cannot take credit for this enum, derived from documentation in
https://wowdev.wiki/DB/ChrRaces
* Core/Character: Check CHRRACES_FLAGS_NOT_PLAYABLE on creation
* Core/DBC: Fix formatting of ChrRaces enums
* Core/DBC: Use ChrRaces CreatureType instead of hardcoded humanoid assumption
* Address enum style code changes
2020-05-15 20:41:16 +02:00
Shauren
1d43003cfa
Scripts/Icecrown Citadel: Fixed Professor Putricide oozes not moving during their channel
2020-05-15 18:16:03 +02:00
TDB Release
69dc704cd5
TDB 335.20051 - 2020/05/15
TDB335.20051
2020-05-15 08:57:38 +00:00
Metalaka
e2434e4f47
Core/CreatureAI: Shambling Horror re-cast Enrage as soon as it is not stun ( #24618 )
2020-05-14 21:17:00 +02:00
Killyana
07842547b4
DB/Gameobject: Shaffar's Stasis Chamber & Mana-Tombs Stasis Chamber
...
Closes #17328
By @offl and @dr-j
2020-05-13 23:10:30 +02:00
offl
128684f077
DB/Loot: Remove remaining herbs and ore with low chance to drop pt 4
...
Closes #24614
2020-05-13 19:42:49 +02:00
offl
f28d19666a
DB/Creature: Sunblade Protector & Sunblade Scout
...
Closes #15665
2020-05-13 19:17:22 +02:00
dr-j
e069372de9
DB/GameObject: Netherwing Egg Pooling
...
Closes #24611
2020-05-13 18:54:48 +02:00
offl
5fc54f9481
DB/Creature: Add formations for some creatures in SWP
...
Closes #24612
2020-05-13 18:27:46 +02:00
tails2k
0c7655e4cc
Update 2020_05_11_05_world_335.sql ( #24606 )
2020-05-12 08:07:11 +02:00
Killyana
2420b174e3
DB/GameObject: Use the correct Herbs In The barrens and fix loots for Root Sample
...
Closes #24599
2020-05-11 23:39:01 +02:00
NoName
26439c8951
Core/ByteBuffer: Fixed output truncation in ByteBuffer::hexlike ( #24595 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2020-05-11 22:21:31 +02:00
ccrs
472e1fd8ae
Core/Movement: 9080e78 followup
...
actually port back the previous implementation, now correctly
this implies that a unit that has a different victim than the one its chasing will stand still till either:
- a new movement replaces the current, for w/e reason
- the chase target is again the current victim
probably a pause implementation on the generator is a more elegant solution...
updates #24600
2020-05-11 19:38:36 +02:00
offl
16d4a39c7d
DB/Quest: Gaining the advantage - Nether residue - Add Missing drops
...
Closes #16536
2020-05-11 17:56:02 +02:00
offl
874b149923
DB/Loot: Add references for rare items from RFK, RFD & Scarlet Monastery
...
Closes #24597
2020-05-11 17:53:20 +02:00
offl
a64d5c7452
DB/Loot: Remove more incorrect items from loot
...
Closes #24596
2020-05-11 17:51:04 +02:00
Jildor
9170567218
DB/Spell: Arm Dead Damage Kologarn
...
Closes #24577
2020-05-11 17:49:47 +02:00
VanDobben
267e707fe3
DB/Loot: Fix some loots in The Obsidian Sanctum
...
Closes #24598
2020-05-11 01:28:45 +02:00
dr-j
3e1aede6fa
DB/GameObject: Supply Crate
...
Closes #23962
2020-05-10 16:59:07 +02:00
offl
b518457604
DB/Loot: Remove remaining herbs and ore with low chance to drop pt 3
...
Closes #24591
2020-05-10 16:53:24 +02:00
offl
5753d612e3
DB/Loot: Restore incorrectly removed Tin Ore
...
Closes #24590
2020-05-10 16:52:06 +02:00
offl
fc80c41079
DB/Loot: Remove excess items from some creatures
...
Closes #24589
2020-05-10 16:50:56 +02:00
Shauren
c189fe4911
Core/Spells: Fix refreshing exclusive auras that have different values in each effect
...
Closes #24592
2020-05-10 16:30:48 +02:00
ForesterDev
6caba62572
Core/PacketIO: updated some pet packets ( #24531 )
...
* Core/PacketIO: Updated and enabled CMSG_PET_ABANDON
(cherry picked from commit 0b76381283 )
# Conflicts:
# src/server/game/Handlers/PetHandler.cpp
# src/server/game/Server/Packets/PetPackets.h
# src/server/game/Server/Protocol/Opcodes.cpp
# src/server/game/Server/WorldSession.h
* Core/PacketIO: Updated and enabled CMSG_PET_STOP_ATTACK
(cherry picked from commit dea718e4ed )
# Conflicts:
# src/server/game/Handlers/PetHandler.cpp
# src/server/game/Server/Packets/PetPackets.h
# src/server/game/Server/Protocol/Opcodes.cpp
# src/server/game/Server/WorldSession.h
* Core/PacketIO: Updated and enabled CMSG_PET_SPELL_AUTOCAST
(cherry picked from commit 1f8268c89c )
# Conflicts:
# src/server/game/Handlers/PetHandler.cpp
# src/server/game/Server/Packets/PetPackets.h
# src/server/game/Server/Protocol/Opcodes.cpp
# src/server/game/Server/WorldSession.h
* Core/PacketIO: Updated SMSG_PET_LEARNED_SPELL
* Core/PacketIO: Updated SMSG_PET_UNLEARNED_SPELL
* fix build
* Remove whitespaces
* Unify naming for PetGUID
* Initialize variables
Co-authored-by: Carbenium <carbenium@outlook.com >
2020-05-10 16:25:08 +02:00
Sorikoff
34fecde022
Scripts/Pet: Lil' K.T ( #24528 )
...
* Lil' K.T.
* Rename 9999_99_99_99_world_335.sql to 2020_05_10_00_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2020-05-10 16:23:13 +02:00
ForesterDev
5eaf68670a
Core/PacketIO: Updated logout opcodes ( #24519 )
...
(cherry picked from commit f59a701e29 )
# Conflicts:
# src/server/database/Database/Implementation/LoginDatabase.cpp
# src/server/database/Database/Implementation/LoginDatabase.h
# src/server/game/Handlers/MiscHandler.cpp
# src/server/game/Server/Packets/AuthenticationPackets.cpp
# src/server/game/Server/Packets/AuthenticationPackets.h
# src/server/game/Server/Packets/CharacterPackets.h
# src/server/game/Server/Protocol/Opcodes.cpp
# src/server/game/Server/Protocol/Opcodes.h
# src/server/game/Server/WorldSession.cpp
# src/server/game/Server/WorldSession.h
# src/server/game/Server/WorldSocket.cpp
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2020-05-10 14:37:44 +02:00
HelloKitty
772f506a3b
Improve Creature DBC Handling ( #24509 )
...
* Core/DBC: Add CreatureModelDataFlags to remove hardcoded literals
* Core/DBC: Use CreatureType flags in Creature::CanGiveExperience calculation
* Core/DBC: Fixed CreatureType Flags Misinterpretation
Meaning of this was wrong, wowdev wiki was incorrect. Partially reverts
0d61e653f4
* Address enum codestyle
* Update DBCStructure.h
* Update DBCfmt.h
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2020-05-10 14:30:25 +02:00
offl
0b60b48273
DB/Loot: Add references for Level 70 Darkmoon Cards (5-8) & Books and use them in TK & SSC
...
Closes #24584
2020-05-08 22:31:03 +02:00
offl
2ada2cfaea
DB/Loot: Add some references for Black Temple
...
Closes #24585
2020-05-08 22:28:11 +02:00
offl
85e5735c0c
DB/Loot: Remove remaining herbs and ore with low chance to drop
...
Closes #24586
Closes #24587
2020-05-08 22:23:14 +02:00
offl
ae9646641f
DB/loot: Fix some Azjol Nerub loots and skinning
...
Closes #24582
2020-05-08 22:07:51 +02:00
Shauren
58d3f17430
Misc: Made gdb crash reporting script more automation friendly
...
* Don't block on successful exit
* Generate timestamped filenames to avoid overwriting old logs
2020-05-08 16:39:34 +02:00
offl
7395eadd3a
DB/Loot: Remove some wrong loots
...
Ref #18182
2020-05-07 00:37:56 +02:00
offl
7e89fea3ae
DB/Loot: Add reference for level 50 quest librams
...
Closes #24578
2020-05-06 22:58:29 +02:00
offl
63b1c74094
DB/Loot: Add more items for Crimson Hand Battle Mage
...
Closes #24576
2020-05-06 22:56:52 +02:00
offl
bda7c385ee
DB/Loot: Add reference for TK & SSC recipes
...
Closes #24575
2020-05-06 22:55:00 +02:00
offl
bcafbcf68d
DB/Loot: Adjust LootMode & QuestRequired for some gameobjects loot
...
Closes #24574
2020-05-06 22:53:15 +02:00
offl
e64ed729d7
DB/Loot: Remove more incorrect items from creatures
...
Closes #24573
2020-05-06 22:44:49 +02:00
offl
7a26ea492b
DB/Loot: Restore incorrectly removed Copper Ore
...
Ref #18182
2020-05-06 22:42:05 +02:00
Shauren
1fecbc6892
Core/Units: Allow mind controlling non-controllable vehicles (for example players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type)
...
Closes #24562
2020-05-06 16:45:03 +02:00
Killyana
5fec9c1f52
DB/Spell: Fel Firestone
2020-05-05 23:54:05 +02:00
NoName
5bbab32793
Core/Maps: fix respawn times for manual respawns ( #24571 )
...
by joshwhedon
2020-05-05 21:09:50 +02:00
Killyana
4e4a999e49
DB/Spawn: Fix some under-map creature and gobs
2020-05-05 03:29:55 +02:00
offl
2384d1d8e4
DB/Loot: Remove Motes of Shadow from nearly all demons and fix db errors
...
Closes #24563
2020-05-05 00:50:20 +02:00
offl
6df0b7acdb
DB/Loot: Restore some incorrectly removed references
...
Closes #24559
2020-05-05 00:47:51 +02:00
offl
d46cc74f00
DB/Loot: Petrified Band
...
Closes #24558
2020-05-05 00:46:21 +02:00
offl
ec17750fe9
DB/Loot: Remove excess references from some creatures
...
Closes #24557
2020-05-05 00:37:05 +02:00
offl
7c1cf76e28
DB/Loot: Add references for Tempest Keep & Serpenshrine Cavern epic items
...
Closes #24556
2020-05-05 00:32:28 +02:00
Killyana
95d12a2627
DB/Spell: Add missing dummy DBC Spells
...
Closes #13222
2020-05-04 23:35:08 +02:00