Commit Graph
93 Commits
Author SHA1 Message Date
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
QAston c385b52997 *Fix a typo in prev commit
*Use flag96 instead of unit64+unit32.

--HG--
branch : trunk
2009-02-02 17:01:56 +01:00
megamage 336e8501f0 *Update to Mangos 7208. Implement phase system.
--HG--
branch : trunk
2009-01-31 16:38:50 -06:00
megamage 4074b481f0 *Update to Mangos 7206.
--HG--
branch : trunk
2009-01-31 14:41:36 -06:00
megamage 028ff8b163 *Fix build.
--HG--
branch : trunk
2009-01-25 16:44:42 -06:00
megamage 04cf7fe226 *Merge.
--HG--
branch : trunk
2009-01-25 16:40:51 -06:00
megamage ef88b04451 *Update to Mangos 7183.
--HG--
branch : trunk
2009-01-25 16:35:14 -06:00
megamage b28b8b5ced *Update to Mangos 7154.
--HG--
branch : trunk
2009-01-23 11:41:43 -06:00
megamage ab4b9160f2 *Update to Mangos 7151.
--HG--
branch : trunk
2009-01-22 22:44:27 -06:00
megamage 4230318f96 *Update to Mangos 7136.
--HG--
branch : trunk
2009-01-21 16:18:57 -06:00
megamage 68c0bcd069 *Update to Mangos 7125.
--HG--
branch : trunk
2009-01-20 19:59:43 -06:00
megamage 40e7dcb599 *Update to Mangos 7111.
--HG--
branch : trunk
2009-01-18 19:01:41 -06:00
megamage 02c060be05 *Update to Mangos 7100.
--HG--
branch : trunk
2009-01-17 17:54:11 -06:00
megamage 40a1154c5b *Update to Mangos 7092.
--HG--
branch : trunk
2009-01-16 14:17:24 -06:00
megamage 14e38a3ddf *Update to Mangos 7093.
--HG--
branch : trunk
2009-01-14 18:42:53 -06:00
megamage 4daadd712f *Update to Mangos 7072.
*Remove some duplicated functions of possess.

--HG--
branch : trunk
2009-01-12 10:53:53 -06:00
megamage 1ffb1cef33 *Merge.
--HG--
branch : trunk
2009-01-09 16:43:23 -06:00
megamage 5c8f52d134 *Update to Mangos 7059.
--HG--
branch : trunk
2009-01-09 16:06:17 -06:00
megamage 2377f49ea8 *Update charm and possess code.
--HG--
branch : trunk
2009-01-08 21:48:38 -06:00
megamage 8b876b0817 *Mangos [7037] Avoid unneeded #ifdef. By VladimirMangos.
*Mangos [7038] Fixing known taxi node save in 3.0.3. Cleanup code. By VladimirMangos.

--HG--
branch : trunk
2009-01-06 13:49:01 -06:00
megamage 9438625a19 [7015] Implement support -1 in item_template.stackable and item_template.maxcount fields. By VladimirMangos.
--HG--
branch : trunk
2009-01-03 11:06:51 -06:00