Commit Graph
100 Commits
Author SHA1 Message Date
Spp d4ca8f6eee Backout 8f186e3cc3 (Remove unnecesary checks)
--HG--
branch : trunk
2010-01-18 17:18:15 +01:00
_manuel_ 06e776b8d8 Gnomeregan: Now instance saves the event.
--HG--
branch : trunk
2010-01-18 13:02:24 -03:00
XTZGZoReX 2b5f1f359b * Fix typo breaking Linux build...
--HG--
branch : trunk
2010-01-17 12:10:34 +01:00
XTZGZoReX 704e0e3361 * Really revert commit fced5e40fa1e - don't ask me why, but hg is not being very co-operative.
--HG--
branch : trunk
2010-01-17 11:51:14 +01:00
XTZGZoReX 15025253c7 * Fix CRLF...
--HG--
branch : trunk
2010-01-17 11:26:22 +01:00
Trazom62 c4eb172d04 Fix Script Naxxramas/Gothik with help of scarymovie87
Fixes issue #80.

- Implement support for "merging" life and dead side after ~2 minutes, if group is not splitted
- Implement support for opening central gate at 30% boss health
- Implement Gothik teleport between side when above 30% boss health
- Fix dead-side mobs spawn in 25-Man difficulty
- Fix waves setup.
- Fix some timers (this may still need some tuning).
- Fix sporadic combat reset when Gothic teleport to ground.

--HG--
branch : trunk
2010-01-17 10:58:11 +01:00
n0n4m3 782fa95f1f Fixed crash in Wintergrasp when send incorrect GetArea flag and coordinats
--HG--
branch : trunk
2010-01-17 08:32:48 +03:00
_manuel_ 054db2fa5c Blessing of Might and Battle Shout can't be at the same time, fixed by naitsabes.s and me. Thanks to QAston and thenecromancer.
--HG--
branch : trunk
2010-01-17 01:53:28 -03:00
Anubisss 7e183d6b2f Fix a mem leak in OutdoorPvPMgr's destructor.
log:

==12080== 1,680 (168 direct, 1,512 indirect) bytes in 1 blocks are definitely lost in loss record 106 of 253
==12080==    at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230)
==12080==    by 0xA63AE9: OutdoorPvPMgr::InitOutdoorPvP() (OutdoorPvPMgr.cpp:51)
==12080==    by 0xC01BDA: World::SetInitialWorldSettings() (World.cpp:1650)
==12080==    by 0x808EF6: Master::Run() (Master.cpp:235)
==12080==    by 0x8083B5: main (Main.cpp:154)

--HG--
branch : trunk
2010-01-16 20:28:32 +01:00
n0n4m3 99f66a6bc9 Updated copyright for new year.
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
n0n4m3 147d9dd3dd Avoid send reset warning to map/difficulty cases without fixedreset time, by VladimirMangos.
--HG--
branch : trunk
2010-01-16 19:54:57 +03:00
n0n4m3 720318e856 Implement option to use delay in ForcedDespawn for creature, allow use delayed forced despawn also in EAI, by NoFantasy.
--HG--
branch : trunk
2010-01-16 19:51:59 +03:00
n0n4m3 a29727e423 Fixed problem with not setAchievementCriteriaDataSet::criteria_id, Add achievement creteria requirements forACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET*, by GriffonHeart.
--HG--
branch : trunk
2010-01-16 19:41:04 +03:00
n0n4m3 1557f9db9b Prevent crash after .goname/namego teleports at same bg/arena, by mns.
--HG--
branch : trunk
2010-01-16 19:38:19 +03:00
n0n4m3 c9a3698a11 Implement speed reduction at creatures DoFleeToGetAssistance, by NoFantasy.
--HG--
branch : trunk
2010-01-16 19:35:30 +03:00
n0n4m3 ec10853f22 Update formula for GameObject 'autoclose' time (dataN-field in_template), by NoFantasy.
--HG--
branch : trunk
2010-01-16 19:31:49 +03:00
n0n4m3 ed5152316f Rewrite parts of GameObject use for GO type 10, by NoFantasy.
--HG--
branch : trunk
2010-01-16 19:31:10 +03:00
n0n4m3 7be4b2a85c Fixed unread packet tail spam for CMSG_LEAVE_BATTLEFIELD, by VladimirMangos.
--HG--
branch : trunk
2010-01-16 19:28:36 +03:00
n0n4m3 585f4317c1 Auto-leave player at login back to bg/arena when bg/arena finished. by VladimirMangos.
--HG--
branch : trunk
2010-01-16 19:27:15 +03:00
n0n4m3 15dc23ad45 Fixed item dupe and apply enchantment while disarm state original patch by zhenya.
--HG--
branch : trunk
2010-01-16 19:21:07 +03:00
n0n4m3 9be16cf605 Some replacements .count to .find for better performance - original patch by zhenya.
--HG--
branch : trunk
2010-01-16 19:18:53 +03:00
n0n4m3 706718b28c Fixed some problems with pets, port from tc1, by krz, thx Frankir.
--HG--
branch : trunk
2010-01-16 19:11:32 +03:00
n0n4m3 e031df23fc Propertly update combat ratings fields, by VladimirMangos.
--HG--
branch : trunk
2010-01-16 19:05:27 +03:00
n0n4m3 e21e0ce95b Fixed wrong duration for Dancing Rune Weapon, removed in 3.2.x, thx QiSoft.
--HG--
branch : trunk
2010-01-16 19:02:26 +03:00
n0n4m3 b9c09071b0 Fixed Lifebloom final crit, by PrinceCreed.
--HG--
branch : trunk
2010-01-16 18:47:40 +03:00
teacher 8050bdd7b1 Added update file for previous commit.
--HG--
branch : trunk
2010-01-16 15:25:46 +01:00
teacher 4e2b98e871 Update gossip_menu_option data by Maximius.
--HG--
branch : trunk
2010-01-16 15:17:12 +01:00
QAston 69b2900137 *Fix single target auras related crash
*Apply aura stacking rules to m_ownedAuras holder.

