Commit Graph
213 Commits
Author SHA1 Message Date
megamage 9041286aa2 [7455] Implemented condition that player can be in 2 groups in 1 time - BG raid and normal group / raid. Author: Triply
Patch is tested, but can cause problems / unexpected behaviour.
    TODO: set raid leader of battleground raid to raid leader who entered BG
    TODO: when player leaves group, he is removed from GroupQueueInfo, and for him is created new GroupQueueInfo in normal queue.

    Signed-off-by: Triply <[email protected]>

--HG--
branch : trunk
2009-03-14 20:00:02 -06:00
megamage 2490a3e250 *Fix a typo that makes players can see invisible units.
*Update farsight target code. Only change seer when receive client request.

--HG--
branch : trunk
2009-03-14 15:11:04 -06:00
megamage 5d440f2898 *Init spells for vehicles.
--HG--
branch : trunk
2009-03-14 09:49:10 -06:00
megamage 721fad0c1c [7452] Drop from DB broken action button data detected at loading. Author: VladimirMangos
--HG--
branch : trunk
2009-03-13 18:30:27 -06:00
megamage 7dd699c076 *Remove aura type by caster in some cases. New function RemoveAuraTypeByCaster.
--HG--
branch : trunk
2009-03-13 17:25:46 -06:00
megamage 6e29ab4fbb [7440] Use server-side only zone info. Optimize related calles in case 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-11 16:17:37 -06:00
megamage 167ca565d0 *Update bind sight spells code.
--HG--
branch : trunk
2009-03-10 15:26:17 -06:00
megamage 5f7a2b4355 [7428] Add new .map file format use more compact data store and use
Rewrite .map extractor
     + extract more useful data
     + add "-f 0" option for disable size/accuracy optimisation
     + Compatability vs 2.4.3 client data
    More fast get .map data
    Implement fatigue timer
    Rewrite breath timer
    Allow absorb/resist for lava/slime environmental damage

    Need re-extract map for work.

Author: DiSlord

--HG--
branch : trunk
2009-03-09 18:06:19 -06:00
megamage 7a2f21a0b1 [7426] Mounted players now can capture tower point in Eye of Storm. Author: Triply
Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject

--HG--
branch : trunk
2009-03-09 18:00:56 -06:00
megamage 985b7656bb *Merge.
--HG--
branch : trunk
rename : sql/updates/XXX_characters_auctionhouse.sql => sql/updates/1164_characters.sql
2009-03-08 11:36:10 -06:00
megamage 0f8dee432c *Update of relocation notify code.
--HG--
branch : trunk
2009-03-08 11:11:21 -06:00
megamage c2261e3502 [7391] Prevent achievement counter overflow, implement 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 18:14:05 -06:00
megamage 7915fd768a *Merge.
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
Blaymoira fd2fd00c14 *Implement access_requirement table - by Iskander
- 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 21:02:33 +01:00
megamage 0cfc452093 [7373] Implement expansion check at character loading (for homebind, transport and plain coordinates). Author: VladimirMangos
Also move fall damage calucaltion in new function.

--HG--
branch : trunk
2009-03-02 17:15:25 -06:00
megamage c064c2e2e1 [7365] Implement potion in combat delay proper work. Author: VladimirMangos
Original patch provided by miranda.conrado.

--HG--
branch : trunk
2009-03-02 17:01:41 -06:00
megamage d7d7c3562a [7364] Really implenent server-side anti-cheating cooldown check for 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 16:59:14 -06:00
megamage c6fc7f7bca [7363] Propertly set cooldown at server side for category spells at 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 16:55:41 -06:00
megamage b1677c901d [7362] Use IN_MILISECONDS where appropriate, other cleanups. Author: VladimirMangos
--HG--
branch : trunk
2009-03-02 16:53:50 -06:00
megamage 361f4b2e3c [7353] Fixed problem with joining rated arena matches. Thanks to balrok for help. Author: Triply
--HG--
branch : trunk
2009-02-27 12:57:33 -06:00
megamage e2fa2e44b6 [7345] Use in most cases dynamic quest level as expected (player level for quests witl level 0) Author: VladimirMangos Original patch provided by NoFantasy.
--HG--
branch : trunk
2009-02-27 12:25:10 -06:00
megamage 472f897b0a [7336] Implemented new BattleGroundQueue invitation system. Now it 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-27 12:13:59 -06:00
megamage 1b587c0fe3 *Merge.
--HG--
branch : trunk
2009-02-20 12:05:58 -06:00
megamage eb3abf2556 *Fix a crash caused by summon_type_possess.
--HG--
branch : trunk
2009-02-19 18:30:03 -06:00
megamage 31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin 14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage 05ef0471c3 *Fix a crash bug caused by bindsight spells.
--HG--
branch : trunk
2009-02-17 18:07:09 -06:00
megamage 4eb963528b Speedup check in Player::HasQuestForItem and Player::HasQuestForGO, related cleanups. Author: VladimirMangos
--HG--
branch : trunk
2009-02-16 20:15:28 -06:00
megamage 00ba699d6f *Merge.
--HG--
branch : trunk
2009-02-16 19:04:31 -06:00
megamage bb75ff7b79 *Cleanup of charm/farsight code. Hope this can fix some crash bugs.
--HG--
branch : trunk
2009-02-15 17:33:36 -06:00
megamage 97ac3aba05 Implemented limit category check for item/gem at equip or gem inserting. Author: VladimirMangos
--HG--
branch : trunk
2009-02-15 11:58:27 -06:00
megamage 096030e625 [7275] getbattlegroundqueueidfromlevel returns now bg-specific queueids
before this commit, queueids were staticaly given for
    9-19,20-29,30-39... but for instance alterac valley needs
    51-60,61-70,71-80.. this patch allows this,
    if you change the minlevel in battleground_template you also could make
    23-32,33-42.. levelranges
    not that we always use 10lvl-steps.. this is actually hardcoded..

