Commit Graph
100 Commits
Author SHA1 Message Date
Aokromes a990a4ce08 Rename .debug uws to .debug worldstate (clarity change). 2017-06-17 11:51:12 +02:00
Aokromes 37be43ae8b Fix an issue where temp summons were ignoring m_regenHealth. 2017-06-17 11:46:01 +02:00
Aokromes 4e95a6b4ad Group creation again (follow-up to 132538d). Groups now only disband if all members reject the invitation (as opposed to if any member rejects the invitation). 2017-06-17 11:41:57 +02:00
Aokromes b1f54ba152 Make travis happy 2017-06-17 11:33:02 +02:00
Aokromes 4eb18720d0 rename file 2017-06-17 10:45:54 +02:00
Aokromes c5ce8f886b Merge branch 'WailingCaverns' into '4.3.4'
Wailing Caverns

See merge request !45
2017-06-17 08:44:28 +00:00
Aokromes 461ba1cb56 Fix (C) for multiple files 2017-06-15 08:46:45 +02:00
Aokromes 29cbbc50d3 Core/Player: Keep shared quests through map changes instead of getting stuck in busy state 2017-06-15 07:40:14 +02:00
Aokromes 234adeaafd Build fix 2017-06-14 05:22:31 +02:00
Aokromes 70fc19951c Modify group invite behavior while creating group to be blizzlike:
- Leader can invite multiple people before the first invite is accepted
- Leader can cancel group formation by sending CMSG_GROUP_DISBAND (using /run LeaveParty() or similar)
2017-06-14 05:11:47 +02:00
Aokromes 5b1121af3c Add new command 'npc showloot'. Does exactly what it says on the tin. 2017-06-12 19:37:41 +02:00
Aokromes e0ad514328 Build fix 2017-06-12 18:39:53 +02:00
Aokromes 16ee98d3fc Insert dynamic_spawning RBACs (already reserved in RBAC.h as of 55d8c2b…
…) into auth database to prevent constant base file conflicts on that branch.
2017-06-12 18:30:05 +02:00
Aokromes 57841569e5 - Add new commands .group set assistant, .group set maintank and .gro…
…up set mainassist to toggle raid member flags.

- Fix 2017_05_29_00_auth.sql to be reapply safe.
2017-06-12 18:23:57 +02:00
Aokromes 558bbbcf98 Make some adjustments to .summon and .group summon behavior to make t…
…hem 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.)
2017-06-12 18:03:01 +02:00
Aokromes 6c686876d0 Core/Scripts: fix some /W4 warnings 2017-06-12 17:49:39 +02:00
Aokromes 5c4153ba98 Core/OutdoorPvP: refactor using Position and Quat to pack parameters
- Moved statics to cpp
- Save scriptids into an array
2017-06-12 17:40:47 +02:00
Aokromes bb7702f1d5 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-06-11 19:03:54 +02:00
Aokromes bc9f654e5e So, I came in trying to fix gameobject LoS. So I restructured some stuff.
Then it turned out that gameobject LoS is already fixed. So all this does, really, is restructure some stuff.

And remove the hack from Sapphiron because I could.
2017-06-11 19:03:03 +02:00
Aokromes 9057cae219 So, I came in trying to fix gameobject LoS. So I restructured some stuff.
Then it turned out that gameobject LoS is already fixed. So all this does, really, is restructure some stuff.

