megamage
d20f85d40d
*Remove an obsolete spell of Illidan.
...
--HG--
branch : trunk
2009-08-21 16:53:56 -05:00
megamage
d86ab7e0c9
*Fix a typo in sql.
...
--HG--
branch : trunk
2009-08-21 16:41:58 -05:00
megamage
305ed233ff
*Remove rank auras from players who are offline after battle of wintergrasp ends.
...
--HG--
branch : trunk
2009-08-21 16:23:21 -05:00
megamage
054e4ceceb
*Wintergrasp: give honor for every captured workshops in the end of the battle.
...
--HG--
branch : trunk
2009-08-21 16:12:30 -05:00
megamage
7bb18efbbe
*Fix a crash in wintergrasp when a neutral workshop is destroyed.
...
--HG--
branch : trunk
2009-08-21 16:11:11 -05:00
Kudlaty
02071a74c0
Fix typo
...
--HG--
branch : trunk
2009-08-21 22:32:48 +02:00
Kudlaty
395b1f5130
Fix typo in battleground announcer. Thx Gyullo
...
--HG--
branch : trunk
2009-08-21 22:19:06 +02:00
Kudlaty
1cc0758149
Forgot about include
...
--HG--
branch : trunk
2009-08-21 22:15:26 +02:00
Kudlaty
e0ba302e32
Script for Plaguehound Tracker. Thanks to manuel and Nevan
...
--HG--
branch : trunk
2009-08-21 22:11:19 +02:00
megamage
7ef7b7e27e
*Reduce the distance of auto-dismount in quest Grand Theft Palimino
...
--HG--
branch : trunk
2009-08-21 13:40:54 -05:00
megamage
d333cc1deb
*Fix the bug that lifebloom heals too much.
...
--HG--
branch : trunk
2009-08-21 13:37:07 -05:00
Machiavelli
eaeba0b357
*Fix bug that item in guild bank would display improper spellcharges amount.
...
--HG--
branch : trunk
2009-08-21 20:07:27 +02:00
megamage
ae1450031f
*Use total max veh number instead of max veh number per workshop to check if can build vehicle in wintergrasp.
...
*Do not despawn vehicles when workshop is destroyed or captured.
--HG--
branch : trunk
2009-08-21 12:51:11 -05:00
megamage
49abc30089
*Display max veh number and capture point banner in wintergrasp.
...
--HG--
branch : trunk
2009-08-21 12:31:52 -05:00
Machiavelli
3f24bc9085
* Don't apply double RAP modifier to Steady Shot, pointed out by thenecromancer
...
--HG--
branch : trunk
2009-08-21 18:13:21 +02:00
megamage
614d31ddb2
*Use safer function to modify threat pct in script.
...
--HG--
branch : trunk
2009-08-21 11:10:13 -05:00
megamage
6d3fd6b189
*Fix a crash caused by removing vehicles when wintergrasp battle ends.
...
--HG--
branch : trunk
2009-08-21 11:01:59 -05:00
megamage
d8e5b86e54
*Add assert back to antiair AI. spell[0] is necessary for this AI. If there is no spell[0] in db, then this ai should not be used.
...
--HG--
branch : trunk
2009-08-21 10:52:02 -05:00
megamage
2ecd247dd4
*Remove a check in getreferencebytarget. If a crash happens, the check should be made in the high-level function but not low-level function.
...
--HG--
branch : trunk
2009-08-21 10:49:19 -05:00
Machiavelli
510410265d
* Last commit also fixes damage calculation of Steady Shot, based on original patch by thenecromancer.
...
--HG--
branch : trunk
2009-08-21 17:23:09 +02:00
Machiavelli
7e52b1120c
*Fix crash in mob_anti_airAI. Remove assert and cast no spell instead, if no spell was found in DB template.
...
--HG--
branch : trunk
2009-08-21 17:15:35 +02:00
Machiavelli
3dda9caedd
* Partial revert of last changeset, double nullpointer check is not needed since everything seems to go via ThreatContainer::getReferenceByTarget
...
--HG--
branch : trunk
2009-08-21 16:09:46 +02:00
Machiavelli
cc4ae11383
* Fix some crashes in ThreatContainer
...
--HG--
branch : trunk
2009-08-21 16:07:12 +02:00
Machiavelli
383e22448d
* Correct calculation of ammo DPS
...
--HG--
branch : trunk
2009-08-21 15:47:56 +02:00
Kudlaty
378a9e9385
Merge [SD2]
...
r1358 Add gossip and taxi related to quest 11692. Patch by hoshie
--HG--
branch : trunk
2009-08-21 15:26:57 +02:00
megamage
457f7971de
*Fix the bug that Eye of Acherus does not fly in some servers.
...
--HG--
branch : trunk
2009-08-21 02:46:48 -05:00
megamage
f8bec55205
*Remove the sql which will damage the db. If a hack on db is needed to fix something, please do so in core. The id can be overriden when reading the data.
...
--HG--
branch : trunk
2009-08-21 02:00:41 -05:00
megamage
8efb1c3e4e
*Display worldstate in wintergrasp.
...
--HG--
branch : trunk
2009-08-20 22:52:49 -05:00
Kudlaty
6e7e5ebf70
Some optimization to salanar the horseman. Now player shouldn't stuck in realm of shadow
...
--HG--
branch : trunk
2009-08-21 05:08:27 +02:00
maximius
cc44223aee
*Cleanup + missed SQL
...
--HG--
branch : trunk
2009-08-20 16:46:46 -07:00
maximius
326df2af68
*Freya's Pact Gossip Script by manuel
...
--HG--
branch : trunk
2009-08-20 16:41:54 -07:00
megamage
f972a06935
*Do not allow to build vehicles when workshop is destroyed.
...
--HG--
branch : trunk
2009-08-20 16:33:34 -05:00
megamage
5bde26a6a9
*Remove a hack in player's visibility update. This hack was for TC1 to restrict the size of update packet. It may no longer be needed in TC2. Please report if your client gets freezed in populated area (such as big cities) after this rev.
...
--HG--
branch : trunk
2009-08-20 16:17:50 -05:00
megamage
2d4dac0711
*Try to fix the bug of mobs' chain aggro.
...
--HG--
branch : trunk
2009-08-20 16:12:23 -05:00
megamage
5f04f0c1f0
*Only allow to build new vehicles during wartime in wintergrasp.
...
--HG--
branch : trunk
2009-08-20 16:06:03 -05:00
Machiavelli
6606a82509
* Change _TRINITY_CORE_CONFVER to match r5235
...
--HG--
branch : trunk
2009-08-20 22:45:42 +02:00
Machiavelli
bb8f3d0a24
* Add missing SQL from 5238
...
--HG--
branch : trunk
2009-08-20 22:43:14 +02:00
Machiavelli
555d674817
*Merge
...
--HG--
branch : trunk
2009-08-20 22:39:21 +02:00
Machiavelli
06b9e69b79
* Add basic script for Assembly of Iron in Ulduar
...
* Add instance script for Ulduar
--HG--
branch : trunk
2009-08-20 22:37:46 +02:00
Kudlaty
2ea8cbb4f1
Merge [SD2]
...
r1356 Move HasFollowState() to public and move related Add/RemoveFollowState() to private (not intended that script can alter state directly)
r1357 Add faint and revive for npc_ringo
--HG--
branch : trunk
2009-08-20 22:37:19 +02:00
maximius
f7bc620f4f
*Cleanup
...
--HG--
branch : trunk
2009-08-20 13:32:12 -07:00
maximius
eb81138e6d
*Add a config option for .die command behavior
...
--HG--
branch : trunk
2009-08-20 13:22:07 -07:00
Kudlaty
a63b457b3c
Script for quest 12969. Script by Gyullo
...
--HG--
branch : trunk
2009-08-20 22:18:41 +02:00
Kudlaty
2035948f63
Make Sartharion check if dragons alive before cast on them. Patch by Gyullo
...
--HG--
branch : trunk
2009-08-20 21:50:30 +02:00
Machiavelli
52a43d19ef
* Add query to 5036_character_updates_dual_spec.sql to prevent loss of glyphs on players from transition to dual spec.
...
Note: has no effect on characters after r5036
--HG--
branch : trunk
2009-08-20 21:11:25 +02:00
Kudlaty
007d3215d4
Revert part of last patch witch should be not pushed. Sorry
...
--HG--
branch : trunk
2009-08-20 20:16:49 +02:00
Kudlaty
7ccc15ec48
Add script for quest 12864. Script by manuel
...
--HG--
branch : trunk
2009-08-20 20:09:13 +02:00
Kudlaty
f27fc3e939
Merge [SD2]
...
r1355 Implement use of bitmask states instead of boolean variables in followerAI.
Add function SetFollowPaused to temporary disable follow, with true/false argument to toggle the state on/off.
Scripts affected are updated accordingly with needed changes.
--HG--
branch : trunk
2009-08-20 18:50:41 +02:00
Machiavelli
c674463df4
* Change .die command handler so that the user can get credit for the kill
...
--HG--
branch : trunk
2009-08-20 18:24:45 +02:00
megamage
1302b3b7a9
*Fix build.
...
--HG--
branch : trunk
2009-08-20 10:33:34 -05:00
megamage
48eef97f80
*Fix a crash caused by itemexpire.
...
--HG--
branch : trunk
2009-08-20 10:12:44 -05:00
Machiavelli
ef4a701ba6
* Open 2 doors after Ingvar the Plunderer encounter.
...
--HG--
branch : trunk
2009-08-20 13:40:58 +02:00
megamage
cf9022aa16
*Wintergrasp: only allow a workshop to build 4 vehicles.
...
*remove all existing vehicles when workshop is destroyed or captured.
--HG--
branch : trunk
2009-08-19 23:05:36 -05:00
megamage
411902af03
*Dismiss summoned vehicle when it is dead.
...
--HG--
branch : trunk
2009-08-19 23:02:54 -05:00
megamage
6169483d0f
*Set vehicle owner guid and faction in summonvehicle instead of spelleffecthandler.
...
--HG--
branch : trunk
2009-08-19 23:01:56 -05:00
megamage
92f3d27027
*Remove all ghouls after quest is completed in dk's "give gift" quest;
...
--HG--
branch : trunk
2009-08-19 20:30:11 -05:00
megamage
0fc22d6c1c
*Set ReqSourceCount at least 1.
...
--HG--
branch : trunk
2009-08-19 20:04:56 -05:00
maximius
7ab81155b4
*Update Wintergrasp NPC pairs
...
--HG--
branch : trunk
2009-08-19 17:38:38 -07:00
Kudlaty
6e8c66eeb3
Merge [SD2]
...
r1354 Add one lost text from revision 1352.
--HG--
branch : trunk
2009-08-20 02:27:23 +02:00
Kudlaty
33a1d8dc6c
Merge [SD2]
...
r1346 Convert script for quest 2078 to use followerAI
r1347 Use spell to summon friends instead of manual summon in script for quest 1249.
r1348 Extend followerAI function SetFollowComplete with argument to simplify implementation of end events in scripts.
r1349 Convert script related to quest 1560 to use followerAI
r1350 Apply SD2 code style to one instance and boss script - skip
r1351 Add basic support for quest 4491.
r1352 Add basic support for quest 5321
r1353 Adjust way to complete quest, for script related to quest 938
--HG--
branch : trunk
2009-08-20 02:24:53 +02:00
Kudlaty
fc3717d7e3
last fix for Deaths Challange is by Nevan.
...
Merge [SD2]
r1345 Check for valid quest before use in followerAI
--HG--
branch : trunk
2009-08-20 01:48:44 +02:00
Kudlaty
9ca8348bf8
Fix for quest Death's Challenge, cos we should get KillCredit also when we win duel with other dk player
...
--HG--
branch : trunk
2009-08-20 01:46:16 +02:00
megamage
16c5059bc4
*Add more npc pairs for wintergrasp. By MaXiMiUS
...
--HG--
branch : trunk
2009-08-19 18:39:44 -05:00
megamage
47b30023a5
*Use map instead of vector to store capture points in opvp.
...
--HG--
branch : trunk
2009-08-19 18:17:30 -05:00
megamage
bd0dbcc9ad
*Add script lock for ScriptsProcess() because some bad scripts may cause dead loop.
...
--HG--
branch : trunk
2009-08-19 17:42:56 -05:00
megamage
44830d9d99
[8393] Fixed format CMSG_FORCE_MOVE_UNROOT_ACK and CMSG_FORCE_MOVE_ROOT_ACK. Author: VladimirMangos
...
Also avoid packet tail warnings spam at rejected movement packets.
--HG--
branch : trunk
2009-08-19 17:19:50 -05:00
megamage
f5aeb3e5f7
*Check proc chance of "improved shadowform". By Den
...
--HG--
branch : trunk
2009-08-19 17:18:05 -05:00
megamage
34a95e7fa8
[8390] Fixed log output work after recent replace UTF8PRINT macro. Author: VladimirMangos
...
--HG--
branch : trunk
2009-08-19 17:14:18 -05:00
megamage
c911772125
[8389] Implement check really read received packet size and warning it not all data read. Author: VladimirMangos
...
* This let more easy catch packet structure chnages at client switch.
* Fixed structure CMSG_GUILD_BANK_SWAP_ITEMS
* Fixed structure CMSG_SPLIT_ITEM, CMSG_SELL_ITEM
* Added read data amount fixes for some other packets.
Thanks to TOM_RUS in help check correct packets structure.
Note: not all packets possible fixed. Please report for not fixed cases at errors:
"opcode %s (0x%.4X) have unprocessed tail data (read stop at %u from %u)"
--HG--
branch : trunk
2009-08-19 17:07:21 -05:00
megamage
f5085b2f39
[8388] Replaced UTF8PRINT macro by a function
...
Should also fix possible color leak on Windows CLI.
Signed-off-by: freghar <[email protected] >
--HG--
branch : trunk
2009-08-19 17:02:29 -05:00
megamage
d7e4392f79
[8387] Fixed error output at creature_template check Author: arrai
...
--HG--
branch : trunk
2009-08-19 16:59:07 -05:00
megamage
49bd3dc381
[8386] Fixed areatrigger distance check Author: arrai
...
Old check caused false positives for trigger #4853
--HG--
branch : trunk
2009-08-19 16:58:26 -05:00
megamage
a55c618af6
[8385] Use 3D coordinates for checking corpse distance at reclaiming Author: arrai
...
--HG--
branch : trunk
2009-08-19 16:57:53 -05:00
megamage
a7e297434a
[8384] Restore build mangos at Unix/Linux. Author: VladimirMangos
...
* Also fixed wrong read_skip<char*>() code.
* Also fixed some warnings in related code.
--HG--
branch : trunk
2009-08-19 16:56:57 -05:00
megamage
051b383254
[8383] Implement WorldSession::HandleCancelChanneling. Author: VladimirMangos
...
--HG--
branch : trunk
2009-08-19 16:55:35 -05:00
megamage
edc05f2c19
[8382] Implement ByteArray functions for skip read of fields not needed for server in received packets. Author: VladimirMangos
...
* Use this fucntions in some case.
* Change some packets to form: read fields first check later for better control recieved packets structure.
* Fix CMSG_STAND_STATE_CHANGE packet structure to more correct.
--HG--
branch : trunk
2009-08-19 16:54:52 -05:00
megamage
012d6fa865
[8381] Some refactoring work in Unit::m_currentSpells code. Author: VladimirMangos
...
* Restrict access, use enum args, move some repeated code parts to function.
* Make m_selfContainer set only part of Unit::SetCurrentCastedSpell
--HG--
branch : trunk
2009-08-19 16:52:51 -05:00
megamage
6181620520
[8380] Use CastSpell instead create triggered channaled spell in Spell::EffectTriggerRitualOfSummoning. Author: VladimirMangos
...
--HG--
branch : trunk
2009-08-19 16:28:25 -05:00
megamage
e954904e6d
[8378] Use exceptions instead of explicit size checking for each packet Author: arrai
...
CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd
could crash due to the asserts in ByteBuffer.h. That was exploitable by
malicious players.
Furthermore, there were duplicate checks: Additionally to
CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye
on not exceeding the packet boundaries - just to crash the server for
sure in such a case.
To prevent memory leaks or other undesirable states, please read in
every handler all variables _before_ doing any concrete handling.
--HG--
branch : trunk
2009-08-19 16:26:22 -05:00
megamage
d9ed49749d
*Fix a crash caused by ~Player
...
--HG--
branch : trunk
2009-08-19 16:10:25 -05:00
Machiavelli
c9eee8e524
*Use the pre-dual spec way of unlearning talents on top of the current one, to ensure that talents don't end up in the spell storage causing unexpected behaviour in game when trying to learn a talent.
...
Note: If your players have trouble learning specific talents, or they have an abnormal amount of talent points, force a talent reset on them after this rev and it should be resolved.
--HG--
branch : trunk
2009-08-19 22:38:08 +02:00
megamage
69c3abfc0b
*Fix the bug that alliance players cannot use some dk flight nodes.
...
--HG--
branch : trunk
2009-08-18 21:58:44 -05:00
megamage
9bd8f09978
*Summon GO dawn of light instead of changing db.
...
--HG--
branch : trunk
2009-08-18 19:10:58 -05:00
megamage
cfd24129d3
*Fix a crash by looting player's corpse when the bg is unloaded.
...
--HG--
branch : trunk
2009-08-18 17:44:17 -05:00
megamage
0ca7275043
*more area flags for Dalaran By raven_coda
...
--HG--
branch : trunk
2009-08-18 17:18:24 -05:00
maximius
a3a9bf2622
*Deleting some missed talents that need cleaning up for dual spec to work fully.
...
--HG--
branch : trunk
2009-08-18 15:00:57 -07:00
Rat
37cb12a761
*fix Kalecgos immunities
...
--HG--
branch : trunk
2009-08-18 21:24:31 +02:00
QAston
5ffa85c858
*Fix server startup error from 5184.
...
--HG--
branch : trunk
2009-08-18 20:17:06 +02:00
Nevan
d3d2eb91bb
*Fix Pet movement speed at combar reset. Thanks BlackYoghurt.
...
--HG--
branch : trunk
2009-08-18 19:37:31 +02:00
megamage
483f40cbd8
*Script of quest The Light of Dawn. By ckegg.
...
*I have reduced the number of mobs because they may make the server laggy if the server is not good.
--HG--
branch : trunk
2009-08-18 12:09:03 -05:00
QAston
ea98699187
*Fix a typo in xp bonus auras.
...
--HG--
branch : trunk
2009-08-18 18:47:20 +02:00
megamage
84bb5022f5
*Fix a crash when creature release charmed unit. Thanks to Visagalis.
...
--HG--
branch : trunk
2009-08-18 09:18:32 -05:00
Machiavelli
d549ed1f8a
Changes in Al'ar script:
...
* Don't wipe threat in transition from phase 1 to phase 2
* Correctly cast flame patches in phase 2 if no target in melee range instead of resetting
* Fix crash in dive bomb
--HG--
branch : trunk
2009-08-18 16:07:08 +02:00
megamage
a690f5239c
*Fix the bug that .start always send dk back to start zone.
...
--HG--
branch : trunk
2009-08-17 23:51:08 -05:00
megamage
98f58a0f0a
*Fix quest "endless hunger" in some machines. Thanks to McLovin.
...
--HG--
branch : trunk
2009-08-17 23:20:50 -05:00
megamage
648413ae0d
*Set summontype 647 as type_totem for spell 52893
...
--HG--
branch : trunk
2009-08-17 23:09:17 -05:00
megamage
1992df8e89
*Add file chapter5 for dk quest.
...
--HG--
branch : trunk
2009-08-17 22:59:35 -05:00
megamage
6701d3d24f
*Script for quest "An End To All Things..."
...
--HG--
branch : trunk
2009-08-17 22:34:18 -05:00
Nevan
7c2db4f2a9
*Fix Glyph of Rune Tap. (To not heal caster)
...
--HG--
branch : trunk
2009-08-18 05:17:19 +02:00
megamage
c84d37c2c2
*Fix the bug that Reset is not called for some scripts. This should fix the bug of quest "death's challenge". Thanks to Kudlaty
...
--HG--
branch : trunk
2009-08-17 20:00:28 -05:00