Author: balrok

--HG--
branch : trunk
2009-02-13 20:07:49 -06:00
megamage 8eb1f455a1 [7269] Use enum type for battleground queue type ids, and related cleanups.
* renamed a variable to make the content of it more clear: type->arenaslot
    * renamed BattleGroundQueueTypeId-variables to bgQueueTypeId
      just to make it easier reading the code (cause there existed
      3 different names for this..)
    * renamed GetBattleGroundQueueId to GetBattleGroundQueueTypeId
      again this is just for better understanding
    * Renamed [GS]etQueueType and m_Queue_type
    * Renamed to [GS]etQueueId and m_QueueId

Author: balrok

--HG--
branch : trunk
2009-02-13 19:56:22 -06:00
megamage 58374f87b4 [7254] Cleanups and batter checking in homebind/bgEntryPoint code.
* Load homebind data early in Player::LoadFromDB and use instead initital race points
      in cases need some safe point if current coordinate broken by some reason.
    * Store BG entry point in to WorldLocation and simplify calls.
    * Set bg entry point at GM teleports to battleground for correct
      auto-recall position at battleground end.

Author: VladimirMangos

--HG--
branch : trunk
2009-02-10 01:06:39 -06:00
megamage d696381f32 [7250] Use bg type ids enum insted raw values and catch some bugs in result for fixing.
* Replace max bg type checks by DBC valid index check
    * Use in functions and fields BattlegroundTypeId type instead uint32
    * Fixed wrong use bg queue ids instead bg type ids in queue update/remove function calls.
      Many bg have same raw values for type id and queue id but some can be affected by this bug:
      BATTLEGROUND_EY, BATTLEGROUND_SA, and all areans (with small arena/team size exceptions)
    * Move Battlemaster to bg type ids map fron ObjectMgr to BatteleGroundMgr.
    * Remobe redundent for header itself includes for BG headers.
    * Use Auction location enum instead raw valus.
Author: VladimirMangos

--HG--
branch : trunk
2009-02-09 22:08:06 -06:00
megamage 2bd90deeed [7239] Support multiply items loot and not normal loot items in Player::AutoStoreLoot. Author: VladimirMangos
Use this function in more cases and simplify and fix some related code.

--HG--
branch : trunk
2009-02-08 21:54:13 -06:00
megamage 4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
KingPin 50c912dc00 * Rest of the new can fly code removed.
--HG--
branch : trunk
2009-01-26 20:03:51 -05:00
Blaymoira 6be2cfeeed *Moved CanUnload function to header files - by Zor
*Move flycheck under function - by Zor

--HG--
branch : trunk
2009-01-24 20:04:43 +01:00
QAston 4c5f0fd6a5 *Fix aura sending to 303 client.
--HG--
branch : trunk
2009-02-06 19:42:03 +01:00
Muhaha 358d1bb14e Now correct patch version: Use spell_loot_table for item creating in case SPELL_EFFECT_CREATE_ITEM_2 (157) and itemType==0. Author: VladimirMangos
--HG--
branch : trunk
2009-02-06 11:25:04 +01:00
megamage 036c6eb742 Use spell_loot_table for item creating in case SPELL_EFFECT_CREATE_ITEM_2 (157) and itemType==0. Author: VladimirMangos
--HG--
branch : trunk
2009-02-05 23:02:07 -06:00
QAston 066b83b523 *Handle SPELL_AURA_ABILITY_IGNORE_AURASTATE and SPELL_AURA_ALLOW_ONLY_ABILITY.
*Fix build on Windows.

--HG--
branch : trunk
2009-02-05 13:38:48 +01:00
megamage d69198732e *Merge.
--HG--
branch : trunk
2009-02-04 17:22:43 -06:00
QAston 3554ce14cd *Fix build on *nix.
--HG--
branch : trunk
2009-02-04 16:55:16 +01:00
Drahy 5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy 7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage 3b8bce566e *Merge.
--HG--
branch : trunk
2009-02-03 15:05:04 -06:00
megamage 7fdb40ec5c [7226] Avoid 2 mQuestStatus[quest_id] calls from AddQuest code for speed and possible aliasing problems.
Original patch provided by zhenya. Author: VladimirMangos

--HG--
branch : trunk
2009-02-03 15:04:17 -06:00
QAston 9c560802cd *Handle disarm offhand and ranged weapon, since now disarm affects all bonuses given by item.
--HG--
branch : trunk
2009-02-03 15:56:07 +01:00