aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
AgeCommit message (Collapse)Author
2009-03-08[7403] much more unneeded includes removed Author: balrokmegamage
--HG-- branch : trunk
2009-03-08*Merge.megamage
--HG-- branch : trunk rename : sql/updates/XXX_characters_auctionhouse.sql => sql/updates/1164_characters.sql
2009-03-08*Update of relocation notify code.megamage
--HG-- branch : trunk
2009-03-07[7396] Fixed crash at group disband after some player invite decline and ↵megamage
offline. Author: VladimirMangos Correctly cleanup invites list at decline. --HG-- branch : trunk
2009-03-06[7393] Implement access to client side holiday ids. Author: VladimirMangosmegamage
* src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence * `game_event` now have new `holiday` field for store client side holiday id associated with game event * Added new enum HolidayIds with existed at this moment holiday ids. * New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check. --HG-- branch : trunk
2009-03-06[7391] Prevent achievement counter overflow, implement ↵megamage
ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE generic support. Before overflow has been possible at 4294967295 lols for example. ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE in many cases require check special conditions and targets. For this allow call it from scripts: * Add Player::UpdateAchievementCriteria functiona ccessable from scripts * In emote case it allowed call in form player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE, text_emote_id, achievement_id, target_unit_ptr); Author: VladimirMangos --HG-- branch : trunk
2009-03-06*Merge.megamage
--HG-- branch : trunk
2009-03-06 Implement some death related achievementsmegamage
* ACHIEVEMENT_CRITERIA_TYPE_DEATH (normal and arena types counting) * ACHIEVEMENT_CRITERIA_TYPE_DEATH_IN_DUNGEON (instance types by man limit counting) Note: need fixed for cases when max allowed players different from recommended count. * ACHIEVEMENT_CRITERIA_TYPE_DEATHS_FROM (environment damage sources by types) Fixed: * ACHIEVEMENT_CRITERIA_TYPE_KILLED_BY_PLAYER - self-kill counting as death from players - same team player kill in opposition kills counter. Also cleanup in Player::EnvironmentalDamage use DBCStructure.h comment. Author: VladimirMangos --HG-- branch : trunk
2009-03-06*MergeBlaymoira
--HG-- branch : trunk
2009-03-05*Disable charmed/possessed creature AI.megamage
*Use general react states to replace charminfo react states. --HG-- branch : trunk
2009-03-05*Implement access_requirement table - by IskanderBlaymoira
- now check the requirements on teleport not only on areatrigger use - moved some columns from instance_template and areatrigger_teleport to access_requirement table --HG-- branch : trunk
2009-03-05*Fix reward rep amount- by yad02QAston
*Fix Haunt and Pain and Suffering- by Fog *Fix leader of the pack-original patch by Lightguard --HG-- branch : trunk
2009-03-05[7378]~[7381] achievement code update. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-03-03factionTemplate->faction can be 0, add appropriate checks to prevent crashes ↵megamage
and unexpected work. Author: VladimirMangos --HG-- branch : trunk
2009-03-03[7374] Fixed search free slot in Player::CanStoreItems in case specialized ↵megamage
bag. Author: Arthorius --HG-- branch : trunk
2009-03-02 [7373] Implement expansion check at character loading (for homebind, ↵megamage
transport and plain coordinates). Author: VladimirMangos Also move fall damage calucaltion in new function. --HG-- branch : trunk
2009-03-02[7372] Cleanup BattleGround::GetClosestGraveYard related code. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-02[7371] Correctly select closest graveyard in Player::RepoopAtGraveyard(). ↵megamage
Patch provided by balrok Thx. --HG-- branch : trunk
2009-03-02[7369] Remove ReqSourceRef in quest_template. Author: NoFantasymegamage
--HG-- branch : trunk
2009-03-02 [7368] Implement unequip unexpected offhand weapons at talent reset ↵megamage
(mostly for warror talent case). Author: Lightguard Implemented OffhandCheckAtTalentsReset option for unequip at zone change (default) and at talent reset itself (can be enabled). --HG-- branch : trunk
2009-03-02 [7365] Implement potion in combat delay proper work. Author: VladimirMangosmegamage
Original patch provided by miranda.conrado. --HG-- branch : trunk
2009-03-02 [7364] Really implenent server-side anti-cheating cooldown check for ↵megamage
spells with SPELL_ATTR_DISABLED_WHILE_ACTIVE. Author: VladimirMangos Move apply cooldown for like spells to aura apply (GO registering for owner in GO summon spell case) Store "infinity" cooldown for like spells, ignore it at save and reapply it at aura loading. Note: one problem still exist for like spells: at loading/far teleport spell icon lost diabled state at client. Need sedn some unknown data in SendInitialPacketsBeforeAddToMap or SendInitialPacketsAfterAddToMap for restore it state. --HG-- branch : trunk
2009-03-02 [7363] Propertly set cooldown at server side for category spells at ↵megamage
cooldown event send to client. Author: VladimirMangos Also support item dependent cooldown set propetly at cooldown event send to client. Last will used in follow potion cooldown delay in combat patch. --HG-- branch : trunk
2009-03-02[7362] Use IN_MILISECONDS where appropriate, other cleanups. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-02[7360] Use defines instead harcoded item prototype array sizes. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-02-27[7353] Fixed problem with joining rated arena matches. Thanks to balrok for ↵megamage
help. Author: Triply --HG-- branch : trunk
2009-02-27 [7352] Fixed conditions in FillPlayersToBG to correctly kick group only ↵megamage
when other team's selection pool is empty. Problem reported by balrok. Author: Triply --HG-- branch : trunk
2009-02-27 [7349] Implement spell cast depenences from area/quest.aura state store ↵megamage
in new table `spell_area`. Author: VladimirMangos * It allow store requirenments: area, active or rewarded quest (until possible another quest not rewarded), aura present at character, character race/gender. * Listed spell can marked as auto-casted when fit requirents. In this case spell requirements checked at zone/subzone update (and then resurraction also), quest start/reward, dummy aura apply. * Old hardcoded lines for similar check removed from sources and required DB support for work now. --HG-- branch : trunk
2009-02-27[7348] Remove hack code from IsDeathPersistentSpell. Author: VladimirMangosmegamage
Re-apply zone dependent auras at resurrection by triggering zone update for player. --HG-- branch : trunk
2009-02-27[7345] Use in most cases dynamic quest level as expected (player level for ↵megamage
quests witl level 0) Author: VladimirMangos Original patch provided by NoFantasy. --HG-- branch : trunk
2009-02-27[7340] Prevent standup at save in result unexpected packet send to client. ↵megamage
Author: aerione_alt --HG-- branch : trunk
2009-02-27 [7336] Implemented new BattleGroundQueue invitation system. Now it ↵megamage
supports premade group versus premade group matches. Added 2 new config options - InvitationType and PremadeGroupWaitForMatch - you can find more info in default config file. This patch can cause crashes. Author: Triply [7338] Little cleanup in battleground queues code. Author: ApoC --HG-- branch : trunk
2009-02-26*Merge.megamage
--HG-- branch : trunk
2009-02-26 [7333] Refactoring ↵megamage
DestinationHolder/Traveler/Unit::SendMonsterMoveWithSpeed code. Author: VladimirMangos * Move common code in appropriate functions. * Correct select speed and 2D/3D distance for creature/player walk/fly --HG-- branch : trunk
2009-02-25*Update active object code. By VladimirMangos.megamage
--HG-- branch : trunk
2009-02-22[7325] Always have flag UNIT_FLAG2_REGENERATE_POWER set for loaded ↵megamage
character. Author: VladimirMangos and nos4r2zod. --HG-- branch : trunk
2009-02-22*Merge.megamage
--HG-- branch : trunk
2009-02-22*Not allow have ammo_pouch and a quiver equipped in same time. - by balrokBlaymoira
--HG-- branch : trunk
2009-02-20*A better fix of the last rev.megamage
--HG-- branch : trunk
2009-02-20*Do not learn lower rank talents when removing a high rank talents. This may ↵megamage
fix the bug about talents resetting when log in. --HG-- branch : trunk
2009-02-20*Merge.megamage
--HG-- branch : trunk
2009-02-19*Fix a crash caused by summon_type_possess.megamage
--HG-- branch : trunk
2009-02-18Fix buildpanaut0lordv
--HG-- branch : trunk
2009-02-18*Merge.megamage
--HG-- branch : trunk
2009-02-17*Merge.megamage
--HG-- branch : trunk
2009-02-17*Fix some bugs of map/grid. Hope this can fix some crashes (without ↵megamage
introducing new crash) --HG-- branch : trunk
2009-02-17Newline added to bottom of all files.KingPin
--HG-- branch : trunk
2009-02-17*Fix a crash bug caused by bindsight spells.megamage
--HG-- branch : trunk
2009-02-17*Merge.QAston
--HG-- branch : trunk
2009-02-17Backed out changeset e85c3b6d551bQAston
--HG-- branch : trunk