Commit Graph

179 Commits

Author SHA1 Message Date
megamage
5881c6b91b [7261] Better check DB corrdinates for bg entry at player loading. By Vladimir.
--HG--
branch : trunk
2009-02-10 10:04:40 -06:00
megamage
029554d4e3 [7255] Allows saving characters in Battle Grounds.
* Now player can join to BG after logout during 5 minutes, if BG in progress.
    * All players after server crash or restart should appear at the battlemaster

Author: GriffonHeart

--HG--
branch : trunk
2009-02-10 01:16:16 -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
ba7a8cc836 [7253] Check battleground status in GetSpellAllowedInLocationError for some spells for aura remove and spell casting cases. Author: VladimirMangos
--HG--
branch : trunk
2009-02-10 01:00:22 -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
b8d4c24359 [7248] Check battlemaster_entry data at loading. Code cleanups. Author: zhenya
--HG--
branch : trunk
2009-02-09 20:09:03 -06:00
megamage
91356d97d5 [7246] Add data from 7242_01_mangos_spell_bonus_data.sql to mangos.sql as expected.
Also fix outdated comment
Author: VladimirMangos

--HG--
branch : trunk
2009-02-09 20:00:06 -06:00
megamage
fd83d371ba [7243] Fixed spell 47883. Author: aerione_alt
(The author of 7242 is Reve. Sorry)

--HG--
branch : trunk
2009-02-09 19:57:25 -06:00
megamage
25cc99817b [7241] Breath time extended to 3.0.x values.
Signed-off-by: ApoC <apoc@nymfe.net>

--HG--
branch : trunk
2009-02-09 19:55:01 -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
11b9bd42f7 Fixes and cleanups in loot code. Author: VladimirMangos
* Move not-normal loot tables generation in single place (Loot::FillLoot function) for group and non group case.
    * Simplify LootView code.

--HG--
branch : trunk
2009-02-08 21:45:31 -06:00
megamage
62a6911dc7 [7236] Prevent lost spells dependent from skills learned before non-dependent spell loading from DB.
For example spell 2764 will correctly show in spellbook after re-login. Author: VladimirMangos

--HG--
branch : trunk
2009-02-08 20:43:25 -06:00
megamage
a8d5d6fcf1 *Merge.
--HG--
branch : trunk
2009-02-06 15:45:33 -06:00
QAston
4c5f0fd6a5 *Fix aura sending to 303 client.
--HG--
branch : trunk
2009-02-06 19:42:03 +01:00
Muhaha
a2112f27fc typo
--HG--
branch : trunk
2009-02-06 11:31:13 +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
bb190b2859 Fixed phase seelction for gameobject/creature spawn for GM-mode without phase auras. Author: VladimirMangos
--HG--
branch : trunk
2009-02-05 23:03:04 -06: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
megamage
c1c210f6d9 *Merge.
--HG--
branch : trunk
2009-02-05 14:25:16 -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
649ab47d54 *Remove corpse reclaim delay for pve. Check your conf file to make sure it is disabled.
--HG--
branch : trunk
2009-02-04 20:50:26 -06:00
megamage
c2550caf96 [7228] Implement empty bag swap with equipped non-empty bag with items exchange. Author: nugu100
--HG--
branch : trunk
2009-02-04 19:12:00 -06:00
megamage
d69198732e *Merge.
--HG--
branch : trunk
2009-02-04 17:22:43 -06:00
megamage
df7499e056 *Merge.
--HG--
branch : trunk
2009-02-04 10:53:58 -06:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06: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
50c82c6660 [7227] Implement prismatic sockets. Related code cleanups.
Big thanks to TOM_RUS for help in reseach!
    Author: VladimirMangos

--HG--
branch : trunk
2009-02-03 19:12:17 -06: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
f2e514eb04 *Handle SPELL_AURA_MOD_HONOR_GAIN_PCT.
--HG--
branch : trunk
2009-02-02 20:55:17 +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
db8301ce63 Add custom chance for some spells in 16180 and ranks (added in 308)
Show enchant id in error log

    Signed-off-by: DiSlord <dislord@nomail.com>

--HG--
branch : trunk
2009-02-01 16:12:51 -06: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
440f5ed90c *Fix build.
--HG--
branch : trunk
2009-01-29 20:43:59 -06:00
megamage
7663c741c7 *Update to Mangos 7195.
--HG--
branch : trunk
2009-01-29 18:18:33 -06:00
megamage
a8c836f8d9 *Update to Mangos 7194.
--HG--
branch : trunk
2009-01-27 14:47:46 -06:00
KingPin
50c912dc00 * Rest of the new can fly code removed.
--HG--
branch : trunk
2009-01-26 20:03:51 -05:00
megamage
f7cfae4332 *Merge.
--HG--
branch : trunk
2009-01-25 16:38:51 -06:00
megamage
ef88b04451 *Update to Mangos 7183.
--HG--
branch : trunk
2009-01-25 16:35:14 -06: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
megamage
c62acd32f8 *Fix the bug that player cannot see other units after changing map (the last rev does not work).
--HG--
branch : trunk
2009-01-23 22:10:59 -06:00
megamage
8a6277dab2 *Try to fix the bug that players cannot see gameobject and creatures.
--HG--
branch : trunk
2009-01-23 19:26:47 -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