And remove the hack from Sapphiron because I could.
2017-06-11 19:02:07 +02:00
Aokromes 1a39111632 missing change 2017-06-09 17:49:33 +02:00
Aokromes 58c54770b1 Travis/CI: Switch to sudoless container mode and cleanup installed libraries 2017-06-09 17:44:47 +02:00
Aokromes 543a25d367 typo fix 2017-06-09 14:26:49 +02:00
Aokromes ec49af7b59 Build fix 2017-06-09 14:11:36 +02:00
Aokromes fd1c07b863 rename files 2017-06-09 13:32:09 +02:00
Aokromes 572021e0b3 Core/Maps: Corrected GetWaterOrGroundLevel
* When a gameobject was above water like in ToC. It would return water level
2017-06-09 13:29:18 +02:00
Aokromes be80e08ac6 Core/Misc: Fix typo in UNDERWARER_INDARKWATER 2017-06-09 13:25:35 +02:00
Aokromes f8d9d954d1 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
* Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject
* Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields
* Clean up liquid state handling on Unit and Player
* Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject.
2017-06-09 13:20:37 +02:00
Aokromes c700779949 Fix minimum requirements on readme. 2017-06-08 09:44:09 +02:00
Aokromes ac3dbcb880 Core/Utilities: Rename RandomResizeList->RandomResize as it is no longer restricted to a list 2017-06-07 09:53:04 +02:00
Aokromes 0bb27ecd4b Pet/Guardian AI hook re-organizing (#19824)
* Pet/Guardian AI hook re-organizing:
- Adjust OwnerAttacked/OwnerAttackedBy hooks on CreatureAI to fire for all owned units, not just player pets. This should allow guardians to more reliably recognize valid targets.
- Kill off the AttackedBy hook. While it was defined in CreatureAI.h as virtual, it was only ever invoked for player pets in specific situations. This makes it classic developer bait.
  - Adjust PetAI to use DamageTaken instead of AttackedBy.
  - Adjust behavior of AttackStart on PetAI to compensate.
2017-06-07 02:50:14 +02:00
Aokromes 71fe37a55b build fix 2017-06-06 11:29:00 +02:00
Aokromes b504b71f49 rename files 2017-06-06 08:49:05 +02:00
Aokromes 80c0d0ce8a Merge branch 'broadcast_text_fix' into '4.3.4'
Use sound id from BroadcastText template if one is specified in creature_text

See merge request !46
2017-06-04 22:32:33 +00:00
Aokromes c8319bd951 DB/Misc: Misc fixes
By Malcrom
2017-06-03 00:47:11 +02:00
Aokromes 74bdf621eb more travis fix 2017-06-02 21:57:53 +02:00
Aokromes 98adfe93c1 make travis happy 2017-06-02 21:48:10 +02:00
Aokromes a68dd40235 tabs 2017-06-02 17:28:38 +02:00
Aokromes beeb87448b more typo fix 2017-06-02 16:39:49 +02:00
Aokromes e233b0f844 fix another typo 2017-06-02 16:30:24 +02:00
Aokromes 4b4c461b5a typo fix 2017-06-02 16:23:48 +02:00
Aokromes 214b5a65e3 DB/Misc: Misc fixes for Dun Morogh
By Malcrom
2017-06-02 16:07:06 +02:00
Aokromes ab48f6d3fe DB/Creature: Fix incorrect MovementTypes 2017-06-02 01:50:34 +02:00
Aokromes 627e5f3c3c DB/Misc: Fix structure 2017-06-02 00:21:13 +02:00
Aokromes 58c9ac5c68 DB/Misc: Human start zone fixes 2017-06-02 00:07:08 +02:00
Aokromes 123c10a395 Scripts/Stockades - Add scripts to instance
By Artamedes
2017-06-01 23:55:52 +02:00
Aokromes 1c6021ba96 Core/AI: Factory functions cleanup
- Get rid of fugly void pointers
- Streamlined AI selection code, using Permissible as it should've been instead of harcoded checks on the selector code
- Moved IdleMovementGenerator singleton to factory code
2017-06-01 13:22:24 +02:00
Aokromes 04f799c14b DB/Creature: Gug Fatcandle SAI
By Malcrom
2017-06-01 10:08:07 +02:00
Aokromes 7ddba01f61 DB/Gameobject: Spawn some missing portals
By ArcaneFox
2017-06-01 00:04:40 +02:00
Aokromes ef7d2901e1 typo fix 2017-05-30 11:38:48 +02:00
Aokromes a412fab2d7 typo fix 2017-05-30 11:10:29 +02:00
Aokromes 2d94972577 missing part 2017-05-30 10:20:27 +02:00
Aokromes 01fdc65761 rename files 2017-05-30 10:04:04 +02:00
Aokromes dff1518ac2 Scripts/Command: implement .debug play music command 2017-05-30 09:55:45 +02:00
Aokromes 6021c8d29c typo fix on previous commit 2017-05-29 19:20:32 +02:00
Aokromes 9016c37389 DB/Misc: Fix some missing texts 2017-05-29 00:04:53 +02:00
Aokromes d896903f45 typo fix 2017-05-28 23:47:01 +02:00
Aokromes ca078cdbb0 Fix travis 2017-05-28 23:33:10 +02:00
Aokromes b46b78566e Merge branch '4.3.4' into '4.3.4'
Several small misc fixes

See merge request !44
2017-05-28 20:07:28 +00:00
Aokromes 36b4834ba3 Merge branch '4.3.4' into '4.3.4'
Spell system ports from 335

See merge request !43
2017-05-28 18:26:31 +00:00
Aokromes f3c30eabbe missing part 2017-05-26 18:43:02 +02:00
Aokromes 975e487cf9 Core/PlayerDump: general revamping 2017-05-26 18:32:37 +02:00
Aokromes 60ec01476e build fix 2017-05-26 16:24:31 +02:00
Aokromes 496bb4b105 rename files 2017-05-26 14:49:21 +02:00
Aokromes 06168fb412 Implement real time statistic visualization 2017-05-26 14:47:59 +02:00
Aokromes d253ff5d89 DB/Creature: Fix some triggers visibility 2017-05-24 02:09:47 +02:00
Aokromes 09439c610f DB/Misc: Fix one startup error 2017-05-24 01:43:59 +02:00
Aokromes 97deb7eeda DB/Creature: Misc Pathing
By Malcrom
2017-05-24 00:13:56 +02:00
Aokromes ca5ed6d09f DB/Creature: Misc pathings
By Malcrom
2017-05-23 23:24:53 +02:00
Aokromes 435cfbdcda DB/Creature: Krethis the Shadowspinner - missing paths
By ArcaneFox
2017-05-23 23:22:17 +02:00
Aokromes b1a40e4a88 DB/Creature: Skitterweb spiders - missing paths
By ArcaneFox
2017-05-23 23:19:16 +02:00
Aokromes 12d0a2743a DB/Misc: Fix some startup errors 2017-05-23 22:41:38 +02:00
Aokromes a4d6767fce missing change 2017-05-23 19:00:46 +02:00
Aokromes e3717b2546 make travis happy 2017-05-23 18:16:48 +02:00
Aokromes 6c5ab2277f Fix db structure 2017-05-23 15:37:38 +02:00
Aokromes 6e49330f54 Fix missing changes 2017-05-23 15:20:21 +02:00
Aokromes a5bf17adad DB/Misc: Fix 2 typos 2017-05-23 14:45:05 +02:00
Aokromes 058c929d5e rename files 2017-05-23 14:40:44 +02:00
Aokromes f0e36b0863 Core/Defines: define faction templates and replace magic numbers from scripts 2017-05-23 14:37:54 +02:00
Aokromes 092c566ad3 Core/Scripts: improvements on the Thorim script
Improvements done to initial work by joschiwald:

- Fixed stormhammer casting and visuals
- Fixed spell credits
- Implemented removal of Impale when HP is higher than 90%
- Corrected faction templates for the pre combat creatures
- Implemeted Leap on the arena adds (thanks to joschiwald for implementing conditions)
- Scripted lighting charge using AuraScript periodic
- Fixed timings
- Corrections on the hallway encounters (added knockback immunity to minibosses too)
- Fixed multiple blizzards issue
- Lever will now reset properly, should players fail to get inside. This allows the door to be opened more than once during the combat
- Corrections in the outro event
- Implemented paralytic field traps on the hallway.
- Implemented Ancient Gate of the Keepers opening.
- Changed blizzard bunny targetting to conditions entirely.
- Removed obsolete scripts
- Standards: delete spell script names by ScriptName instead of spell_id
- Swapped factions for pre-adds (alliance should get horde trash and vs)
- Fixed Leap setting home position for adds
- Removed a bunch of magic numbers
- Runic Colossus should finish current Runic Explosion before beginning to attack
- Fixed UpdateAI logic to put it in line with other scripts (ie don't stop casts)

Special thanks to:
- chaodhib for the blizzard trigger waypoints and investigation on spell radius
- Malcrom for creating the Conditions Creator :P
2017-05-23 13:31:44 +02:00
Aokromes eae0f4d45e Typo fix on previous commit 2017-05-23 13:19:44 +02:00
Aokromes 07e6d3362b fix structure 2017-05-23 12:44:30 +02:00
Aokromes 9c42ad63a8 DB/Misc: Fix up quest human start area
By Malcrom
2017-05-23 12:03:55 +02:00
Aokromes 2c1f64014e DB/Misc: Some fixes for human starting area
By Malcrom
2017-05-22 21:50:17 +02:00
Aokromes 25892c603d Fix description default 2017-05-17 08:11:10 +02:00
Aokromes f3a0ec7ac7 DB/Gameobject: Fix 3 startup errors 2017-05-16 07:57:22 +02:00
Aokromes 2da9dea057 missing change 2017-05-16 07:14:12 +02:00
Aokromes 389ced2d17 TDB 4.3.4.19 2017/05/16 2017-05-16 07:09:41 +02:00
Aokromes 94a3ca6c3e Rename files 2017-05-16 06:54:34 +02:00
Aokromes a20788a8a8 Core/Misc: Fix dynamic linkin
By Krudor
2017-05-14 17:03:00 +02:00
Aokromes 673e3244d4 Rename files 2017-05-12 10:18:55 +02:00
Aokromes 7c0f5add07 Core/Logs: Reword some logs 2017-05-12 10:03:46 +02:00
Aokromes 294969887c DB/Creature: Move Hippogryph Master Stephanos to wow 4.0.3 location 2017-05-09 21:07:59 +02:00
Aokromes d9f72fdb88 Core/Globals: fix array out of bounds crash on loading npc_text_locale 2017-05-07 10:35:16 +02:00
Aokromes e50f95092c Build: fix finding VS 2017 compiled boost libs 2017-05-07 09:22:45 +02:00
Aokromes 5a7fbd45ef DB/Misc: Fix PK for 2 _locale 2017-05-07 08:26:50 +02:00
Aokromes 8020f4b6f5 Remove dead code 2017-05-07 06:51:21 +02:00
Aokromes 6a7f15ecf4 Scripts/Commands: Update reload commands names 2017-05-07 06:05:53 +02:00
Aokromes fc20b6934b build fix 2017-05-06 02:38:01 +02:00
Aokromes 0fbcdca05e Core/Collision: Replaced phasemask with proper phases in GameObject c…
…ollision calculation
2017-05-06 01:55:17 +02:00