Commit Graph

20679 Commits

Author SHA1 Message Date
Dehravor
7401ab7eab Core/Loot: Fix an exploit that allowed players to loot infinite amount of items that have condition(s) 2014-03-17 18:46:17 +01:00
Aokromes
3ce545a1b5 DB/Misc: Fix more startup errors
Updates #11587
2014-03-17 00:51:33 +01:00
Aokromes
3adc8f27bc DB/Quest: Sneak Preview
by untaught and MitchesD, closes #11710
2014-03-16 21:48:45 +01:00
Aokromes
126eb12d11 DB/Quest: The Bones of Nozronn
By untaught, closes #11720
2014-03-16 21:47:12 +01:00
Aokromes
f8938c2092 Merge pull request #11718 from untaught/master
Instance Script/Stratholme: Correct logic in Baron Run event and add SAI...
2014-03-16 21:40:35 +01:00
Shauren
69fb9642a3 Fixed build with TRINITY_DEBUG 2014-03-16 21:22:31 +01:00
Shauren
263c5cacf4 Core/Maps: Fixed height calculations used in WorldObject::UpdateGroundPositionZ/WorldObject::UpdateAllowedPositionZ, they will now take vmaps into account. 2014-03-16 20:13:25 +01:00
Shauren
f0f4a620fb Core/Transports: Added support for DynamicObjects on transports 2014-03-16 20:00:09 +01:00
jackpoz
f26a028d97 Core/Misc: Fix some static analysis issues
Fix some static analysis issues about uninitialized values. Most of them are false positives, always initialized before being accessed.
2014-03-16 14:18:33 +01:00
untaught
5f7e0f6929 Instance Script/Stratholme: Correct logic in Baron Run event and add SAI for Ysida Harmon 2014-03-16 08:47:27 +02:00
Aokromes
fe30ddca10 DB/Quest: The Deserters
By untaught closes #11665
2014-03-16 06:42:42 +01:00
Aokromes
157bf45fd9 DB/Creature: Fix 2 mobs incorrectly using prowl
By untaught and mario-64, closes #11703
2014-03-16 06:05:02 +01:00
jackpoz
a1aa4547b3 Scripts/Krikthir the Gatewatcher: Fix EVENT_ANUBAR_CHARGE event not being triggered
Fix EVENT_ANUBAR_CHARGE not being triggered due to value 0 being set to the EVENT_ANUBAR_CHARGE enum, even if 0 is a special value for EventMap to specify no event was triggered.
Issue added in a127c0e1a7
2014-03-15 20:08:55 +01:00
jackpoz
e30b471f8e Scripts/AhnKahet: Fix some uninitialized values
Initialize all class fields in the constructor, even if they are set in Reset() and they shouldn't be accessed before Reset() is called.
This fixes 2 Coverity reports.
2014-03-15 20:04:59 +01:00
jackpoz
3b247f6bca Scripts/ZulGurub/Jeklik: Add missing "break" 2014-03-15 19:45:44 +01:00
jackpoz
61c9891d6a Core/Gossip: Fix crash added in 6c64fa8de3
Fix NULL dereference crash caused by a typo in 6c64fa8de3
2014-03-15 19:30:55 +01:00
Aokromes
a8840070c3 DB/SAI: No Rest For The Wicked
By MitchesD, closes #11709
2014-03-14 00:14:42 +01:00
Rochet2
6c64fa8de3 Core/Gossip: Add security to C++ scripted gossip options by checking guid of the object that the player is interecting with. Idea by @LilleCarl
Closes #11567
2014-03-13 20:27:11 +01:00
Aokromes
78398ed5ce DB/SAI: The book of the Raven
By untaught, closes #11570
2014-03-13 12:07:19 +01:00
Shauren
1c6f2c9e35 Merge pull request #11694 from Rochet2/patch-1
Core/Gossip: Change max menu items to 32
2014-03-12 12:32:07 +01:00
Rochet2
cfdd9421d2 Core/Gossip: Change max menu items to 32
Tested and a gossip menu can show max 32 items on a menu.
When sending 40 options: http://puu.sh/7rqb6.jpg
2014-03-12 10:20:26 +02:00
Shauren
5221bd8c10 Core/Items: Fixed an exploit allowing people to put more gems than number of sockets on items.
Closes #11652
2014-03-10 12:58:03 +01:00
Discover-
6f1005ad94 Core/Misc: Get rid of whitespaces added in 96e0a7d71f 2014-03-10 06:54:24 +01:00
Warpten
d4416c0439 Merge pull request #11627 from Rochet2/OnPlayerSave
Core/Players: Call sScriptMgr::OnPlayerSave inside Player::SaveToDB rather than before calling it.
2014-03-09 21:51:57 +01:00
Rochet2
1f98435fda Update Player.cpp
Dont trigger save hook on player create
2014-03-09 22:23:48 +02:00
Warpten
96e0a7d71f Merge pull request #11666 from kontownik/scripting_project
Core/Scripts: Introduce ItemScript::OnItemRemove, called when an Item is actually destroyed.
2014-03-09 20:19:23 +01:00
Aokromes
4d215e7694 Update 2014_03_09_00_world_spell_group.sql 2014-03-09 19:51:02 +01:00
Aokromes
5817951b61 DB/Spells: Fix Thunderclap bugging Infected Wounds
By untaught. Closes #6291.
2014-03-09 19:48:43 +01:00
jackpoz
ba28b16d2e Scripts/TheStormPeaks: Possible crash fix
Apply safe NULL checks added in 7d881a0739 to similar code in same script
2014-03-09 17:17:12 +01:00
jackpoz
d357597270 Scripts/Commands: Fix crash in ".kick" command
Fix a NULL dereference exception happening when using .kick command caused by a strtok(NULL) call without a previous call to the string to be tokenized.
Issue added in 101cad1f28
2014-03-09 17:09:15 +01:00
Shauren
de91f716a4 SQL: Renamed a few files to match our naming standards 2014-03-09 10:26:24 +01:00
Kinzcool
3c1f635abd Herman Walker, Grumman Slatefist and Shenarial are now officially battlemasters. Karg Skullgore & Sawemba have been reassigned to their duty of random BGs battlemasters. 2014-03-06 22:34:47 -05:00
Aokromes
b8cfd275a6 DB/Items: Fix some startup errors
Updates #11587
2014-03-06 08:42:57 +01:00
Aokromes
932173f88d DB/Creature: Fix wrong npcflag for Alchemist Kanhu
By MrSmite, closes #11671
2014-03-06 07:23:10 +01:00
Aokromes
db3c4b3072 DB/Loot: Harbinger Skyriss
By MitchesD, closes #11670
2014-03-04 18:20:31 +01:00
kontownik
91850fa9e4 Core/Scripts: New ItemScript trigger, OnItemRemove 2014-03-03 22:18:47 +01:00
Aokromes
437b97fe73 Update 2014_03_03_00_creature_text.sql 2014-03-03 05:52:41 +01:00
Aokromes
2bea809cd8 DB/SAI: Loken's Orders
By dr-j, closes #4855
2014-03-03 04:21:59 +01:00
Aokromes
c908fc4661 Rename 2014_03_03_00_gossip.sql to 2014_03_03_01_world_gossip.sql 2014-03-03 03:24:37 +01:00
Aokromes
844332ca35 DB/Gossip: Add missing texts
Note: https://github.com/TrinityCore/TrinityCore/blob/master/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp needs to be moved into db.
2014-03-03 03:23:53 +01:00
Aokromes
de522e5fb5 DB/Creature: Commander Stoutbeard's yell
Closes #7948
2014-03-03 02:16:32 +01:00
jackpoz
e4ab18a69c Dep/ACE: Fix assertion triggered on shutdown
Fix assertion triggered on shutdown on Windows platform Debug mode by back-porting fix from ACE revision 96226.
Fixes #9770.
2014-03-02 14:06:05 +01:00
joschiwald
3a40d8a887 Core/Player: delete queststatus (weekly/monthly/seasonal) on deleting character thx @Expecto
- also rename some prepared statements

Closes #11658
2014-03-02 00:00:39 +01:00
Aokromes
994b14bf66 Rename 2014_02_27_01_world_sai.sql to 2014_02_27_02_world_sai.sql 2014-03-01 03:18:21 +01:00
jackpoz
d5d2805771 Core/MMAPs: Replace an assert with error log
Replace an assert in PathGenerator::BuildPolyPath() about invalid poly reference with an error log.
Fixes #11493 .
2014-02-27 21:03:57 +01:00
Aokromes
dd2746c8db DB/SAI: The Grimtotem Weapon
by dr-j closes #3119
2014-02-27 05:27:35 +01:00
Aokromes
075fa515a4 DB/SAI: Fix The Multiphase Survey
Closes #6279 by untaught.
2014-02-27 05:20:52 +01:00
Aokromes
367da1e6f5 DB/Trainers: Fix some spells avariability
Closes #11248
2014-02-27 04:33:59 +01:00
Aokromes
edcd757872 DB/Gameobject: Dun Argol Cage
By dr-j, closes #11649
2014-02-27 04:28:12 +01:00
Aokromes
ce01544561 DB/Gameobject: cage door quest Freedom for all creatures
Updates #4823, this only closes door, it still needs scripting.
2014-02-27 04:26:13 +01:00