Commit Graph
2060 Commits
Author SHA1 Message Date
Machiavelli 102c089ab8 Scripts/Kologarn:
- Correct target limitation for Focused Eyebeam
- Correct target selection and limitation for Stone Grip
** Fixes random teleports to the "safe spot" caused by aura unapply when that player wasn't intended as target.
** Stone Grip will only target the main tank if there's no one else in range.
- Despawn Rubbles on encounter reset/complete
- Use elegant MotionMaster::MoveJump instead of NearTeleportTo when releasing Stone Grip target

DB/NPC Templates:
- Add civilian flag for Armsweep Stalker and Rubble Stalker

Other:
- Fix 2011_02_23_2_world_conditions.sql to comply to standards
- Cleanup affected code
2011-02-23 18:17:20 +01:00
Machiavelli 550f59e05f Core/Vehicles: Do not allow Unit A to enter vehicle of unit B, when unit B is already on vehicle of unit A.
Fixes a core deadlock and stack overflow as well as client crash in the event of improper scripts.
2011-02-23 17:41:33 +01:00
Machiavelli 4e9cd1e490 Core/UnitAI: Add template<class PREDICATE> void SelectTargetList, to select target list based on unary predicate function, with parameters maxTargets and targetType. 2011-02-23 13:35:15 +01:00
Machiavelli a6da435b84 Core/Vehicles: Also remove MOVEMENTFLAG_ROOT on ExitVehicle (thanks to Anubisss), and slight refactoring of code. 2011-02-23 04:08:11 +01:00
Machiavelli 867f6d3513 Core/Vehicles: Don't add MOVEMENTFLAG_ROOT to movementflags on vehicle enter. 2011-02-23 02:21:08 +01:00
Machiavelli 0a2fc16908 Core/Vehicles: Send SMSG_FORCE_MOVE_UNROOT to client when exiting vehicle with UNIT_FLAG_DISABLE_MOVE 2011-02-23 02:15:48 +01:00
leak 4af76de1b9 Core/Maps: More unused maps 2011-02-23 00:50:16 +01:00
leak a751bd64aa Core/Instances: Remove unused map 2011-02-23 00:15:45 +01:00
leak b27735b590 Core/Groups: Reuse group guids to stop endless growth 2011-02-22 23:49:57 +01:00
Machiavelli 44fc35bb07 Traditional post-commit buildfix 2011-02-22 23:49:08 +01:00
Machiavelli 918f1ce8ec Core/Vehicles:
- Allow configurable TempSummonType and timer for vehicle_accessory table instead of hard coded values
- Reimplement some earlier charted VehicleSeatFlagsB, that were temporarily removed because of VEHICLE_SEAT_FLAG_UNCONTROLLED (they now work in conjunction with eachother)
2011-02-22 23:47:28 +01:00
leak bde5adf9bd Core/Globals: Cleanup queries should be blocking if we want to be sure to load clean data 2011-02-22 21:01:07 +01:00
Azazel 6a4fd1c780 Core/Spell Mechanics: remove redundant call to AddGlobalCooldown left from previous GCD checks implementation (thanks Machiavelli for spotting)
Core/Logs: fix one more log message for Aokromes
2011-02-22 23:20:21 +06:00
leak 09bac61e42 Core/Groups: Move scattered group object deletion to Disband() 2011-02-22 16:52:38 +01:00
darkstalker 1646f9d91c Core/Spell Mechanics: introduce global cooldown manager for server-side checks for GCD (ported from mangos) 2011-02-22 17:02:47 +06:00
Machiavelli 480517c3be Scripts/Ulduar: Kologarn:
- Correct target selection of Stone Grip
- Correct functionality of Stone Grip (absorb aura, stun, damage, vehicle join, correct removal of the aforementioned when needed, +teleport to platform)
- Blizzlike casters for certain spells, which led to merging arms AI to KologarnsAI.
- Blizzlike timer for Stone Grip
- Fix Rubble spawn on arm death
2011-02-22 04:46:13 +01:00
Machiavelli 8b738d537c Core/Units: Remove hack that caused units with UNIT_STAT_ON_VEHICLE to absorb any incoming damage. 2011-02-22 01:04:56 +01:00
Rat 8b37ac4688 Core/SAI: Fix invoker logic and possible crashes
Signed-off-by: Rat <[email protected]>
2011-02-21 22:23:43 +01:00
Azazel 4c8130235e Core/Logs: improve one more debug log entry (for Aokromes) 2011-02-22 01:46:19 +06:00
Machiavelli f8eae7427d Core/SAI: Fix a possible crash and clean up some copypaste errors in ProcessAction 2011-02-21 04:23:53 +01:00
Machiavelli 4c04da6195 Core/SmartAI: Add some useful debug output to make development and debugging of SAI scripts easier. (Part 1/x)
Core/SmartAI: Fix param usage for SMART_ACTION_RANDOM_PHASE
2011-02-21 01:15:14 +01:00
Machiavelli e07e20ffca Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf. 2011-02-20 20:16:34 +01:00
Nay 45db1591a4 DB/Schema: Properly use field types in smart_script table
Thanks Shauren
2011-02-20 19:11:42 +00:00
Shauren 7ac891717c Core/Vehicles: Send proper GUID in SMSG_BREAK_TARGET packet when an unit enters vehicle 2011-02-19 22:50:09 +01:00
Machiavelli c0b29fd0ad Core/Vehicles: Chart VEHICLE_SEAT_FLAG_UNCONTROLLED and implement usage. Concerns vehicleseat enter/exit capabilities. Fixes vehicles related to Malygos encounter.
Original research by rsa, thanks to Manuel for pointing out.
2011-02-19 21:58:50 +01:00
Shauren 7e2ddb2fd3 Scripts/Icecrown Citadel: Added support for weekly quest Residue Rendezvous 2011-02-19 14:43:36 +01:00
Shauren 0f34df6e1a Scripts/Icecrown Citadel: Added support for weekly quest "Deprogramming" 2011-02-18 19:48:47 +01:00
leak 6a64c79d2a Core/Groups: Group system cleaning sweep. 2011-02-18 18:35:52 +01:00
seirge 8003f75781 Core/Players: Don't remove GCD from category if the respective spell doesn't have GCD-time. Fixes certain exploits related to macro's and wands.
Fixes #10
Fixes #220

