Commit Graph

13865 Commits

Author SHA1 Message Date
Shocker
1a7b0d573c Merge pull request #3652 from Poli93/master
Core/Spells: Misery talent should be activated by Mind Flay
2011-11-26 10:39:51 -08:00
Shocker
01d44a83e3 Merge pull request #4041 from PKX/remove_obsolete
Remove obsolete code and spell_groups
2011-11-26 10:37:22 -08:00
Shocker
68e5a96312 Merge pull request #4040 from devilcoredev/fix_004
[CORE/BOSS] Fix Sapphiron flying phase start.
2011-11-26 10:37:13 -08:00
Machiavelli
4c3c418511 Core/Misc: Make VMapManager2::acquireModelInstance and releaseModelInstance thread safe
Closes #4086
2011-11-26 19:11:58 +01:00
Nay
310af5bb76 Core/DBLayer: Yet Another Typo Fix To Player::SaveToDB() 2011-11-26 15:40:10 +00:00
Machiavelli
fcd28e5dad Core/DBLayer: Fix player saving 2011-11-26 15:15:04 +01:00
Nay
c105be95a5 Add SQL to previous commit (5a4636c145) *facepalms*
Correct a DB error in quest_template for quest 14171 (Thanks Bizzy)
2011-11-26 03:03:55 +00:00
Nay
5a4636c145 Core|DB/Quests: Rename and re-order fields in quest_template table, for the sake of consistency
Order should match SMSG_QUEST_QUERY_RESPONSE
2011-11-26 03:00:06 +00:00
kaelima
a919265623 Core/DB: Fix character creation in Player::SaveToDB.
And some misc comments/whitespaces
2011-11-26 01:53:44 +01:00
Shocker
754f6f29ac Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-11-25 19:48:52 +02:00
Shocker
002ba537fe Core/Player: Typo in player flags 2011-11-25 19:48:29 +02:00
Nay
f8ffe0f1e3 Core/DB: Fix a typo in commit 72675d55d8
Closes #4068
2011-11-25 15:41:06 +00:00
Nay
2bdf3bcedd DB/Creature: Delete a very high guid and insert a lower one
*slaps someone*
2011-11-25 14:38:18 +00:00
Machiavelli
72675d55d8 Core/DBLayer: Use prepared statements in Player::SaveToDB. Also split the function up between an INSERT part (new character creation) and UPDATE part (existing character). 2011-11-25 15:14:00 +01:00
Nay
4f738fe75a DB/Quests: Fix Junkboxes Needed class requirements
Closes #509
2011-11-25 13:17:57 +00:00
Stalker_Riddick
d8ffeed476 Core/Quests: Add new field RequiredClasses for quest_template Credits to
NoFantasy.

* SkillOrClass is converted to RequiredSkill (and then field can contain skill id only)
* Field ZoneOrSort has no longer a function in quest requirement, and RequiredClasses must be used instead where class limits are expected.

To restrict a quest to one class or more, use bitmask of class in RequiredClasses. RequiredSkill works like before.

