Commit Graph

2141 Commits

Author SHA1 Message Date
Manuel
58564cc496 Core/Scripts: Rewritten Drakkari Colossus encounter from Gundrak.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-15 19:03:32 -03:00
Machiavelli
29a8b5407a Core/DBLayer: Use default parameters for DatabaseWorker::activate. Fixes a possible desyncrhonisation issue when DatabaseWorkerPool calls wait() on the workers. 2011-01-15 20:59:37 +01:00
Machiavelli
38816cb1df Core/Spells: Implement SPELL_ATTR6_IGNORE_CROWD_CONTROL_TARGETS (0x00000100). Spells with this attribute flag (Avenger's Shield, Hammer of Righteousness, Shield of Righteousness, Felguard Cleave, Fel Iron Bomb) will ignore secondary targets that are under the effect of crowd control aura's.
Thanks to Shauren for advices.
2011-01-15 19:40:06 +01:00
Shauren
52ec32e740 Scripts/Icecrown Citadel: Despawn Ooze after unregistering from Rotface's summon list, not before 2011-01-15 00:46:41 +01:00
Shauren
9584f58130 Core/Battleground: Combine bg score type enum values with the same name
Signed-off-by: Shauren <shauren.trinity@gmail.com>
2011-01-14 23:02:15 +01:00
Shauren
064755e8a1 Scripts/Icecrown Citadel: Fixed Invocation of Blood jump timing, info taken from sniff
Closes #176 and #177

Signed-off-by: Shauren <shauren.trinity@gmail.com>
2011-01-14 22:44:07 +01:00
Lightguard
4aae3cd45e Add missing opcodes to OpcodeHandlerTable.
Signed-off-by: Anubisss <anubisss210@gmail.com>
2011-01-14 22:40:41 +01:00
Shauren
4cb3a9c6ca Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel script
Closes #234

Signed-off-by: Shauren <shauren.trinity@gmail.com>
2011-01-14 21:54:17 +01:00
VladimirMangos
8c48704b23 Core/Loot: Fixed looting of individual, owner only items (item loot/skinning)
Signed-off-by: Shauren <shauren.trinity@gmail.com>
2011-01-14 21:24:11 +01:00
JohnHoliver
db72c4f561 Core - Modifies a few security checks to take realm id into consideration. It will enable add friends which have moderators (or more) status in other realms and cease undue AH activity logging from those same accounts.
Signed-off-by: click <per.wilhelmsen@gmail.com>
2011-01-14 21:05:02 +01:00
Shauren
458c7c642f Core/Spells: Fixed Glyph of Pain Suppression
Signed-off-by: Shauren <shauren.trinity@gmail.com>
2011-01-14 20:24:39 +01:00
Manuel
3ab85db411 Core/Player: Pets are unsummoned after spec switch. Fixes #180 2011-01-14 13:38:56 -03:00
Drethek
94c9764323 Scripts/Trial of the Crusader: Fixed Slime Pool duration on all difficulties and removed hacks for it
Signed-off-by: Shauren <shauren.trinity@gmail.com>
2011-01-14 15:08:32 +01:00
Machiavelli
de8d5a9236 Scripts/Borean Tundra: Add Support for areatrigger conditions for Quest: Breaking Through (11898). Thanks to Svannon for original code and joint brainstorming session.
Closes issue #194
2011-01-14 00:59:52 +01:00
Machiavelli
d399daab59 Core/Quests: Resolve ambiguity between QUEST_STATUS_COMPLETED and rewarded state by implementing QUEST_STATUS_REWARDED. The latter is not used in the database explicitly, only in the core. This is to prevent overhead by iterating over the rewarded quests storage multiple times.
All relevant upper level code has been updated accordingly to the best of my ability.
2011-01-13 23:06:59 +01:00
Machiavelli
57ee357c02 Core/Maps: Fix a possible crash in ObjectGridStoper:Visit
Dump found here: http://pastebin.com/2GZ3t5v4
2011-01-13 21:33:56 +01:00
Machiavelli
bd85914d92 Core/DBLayer: Properly manage mysql library initialization and shutdown in authserver and worldserver. Prevent multiple calls and make it more elegant. 2011-01-13 21:30:37 +01:00
Machiavelli
4c15ebe09d Core/DBLayer: Properly deallocate SQLOperation objects from Databaseworkerpool queue. 2011-01-13 20:28:40 +01:00
Machiavelli
cf9250c29f Core/DBLayer:
- Implement DatabaseWorkerPool::DirectCommitTransaction for synchronous transaction execution (as opposed to asynchronous/enqueued).
- Add MySQL errno 1213 "Deadlock found when trying to get lock; try restarting transaction" handler. If 1213 is called the core will retry to directly execute the transaction a maximum of 5 times.
2011-01-13 20:07:09 +01:00
Shauren
8d59953f93 Scripts/Icecrown Citadel
* Call EnterEvadeMode before teleporting players to entrance - prevents players being stuck in combat
* Fixed Gaseous Blight stacking damage
* Properly initialize phase for Professor Putricide when entering combat
* Fixed Blood Nova and Boiling Blood abilities of Deathbringer Saurfang
2011-01-12 22:50:51 +01:00
Machiavelli
52499b03ea Core/Guilds: Don't allow more than 25 and 100 log events to be sent to the client for bank eventlog and regular eventlog respectively. Higher values will result in client crashes. 2011-01-12 19:38:47 +01:00
Shauren
87b849f71a Scripts/Icecrown Citadel: Fixed players being teleported to entrance when Professor Putricide entered combat during Festergut or Rotface fight (encounter mechanic) 2011-01-12 12:49:05 +01:00
Anubisss
806794d4ce Fix a crash in Spell::CheckCast().
This crash happens when effect is SPELL_EFFECT_TALENT_SPEC_SELECT and the caster is not a player.
You should always check object's type (or sure that object is 101% a player) before you use ToPlayer() casting function.

Signed-off-by: Anubisss <anubisss210@gmail.com>
2011-01-12 02:06:06 +01:00
Spp
bd2728eb74 Core: Fix some warnings 2011-01-11 11:18:00 +01:00
Shocker
de56044b13 Scripts/Zul'Gurub: Fix in 34aae56104 should include leech auras too 2011-01-11 01:54:53 +02:00
Shocker
f03040b5b3 Core/Spells: Glyph of Polymorph should remove leech auras too, fixes #171 2011-01-11 00:57:20 +02:00
Taser
1a5554ccb5 Core/Battlegrounds: Fix Fel Reaver Ruins capturepoint in Eye of the Storm
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-10 22:31:57 +01:00
Shauren
870add0a3d Core/Spells: Fixed Spirit Walk ability of shaman's Feral Spirit summons
Closes #115

Signed-off-by: Shauren <shauren.dev@gmail.com>
2011-01-10 22:01:19 +01:00
Machiavelli
fa8e5047a6 Core/Guilds: Fix a possible client crash in MSG_GUILD_BANK_LOG_QUERY 2011-01-10 20:57:58 +01:00
Manuel
014714fb17 Core: Killing magic numbers. 2011-01-09 20:44:33 -03:00
Machiavelli
01d4080b4d Core/Units: Send proper orientation in SMSG_MONSTER_MOVE_TRANSPORT
Also get rid of the 100 constant in moveticks segment and use getMSTime() for consistency sake
2011-01-09 16:22:04 +01:00
Shauren
1aa294d3e9 Core/Players: Fixed typo in updating soulbound trade times (check every second, not every 1000 seconds) 2011-01-09 15:14:44 +01:00
Derex
45459bed23 Core/Netcode: Fix file descriptor leak under linux platforms with ACE dev poll reactor.
close #15

Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-09 13:53:25 +01:00
Machiavelli
cb5a943f10 Core/DBLayer: CHAR_DEL_AUCTION should be defined as asynchronous. Fixes a crash caused by assertion failure.
("Could not fetch prepared statement 54 on database `characters`, connection type: asynchronous.")
2011-01-09 13:30:14 +01:00
Manuel
5cf76896eb Core/Battleground: Implemented blizzlike script for Isle of Conquest, written by gyullo and me, based on Socolin's and Josh's patch -BIG THANKS TO THEM-
Anyway the map is not yet playable, there are issues not related with the script.

I also want to thanks to QAston, linencloth, Shauren and Machiavelli to be so patient with my questions.
2011-01-09 00:00:08 -03:00
Machiavelli
a5cabb0705 Scripts/Ulduar: Some work on Kologarn:
- Get rid of UNIT_FLAG_STUNNED hack
- Use proper spells instead of vehicle hacks
- AI scripts for both arms instead of everything being defined in Kologarn's AI script
- Proper support for detecting when to release players (Right Arm)

Still todo:
- Eyebeams
- Rubbles
- Achievements
- Post-encounter doors/GO's toggling
2011-01-08 22:21:24 +01:00
Lopin
ef3e0d3477 Scripts/Ulduar: Spell script for spells 62524,62525,62521 (Freya encounter)
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-08 21:44:29 +01:00
Machiavelli
58f795d171 Core/Vehicles: Logic fix for AddPassenger seat validity check, thanks to Tassader 2011-01-08 21:13:18 +01:00
Machiavelli
aa87c61cfb Remove unintended change from previous rev's copypaste work. 2011-01-08 19:11:18 +01:00
Machiavelli
c4cac049b4 Core/DBLayer: Define prepared statements in an array per database instead of explicit calls to MySQL::PrepareStatement. Now the core will show the raw query (without bound arguments) in related log entries instead of PreparedStatement id: X on database Y. 2011-01-08 19:07:13 +01:00
McBitter
63333dc6ff Core/Spells: Fixed targeting for spell 49305 (missing unit target)
Signed-off-by: Shauren <shauren.dev@gmail.com>
2011-01-08 17:40:10 +01:00
Shauren
39247d912b Core/Quests: Fixed quest chain issues introduced by daily quest fix
Closes #127

Signed-off-by: Shauren <shauren.dev@gmail.com>
2011-01-08 13:57:59 +01:00
Shauren
051cceb7ac Core/Quests: Fix daily quests not showing up in list of available quests after having completed them once before. (Bug usually used to surface when in ExclusiveGroup)
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-08 00:27:50 +01:00
Machiavelli
dc3d6a2f23 Remove redundant code from 1487ebedaa 2011-01-07 19:13:19 +01:00
Christyan
bc048ad216 Fix a typo in LFG.
Use the proper DungeonID for SMSG_LFG_PROPOSAL_UPDATE if player selected multiple dungeons.

Signed-off-by: Anubisss <anubisss210@gmail.com>
2011-01-07 01:30:39 +01:00
Machiavelli
efe0ed3194 Core/Entities: Fix a silly typo in Object::AddExtraMovementFlag 2011-01-06 22:54:33 +01:00
Machiavelli
c65e3822a2 Fix build from 06314c9387
closes #99
2011-01-06 22:45:07 +01:00
Socolin
5f0d84a69e Scripts/Naxxramas: Fix raid mode dependant spawn points of Zombie spawns during the Gluth encounter.
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-06 22:39:00 +01:00
Machiavelli
afcff32e64 Core/DBLayer: Add MySQL errno 1054 to ignored error messages. 2011-01-06 22:32:30 +01:00
Machiavelli
7ac9ffd587 Scripts/Naxxramas: Patchwerk's hateful strike can, however, hit the main tank if no other targets are in melee range.
Thanks to Tassader for pointing out
2011-01-06 22:24:32 +01:00