--HG--
branch : trunk
2010-01-16 15:12:21 +01:00
teacher 72277c583b Add Argent Tournament Target Dummies by kaelima.
--HG--
branch : trunk
2010-01-16 15:09:41 +01:00
teacher 768bfcfa19 Add Trigger teleport to acherus (for quest 12757) by denyde.
Added missing data to world.sql.

--HG--
branch : trunk
2010-01-16 15:06:40 +01:00
Anubisss cff7923be1 Fix a meam leak in GameObject's destructor.
main part of my log:

==19804== 584 bytes in 73 blocks are definitely lost in loss record 107 of 298
==19804==    at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230)
==19804==    by 0x930A2B: GameObject::GameObject() (GameObject.cpp:43)

--HG--
branch : trunk
2010-01-16 14:49:09 +01:00
XTZGZoReX 7b4922172b * Fix a crash in logging part of [7048].
--HG--
branch : trunk
2010-01-16 12:26:52 +01:00
silver1ce 2c03836a7c some changes into grid relocations, cleanup
player with incorrect coordinates wouldn't be added into map,
fixed problem that sometimes grid not marked as active even with players inside

--HG--
branch : trunk
2010-01-16 11:43:47 +02:00
_manuel_ f7ed03458a Fixed typo.
--HG--
branch : trunk
2010-01-16 02:46:36 -03:00
_manuel_ d728effd10 Dustwallow Marsh: Implemented basic support for quest "Cleansing Witch Hill" (11183).
--HG--
branch : trunk
2010-01-16 02:40:18 -03:00
_manuel_ 4a1276e3d3 Dustwallow Marsh: Implemented improvements in scripts to make quest "What's Haunting Witch Hill?" more blizzlike.
--HG--
branch : trunk
2010-01-15 22:41:56 -03:00
XTZGZoReX b96698beca * unsigned char -> uint8.
--HG--
branch : trunk
2010-01-16 01:59:26 +01:00
Anubisss d7fd577cf4 Fix again memory leaks in CreatureGroupManager::LoadCreatureFormations()
my log:

==28921== 112 bytes in 7 blocks are definitely lost in loss record 8 of 67
==28921==    at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230)
==28921==    by 0x8A6043: CreatureGroupManager::LoadCreatureFormations() (CreatureGroups.cpp:111)
==28921==    by 0xC00E91: World::SetInitialWorldSettings() (World.cpp:1553)
==28921==    by 0x808D56: Master::Run() (Master.cpp:235)
==28921==    by 0x808215: main (Main.cpp:154)

--HG--
branch : trunk
2010-01-16 01:55:45 +01:00
Anubisss a23e26526b Fix 2 mem leakz.
I pasted my log if you don't mind:

==26756== 563,120 bytes in 70 blocks are possibly lost in loss record 263 of 282
==26756==    at 0x4C268AE: malloc (vg_replace_malloc.c:207)
==26756==    by 0x5823DD1: my_malloc (in /usr/lib/libmysqlclient_r.so.15.0.0)
==26756==    by 0x58272C4: alloc_root (in /usr/lib/libmysqlclient_r.so.15.0.0)
==26756==    by 0x584B94E: cli_read_rows (in /usr/lib/libmysqlclient_r.so.15.0.0)
==26756==    by 0x58499CD: mysql_store_result (in /usr/lib/libmysqlclient_r.so.15.0.0)
==26756==    by 0xCF6EB6: DatabaseMysql::_Query(char const*, st_mysql_res**, st_mysql_field**, unsigned long*, unsigned int*) (DatabaseMysql.cpp:219)
==26756==    by 0xCF72CB: DatabaseMysql::Query(char const*) (DatabaseMysql.cpp:245)
==26756==    by 0xCF4CEE: Database::PQuery(char const*, ...) (Database.cpp:136)
==26756==    by 0x8A6160: CreatureGroupManager::LoadCreatureFormations() (CreatureGroups.cpp:136)
==26756==    by 0xC00E3D: World::SetInitialWorldSettings() (World.cpp:1553)
==26756==    by 0x808D56: Master::Run() (Master.cpp:235)
==26756==    by 0x808215: main (Main.cpp:154)

--HG--
branch : trunk
2010-01-16 01:27:26 +01:00
Anubisss 8a78102a1c Fix a mem leak in ObjectMgr::LoadWaypointScripts(), http://pastebin.com/f701c1e11
--HG--
branch : trunk
2010-01-16 00:37:56 +01:00
XTZGZoReX 26e11448dd * Update structure for SMSG_ADDON_INFO and add some sort of basic handling for incorrect addon CRCs (anti-cheating).
* Fix CRLF in MovementHandler.cpp.
* Move some handlers/senders to correct place.

--HG--
branch : trunk
2010-01-15 19:50:27 +01:00
silver1ce 0451e45e06 parse CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE opcode in proper way
--HG--
branch : trunk
2010-01-15 19:23:59 +02:00
Trazom62 b8ea34958c Fixes issue #214 : infinite loop in Maiden of Grief script
--HG--
branch : trunk
2010-01-15 18:16:33 +01:00
silver1ce e3edc52a2d Stop aura update packet spam, sorry about that
--HG--
branch : trunk
2010-01-15 15:08:06 +02:00
XTZGZoReX 6a21fbbc65 * Tiny cosmetic fix for last two commits.
--HG--
branch : trunk
2010-01-14 20:09:19 +01:00
XTZGZoReX 1fcafbc938 * Set creature_template.unit_class to 1 (UNIT_CLASS_WARRIOR) if the value is wrong to prevent issues in CreatureBaseStats::Generate*() functions.
--HG--
branch : trunk
2010-01-14 19:20:11 +01:00
teacher 9e432b8c4a Fix for Relic of the Earthen Ring quest (spell Totem of the Earthen Ring must be casted).
Thank you Nayre for the fix.

--HG--
branch : trunk
2010-01-14 18:51:31 +01:00
XTZGZoReX 20df99ae74 * Merge...
--HG--
branch : trunk
2010-01-14 18:33:27 +01:00
XTZGZoReX 91ee03d9bf * creature_template.unit_class cannot be 0 - added check for this.
--HG--
branch : trunk
2010-01-14 18:08:42 +01:00
thenecromancer a428293dae Issue 62: DK talent Impurity
Note that there are probably more of things having just "dummy effect".
This way to get them is quite slow (auras are at least sorted by their type) and probably some sort of modifier could be stored for them