Any further issues of the same nature should be reported in different tickets.

Signed-off-by: Machiavelli <[email protected]>
2011-02-17 21:55:15 +01:00
Machiavelli 6618655d04 Core/Vehicles: Let's use proper fractions/percentages 2011-02-17 21:41:09 +01:00
Machiavelli 6ebf672557 Core/Vehicles: Take in account current health percentage of vehichle when recalculating new HP based on vehicle gear scaling. Fixes an exploit that would allow vehicles to reset their HP in a jiffy.
Closes ticket #317
2011-02-17 21:32:38 +01:00
Feanordev 253891bf9f Core/Vehicles: Make vehicles with UNIT_FLAG_DISABLE_MOVE unable to move client side by sending SMSG_FORCE_MOVE_ROOT to area.
Signed-off-by: Machiavelli <[email protected]>
2011-02-17 21:06:38 +01:00
Machiavelli eae88577da Core/WorldSession: Fix logic in WriteMoveMentInfo in regards to sending pitch coordinate to client. 2011-02-17 20:51:02 +01:00
Azazel 4dc1eaa47c Core/Misc: improve error log messages by adding more info. Specially for Aokromes. 2011-02-17 19:47:08 +06:00
leak aaa9b069d9 Core/Entities: Prevent accessing uninitialized memory 2011-02-17 02:04:47 +01:00
Shauren 45095bdffb Scripts/Icecrown Citadel: Added Rotting Frost Giant script 2011-02-15 22:07:40 +01:00
Shauren a24deaf980 Core/Objects: Fixed HasInLine and IsInBetween checks on certain compilers 2011-02-15 17:09:46 +01:00
Manuel Carrasco ad11baffe6 Core/SAI: Implemented SMART_ACTION_INTERRUPT_SPELL action.
Signed-off-by: Manuel Carrasco <[email protected]>
2011-02-15 00:29:33 -03:00
Malcrom 5241fefe7f Core/SAI: Execute SMART_EVENT_WAYPOINT_REACHED events only once 2011-02-15 02:54:13 +01:00
zergtmn 6e217b6e6a Allow AURA_FORCE_MOVE_FORWARD to work on creatures and vehicles. For example, it fixes spell 68284.
Signed-off-by: Manuel Carrasco <[email protected]>
2011-02-14 19:18:05 -03:00
runningnak3d a8a5734bea Core/Gossip: Revert a change to SendPreparedQuest to allow multiple
quests again.
Thanks Manuel for pointing it out and Nay for testing
2011-02-13 21:23:01 -07:00
runningnak3d 30e45b9356 Core/SAI: Change SMART_ACTION_PLAY_EMOTE and SMART_ACTION_RANDOM_EMOTE
to use the new IsEmoteValid which checks Emote.dbc.
Thanks Nay for noticing the problem
2011-02-13 20:42:57 -07:00
runningnak3d 2d9ecceae3 Core/SAI: Add IsEmoteValid back for looking up non-text emotes 2011-02-13 20:39:53 -07:00
runningnak3d 27f5d396a2 Core/SAI: Rename IsEmoteValid to a more fitting name of IsTextEmoteValid 2011-02-13 20:33:48 -07:00
leak 06402fda47 Core/Handlers: Send invite decline message to leader in every case 2011-02-13 21:15:52 +01:00
QAston fcc57b2c95 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2011-02-12 11:03:06 +01:00
QAston fe2a848b8f Core/Auras: Temporary fix for Aura::UpdateTargetMap assertion failure. 2011-02-12 11:00:56 +01:00
A Metaphysical Drama 34f64c3651 Core/ObjectMgr: Fixed typo in loading instance encounters 2011-02-12 10:40:07 +01:00
runningnak3d 6728d4116b Core/Events: Remove support for the game_event_npc_gossip table.
Gossip for game events should be done with the conditions system.
2011-02-11 15:50:48 -07:00
runningnak3d 05e075ce0e Core/Gossip: Remove support for npc_gossip table (DEPRECATED). 2011-02-11 13:04:45 -07:00