aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2010-05-12Delete an unused variable.Anubisss
--HG-- branch : trunk
2010-05-12MergeMachiavelli
--HG-- branch : trunk
2010-05-12Fix the bug that client can see incompatible realms in the RealmList.Anubisss
--HG-- branch : trunk
2010-05-12Replace some WorldSocket code with Derex´s code for MaNGOS to support ↵Machiavelli
packets > 64kb. This get rid of the ¨queue¨ that only supported 1 packet and implement it properly. Meaning no ¨internal¨ packet loss obstructing the client/server I/O. Apply Trinity code style where applicable. --HG-- branch : trunk
2010-05-12added Honorable Defender buff for Alterac Valley nodes + bosses + captainsRat
--HG-- branch : trunk
2010-05-12added Honorable Defender buff for Eye of the storm nodesRat
ignore one unknown area trigger near fel reaver graveyard --HG-- branch : trunk
2010-05-12make BG kill XP configable, default offRat
--HG-- branch : trunk
2010-05-12typo :(Rat
should olso fix linux compile --HG-- branch : trunk
2010-05-12added Honorable Defender buff for Arathi Basin nodesRat
-players protecting their bases will gain +50% honor near the base --HG-- branch : trunk
2010-05-11give xp only in BattleGrounds and not in arenasRat
--HG-- branch : trunk
2010-05-11started implementing battleground experience systemRat
-players gain xp by killing enemy players (event bonuses not added for now) -player can switch xp gain on/off by talking to npc Slahtz or Behsten for a fee of 10golds NOTE: turning off xp gain will turn off ALL xp gains from quests,monsters,pvp,etc --HG-- branch : trunk
2010-05-11Spell custom attribute data for Northrend faction commendation badges ↵Machiavelli
(spells 61306,61308,61311,61312,69757). They now give proper reputation --HG-- branch : trunk
2010-05-10Force animprogress for GameObjects Type FishNodeSpp
Original patch by beberlescaraber --HG-- branch : trunk
2010-05-10Typo.Machiavelli
(Need more caffeine) --HG-- branch : trunk
2010-05-10Fix typo that occured in the mess of exporting/stripping, my humble apologies.Machiavelli
--HG-- branch : trunk
2010-05-10MergeMachiavelli
Thanks to Aokromes for helping me test my previous commit --HG-- branch : trunk
2010-05-10Cleanup and optimization in realmd netcode.Machiavelli
- Get rid of some potential memory leaks and lingering connections issues. - Code style cleanup where applicable. Please give proper feedback and let me know how she fares. --HG-- branch : trunk
2010-05-10Remove double-included headers from script + remove whitespace. Closes issue ↵click
2091. --HG-- branch : trunk
2010-05-07* Add SCRIPT_COMMAND_CLOSE_GOSSIP that can be used in gossip_scripts to forceBrian
* the gossip window to close when a given menu option is chosen. * This is with all my love -- for Malcrom :P --HG-- branch : trunk
2010-05-10Stop drinking heavily and instead do things properly - fixes a typo from ↵click
previous commit... --HG-- branch : trunk
2010-05-10Fix the little messup from the previous commit (sorry!)click
--HG-- branch : trunk
2010-05-10Add support for NPC-based start of playing moviesequence + clean up ↵click
indenting on earlier commit --HG-- branch : trunk
2010-05-10Another little fix on hunter Disengage - stop it from being usable when rootedclick
--HG-- branch : trunk
2010-05-10Correctly complete quests with QUEST_FLAGS_AUTO_ACCEPT which should be ↵click
completed the moment you accept it. This fixes the quests which weren't completable in starting areas. Fixes issue #2042. Patch by liberate. --HG-- branch : trunk
2010-05-09Fix a crash in GameObject::TakenDamageSpp
Fixes issue 2082 --HG-- branch : trunk
2010-05-09Fix hunters Disengage - disallow use when not in combat + use correct text ↵click
when attempting to use it out of combat Patch by mrDiver - fixes issue #568. --HG-- branch : trunk
2010-05-09Show GameObject HealthBarSpp
Original patch by beberlescaraber Closes issue 2056 --HG-- branch : trunk
2010-05-06* Fix the damn everloving neutral assist once againBrian
* Patch coutesy of PivoNRoll --HG-- branch : trunk
2010-05-08Cleanup on some database-related files: merge some DB-related files, add ↵click
some consistency to callhandles in sourcetree (M + combine MySQL-specific files into main database-files (click) + fix vcproj-files, adjust handler-function names for consistency (Machiavelli) --HG-- branch : trunk
2010-05-08Add GUID to groupsSpp
--HG-- branch : trunk
2010-05-06Fix Beacon Of Light: not applying when not in LoS. Patch by beberlescaraber ↵Trazom62
(adapted to latest rev). Fixes issue #921. --HG-- branch : trunk
2010-05-06Fix Script AzjolNerub/Anubarak. Patch by Snakeice.Trazom62
Fixes issue #2022. - Closes the ring, dives, summon mobs, visual before spikes and finally spikes. --HG-- branch : trunk
2010-05-06Fix Script Ahnkahet/Volazj.Trazom62
- fix typo for insanity spell 3. - reset phase mask of players when combat ends. - remove heroic spell definition now in spelldifficulty_dbc. --HG-- branch : trunk
2010-05-06Correctly allocate memory for script npc_crusade_recruit. Bug found by hunteee.Anubisss
--HG-- branch : trunk
2010-05-06small tweak for escortAI's debuglogRat
--HG-- branch : trunk
2010-05-06Cleanup : Remove postgreSQL-support (not used and has also been broken for a ↵click
long time) --HG-- branch : trunk
2010-05-06Remove a double transaction-start (creating a nested transaction = bad)click
--HG-- branch : trunk
2010-05-05Make sure that socket reference is removed on closing WorldSession server ↵Machiavelli
sided before ReactorRunnable does in the reactor event loop. --HG-- branch : trunk
2010-05-05Any opcode sent after CMSG_CHAR_ENUM should reset the timeout timer, not ↵Machiavelli
just CMSG_PLAYER_LOGIN. --HG-- branch : trunk
2010-05-05Use ACE_GUARD_RETURN macro in LockedQueue::next to guarrantee the lock is ↵Machiavelli
acquired before changing the queue´s properties --HG-- branch : trunk
2010-05-05Add support for quest 4921 (The scent of Lar'Korwi)Spp
Patch by D_Skywalk Fixes issue 1671 --HG-- branch : trunk
2010-05-05Remove a nested transaction messing up character savestates - thanks to Zor ↵click
for spotting the culprit Fixes issue #2018. Fixes issue #2004. --HG-- branch : trunk
2010-05-05Fix crash when deleting vendoritems with multiple extendedcosts - thanks to ↵click
Vladimir Fixes issue #1989 --HG-- branch : trunk
2010-05-05Fix crash in CreatureGroup::MemberAttackStart.Trazom62
Fixes issue #1982. --HG-- branch : trunk
2010-05-05Forgot Map.h from previous commit. sorry.Trazom62
--HG-- branch : trunk
2010-05-05Sorted out minor (but boring) issues with the pdump-command ↵click
(load/save/store-on-delete) Fixes issue #1659 + changed the dumpheader from engrish1.0 to engwegian1.2 --HG-- branch : trunk
2010-05-05Fix raid groups load from DB and save to DB.Trazom62
Fixes issue #299. - In table GROUPS, since rev 7841, isRaid is used to store the groupType. The DB was not updated. this is now fixed. - Fix isRaid set to 1 when group converted to raid (shall be the groupType). - Fix isRaidGroup check as groupType is now a set of flags. - Fix dungeon/raid check when difficulty change. --HG-- branch : trunk
2010-05-05SOTA: Fix team being declared winner when it should be tieSpp
Original patch by Gyullo closes issue 1111 --HG-- branch : trunk