Signed-off-by: NoFantasy <nofantasy@nf.no>
Signed-off-by: Stalker_Riddick <nenad_kuza@hotmail.com>
2011-11-25 13:11:53 +00:00
Shocker
d2b4f33112 Core/DisableMgr: Fixed spells disables 2011-11-24 19:09:01 +02:00
Shocker
414987541c Core/Pets: Fix pet saving typo from recent cleanups (spotted by Nay) 2011-11-24 15:31:07 +02:00
Shauren
0fe05707aa DVCS: Added any type of build directory to gitignore 2011-11-24 10:17:15 +01:00
Nay
af086931e5 Forgot to delete files after copying them to 'sql/old'
Fail count is high tonight...
2011-11-23 23:48:59 +00:00
Nay
9447478630 DB: TDB 43: Move SQL updates to the old directory TDB335.11.44 2011-11-23 22:31:44 +00:00
Shauren
afb2289d02 Core/DisableMgr: Fixed possible crashes at startup 2011-11-23 19:55:05 +01:00
megamage
f116960b2a Remove a check which always returns true. Correct me if I am wrong. 2011-11-23 13:21:10 -05:00
Shauren
358b33239a Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit 2011-11-23 19:17:33 +01:00
megamage
f091360940 Do not allow base map be accessed from outside if map is instanceable. 2011-11-23 13:14:59 -05:00
megamage
0eb193f2b4 Revert 2f83db28f2. Note that here we only want to check baseMap->canEnter, but not instanceMap->canEnter.
Thanks to SignFinder.
2011-11-23 12:55:00 -05:00
megamage
5a0ffefecc Remove unnecessary const_cast<Map*>. 2011-11-23 12:51:20 -05:00
megamage
98be413ce0 Clean up very some confusing MapManager functions (create/find map/base map). 2011-11-23 12:45:59 -05:00
megamage
b3fef1e280 Fix build. 2011-11-23 12:42:11 -05:00
Shauren
638693e78f Core: Fixed more warnings (C6246: Local declaration of 'x' hides declaration of the same name in outer scope.) 2011-11-23 17:55:16 +01:00
Shauren
44693cfa99 Core: Fixed a few warnings and silly typos in scripts 2011-11-23 16:57:08 +01:00
PKX
f9b0cdd4f8 DB/Misc: Removed obsolete spell_groups
Removes some obsolete and wrong spell_groups.
Closes #2462, #1519 and #3968
2011-11-23 15:48:02 +01:00
PKX
47b7e75149 Core/Spells: Removed some obsolete code
This removes some unused and obsolete code:
- "Test of Faith" now doesn't increase crit anymore;
- same goes for "Renewed Hope" (in addition that code isn't working);
- "Ebon Plague" part was deleted from Unit::SpellDamageBonus but not from Unit::MeleeDamageBonus (in addition this code is not working anymore)
- "Blessing of Sanctuary" was working only on melee damage, plus this is not the way it should be fixed

Signed-off-by: PKX <pkx.icehell@gmail.com>
2011-11-23 15:48:01 +01:00
megamage
298c162c86 Do not allow an instance map to be created twice if it already exists. Fix #4018. 2011-11-23 09:34:08 -05:00
Giuseppe Montesanto
53077d670f Fix Sapphiron flying phase start. 2011-11-23 14:14:29 +01:00
Shocker
1b3017472b Scripts/Naxxramas: Patchwerk's Hateful Strike's timer should be 1s.
Closes #4036
2011-11-23 14:22:50 +02:00
Shocker
e9cd4c6e80 Merge pull request #3988 from kandera/tempbranch2
Core/Mechanic: Resurrection (fixed the issue with players ressing in pla...
2011-11-23 04:03:47 -08:00
Shauren
fffe60b0d9 Scripts/Icecrown Citadel: Corrected an overlooked frenzy spam by Shambling Horrors on heroic mode (does not change anything in the fight) 2011-11-23 09:44:34 +01:00
Machiavelli
8444532746 Core/Units: Second part of SMSG_MOVE_SET_COLLISION_HGT implementation: compute proper collision height according to client formulae and send this to the client when mounting up. 2011-11-22 20:28:10 +01:00
Spp
99ad58233b Core/Opcodes: Change status of CMSG_MOVE_SET_COLLISION_HGT_ACK to Unhandled to kill spam log 2011-11-22 13:26:54 +01:00
Machiavelli
367122dd62 Core/Packets: Allow CMSG_MOVE_SET_COLLISION_HGT_ACK to be received from the client (currently unhandled) 2011-11-22 06:02:53 +01:00
Nay
10444a1423 DB/Event/Pilgrim: Partially fix food tables 2011-11-21 23:54:33 +00:00
Nay
fc24f4959f DB/Event/Pilgrim: Template updates, vendor tables and other misc. stuff (A) 2011-11-21 22:55:31 +00:00
megamage
23186b24e2 Merge pull request #3421 from Chipsi/master
Core/Items: Added case for Darkmoon Card: Madness trinket
2011-11-21 14:12:46 -08:00
megamage
811d1f85a5 Merge pull request #3990 from kandera/lfgfix
Core/LFG: Fix being unable to enter an instance to retrieve body when yo...
2011-11-21 13:58:23 -08:00
megamage
0992f27cad Fix the correct exit from the dungeon finder queue.
By Giuseppe Montesanto

Conflicts:

	src/server/game/DungeonFinding/LFGScripts.cpp
2011-11-21 16:56:39 -05:00
Machiavelli
a14cbcaa3e Core/Units: Partial implementation of SMSG_MOVE_SET_COLLISION_HGT - send proper character collision height on dismount.
Fixes #2642

NOTE: Still have to properly implement collision height calculation for mounting up.
2011-11-21 22:54:25 +01:00
Nay
7c8f4358ea DB/Event/Pilgrim: Template updates, vendor tables and other misc. stuff (H) 2011-11-21 19:24:12 +00:00
Nay
0c343970d1 DB/Event/Pilgrim: Fix achievement "Turkey Lurkey". By Vincent-Michael
Closes #3994
2011-11-21 16:34:51 +00:00
Nay
4e683214da DB/Event/Pilgrim: Add item and mail reward to the "Pilgrim" achievement (A/H) 2011-11-21 16:16:10 +00:00