aboutsummaryrefslogtreecommitdiff
path: root/src/game
AgeCommit message (Collapse)Author
2010-05-20Fix talent Survival of the Fittest.Anubisss
Thanks to Aokromes for helping in the tests. Fixes issue #2034. --HG-- branch : trunk
2010-05-20Script HoR instance. 1st part.Trazom62
Fixes issue #1311. - Intro event. - 10 waves including Falric and Marwyn. - Script based on proposal of Synric on trinitycore forum (submitted by Skarabex on GC). --HG-- branch : trunk
2010-05-20Fix talent Heart of the Wild.Anubisss
SQL part of the patch by havenard. --HG-- branch : trunk
2010-05-20Fix talent Feral Spirit's wolves damage.Anubisss
Patch by Karolis.Rudzevicius. Closes issue #2145. --HG-- branch : trunk
2010-05-18Allow spell Rupture to crits on ticks.Anubisss
Fixes issue #1796. --HG-- branch : trunk
2010-05-18SCRIPT_COMMAND_ORIENTATION fixed right. (thanks Mach)malcromdev@gmail.com>
--HG-- branch : trunk
2010-05-18Fix SCRIPT_COMMAND_ORIENTATION db script command.malcromdev@gmail.com>
--HG-- branch : trunk
2010-05-18Some more engrish to english logerror updates.malcrom
--HG-- branch : trunk
2010-05-18Converted some log error messages in AchievementMgr.cpp to English.malcrom
--HG-- branch : trunk
2010-05-18fixed crash when trying to spawn a not existing creatureRat
--HG-- branch : trunk
2010-05-18Fix broken linuxcompile broken in r53601d50ddclick
--HG-- branch : trunk
2010-05-17Add ablility to select closest creature of entry (dataint), range (x) as ↵malcromdev@gmail.com>
target for spell (datalong) SCRIPT_COMMAND_CAST_SPELL. --HG-- branch : trunk
2010-05-17Add Ability for db script command SCRIPT_COMMAND_ORIENTATION to set creature ↵malcromdev@gmail.com>
orientation to face player. --HG-- branch : trunk
2010-05-18Add proper use of precompiled headers on linux - this removes an approx 50% ↵click
reduction of total compiletime --HG-- branch : trunk
2010-05-17fixed double honor count error in battleground player list windowRat
--HG-- branch : trunk
2010-05-17display honor gained from kills in bg score windowRat
--HG-- branch : trunk
2010-05-16Fix a typo. This table contains also another types of spells and not just ↵Anubisss
exlirs. --HG-- branch : trunk
2010-05-16Fix spell Improved Devouring Plague's damage.Anubisss
Core part of the patch by PrinceCreed. SQL part of the patch by sinka.isi. Fixes issue #1965. Closes issue #1004. --HG-- branch : trunk
2010-05-16you can now reload creatures from creature_template tableRat@walamy
NOTE: reload is limited to one creature at a time Usage: .reload creature_template $entry Warning: this is mainly for developers, reloading a creature can cause unexpected behaviors!! --HG-- branch : trunk
2010-05-16Don´t kick sessions in the tiny window (barely a few ms) between the login ↵Machiavelli
queue and the char selection screen either. --HG-- branch : trunk
2010-05-16Support for spell 51336 (Magic Pull)._manuel_
--HG-- branch : trunk
2010-05-16Don´t kick sessions that are ´idle´ in the login queue.Machiavelli
--HG-- branch : trunk
2010-05-16Fix crash introduced in 8199 (5a30b77777b7)Machiavelli
--HG-- branch : trunk
2010-05-16Correct SMSG_INSTANCE_DIFFICULTY structure (fixes raid difficulty display).click
Move GetDifficulty() in under Map-scope, so it's reachable for map-based functions --HG-- branch : trunk
2010-05-16Fix Autokick timer. Will work again properly for people on the char ↵Machiavelli
selection screen. In addition, it now also catches non-terminated, lingering sessions. --HG-- branch : trunk
2010-05-16Fix localization of gossip menu optionsSpp
Original patch by Qowyn Adapted to trinity (and tested) by Durotar and Aokromes --HG-- branch : trunk
2010-05-15SMSG_PARTY_COMMAND_RESULT: Send proper operation value with uninvite commandsSpp
--HG-- branch : trunk
2010-05-15Add logout-notice in charlog on player logoutclick
--HG-- branch : trunk
2010-05-14Allow multiple classes for quest requirements - patch by Shaurenclick
(This should make Malcrom happy) Fixes issue 1476. Fixes issues 1972. Fixes issue 430. --HG-- branch : trunk
2010-05-14Drop out Grobbulus's Mutating Injection spell code from core.Anubisss
It's handled correctly via table spell_linked_spell. Also, this commit fixes the bug that spell Mutating Injection casted on the target two times by each casts. --HG-- branch : trunk
2010-05-14Fix Glyph of Preparation.Anubisss
Patch based on microbius51's patch. Closes issue #1371. --HG-- branch : trunk
2010-05-14Generate an error message when forgot to allocate memory for a script.Anubisss
This message is useful to find don't allocated scripts, like in rev r5915a3a871. --HG-- branch : trunk
2010-05-14Fix Glyph of Life Tap.Anubisss
SpellMgr.cpp part of the code by Karolis.Rudzevicius, thanks for it. Fixes issue #1440. --HG-- branch : trunk
2010-05-14Fix Linux compileMachiavelli
--HG-- branch : trunk
2010-05-14Fix Glyph of Shred.Anubisss
--HG-- branch : trunk
2010-05-14Add config option SessionAddDelay to replace the hard coded 10ms default ↵Machiavelli
Networkthread sleep time after WorldSocket::HandleAuthSession calls and adding the session to the world session map. --HG-- branch : trunk
2010-05-13Make ObjectMgr::GetGuildByName and ObjectMgr::GetArenaTeamByName searches ↵Machiavelli
case insensitive. Fixes issue #307. Credits to Loread --HG-- branch : trunk
2010-05-13Prune some deadwood.Xanadu
--HG-- branch : trunk
2010-05-13Make questgivers automatically inform of quests in their gossipmenu when ↵click
available - removes need of extra gossip option to show quests Fix by Liberate (made for Malcrom so he stops complaining) --HG-- branch : trunk
2010-05-13Prevent SQL injection in Player::_SaveEquipmentSets()Machiavelli
--HG-- branch : trunk
2010-05-13Implement enchantments for ITEM_MOD_SPELL_PENETRATION and ITEM_MOD_BLOCK_VALUE.Machiavelli
Inspired by patch provided by Metthal Closes issue #1766 --HG-- branch : trunk
2010-05-13Fixed spell casting upon vehicle summoning.Xanadu
--HG-- branch : trunk
2010-05-13Generate an error message when core tries to assign a script's ScriptName ↵Anubisss
which is already assigned. This means if that happened the core override the older script. As a result, the earlier one doesn't work and can't deallocate so generates memory leak. This commit also fixes memory leaks caused by that. Valgrind log: ==4753== 354 (312 direct, 42 indirect) bytes in 1 blocks are definitely lost in loss record 1,194 of 1,218 ==4753== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==4753== by 0x1039D85: AddSC_go_scripts() (go_scripts.cpp:1015) ==4753== by 0xDC196F: AddScripts() (ScriptLoader.cpp:534) ==4753== by 0xC19943: ScriptMgr::ScriptsInit() (ScriptMgr.cpp:70) ==4753== by 0xD1CCAE: World::SetInitialWorldSettings() (World.cpp:1608) ==4753== by 0x9100A6: Master::Run() (Master.cpp:234) ==4753== by 0x90F5D6: main (Main.cpp:146) --HG-- branch : trunk
2010-05-13Forget to call clear() for a vector from my previous commit.Anubisss
--HG-- branch : trunk
2010-05-13Call WaypointMgr's Free() in its destructor.Anubisss
Deallocate memory in Free() which allocated by WaypointMgr. This fixes memory leaks caused by waypoints. Valgrind log: ==31592== 2,203,488 (59,400 direct, 2,144,088 indirect) bytes in 2,475 blocks are definitely lost in loss record 1,230 of 1,232 ==31592== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==31592== by 0xD0EC23: WaypointStore::Load() (WaypointManager.cpp:70) ==31592== by 0xD1B55D: World::SetInitialWorldSettings() (World.cpp:1565) ==31592== by 0x90F34E: Master::Run() (Master.cpp:234) ==31592== by 0x90E87E: main (Main.cpp:146) ==31592== ==31592== ==31592== 160 bytes in 5 blocks are possibly lost in loss record 10 of 1,232 ==31592== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==31592== by 0xD0EC0D: WaypointStore::Load() (WaypointManager.cpp:67) ==31592== by 0xD1B55D: World::SetInitialWorldSettings() (World.cpp:1565) ==31592== by 0x90F34E: Master::Run() (Master.cpp:234) ==31592== by 0x90E87E: main (Main.cpp:146) ==31592== ==31592== ==31592== 384 bytes in 2 blocks are possibly lost in loss record 285 of 1,232 ==31592== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==31592== by 0xD0F2D4: __gnu_cxx::new_allocator<WaypointData*>::allocate(unsigned long, void const*) (new_allocator.h:92) ==31592== by 0xD0F303: std::_Vector_base<WaypointData*, std::allocator<WaypointData*> >::_M_allocate(unsigned long) (stl_vector.h:144) ==31592== by 0xD0F87B: std::vector<WaypointData*, std::allocator<WaypointData*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<WaypointData**, std::vector<WaypointData*, std::allocator<WaypointData*> > >, WaypointData* const&) (vector.tcc:308) ==31592== by 0xD0F9F7: std::vector<WaypointData*, std::allocator<WaypointData*> >::push_back(WaypointData* const&) (stl_vector.h:694) ==31592== by 0xD0ED0B: WaypointStore::Load() (WaypointManager.cpp:89) ==31592== by 0xD1B55D: World::SetInitialWorldSettings() (World.cpp:1565) ==31592== by 0x90F34E: Master::Run() (Master.cpp:234) ==31592== by 0x90E87E: main (Main.cpp:146) --HG-- branch : trunk
2010-05-13Global cooldown for players should never exceed 1,5 seconds. Fixes issue #1998Machiavelli
--HG-- branch : trunk
2010-05-13Some warning fixSpp
Tab to spaces Remove trailing spaces --HG-- branch : trunk
2010-05-13Make WaypointMgr to singleton.Anubisss
Move global waypoint_map variable to WaypointMgr's private variable. --HG-- branch : trunk
2010-05-12Delete ALL scripts which not assigned instead of delete scripts which not ↵Anubisss
assigned AND its ScriptName not contains the word "example", in Script::RegisterSelf(). So fixes memleaks in scripts which scriptname contains the "example" word AND not assigned(ScriptName column in DB) to an object. This ones fixed: example_creature, example_escort, example_areatrigger, example_item, example_go_teleporter, example_gossip_codebox. Some valgrind log: :) ==31592== 353 (312 direct, 41 indirect) bytes in 1 blocks are definitely lost in loss record 280 of 1,232 ==31592== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==31592== by 0xEFAC8A: AddSC_example_creature() (example_creature.cpp:286) ==31592== by 0xDC047A: AddScripts() (ScriptLoader.cpp:523) ==31592== by 0xC183F3: ScriptMgr::ScriptsInit() (ScriptMgr.cpp:70) ==31592== by 0xD1B75F: World::SetInitialWorldSettings() (World.cpp:1608) ==31592== by 0x90F34E: Master::Run() (Master.cpp:234) ==31592== by 0x90E87E: main (Main.cpp:146) ==31592== ==31592== ==31592== 351 (312 direct, 39 indirect) bytes in 1 blocks are definitely lost in loss record 281 of 1,232 ==31592== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==31592== by 0xEFB426: AddSC_example_escort() (example_escort.cpp:223) ==31592== by 0xDC047F: AddScripts() (ScriptLoader.cpp:524) ==31592== by 0xC183F3: ScriptMgr::ScriptsInit() (ScriptMgr.cpp:70) ==31592== by 0xD1B75F: World::SetInitialWorldSettings() (World.cpp:1608) ==31592== by 0x90F34E: Master::Run() (Master.cpp:234) ==31592== by 0x90E87E: main (Main.cpp:146) ==31592== ==31592== ==31592== 359 (312 direct, 47 indirect) bytes in 1 blocks are definitely lost in loss record 282 of 1,232 ==31592== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==31592== by 0xEFBCB6: AddSC_example_gossip_codebox() (example_gossip_codebox.cpp:93) ==31592== by 0xDC0484: AddScripts() (ScriptLoader.cpp:525) ==31592== by 0xC183F3: ScriptMgr::ScriptsInit() (ScriptMgr.cpp:70) ==31592== by 0xD1B75F: World::SetInitialWorldSettings() (World.cpp:1608) ==31592== by 0x90F34E: Master::Run() (Master.cpp:234) ==31592== by 0x90E87E: main (Main.cpp:146) ==31592== ==31592== ==31592== 358 (312 direct, 46 indirect) bytes in 1 blocks are definitely lost in loss record 283 of 1,232 ==31592== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==31592== by 0xEFC04B: AddSC_example_misc() (example_misc.cpp:65) ==31592== by 0xDC0489: AddScripts() (ScriptLoader.cpp:526) ==31592== by 0xC183F3: ScriptMgr::ScriptsInit() (ScriptMgr.cpp:70) ==31592== by 0xD1B75F: World::SetInitialWorldSettings() (World.cpp:1608) ==31592== by 0x90F34E: Master::Run() (Master.cpp:234) ==31592== by 0x90E87E: main (Main.cpp:146) ==31592== ==31592== ==31592== 356 (312 direct, 44 indirect) bytes in 1 blocks are definitely lost in loss record 501 of 1,232 ==31592== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==31592== by 0xEFBF96: AddSC_example_misc() (example_misc.cpp:55) ==31592== by 0xDC0489: AddScripts() (ScriptLoader.cpp:526) ==31592== by 0xC183F3: ScriptMgr::ScriptsInit() (ScriptMgr.cpp:70) ==31592== by 0xD1B75F: World::SetInitialWorldSettings() (World.cpp:1608) ==31592== by 0x90F34E: Master::Run() (Master.cpp:234) ==31592== by 0x90E87E: main (Main.cpp:146) ==31592== ==31592== ==31592== 349 (312 direct, 37 indirect) bytes in 1 blocks are definitely lost in loss record 1,209 of 1,232 ==31592== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==31592== by 0xEFBFDB: AddSC_example_misc() (example_misc.cpp:60) ==31592== by 0xDC0489: AddScripts() (ScriptLoader.cpp:526) ==31592== by 0xC183F3: ScriptMgr::ScriptsInit() (ScriptMgr.cpp:70) ==31592== by 0xD1B75F: World::SetInitialWorldSettings() (World.cpp:1608) ==31592== by 0x90F34E: Master::Run() (Master.cpp:234) ==31592== by 0x90E87E: main (Main.cpp:146) --HG-- branch : trunk
2010-05-12Remove Non-Blizzlike hack for spell 25899 - Greater Blessing of Sanctuary. ↵Machiavelli
It now gives 10% strength increase as intended. --HG-- branch : trunk