aboutsummaryrefslogtreecommitdiff
path: root/src/game/NPCHandler.cpp
AgeCommit message (Collapse)Author
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-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-06-06*Fix a typo in 3806 that makes players item is mailed back.megamage
*Also a missing part of last rev. --HG-- branch : trunk
2009-06-06 [7971] Implement support exotic pets limtations related to hunter telent ↵megamage
53270. Author: VladimirMangos Note: before this commit hunters can tame exotic pets like any other. After patch like not propertly contriolled pets will auto-dismiss at loading if talent not learned. --HG-- branch : trunk
2009-06-02[7942] Fixed typo: proffesion->professionmegamage
[7944] Replace 10 by MAX_UNIT_ACTION_BAR_INDEX in packet size of SMSG_PET_SPELLS. Author: yad02 --HG-- branch : trunk
2009-05-05[7768] Add check to prevent set homebind to instance map. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-05-04*Fix chains of iceQAston
*Correct typo in my prev commit-by megamage *Fix hearthstone obtaining from innkeeper. --HG-- branch : trunk
2009-05-01 [7740] More correct flags in trainer list data for profession ranks. ↵megamage
Author: VladimirMangos Note: this is not fix problem with gren show recently learned non-first rank of primary profession. Thanks to Seizerkiller for help in reseach. --HG-- branch : trunk
2009-04-19[7688] Move Get*IfCanInteractWith to Player including renamed ↵megamage
IsGameObjectOfTypeInRange. Author: VladimirMangos --HG-- branch : trunk
2009-04-11*Note: this patch may do not have any use for TC.megamage
[7645] Fixed problems wit temporary unsummoned pets and cleanup code. Author: VladimirMangos * Save temporary unsummoned pet to current slot (instead non_in_slot mode) and prevent save as current pet summoned while temporay unsummon (arena) * Prevent overwrite temporary summoned pet data * At player loading set temporary unsummoned pet data instead pet loading if pet expected to be temporary unsummoned in current player state (loading in taxi flight/etc) * Restore proper pet at arena leave and unsummon in arena summoned. --HG-- branch : trunk
2009-04-10 [7644] Fixed pet slot values using in pet save. Author: VladimirMangosmegamage
Problem exist from client version switch when stable slot amount changed. In result this has been source problems with stable use (3-4 slots) and possible pet lost in some cases or "not save state" for summoned pets. Use enums to avoid repeating problem, use more safe value for not-in-slot save (for summoned pets) Fixed data preparing for MSG_LIST_STABLED_PETS. --HG-- branch : trunk
2009-04-06*Update of aura system.QAston
--HG-- branch : trunk
2009-03-31*Merge.megamage
--HG-- branch : trunk
2009-03-30Added GO gossip menu support. Kudos and cookies to arrai.raczman
--HG-- branch : trunk
2009-03-25*Fix a crash caused by pet.megamage
*Make pet class derived from guardian class. --HG-- branch : trunk
2009-03-11 [7440] Use server-side only zone info. Optimize related calles in case ↵megamage
zone and subzone use. Author: VladimirMangos This in some cases make some zones not explorable if it not have server side data in current maps but not allow cheating with zone set from client. --HG-- branch : trunk
2009-03-08[7403] much more unneeded includes removed Author: balrokmegamage
--HG-- branch : trunk
2009-02-18*Merge.megamage
--HG-- branch : trunk
2009-02-17Newline added to bottom of all files.KingPin
--HG-- branch : trunk
2009-02-16[7283] Use map for trainer spells for fast find data by spell id. Author: zhenyamegamage
--HG-- branch : trunk
2009-02-09[7248] Check `battlemaster_entry` data at loading. Code cleanups. Author: zhenyamegamage
--HG-- branch : trunk
2009-01-24* Fix bug where pet is lost while working in stables and mounted.biglad
--HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 2Drahy
* Changed mangos website --HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 1 - Mercurial cant ↵Drahy
convert all files at once --HG-- branch : trunk
2009-01-25*Merge.megamage
--HG-- branch : trunk
2009-01-25*Update to Mangos 7183.megamage
--HG-- branch : trunk
2009-01-16Update to Trinity 863.megamage
--HG-- branch : trunk
2009-01-15Cleanup of log outputraczman
--HG-- branch : trunk
2009-01-14*Update to Mangos 7083.megamage
--HG-- branch : trunk
2008-12-24Backed out changeset: ad4f100c0a9dmegamage
--HG-- branch : trunk
2008-12-24*Update to Mangos 6938. (Only build for VC9)megamage
--HG-- branch : trunk
2008-12-22*Remove 'first_spell' and 'rank' columns from table spell_chainQAston
*Separate req_spell and spell_chain data to save some memory *Use spell_chain data generated from dbc instead of sql --HG-- branch : trunk
2008-12-20*Update visibility only once per update.megamage
--HG-- branch : trunk
2008-12-12*Update to Mangos 6902. Source: Mangos.megamage
*Skipped rev: rev 6893, some code about waypoint movement. --HG-- branch : trunk
2008-11-18*Merge from Mangos. Add MapReference. Author: hunuza.megamage
*Also re-commit the patches reverted in 255. --HG-- branch : trunk
2008-11-14[svn] *** Source: MaNGOS ***visagalis
* Implement localization of creature/gameobject name that say/yell. Author: evilstar (rewrited by: Vladimir) * Fix auth login queue. Author: Derex * Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Author: mobel/simak * Fixed some format arg type/value pairs. Other warnings. Author: Vladimir * [238_world.sql] Allow have team dependent graveyards at entrance map for instances. Author: Vladimir NOTE: Entrance map graveyards selected by same way as local (by distance from entrance) Until DB support will work in old way base at current DB data. --HG-- branch : trunk
2008-11-12[svn] Fix a bug that players cannot hear others talking.megamage
Provide script support for type 10 gameobject. Add some missing script sql. --HG-- branch : trunk
2008-11-05[svn] *** Source Mangos ***KingPin
*Load npc_options at server startup, use cached data at creature gossip menu init. * Also new .reload table command added *Implement npc_option localization support, also store in DB BoxText/BoxMoney/Coded * Use characters.guid instead low guid value from characters.data in charcter enum data prepering for client. * Fixed crash at .pinfo command use from console. * Fixed windows ad.exe build *Creature related code and DB cleanups. * Rename 2 creature_template fields to more clean names and related code update also. * Use enum values instead raw values for type_flags, use halper functions instead code repeating. * Move tamed pet creating code to new function. ** Small code changes to make things compliant with above changes. ** Another rev with big changes so test away. --HG-- branch : trunk
2008-10-23[svn] Fixed copyright notices to comply with GPL.w12x
--HG-- branch : trunk
2008-10-14[svn] * Merge Temp dev SVN with Assembla.Seline
* Changes include: - Implementation of w12x's Outdoor PvP and Game Event Systems. - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed). - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql). - Improved Config cleanup. - And many more changes. --HG-- branch : trunk
2008-10-11[svn] * svn:eol-style native set on all files that need itNeo2003
--HG-- branch : trunk
2008-10-04[svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and ↵Neo2003
partial Windows part) * Updated to 6721 and 676 * Fixed TrinityScript logo * Version updated to 0.2.6721.676 --HG-- branch : trunk rename : 6700-670 => 6721-676
2008-10-02[svn] * Proper SVN structureinitNeo2003
--HG-- branch : trunk