jackpoz
6f6ad952b9
Core/Wintergrasp: Fix typo in CMSG_HEARTH_AND_RESURRECT handler
...
Fix CMSG_HEARTH_AND_RESURRECT handler trying to resurrect players with 100x hp/mana/energy ( SetHealth()/SetPower() were sanitizing the input anyway ) .
2014-01-11 15:23:52 +01:00
jackpoz
8fcfabe784
Core/Spells: Fix potions cooldown in combat
...
Fix a cooldown issue related to potions allowing Players in combat to use more than 1 potion in a row, especially with high latency.
This also fixes an exploit about using infinite potions in combat just by skipping the client-side check.
The original implementation c064c2e2e1 was missing a check in Spell::CheckCast() about this particular case since Potion cooldown is added only after the Player goes out of combat.
Fixes #1259 .
2014-01-10 22:39:08 +01:00
joschiwald
41b613186e
Core/Battlefield: some codestyle changes
2014-01-10 17:42:08 +01:00
joschiwald
7378baee49
Scripts/PoS/Garfrost: cleanup saronit blocks after death
2014-01-10 17:37:03 +01:00
joschiwald
7ec7fcf78c
Core/SAI: drop unneeded code
2014-01-10 17:36:04 +01:00
joschiwald
6fff9d08b2
Fix build
2014-01-09 23:31:52 +01:00
joschiwald
e80d1f3465
Scripts/BloodFurnace:
...
* cleanup InstanceScript
* fix broggok poison cloud
Scripts/Naxxramas/Grobbulus:
* fix poison cloud
* fix mutating injection
2014-01-09 23:17:02 +01:00
joschiwald
a60ba240b7
Core/Entities: add some log messages in CheckCreatureTemplate
...
* Happy Error Spam
2014-01-06 20:30:11 +01:00
Shauren
619edff196
Misc:
...
* Tools: Fixed a compile warning
* Commands: Fixed npcflag format in .npc info
2014-01-06 13:53:29 +01:00
Shauren
15cbe5858c
Core/Movement: Fixed vehicle passengers disappearing clientside
...
Closes #11411
2014-01-06 13:51:40 +01:00
joschiwald
95f14f921b
Scripts/HoS: update Maiden of Grief
2014-01-05 16:47:07 +01:00
Shauren
ad84759d2f
Core/Threading: Handle CMSG_ZONEUPDATE only in WorldSession update - changing zones triggers changing chat channels, what is not a thread safe operation
2014-01-05 00:52:10 +01:00
joschiwald
738afccfc1
DB/Spells: correct more spelldifficulty_dbc entries
...
* add log message to find wrong entries
2014-01-05 00:49:54 +01:00
joschiwald
cd76d32907
Core/Entities: correct creature damage, offhand damage should work too
...
* todo: some creatures need dmg_multiplier update in creature_template
2014-01-04 18:22:06 +01:00
Warpten
ff61e4d79d
Scripts/Halion: Fixed Soul Consumption's pull effect.
...
Thanks to Winterfell for pointing out the issue.
2014-01-04 17:48:51 +01:00
jackpoz
1f170c99ef
Core/Instances: Fix Instance binding
...
Fix players not being bound to instance if the group was disbanded before killing any boss.
Fixes #437
2014-01-03 18:56:11 +01:00
Shauren
9d6904f03d
Core/Vehicles
...
* Fixed vehicle orientation on transports
* Fixed exiting vehicles on moving transports
2014-01-02 14:20:05 +01:00
jackpoz
82181a8622
Core/Loot: Fix Master Loot exploit
...
Fix Master Loot exploit allowing any online Player to receive loot.
2014-01-01 21:42:15 +01:00
Dehravor
14287326c7
Core/Guild: Fix an exploit related to CMSG_GUILD_CREATE
2014-01-01 13:52:03 +01:00
Vincent_Michael
20004050bc
Update copyright note for 2014.
...
Happy new year.
2014-01-01 00:07:53 +01:00
jackpoz
0c2f5340cc
Core/Quests: Fix crash on startup
...
Fix a crash on startup when loading Quest POIs if quest_poi table referenced POIs not in quest_poi_points table, caused by 5de48a67c6 .
Fixes 11390.
2013-12-31 20:08:11 +01:00
Nawuko
3209a32fa4
Core/Waypoints: Revert partly f1a82a578b to fix a crash caused by accessing uninitialized splines
2013-12-31 19:22:10 +01:00
Malcrom
3018ff4e6c
Core/Creature: Obtain Attack power and base damage from creature_classlevelstats table.
2013-12-31 12:45:56 -03:30
Shauren
1cdc2e8c2a
Core/Movement: Fixed creature movement on transports
2013-12-31 14:12:02 +01:00
Shauren
9a1282aac6
Core/Spells: Fixed movement from SPELL_EFFECT_PULL_TOWARDS_DEST
2013-12-31 13:08:45 +01:00
jackpoz
64b42c75d2
Scripts/Misc: Code cleanup
...
Remove some NULL checks not needed anymore after 3744c14184 .
Fix an invalid Creature to TempSummon cast.
2013-12-30 23:36:49 +01:00
Subv
6ec7b03f9b
Merge pull request #11386 from Nawuko/vincent-fix
...
Core: user defined literals need a space in front
2013-12-30 11:41:50 -08:00
Nawuko
6d21d33aac
Core: user defined literals need a space in front
2013-12-30 20:35:37 +01:00
jackpoz
799daaae55
Core/Transports: Fix array overflow
...
Fix an array overflow in TransportMgr::GeneratePath() spline code.
Valgrind log:
Invalid read of size 4
at : G3D::Vector3::operator*(float) const (Vector3.h:650)
by : Movement::C_Evaluate(G3D::Vector3 const*, float, G3D::Matrix4 const&, G3D::Vector3&) (Spline.cpp:103)
by : Movement::SplineBase::SegLengthCatmullRom(int) const (Spline.cpp:171)
by : Movement::SplineBase::SegLength(int) const (in /home/jackpoz/trinity/bin/worldserver)
by : Movement::Spline<double>::initLengths() (SplineImpl.h:86)
by : TransportMgr::GeneratePath(GameObjectTemplate const*, TransportTemplate*) (TransportMgr.cpp:125)
by : TransportMgr::LoadTransportTemplates() (TransportMgr.cpp:78)
Address 0x1d07d154 is 8 bytes after a block of size 300 alloc'd
2013-12-30 16:15:37 +01:00
jackpoz
5c64dade0f
Scripts/Misc: Fix uninitialized values
...
Fix uninitialized values in scripts reported by valgrind.
Fix target and GetOwner() NULL dereferences .
2013-12-29 23:01:00 +01:00
jackpoz
c40cdc2968
Core/Chat: Fix assert triggered by .npc add
...
Fix an assert in Aura::_UnapplyForTarget() caused by ".npc add" changing the guid of the spawned Creature.
2013-12-29 19:37:20 +01:00
jackpoz
e016ef3dbd
Merge branch 'master' of github.com:TrinityCore/TrinityCore
2013-12-29 16:27:25 +01:00
Malcrom
0e0b00cab6
Scripting/War Master Voone: Fix Cleave spell and minor cleanup.
2013-12-29 11:41:46 -03:30
jackpoz
90c63e4818
Scripts/Misc: Fix uninitialized values
...
Fix uninitialized values in scripts reported by valgrind.
2013-12-29 16:05:31 +01:00
Shauren
079905e29a
Core/Transports
...
* Fixed transport orientation
* Fixed transport position desynchronization for stoppable transports
* Ignore spawnMask errors for objects spawned on transports
2013-12-29 14:59:06 +01:00
Malcrom
9af36d887b
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
2013-12-28 20:52:49 -03:30
Malcrom
4c66a3f79d
Scripting/Boss Jandice Barov: Fix wrong spell id.
2013-12-28 20:51:21 -03:30
jackpoz
3744c14184
Scripts/Misc: Ensure Creatures are in instances when required
...
Create ScriptedAIs that require a InstanceScript reference only if the InstanceScript exists, so if these Creatures are in an instance. ScriptedAIs that don't require a InstanceScript reference have not been modified.
This fixes many possible NULL dereference crashes happening when spawning a scripted Creature outside of an instance.
Fixed a GetOwner() and a ToPlayer() NULL dereference crashes too.
2013-12-29 01:19:52 +01:00
jackpoz
2a7f03039d
Core/Misc: Fix warnings
...
Fix warnings appearing with -Wstrict-aliasing flag.
2013-12-28 17:24:43 +01:00
Shauren
533180f2a1
Core/Battlegrounds: Removed unneeded code
2013-12-28 13:02:05 +01:00
Shauren
29acf99ea6
Core/Transports: Fixed new spawned transports not being visible for players already present on map
2013-12-28 12:44:22 +01:00
MitchesD
3921f20c18
Scripts/ObsidianSanctum: added creature_formations for surrounding creatures and some clean up
2013-12-27 19:56:01 +01:00
jackpoz
e255d1d376
Core/Transports: Fix possible crash
...
Fix a crash happening when deleting an instance with transports. This case doesn't appear in current sources but could have happened in ICC and HoR.
2013-12-25 23:11:22 +01:00
jackpoz
9b88a789e6
Scripts/Blood Furnace: Fix crash in Broggok script
...
Fix a NULL dereference exception in Broggok npc id 17380 script, happening when spawning it outside of an instance.
Fixes #11344
2013-12-25 19:17:44 +01:00
Malcrom
01a43e6a30
Core/QuestDef: Well I clicked revert but Git didn't play along.
2013-12-25 14:31:28 -03:30
Malcrom
fe95371d9a
Core/Scripting: Replace casted with cast as casted is not a word.
2013-12-25 14:16:55 -03:30
Malcrom
fa29ddc529
Db/Misc: Fix more dup aura messages.
2013-12-25 12:39:47 -03:30
Shauren
890b47c861
Build fix
2013-12-25 12:37:00 +01:00
Shauren
8bcde41538
Core/Quests: Added stuff missing in previous commit
2013-12-25 12:17:23 +01:00
Shauren
293915db39
Core/Quests: Fixed icon shown above questgivers with daily quests that have already been completed once by a character
...
Closes #11331
2013-12-25 02:08:05 +01:00