aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
AgeCommit message (Collapse)Author
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2010-01-16Auto-leave player at login back to bg/arena when bg/arena finished. by ↵n0n4m3
VladimirMangos. --HG-- branch : trunk
2010-01-16Fixed item dupe and apply enchantment while disarm state original patch by ↵n0n4m3
zhenya. --HG-- branch : trunk
2010-01-16Propertly update combat ratings fields, by VladimirMangos.n0n4m3
--HG-- branch : trunk
2010-01-14two more duplicate DELETE FROM in Player::DeleteFromDBSpp
--HG-- branch : trunk
2010-01-13* Remove duplicate DELETE FROM transaction in Player::DeleteFromDB for ↵XTZGZoReX
character_queststatus_daily. Thanks to manuel for reporting. --HG-- branch : trunk
2010-01-13* Merge.XTZGZoReX
--HG-- branch : trunk
2010-01-13Backed out changeset: 52e769d95f14XTZGZoReX
--HG-- branch : trunk
2010-01-13* Fix CRLF.XTZGZoReX
--HG-- branch : trunk
2010-01-13Removed all my commits for today, this is hack? really? okeyn0n4m3
--HG-- branch : trunk
2010-01-13Use replace into for character saves. This prevent crash on SaveToDB cause ↵n0n4m3
mtmaps. --HG-- branch : trunk
2010-01-13Fix character sheet showing wrong values for weapon dependant damage modsthenecromancer
--HG-- branch : trunk
2010-01-13Change only Body/Shield armor to count as base armor, and correctly add ↵thenecromancer
bonus armor on items as TOTAL_VALUE This fixes various armor modifiers --HG-- branch : trunk
2010-01-13Send SMSG_TIME_SYNC_REQ periodicly (period guessed though)thenecromancer
--HG-- branch : trunk
2010-01-13Implement vehicles created by player mounts.thenecromancer
Original idea by Elmaster, packet research by Wrong, ty. --HG-- branch : trunk
2010-01-13Fix problems with action buttons related to switching specsthenecromancer
*saving spells without saving current talent map and m_activeSpec is not good idea at all, this might allow players various exploits *send expected packet to correctly handle action bar --HG-- branch : trunk
2010-01-10*cleaned up SharedDefinesRat
--HG-- branch : trunk
2010-01-10Update aura system:QAston
* Change system logic - unify Auras, AreaAuras and PersistentAreaAuras: * Aura has now its owner - which is the WorldObject, which applies aura (creates AuraApplication object) dependant on aura radius, and effect type * Owner can be Dynobj (DynObjAura class) for PersistentAreaAuras, or Unit (UnitAura class) for Area and nonArea auras * Aura data is shared for all units which have AuraApplication of the Aura * Because of that AuraEffect handlers , and periodic tick functions can't modify AuraEffect object (they are const now) * Remove spell source and AreaAuraEffect classes * Add AuraEffect::UpdatePeriodic function, to allow periodic aura object modification (target independant) * Add AuraEffect::CalculateAmount and AuraEffect::CalculateSpellMod function, to allow non-default amount calculation * AreaAura updates are done in owner _UpdateSpells cycle * Since now you don't need to wait an aura update cycle to get area aura applied on it's correct target list * And you can access area aura target list * Add basic support for aura amount recalculation * Save recalculation state and base amount of auras to db * Add AuraEffect::CalculatePeriodic function to determine if aura is periodic, and to set correct tick number after aura is loaded from db * Add ChangeAmount function in addition to SetAmount function, to allow easy reapplication of AuraEffect handlers on all targets * Sort aura effect handlers in SpellAuras.cpp and .h by their use * Add check for already existing aura of that type to some AuraEffect handlers, to prevent incorrect effect removal * SPELL_AURA_CONVERT_RUNE and MOD_POWER_REGEN and MOD_REGEN hacky handlers are now implemented correctly * Send aura application client update only once per unit update - prevent unnecesary packet spam * Fix ByteBuffer::appendPackGUID function - it added additionall 0s at the end of the packet * Fix memory leak at player creation (not deleted auras) * Updated some naming conventions (too many to mention) * Added Unit::GetAuraOfRankedSpell() function * Remove procflags on aura remove, use Aura::HandleAuraSpecificMods instead * Added functions to maintain owned auras (GetOwnedAuras, GetOwnedAura, RemoveOwnedAura, etc) * Implement AURA_INTERRUPT_FLAG_LANDING * Implement EffectPlayerNotification (thanks to Spp) * Remove wrong aura 304 handler * Add better handler for death runes * Remove unnecesary variables from DynamicObject class, and cleanup related code, link dynobj duration with aura * Add GetAuraEffectTriggerTarget function in CreatureAi for special target selection for periodic trigger auras used in a script * Add many assert() procection from idiots using some functions in wrong way * I am to lazy to write here anything more Thanks to Visagalis for testing this patch PS: Do not make patches like this, please --HG-- branch : trunk
2010-01-06Reverted commit ba4294dec1. n0n4m3 asked me to do it.Astellar
--HG-- branch : trunk
2010-01-06fixed the bug that GetVmapHeight returns incorrect height on terrains(flying ↵silver1ce
units fall below map etc) also unlocked max ray lenght for getHeight, by default it's 10 yards --HG-- branch : trunk
2010-01-01Fixed instance reset when high server uptime, thx Wowka321n0n4m3
--HG-- branch : trunk
2009-12-30* re-fix repeatable quests so that they are completable if the playerBrian
* logs out and logs back in. * Thanks to Aokromes for pointing it out. --HG-- branch : trunk
2009-12-27Fixed starting DK skill level, by blackmanosn0n4m3
--HG-- branch : trunk
2009-12-27Fixed Heirloom Experience Bonus +10%. by edrinnn0n4m3
--HG-- branch : trunk
2009-12-26Fixed Mana Gems, implement SPELL_EFFECT_CREATE_MANA_GEM and revert prev. ↵n0n4m3
commit... --HG-- branch : trunk
2009-12-26Fixed items Mysterious Egg, Disgusting Jar (need db support).n0n4m3
--HG-- branch : trunk
2009-12-24Temporary revert 6743 commit. I fix this patch across 1-2 days.n0n4m3
--HG-- branch : trunk
2009-12-23Replaced time(NULL) on sGameTime.GetGameTime() this is used for better ↵n0n4m3
performance. Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton. 2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs. --HG-- branch : trunk
2009-12-22Allow spell cast on an NPC that is linked to a KillCredit to count toward ↵Machiavelli
the KillCredit. --HG-- branch : trunk
2009-12-21* Add support for RewSpellCast=-1. If -1 remove all auras applied to player atBrian
* quest start. * Patch by Kudlaty -- THANK YOU! --HG-- branch : trunk
2009-12-20* Added support for RepObjectiveFaction2 / RepObjectiveValue2 (oppositeBrian
* faction) IE: need to LOSE reputation with that faction. * Original patch by Brian / Ported to latest rev. by Kudlaty -- THANKS! --HG-- branch : trunk
2009-12-20Restore patch: No Fly Zone using Spelln0n4m3
--HG-- branch : trunk
2009-12-20*apply trinity style to whole sourceRat
*comment out all mangos to trinity defines *this will make merging a little harder, but code will be more clear --HG-- branch : trunk
2009-12-20Merge MaNGOS, Gossip System. Autor NoFantasy.win32
* DB support required * Closes #859 --HG-- branch : trunk
2009-12-19Fix problem with max pet distance from owner. by VladimirMangosn0n4m3
--HG-- branch : trunk
2009-12-19Fixed some typos and revert one commitn0n4m3
--HG-- branch : trunk
2009-12-19Implement player's pet resilience, also fix DoT case. by VladimirMangos and ↵n0n4m3
thx tali --HG-- branch : trunk
2009-12-19Not send unexpected reply whisper to sender for addon messages. by ↵n0n4m3
VladimirMangos --HG-- branch : trunk
2009-12-19Add basic support for QUEST_FLAGS_PARTY_ACCEPT (2). by NoFantasyn0n4m3
--HG-- branch : trunk
2009-12-19Avoid not needed too oftent send update data, cleanups. by SilverIcen0n4m3
--HG-- branch : trunk
2009-12-19Implement new visibility system, based on Silverice patch for mangosn0n4m3
--HG-- branch : trunk
2009-12-18*Cleanup, proper indentation, and remove some wrong/irrelevant comments ↵maximius
copied from custom patches.. --HG-- branch : trunk
2009-12-17Basic support for item refund system added in 3.1. by Machiavellin0n4m3
--HG-- branch : trunk
2009-12-17Fixed compile errors and some typosn0n4m3
--HG-- branch : trunk
2009-12-17Restore some commits from trinitycore2 3.1.3n0n4m3
--HG-- branch : trunk
2009-12-17Update Player for 322an0n4m3
--HG-- branch : trunk
2009-12-17Removed some redundant player->SaveToDB calls, original autor balrokn0n4m3
--HG-- branch : trunk
2009-12-17One big insert for _SaveSpellCooldowns, original autor balrokn0n4m3
--HG-- branch : trunk
2009-12-17Removed mtmaps OpenMPn0n4m3
Implement mtmaps based on ACE For stable work MapUpdate.Threads=2 in config --HG-- branch : trunk
2009-12-17Check session for existance in Player::SendDirectMessagen0n4m3
--HG-- branch : trunk