--HG--
branch : trunk
2010-01-14 17:47:38 +01:00
thenecromancer 97576c68c4 Issue 322: build BG status packet and send it to player added to BG.
--HG--
branch : trunk
2010-01-14 11:22:52 +01:00
_manuel_ 1608a05ddb Fixed typo in FollowerAI.
--HG--
branch : trunk
2010-01-14 03:55:18 -03:00
_manuel_ a8b4a7bc37 Gnomeregan: Implemented Blastmaster Emi Shortfuse Event.
--HG--
branch : trunk
2010-01-14 03:48:48 -03:00
Spp 0077466598 two more duplicate DELETE FROM in Player::DeleteFromDB
--HG--
branch : trunk
2010-01-14 07:29:55 +01:00
XTZGZoReX 5045c637b3 * Remove duplicate DELETE FROM transaction in Player::DeleteFromDB for character_queststatus_daily. Thanks to manuel for reporting.
--HG--
branch : trunk
2010-01-13 18:41:08 +01:00
XTZGZoReX fef59c52ce * Merge.....
--HG--
branch : trunk
2010-01-13 18:26:52 +01:00
XTZGZoReX b2f98399d9 Backed out changeset: fced5e40fa1e
--HG--
branch : trunk
2010-01-13 18:26:07 +01:00
XTZGZoReX 53f9e0fba0 * Merge.
--HG--
branch : trunk
2010-01-13 18:25:46 +01:00
XTZGZoReX f5998611c3 Backed out changeset: 52e769d95f14
--HG--
branch : trunk
2010-01-13 18:24:23 +01:00
XTZGZoReX 5a9ef604e2 * Fix CRLF.
--HG--
branch : trunk
2010-01-13 18:22:31 +01:00
teacher c27674a327 Fix CRLF.
--HG--
branch : trunk
2010-01-13 18:20:16 +01:00
thenecromancer c53ecf6dad Fix Stealth Detection formula (Stealth auras are based on player level)
--HG--
branch : trunk
2010-01-13 18:15:24 +01:00
thenecromancer c3e87c3ba2 Merge
--HG--
branch : trunk
2010-01-13 17:38:37 +01:00
n0n4m3 f7ad3aefc8 Removed all my commits for today, this is hack? really? okey
--HG--
branch : trunk
2010-01-13 19:11:46 +03:00
n0n4m3 edeb6bf284 Use replace into for character saves. This prevent crash on SaveToDB cause mtmaps.
--HG--
branch : trunk
2010-01-13 15:01:39 +03:00
n0n4m3 1d015cac28 Fixed crash in load Pet Aura, cause mtmaps.
--HG--
branch : trunk
2010-01-13 14:52:56 +03:00
n0n4m3 f2dcf0270f Fixed high damage exploit
--HG--
branch : trunk
2010-01-13 14:48:19 +03:00
n0n4m3 7a4e793c02 Restore hack for instance dungeon difficulty reset exploit.
--HG--
branch : trunk
2010-01-13 14:45:56 +03:00
n0n4m3 92d3209ab2 Fixed spell Snake Trap, port from tc1, thx Frankir.
--HG--
branch : trunk
2010-01-13 14:40:23 +03:00
n0n4m3 7d988221f7 Allow apply spell mods for spell Eviscerate.
--HG--
branch : trunk
2010-01-13 14:33:28 +03:00
n0n4m3 0bcf3b32f1 Fixed insane damage from some spells in case of negative spell.
--HG--
branch : trunk
2010-01-13 14:31:57 +03:00
n0n4m3 067de4b5cc Fixed crash in HandleSetActiveMoverOpcode.
Removed not needed check and added check isinworld.

--HG--
branch : trunk
2010-01-13 14:23:25 +03:00
thenecromancer a11efab2a2 Fix character sheet showing wrong values for weapon dependant damage mods
--HG--
branch : trunk
2010-01-13 11:56:20 +01:00
thenecromancer 96a447dc8e Change only Body/Shield armor to count as base armor, and correctly add bonus armor on items as TOTAL_VALUE
This fixes various armor modifiers

--HG--
branch : trunk
2010-01-13 11:51:59 +01:00
thenecromancer efbc71746f Fix pickpocket - reveal rogue only if spell is resisted
--HG--
branch : trunk
2010-01-13 11:47:50 +01:00
thenecromancer 4b0d412e42 Some more casting requirements
*Not allow cast on invisible/stealth target if not detected
*Not allow banish/cyclone tapped unit
*Not allow pickpocket players and units that can never be pickpocketed
*Not allow disarm unarmed units

--HG--
branch : trunk
2010-01-13 11:45:54 +01:00
thenecromancer 91e1bf323d Generate rage when hitting critters/targets with absorb
--HG--
branch : trunk
2010-01-13 11:37:49 +01:00
thenecromancer f57f33eacf Fix Gargoyle movement when flying away
--HG--
branch : trunk
2010-01-13 11:27:41 +01:00
thenecromancer 531cd027aa Fix blink always teleporting to ground
--HG--
branch : trunk
2010-01-13 11:23:14 +01:00
thenecromancer e00fd0791b Send SMSG_TIME_SYNC_REQ periodicly (period guessed though)
--HG--
branch : trunk
2010-01-13 11:19:16 +01:00
thenecromancer ea4e25f3aa Implement vehicles created by player mounts.
Original idea by Elmaster, packet research by Wrong, ty.

