Commit Graph
7358 Commits
Author SHA1 Message Date
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
Brian f9a7c3af2d * Remove UNIT_FLAG_OOC_NOT_ATTACKABLE from Zumrah when he enters combat.
--HG--
branch : trunk
2010-01-14 17:00:18 -07:00
XTZGZoReX 6a21fbbc65 * Tiny cosmetic fix for last two commits.
--HG--
branch : trunk
2010-01-14 20:09:19 +01:00
Brian 5fd047cd90 * Added sanity check for > 100 waypoints since levels > 100 aren't supported
* Author Kaelima

--HG--
branch : trunk
2010-01-14 15:39:11 -07: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
Brian bf6c5b3ee6 * Add support for waypoint wisp's level to show the point of the waypoint
* Author Kaelima
* Thanks Malcrom for the idea

--HG--
branch : trunk
2010-01-14 14:05:56 -07: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
Brian 58d6a2f31d * Removed a lot of unneeded tags.
--HG--
branch : trunk
2010-01-13 15:51:05 -07: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