aboutsummaryrefslogtreecommitdiff
path: root/src/game/PetHandler.cpp
AgeCommit message (Collapse)Author
2009-09-10*Cleanup comments, update THANKS (no idea if I missed anybody o_O), added ↵maximius
Themris' Warlock's Death Coil healing and damage fix, corrected some typos --HG-- branch : trunk
2009-09-10*MrSmite's PetAI patch, plus Hawthorne's Instant Flight Paths (now with ↵maximius
actual code! >_<) --HG-- branch : trunk
2009-09-01*Fix some restriction of pet spell cast.megamage
--HG-- branch : trunk
2009-08-29*More update about positions.megamage
*Ulduar: do not allow demolisher to regenerate pyrite. Player must shoot down and grab the containers to refill pyrite. --HG-- branch : trunk
2009-08-23*Update vehicle system. Make vehicle a seperate class from creature.megamage
--HG-- branch : trunk
2009-08-19 [8378] Use exceptions instead of explicit size checking for each packet ↵megamage
Author: arrai CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd could crash due to the asserts in ByteBuffer.h. That was exploitable by malicious players. Furthermore, there were duplicate checks: Additionally to CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye on not exceeding the packet boundaries - just to crash the server for sure in such a case. To prevent memory leaks or other undesirable states, please read in every handler all variables _before_ doing any concrete handling. --HG-- branch : trunk
2009-07-22*Implement Aura Type 247 (SPELL_AURA_CLONE_CASTER) and 279 ↵QAston
(SPELL_AURA_INITIALIZE_IMAGES) *Handle CMSG_GET_MIRRORIMAGE_DATA opcode. *Save Minions follow angle to allow themmoving in a formation *Improvements in SpellAI: correctly evade and select attack target for creatures without threat list *Use SpellAI instead of PetAI for not controllable guardians *Only guardians with SUMMON_TYPE_PET are controllable now *Add script and template data for Mirror Image. *Thanks to Drahy for help. --HG-- branch : trunk
2009-07-10 [8126] Improvemets in player/pet/charter name checks. Author: VladimirMangosmegamage
* Implement new config options for minimal player/pet/charter name length (2 by default) * Better error reporting at problems in names. * Add check from max pet/charter name length (same as for player names at client side) --HG-- branch : trunk
2009-07-01 [8103] More wide use IsInWorld checks and delayed at teleport ↵megamage
operations. Author: Ambal * IsInWorld used to prevent return unexpected not in world objects. * Delayed operations need to process its in world state. --HG-- branch : trunk
2009-07-01*Backup your DB!megamage
[8098] Support uint32 spell ids in code. Author: VladimirMangos * Propertly work with uint32 spell ids in player action bar * Fix in same time bug with not save equipment set button with id==0 * Merge misc field in character_action and playercreateinfo_action to action field as 3 byte * Propertly load uint32 spell ids from character_spell * Fixed types for some pet/creature related structure for spell id storing. --HG-- branch : trunk
2009-06-29*Fix the issue of water elemental GCD preventing freeze to be casted - by LarvaQAston
*Correct a typo in prev commit. --HG-- branch : trunk
2009-06-23[8056] Move SMSG_CLEAR_COOLDOWN into function and use it. Other cleanups. ↵QAston
Author:XTZGZoReX [8060] Store spell_pet_auras for auraeffects instead of by whole aura Author:hunuza. --HG-- branch : trunk
2009-06-18* More updating of iterator data types in loopsMachiavelli
--HG-- branch : trunk
2009-06-11*Switch to support client version 3.1.3megamage
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash. Source: Mangos Thanks to TOM_RUS for most work to make this switch possible ;) --HG-- branch : trunk
2009-06-08 [7980] Implement item use target requirements store and check (new table ↵megamage
`item_required_target`). Author: NoFantasy Signed-off-by: VladimirMangos <vladimir@getmangos.com> * Also implement this table reload * Static Spell::SendCastResult function for call not from spell code. Can be also used in scripts where need send explicitly spell cast error to client. --HG-- branch : trunk
2009-06-03*Allow water elemental to cast freeze while casting water bolt.megamage
--HG-- branch : trunk
2009-05-31 [7918] Improve portability in work with uint64 string format specifiers ↵megamage
and in code literals. Author: VladimirMangos * Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define. I64FMTD renamed to UI64FMTD for more clear name. * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals. Please always use UI64LIT(0x00001) instead less portable 0x00001LL --HG-- branch : trunk
2009-05-27 [7901] Refactoting pet action bar related code. Fixed some related bugs. ↵megamage
Author: VladimirMangos * Correctly update action bar at loading and other cases when listed unlearned/not existed spells * Avoid send data by PetSpellInitialize() many times while pet loading --HG-- branch : trunk
2009-05-25*Merge.megamage
--HG-- branch : trunk
2009-05-24 [7886] Drop use table `petcreateinfo_spell`megamage
This is first commit in chain for remove oudated and not used pet functionality. * Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets) * Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures) * Fixed bug with not removing from action bar spell icon for not ranked unlearned spells. Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template. [7887] Drop pet spell teaching code, including field in character_pet. Author: VladimirMangos --HG-- branch : trunk
2009-05-21Added new config option: vmap.petLOSraczman
Enabling it makes pets do LOS check before attacking its target. --HG-- branch : trunk
2009-05-09*Allow dismiss possessed units.megamage
--HG-- branch : trunk
2009-05-06*Fix a bug that minipet cannot be dismissed.megamage
--HG-- branch : trunk
2009-05-02*Merge.megamage
*Also fix build in VC7 and VC8. --HG-- branch : trunk
2009-05-02*Update spell selection.megamage
--HG-- branch : trunk
2009-04-30*Merge.megamage
--HG-- branch : trunk
2009-04-30*Explicitly implement spell target 28 and 29.megamage
--HG-- branch : trunk
2009-04-30*Merge.megamage
--HG-- branch : trunk
2009-04-30*Use canattack to check if canattack in pethandler and combathandlermegamage
--HG-- branch : trunk
2009-04-29*let petattack command use provided guid instead of player selection. By ↵megamage
thenecromancer --HG-- branch : trunk
2009-04-29[7731] Some code cleanups, warrning fixes. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-04-29[7730] Some optimizantion and code style. Author: zhenyamegamage
--HG-- branch : trunk
2009-04-27[7716] Fixed some typos and possible crashes. Author: AlexDerekamegamage
--HG-- branch : trunk
2009-04-03*Add some checks during object deconstruction.megamage
--HG-- branch : trunk
2009-03-28*Fix a crash when player toggle autocast for guardians.megamage
--HG-- branch : trunk
2009-03-27*Fix some bugs of pet.megamage
--HG-- branch : trunk
2009-03-21*Do not allow toggle unautocastable spells for pet.megamage
--HG-- branch : trunk
2009-03-21Small code cleanup and partial merge with dev branch Author: tomrus88megamage
--HG-- branch : trunk
2009-03-21*Do not allow pvp in dk start zone.megamage
*Improve petsetaction code. --HG-- branch : trunk
2009-03-21*A temp fix for the bug that dismiss pets cause crash.megamage
--HG-- branch : trunk
2009-03-21*Fix a crash when toggle autocast for non-pet guardians.megamage
*Allow control multiple guardians using one action bar (not fully implemented) --HG-- branch : trunk
2009-03-21*Allow players to control guardians/charms (not only pets).megamage
--HG-- branch : trunk
2009-03-20*More work on summon system.megamage
--HG-- branch : trunk
2009-03-16*Use SpellCastResult and finaly fix SPELL_CAST_OK value (255 custom value ↵megamage
now). By VladimirMangos. --HG-- branch : trunk
2009-03-13*Merge.megamage
*"Fix Glowing Blood" is not merged. Outdated patch? --HG-- branch : trunk
2009-03-13*Call stopmoving in moveidle.megamage
--HG-- branch : trunk
2009-03-12*Merge.megamage
--HG-- branch : trunk
2009-03-12*Assign possessed AI and pet AI to charmed creatures.megamage
--HG-- branch : trunk
2009-03-09[7424] Codestyle: removed not needed \n in log output. Author: balrokmegamage
--HG-- branch : trunk
2009-03-08[7403] much more unneeded includes removed Author: balrokmegamage
--HG-- branch : trunk