Commit Graph
11218 Commits
Author SHA1 Message Date
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 <[email protected]>
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 <[email protected]>
2011-01-12 02:06:06 +01:00
click 3a7a01e7c7 Buildsystem: Fix a logical error in git revision-detection, and also
make the warning text a little bit more "Hello Cpt.Obvious" obvious for
users that can't read. (It now includes the word WARNING in the warnings)
2011-01-11 23:54:45 +01:00
Spp bd2728eb74 Core: Fix some warnings 2011-01-11 11:18:00 +01:00
click a039086bca Core/SQL: Fix up a few missing tables from base world_database import schema and a few typos
Thanks to Aokromes for the heads up ref the typos, and Oinquer on the missing tables.
2011-01-11 08:26:10 +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 <[email protected]>
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 <[email protected]>
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
Shauren b2404c1a26 Buildsystem: Move EnsureVersion macro-loading into genrevision.cmake. Fixes ensure_version macro not being found. 2011-01-10 19:22:46 +01:00
click 5755ab14ac Buildsystem: Use the git-executable variable as the command to run as well...
Thanks to Shauren and leak for pointing that out.
2011-01-10 17:57:26 +01:00
click 0f5d03211b Buildsystem: Add git versiontesting and path-testing to find git - also includes a notice if the version is not found/git is not installed correctly. 2011-01-10 17:46:28 +01:00
Manuel cdf60d0643 Core/SQL: Assigned script npc_four_car_garage to creature 35273. 2011-01-09 21:12:17 -03:00
Manuel 014714fb17 Core: Killing magic numbers. 2011-01-09 20:44:33 -03:00
click 8c939165b0 Merge branch 'master' of ssh://github.com/TrinityCore/TrinityCore 2011-01-09 18:37:14 +01:00
click 6ce62c72bc Docs: Update with correct wiki-location for doc/UnixInstall.txt
This next line is to test if hooks are done correctly.
Closes #150.
2011-01-09 18:35:25 +01: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 <[email protected]>
2011-01-09 13:53:25 +01:00
Machiavelli 4ec6ec66c4 Core/SQL: Fix world_scripts_full.sql import 2011-01-09 13:43:35 +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 644902d369 Core/SQL: Fixed typo in sql file name. Thanks to laly. 2011-01-09 02:03:14 -03: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 57173df80f Core/SQL: Move spell_script_names from world_database.sql to world_scripts_full.sql (they're called scripts for a reason) 2011-01-08 22:49:44 +01: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 <[email protected]>
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
Shauren 04d7476087 SQL: This table is handled by db team 2011-01-08 17:45:14 +01:00
McBitter 63333dc6ff Core/Spells: Fixed targeting for spell 49305 (missing unit target)
Signed-off-by: Shauren <[email protected]>
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 <[email protected]>
2011-01-08 13:57:59 +01:00
click 60595e5c9f Buildsystem: Add fallback-location directories for OpenSSL detection under Windows-platforms 2011-01-08 13:04:47 +01:00
click df602e955e Core/SQL: Fix a small typo in world_script_texts.sql messing up imports.
Closes issue #63
2011-01-08 05:40:47 +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 <[email protected]>
2011-01-08 00:27:50 +01:00
Machiavelli dc3d6a2f23 Remove redundant code from 1487ebedaa 2011-01-07 19:13:19 +01:00
Shauren f63d84534f SQL: Added missing sql from revision 855e910298 2011-01-07 19:05:17 +01:00
click 50e4dd43df Buildsystem: Fix OpenSSL-detection on Windows platforms 2011-01-07 07:18:29 +01:00
runningnak3d 660892d53e Misc: remove test file added by accident 2011-01-06 12:45:13 -07:00