--HG--
branch : trunk
2010-01-13 11:16:38 +01:00
thenecromancer db24e2927c Implement Sacred Shield bonus for Flash of Light, fix absorb being proced on taking heals
--HG--
branch : trunk
2010-01-13 10:47:51 +01:00
thenecromancer 83ddbf0f53 Fix updating spellpower from attack power for paladins
--HG--
branch : trunk
2010-01-13 10:46:01 +01:00
thenecromancer 8c5ece6420 Implement effect for aura #243 (temporary faction change)
--HG--
branch : trunk
2010-01-13 10:45:34 +01:00
thenecromancer b98fc794e4 Fix heal combat log event not displaying if heal was critical
--HG--
branch : trunk
2010-01-13 10:28:44 +01:00
thenecromancer c36a8d2d5f Change SPELL_EFFECT_SUMMON_PHANTAS to SPELL_EFFECT_FORCE_DESELECT and allow it to be casted with active pet
This fixes Mirror Image not changing names when Water Elemental is active. (Note that deselect effect is done in linked spells for Killing Spree/Shadowmeld)

--HG--
branch : trunk
2010-01-13 10:27:44 +01:00
thenecromancer a4cb03d9cd Remove unexpected arg, sorry for that
--HG--
branch : trunk
2010-01-13 10:20:28 +01:00
thenecromancer 8dd67e8bb3 Allow state/effect immunities ignore whole spell when one effect is immuned
(Fixes getting part of CC auras with some immunities)

--HG--
branch : trunk
2010-01-13 10:20:00 +01:00
thenecromancer 6b07806d0c Add support for additional passive for FORM_MOONKIN
--HG--
branch : trunk
2010-01-13 10:08:49 +01:00
thenecromancer 3af5237f8c Do not remove MOVEMENTFLAG_ONTRANSPORT when unit has existing GAMEOBJECT_TYPE_TRANSPORT in movement info
Note that this will fix movement on elevators only visualy ( server position is still going to be wrong )

--HG--
branch : trunk
2010-01-13 10:04:48 +01:00
thenecromancer ac4bab5451 Allow pet cast spells unaffected by global cooldown, while global cooldown is active
--HG--
branch : trunk
2010-01-13 10:03:09 +01:00
thenecromancer d8d346ef1f Apply haste to nonmagic class spells too. (For instance Arcane Missiles have dmgclass_none )
--HG--
branch : trunk
2010-01-13 09:58:44 +01:00
thenecromancer 2b94d181cd Check if precast spell exists before trying to cast it. (Otherwise charge-like spells spam console a lot)
--HG--
branch : trunk
2010-01-13 09:56:51 +01:00
thenecromancer ecd9470dc8 Fix Kill Shot damage (increase damage by attack power, not weapon damage ( that is already included in effects))
--HG--
branch : trunk
2010-01-13 09:54:03 +01:00
thenecromancer a3e66287bf Remove hack for Freezing Fog aura.
Instead apply modifier directly to rune cost ( this will also fix runic power generation in that case )

--HG--
branch : trunk
2010-01-13 09:49:37 +01:00
thenecromancer 44e2bfce77 Fix problems with action buttons related to switching specs
*saving spells without saving current talent map and m_activeSpec is not good idea at all,
this might allow players various exploits
*send expected packet to correctly handle action bar

--HG--
branch : trunk
2010-01-13 09:45:05 +01:00
teacher 482604b103 Fixed typo in previous commit. I misunderstood the fix.
Thank you Aokromes for being there!

--HG--
branch : trunk
2010-01-13 21:43:36 +01:00
teacher 42d904a8bf Added long forgotten sql update for Rev6693 (Add support for RewSpellCast=-1. If -1 remove all auras applied to player at quest start).
Thank you Warhead.

--HG--
branch : trunk
2010-01-13 21:28:35 +01:00
Trazom62 445a603bef Fix ACTION_T_RANDOM_PHASE_RANGE. Thanks Nayre and raczman
--HG--
branch : trunk
2010-01-12 21:16:12 +01:00
Trazom62 6cf82048a5 Fix normal10/normal25 raid detection in scripts.
Replace HEROIC(n,h) macro by DUNGEON_MODE(n,h), RAID_MODE(n10,n25) and RAID_MODE(n10,n25,h10,h25) functions
Cleanup all HeroicMode like flags in ScriptedAI sub-class
Fix some missing virtual destructors

--HG--
branch : trunk
2010-01-12 20:51:59 +01:00