aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2010-12-12Fixed line endings in 10623_world_spell_bonus_dataShauren
Scripts/Naxxramas: Fixed a possible crash in instance script --HG-- branch : trunk
2010-12-11Cleanup: implemented helper methods for manipulating percentage calculation ↵azazel
and used it where appropriate (plus fixed some other warnings). NOTE: Initially I just wanted to fix some warnings, but noticed that there is no common method for percentage calculation and various formulas are used many time in the code making it difficult to read and understand what the code actually does. So, I introduced several template methods for calculating percent values and adding those values to the original base. I replaced all the raw calculations throughout the code where found, but I could have missed something or could have made a mistake. So, please report any strange behaviour after this commit. If you ask me why I did it: for the sake of consistency and exact understanding what code means. If you see CalculatePct method, you clearly understand, that it find the value of x percent of y. And you can easily express, for example, spell behviour "reduces smth by x%" by the means of a method instead of recalling school maths. --HG-- branch : trunk
2010-12-10Scripts/Quest: implement dummy effects for spells 43882, 50133 and aura ↵azazel
43874 for quests 11396/11399 Bring Down Those Shields (based on code by NoFantasy) --HG-- branch : trunk
2010-12-08Core/Scripts: Fixed possible crashes in instance scripts (Icecrown Citadel ↵Shauren
and Naxxramas) Scripts/Sunwell Plateau: Fixed crash in Kil'jaeden Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel Closes issue #5051. Closes issue #5050. Closes issue #5035. --HG-- branch : trunk
2010-12-06Core/Quests: Fixed Unholy Infusion (24749), Blood Infusion (24756) and added ↵Shauren
partial support for Frost Infusion (24757) --HG-- branch : trunk
2010-12-06Core: Some optimizationsSpp
- Declare some functions const - Fix some mem leak - Fix some resource leak - Remove unused variables and functions - Remove duplicate functions - Reduce the scope of some variables - Remove unused file --HG-- branch : trunk
2010-12-05Scripts/AuraScript: Make AuraApplication in OnEffectPeriodic never be NULL.QAston
Scripts: remove some unnecessary NULL checks from scripts. --HG-- branch : trunk
2010-12-05Core/Scripts: Split OnCreatureCreate() and OnGameObjectCreate() into two ↵leak
virtual functions each. Note to scripters: be aware that you will need to hook into the Remove functions if you want to do stuff at GO/creature removal. Closes issue 5011. --HG-- branch : trunk
2010-12-05Core/Dungeon Finder: Code cleanup and minor optimizationsSpp
- Extend LfgState to keep control of the state of group and players using LFG - Move scripts to its own class and initialize only if Dungeon finder is enabled - Updated comments to doxygen format - Use constructor initialization list - All variables are declared in the inner most scope - Fix some mem leaks - Remove no longer needed code (Cleaner) - Normalize handler function names --HG-- branch : trunk
2010-12-04Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel scriptShauren
Closes issue #5017. --HG-- branch : trunk
2010-12-04Scripts/Pit of Saron: Fix a crash at Scourgelord Tyrannus.Liberate
Closes issue #4601 --HG-- branch : trunk
2010-12-03Core/Scripts: Implemented core script for quest "Stunning Defeat at the ↵_manuel_
Ring" (11300), original code from ScriptDev2 thanks to kiper for porting, also for a full functionality for this quest you need the DB scripts made by him. --HG-- branch : trunk
2010-12-03Scripts/Icecrown Citadel: Added script for Blood Queen Lana'ThelShauren
Scripts/Icecrown Citadel: Fixed Invocation of Blood announcement emote for Blood Prince Council Scripts/Icecrown Citadel: Fixed intro for Lady Deathwhisper Scripts/Icecrown Citadel: Fixed Bone Spike for Lord Marrowgar --HG-- branch : trunk
2010-12-03Fixed compile, missed these changesShauren
--HG-- branch : trunk
2010-12-03Scripts/Trial of the Crusader: Fixed crashes in Gormok the ImpalerShauren
Closes issue #4515. --HG-- branch : trunk
2010-12-03Core/Spells: Fixed bad Z coordinate for Spell::EffectBind with location ↵Shauren
stored in database Core/Scripts: Corrected few mistakes in misc scripts --HG-- branch : trunk
2010-12-01Core/Scripts: Implemented script for quest The hunt is on (11794)._manuel_
--HG-- branch : trunk
2010-11-29Core/Groups: Move all function definition from .h to .cppSpp
Core/Groups: Remove Group.h dependency from any .h file --HG-- branch : trunk
2010-11-26Scripts/Icecrown Citadel: Fixed possible exploits in Deathbringer Saurfang's ↵Shauren
script --HG-- branch : trunk
2010-11-23Core/Dungeon Finder: Move vote kick initialization from Group code to ScriptsSpp
--HG-- branch : trunk
2010-11-23Core/Groups: Add kicker and kick reason to RemoveMemberSpp
--HG-- branch : trunk
2010-11-22Revert r5dcfc475b8 (we're still investigating why it does what it does though)click
--HG-- branch : trunk
2010-11-22Core: Fix some warningsSpp
--HG-- branch : trunk
2010-11-21Core/Scripts: Add support for questID 25444 (Da Perfect Spies)click
--HG-- branch : trunk
2010-11-21Core/Commands: Fix issues with crashes related to .gobject near command ↵click
usage (thanks to Josh for finding the bug and culprit) --HG-- branch : trunk
2010-11-20Scripts/Icecrown Citadel: More code style cleanupShauren
--HG-- branch : trunk
2010-11-20Scripts/Icecrown Citadel: Added basic threat support for Blood Prince ↵Shauren
council in no-damage mode --HG-- branch : trunk
2010-11-20Scripts/Forge of Souls: Cleaned up code styleShauren
Scripts/Forge of Souls: Fixed a possible crash Closes issue #4660. --HG-- branch : trunk
2010-11-20Scripts/Forge of Souls: Fixed typo in instance script, thx Ramus for spotting itShauren
--HG-- branch : trunk
2010-11-19Core/Scripts: Tidy up commandscripts to adhere to scripting-standards and ↵click
fix some minor typos (fix by Paradox) Closes issue #4859. --HG-- branch : trunk
2010-11-18Scripts/Icecrown Citadel: Changed spell timers for Lord Marrowgar, taken ↵Shauren
from sniffs Scripts/Icecrown Citadel: Converted texts to new TextMgr Scripts/Icecrown Citadel: General cleanup & coding style consistency Scripts/Icecrown Citadel: Added missing spell script names --HG-- branch : trunk
2010-11-18Core/Scripts: return const modifier to Player methods back (should restore ↵azazel
compilation for those with custom scripts). NOTE: The main idea of original change is to allow scripts change content of message so that calling method sends modified message to client. For example, moderating script which cuts illegal words from message. --HG-- branch : trunk
2010-11-17Core/Scripts: pass message parameter by reference in OnChat methods to make ↵azazel
it possible to be modified inside the script. --HG-- branch : trunk
2010-11-17Core/Script: Add spellscript for Earthbind totem spell (patch by Socolin)click
--HG-- branch : trunk
2010-11-16Core/Scripts: Convert more commands over to CommandScripts (moves gobject, ↵click
honor, quest, reload, titles and wp commands to scripts) - Patch by Paradox (Also fixes a minor visual error on GM-listings (gm ingame/gm list) when the respective user had an R in his/her name). Closes issue 4792. --HG-- branch : trunk
2010-11-16Core/AI: implemented Talk() for the 'new' textMgrRat
--HG-- branch : trunk
2010-11-16Core: Fix warningsSpp
--HG-- branch : trunk
2010-11-16Scripts: Fix quests "...Or Maybe We Don't" and "Smoke 'Em Out"Spp
Author: Lopin Closes issue 4741 --HG-- branch : trunk
2010-11-16Core/Units: Rename and change Get/SetVisibility to use a bool value instead ↵linencloth
of an unnecessary enum Also replace some SetVisibility hacks to directly call UpdateObjectVisibility --HG-- branch : trunk
2010-11-15Core/Commands: Fix npc add commands and add check for npc add item to ensure ↵Shocker
a creature is selected. Patch by Paradox (thanks to rothmans92 for reporting the problem) --HG-- branch : trunk
2010-11-14Misc: Some engrish fixes, thanks to ZxBiohazardZx, closes issue 4740Shocker
--HG-- branch : trunk
2010-11-14Scripts/dustwallow marsh:Supabad
- Traitors Among Us - Discrediting the Deserters by lopin --HG-- branch : trunk
2010-11-14Scripts/Icecrown Citadel: Fixed Festergut's Pungent Blight getting interruptedShauren
Scripts/Icecrown Citadel: Changed handling of Deathbringer Saurfang's Blood Power aura (its now always active, starts with 0 value) Scripts/Icecrown Citadel: Fixed Deathbringer Saurfang's achievement (I've Made a Mess) Scripts/Icecrown Citadel: Fixed Mark of the Fallen Champion aura removal (Deathbringer Saurfang) --HG-- branch : trunk
2010-11-14Core/Scripts: Fix some includes in debugcommands-script (now works properly ↵click
on non-PCH compiles) --HG-- branch : trunk
2010-11-13Scripts/Commands: Add tele and event commands to commandscripts system and ↵click
streamlining the command selection process to ensure the correct command is run when using abbreviations Patch by Paradox (some cleanups was needed) --HG-- branch : trunk
2010-11-13Scripts/Misc: Cleanup and fix victim handling of the snakes of Snake Traplinencloth
--HG-- branch : trunk
2010-11-13Core:linencloth
- Redesigned stealth and invisibility handling - Implemented the handling of multiple stealth types - Implemented fake inebriation - The message deliverer no longer sends packets from a non-visible source - The server won't send that much garbage which just takes bandwith - It won't be possible to use cheats to detect invisible objects - Removed a lot of checks for the Z-coord - Fixes visibility problems happening while flying - Limited the grid activation range of creatures to use less resources - Implemented Shroud of Death - Implemented increased visibility range for active objects - Removed visibility check at spellhit (only sanctuary effects should prevent it) (And a lot of other changes...) Closes issue 4208 Closes issue 3049 Closes issue 2097 Closes issue 2198 Closes issue 2384 Closes issue 2197 Closes issue 2319 --HG-- branch : trunk
2010-11-13Scripts/Icecrown Citadel: Added door scripting for remaining bossesShauren
--HG-- branch : trunk
2010-11-12Core/Scripts: Reinstate commandscripts, now with extra bling and working ↵click
commands (and yes, we did test it thoroughly this time) Thanks to Paradox for sorting the commandscripts and chanhandlers out to work as they were intentionally ment to be like. --HG-- branch : trunk
2010-11-11Core/Spells: Fixed Heart of the Phoenix pet spellShauren
Closes issue #3911. --HG-- branch : trunk