Commit Graph
5924 Commits
Author SHA1 Message Date
Malcrom 89de7e7419 Scripting/Razorfen Downs: Additions and fixes for instance.
Moved bosses Glutton, Mordresh Fire Eye, Tuten Kash to cpp.
Cleaned up code for boss Amnennar The Coldbringer.
Fixed up gong event for gong to have sound and proper spawning.
Scripted quest 3525 "Extinguishing the Idol" so you can now fight Plagmaw the Rotting.
2013-12-07 21:19:46 -03:30
Malcrom af5d3daeab Core/Vehicle: Add an extra check for required energy before setting power. 2013-12-05 13:07:15 -03:30
Vincent_Michael c2984e3dbc Core/RBAC: Fix typo 2013-12-04 22:35:44 +01:00
jackpoz 8669633921 Core/Commands: Fix NULL dereference crash in .npc set link
Fix NULL dereference crash in .npc set link happening when passing a not-existent Creature guid as parameter, es. ".npc set link -1" .
Issue spotted by static analysis, added in c05ed659cb
2013-12-04 20:42:51 +01:00
Malcrom fb1daeb44c Core/SpellMgr: Remove unneeded check for max targets 2013-12-04 16:08:57 -03:30
Malcrom 5da508c0a0 Scripting/Blade's Edge: Quest 10594 "Gauging the Resonant Frequency"
Closes #6214
2013-12-04 14:43:35 -03:30
Malcrom c084b3d16e Core/SmartAI: Remove unneeded code added in error 2013-12-04 01:05:56 -03:30
Malcrom e60fe4c303 Core/SmartAI: Fixed waypoint pathing not resuming after evade. 2013-12-03 23:41:11 -03:30
Malcrom b407e72339 Core/SmartScript: Allow flag to be added to spell to determine combat movement.
Greatly simplifies SAI combat scripting.
2013-12-03 20:53:33 -03:30
Malcrom 48d8af0962 Core/SmartAI: Fix SMART_ACTION_ALLOW_COMBAT_MOVEMENT 2013-12-03 20:19:17 -03:30
jackpoz 7806b7c493 Core/Chat: Fix ChatFlood.MessageCount not being handled correctly
Fix Anti-flood chat system to always allow 1 more message than the count specified in the ChatFlood.MessageCount config parameter.
2013-12-03 21:47:52 +01:00
jackpoz 5bbded18b5 Core/Misc: Fix some static analysis issues
Fix some static analysis issues about missing NULL checks.
Pass safe Creature pointer instead of summoning a Creature, passing the GUID and retrieve the same Creature from GUID.
2013-12-03 21:46:00 +01:00
Malcrom 3485656aee Core/Player: GetRewSpellCast & GetRewSpell should not be cast by questgiver if effect type SPELL_EFFECT_LEARN_SPELL 2013-12-01 22:00:10 -03:30
jackpoz 04cc51a6cf Core/Misc: Fix some static analysis issues
Fix some static analysis issues, mostly false positive about fields not initialized in the constructor. It's good practice anyway to always initialize them.
2013-12-01 16:19:30 +01:00
Vincent_Michael 1bb4cf3ab6 Core/Misc: Removed more unused eventAI stuff 2013-12-01 02:06:37 +01:00
Vincent_Michael 59e4be69f4 Core/RBAC: Added missing changes in 6e13263c7a 2013-12-01 01:30:01 +01:00
Vincent_Michael 6e13263c7a Core/AI: Good bye, Good bye my beloved EventAI system :( 2013-12-01 01:27:08 +01:00
jackpoz ff20596933 Core/World: Remove unused code
Remove unused code added in f20b25d1c9
2013-11-29 22:37:31 +01:00
jackpoz 24db2a5e1f Core/RBAC: Fix rare NULL dereference
Fix a rare NULL dereference happening if 'rbac_default_permissions' table has secId "255" as first row.
2013-11-29 21:06:21 +01:00
jackpoz 6aaa7d9ed0 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2013-11-29 20:59:06 +01:00
jackpoz 3b471f495c Core/Transports: Log an error if a Transport has no GameObject template
Log an error if a Transport has no GameObject template from `gameobject_template` table instead of dereferencing NULL .
2013-11-29 20:57:51 +01:00
Shauren b27f2f753b Merge pull request #11272 from gerripeach/pull_request6
Core/BG: Isle of Conquest - fix worldstates
2013-11-29 11:52:16 -08:00
jackpoz 4416c16045 Core/Scripts: Fix possible NULL dereferences
Fix possible NULL dereferences probably caused by a typo.
2013-11-29 20:48:45 +01:00
gerripeach aef2d39631 Core/BG: Isle of Conquest - fix worldstates
-sometimes not all worldstates were shown correctly
2013-11-29 17:07:15 +08:00
jackpoz 788c8693a4 Core/Transports: Remove unused field
Remove unused Transport::_moveTimer field, static analysis complains about it being uninitialized.
2013-11-28 20:05:36 +01:00
joschiwald 1196b93e94 Core: fix build 2013-11-26 18:14:01 +01:00
Shauren b100769cc0 Core/Guilds: Fixed gold in bank not being updated clientside after withdrawing/depositing into a bank that has no tabs purchased
Closes #5787
2013-11-25 16:25:12 +01:00
Shauren 172d3197bc Core/Guilds: Fixed an issue with withdrawing money from guild bank as guild master if the guild was created using a gm command
Closes #11262
2013-11-25 16:23:55 +01:00
Vincent_Michael 7cd21549f6 Core: Fix build 2013-11-24 22:48:47 +01:00
joschiwald 9a0bb93b33 Scripts: fix warning and cleanup npc_apprentice_mirveda 2013-11-24 21:49:51 +01:00
joschiwald 2c307aa67c Scripts/Oculus: cleanup a bit 2013-11-24 21:17:45 +01:00
Vincent_Michael d4d4eb3123 Misc/Misc: A mix useless random changes 2013-11-24 20:54:28 +01:00
Malcrom efdfde3420 Core/QuestPOI: Replace Unk2 with FloorId 2013-11-23 12:31:15 -03:30
Malcrom 6ba4d70b5c Core/Player: Allow questgiver, if npc, to cast quest RewSpellCast & RewSpell rather than player. 2013-11-23 00:17:37 -03:30
joschiwald 82d4ed5615 Core/Movement: fix player fall under ground on teleport 2013-11-21 16:13:13 +01:00
joschiwald 0a2a552b5a Core/Transports: addition to f0c4d0ac05
Core/Players: fix logic in Player::SendInitWorldStates()
2013-11-21 14:02:13 +01:00
jackpoz d2065b0e50 Core/Transports: Fix triggered assertion in Transports
Relocate only Players in world when updating transport's and its passengers' positions.
Thanks vlad852 .
Closes #11209 .
2013-11-18 20:57:02 +01:00
jackpoz 2cad987a58 Core/Misc: Fix a compile warning.
Properly fix #11229 since eacf961e72 changes didn't affect the original issue.
2013-11-18 20:35:40 +01:00
Discover- eacf961e72 Core/Misc: Fix a compile warning.
Closes #11229
2013-11-18 11:18:28 +01:00
jackpoz f0c4d0ac05 Core/Transports: Fix few transport issues on relog.
Properly save transport related data to database when saving a Player .
On Player login update the current position as relative to transport, in case the transport moved.
2013-11-17 15:17:40 +01:00
joschiwald 0790138d73 Core. fix build and some codestyle changes 2013-11-13 23:32:38 +01:00
jackpoz c03f066bf2 Core/Build: Fix build when WITH_COREDEBUG CMake flag is selected 2013-11-11 21:55:52 +01:00
Spp cd48662233 Core/Logging: Minor changes
- Select stderr when writing ERROR and FATAL messages
- Simplify function defines
- Fix `logs` table structure with latest logging changes
2013-11-11 14:35:16 +01:00
MrSmite 79a2d6b7fc Core/Spells: Fixed Revive Pet to revive the pet near the owner
Closes #11196
2013-11-11 13:22:41 +01:00
Spp 65cd07a288 Core: Improve error messages for linked_respawn table (and minor cosmetic changes here and there) 2013-11-11 11:03:32 +01:00
Malcrom 395eb83b88 DB/Conditions: Add condition for Shoot Arcane Explosion Arrow 2013-11-11 00:43:56 -03:30
Malcrom 113735690a Scripts/The Slave Pens: Fix up Mennu the Betrayer and add Rokmar the Cracker & Quagmirran. 2013-11-10 18:00:15 -03:30
Shauren e0138abaac Fixed build 2013-11-10 19:21:24 +01:00
Shauren 1966a78b9f Core/Movement: Backported spline stop fix from 4.3.4 branch - use Stop spline type for stopping movement instead of starting movement that ends in creature's current position 2013-11-10 18:52:20 +01:00
Malcrom 8332cee052 Scripting/The Slave Pens: Moved boss_mennu_the_betrayer from EAI to CPP. 2013-11-10 10:53:43 -03:30