Commit Graph
371 Commits
Author SHA1 Message Date
megamage 484c1298e2 [7293] Not attempt respawn/instance tables for battleground/arena templates (instance id == 0) Author: VladimirMangos
--HG--
branch : trunk
2009-02-17 17:40:38 -06:00
megamage a24928be67 [7292] Implement storage for points of interest data in DB.
It can be in current state used for simplify scripting code that set POI and more advansed way later..
    Call void PlayerMenu::SendPointOfInterest( float X, float Y, uint32 Icon, uint32 Flags, uint32 Data, char const * locName )
    will removed after some time delay, and only void PlayerMenu::SendPointOfInterest( uint32 poi_id ) will exist.

Author: GriffonHeart

--HG--
branch : trunk
2009-02-17 17:40:03 -06:00
megamage 68cfb7c5a4 [7291] Better map height calculation by use client data format.
Need re extract map files by use new ad.exe
Author: DiSlord

--HG--
branch : trunk
2009-02-17 15:42:04 -06:00
megamage d73b38f0fa [7290] Command .npc setdeathstate on/off. Author: GriffonHeart
--HG--
branch : trunk
2009-02-17 14:51:25 -06:00
megamage 1c894bee91 [7289] Make quest related check work in case absent English localization in DB. Author: GriffonHeart
--HG--
branch : trunk
2009-02-17 14:46:12 -06:00
megamage f271e71dc5 [7288] Implement CreatureAI::JustReachedHome scripting call for home movement end point event. Author: NoFantasy
*Note: need to look at SD2 script to check what is the use of this function.

--HG--
branch : trunk
2009-02-16 20:18:21 -06:00
megamage 3f731b8c7f [7287] Remove wrong implementation for spell 37573 dummy effect. It better implement in scripts anyway. Author: NoFantasy
*Note: this requires the import of SD2 script patch otherwise this spell will have no effect.
[7286] Remove unused local variable. Author: VladimirMangos

--HG--
branch : trunk
2009-02-16 20:14:45 -06:00
megamage 1ad4f8509c [7285] More code cleanups in static data structures use. Author: zhenya
--HG--
branch : trunk
2009-02-16 20:12:55 -06:00
megamage 2156fec0d2 [7284] Avoid 2 times skill value request. Author: VladimirMangos
--HG--
branch : trunk
2009-02-16 20:10:40 -06:00
megamage 319f70fb76 [7283] Use map for trainer spells for fast find data by spell id. Author: zhenya
--HG--
branch : trunk
2009-02-16 20:10:04 -06:00
megamage 089dece311 [7282] Store guilds in map for fast search by id, some other guild/arenateam related cleanups. Author: zhenya
--HG--
branch : trunk
2009-02-15 12:14:14 -06:00
megamage 9635284494 [7281] Cleanup in unused and incorrectly marked as unused aura names and comments. Author: VladimirMangos
--HG--
branch : trunk
2009-02-15 12:11:46 -06:00
megamage affd4d9005 [7280] Implement 287 SPELL_AURA_DEFLECT_SPELLS aura Author: DiSlord
--HG--
branch : trunk
2009-02-15 12:03:51 -06:00
megamage 8cf512b59a [7279] Allow equipped items loading at relogin to arena map. Author: Lightguard
--HG--
branch : trunk
2009-02-15 12:01:23 -06:00
megamage 19f8347a58 [7278] In case gossip flag use gossip menu instead quest menu as client expected. Author: NoFantasy <[email protected]>
--HG--
branch : trunk
2009-02-15 12:00:37 -06:00
megamage 3b741f1e61 [7277] Correctly show guild bank tab info text for author and members not only after login but also after change. Author: VladimirMangos
--HG--
branch : trunk
2009-02-15 11:59:05 -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
QAston 14d85a183e *Make range check dependent from target.
--HG--
branch : trunk
2009-02-14 15:56:04 +01:00
megamage 59be8223e4 [7276] Rewrited fix for same faction arena matches
Added better Object-oriented calls to BattleGround::Reset()
    Added more checks to CreateBattleGround() method
    This commit doesn't fix anything

Author: Triply

--HG--
branch : trunk
2009-02-13 20:10:14 -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 136e49f39f [7274] Fixed work of warrior talent 12296.
* Proper tick in 3 sec
    * Replace amount calculation hack by more proved formula.
    * Ignore in combat state.

Author: domingo

--HG--
branch : trunk
2009-02-13 20:05:16 -06:00
megamage 1d18f3d870 [7273] Fix show 0-level quests in gossip quest list. Another case. Author: NoFantasy
--HG--
branch : trunk
2009-02-13 20:04:44 -06:00
megamage edbd3b637e [7272] Trailing whitespace cleaning Author: freghar
--HG--
branch : trunk
2009-02-13 20:03:32 -06:00
megamage 3eb91683b0 [7271] Implement mangosd stop and pause if it work as Windows service. Author: rilex
--HG--
branch : trunk
2009-02-13 20:02:00 -06:00
megamage a14ceffcd1 [7270] Apply mangos code style. Author: VladimirMangos
--HG--
branch : trunk
2009-02-13 20:01:20 -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 f2c663a363 [7268] Fix show 0-level quests in gossip quest list. Author: NoFantasy
--HG--
branch : trunk
2009-02-13 19:54:31 -06:00
megamage 8ad58b4bcc [7267] Drop auctionhouse.location. Author: VladimirMangos
Add a missing file.

--HG--
branch : trunk
2009-02-13 19:53:59 -06:00
megamage a72c0d223d [7266] Use DBC data for auction cut/deposit percents and location (auiction house id in fact).
More auction related code refactoring,
Move auction related code from ObjectMgr to AuctionHouseMgr.
Author: VladimirMangos

--HG--
branch : trunk
2009-02-13 19:50:20 -06:00
megamage 6aee5fcbe7 *Merge.
--HG--
branch : trunk
2009-02-12 17:09:15 -06:00
QAston c4fa6a5d54 *Allow creatures to have up to 8 spells in creature_template.
--HG--
branch : trunk
2009-02-11 22:59:02 +01:00
megamage 757037ce54 [7265] Move feral bonus get to struct ItemPrototype
Signed-off-by: DiSlord <[email protected]>

--HG--
branch : trunk
2009-02-11 11:54:16 -06:00
megamage 6e84a2f3a5 [7264] Use AP fields as signed integer
Signed-off-by: DiSlord <[email protected]>

--HG--
branch : trunk
2009-02-11 11:53:35 -06:00
megamage 848af42918 [7263] Fixed AP calculation in some cases
Fixed use AP dynamic mods (bonuses from stats)
    Apply ITEM_MOD_ATTACK_POWER for ranged AP
    Implement feral AP from weapon dps for druids

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

--HG--
branch : trunk
2009-02-11 11:51:17 -06:00
megamage 42b98f7e57 [7262] Check security level of target for .die command for case when this command have lesser security level from default setting. Author: VladimirMangos
Original patch provided by NewAge.

--HG--
branch : trunk
2009-02-10 10:05:26 -06:00
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 31f4993264 [7260] Fixed access to uninitilized fields in FleeingMovementGenerator and Creature::IsOutOfThreatArea. Author: VladimirMangos
--HG--
branch : trunk
2009-02-10 10:03:39 -06:00
megamage 22855d6e79 [7259] Prevent memory lost at pet spell reset. Author: VladimirMangos
--HG--
branch : trunk
2009-02-10 09:57:25 -06:00
megamage 3a129a443c [7258] Fixed access to field of possible deleted periodic aura. Author: VladimirMangos
--HG--
branch : trunk
2009-02-10 09:56:39 -06:00
megamage 70798207f8 [7257] Fixed unexpected errors in log and non-freed memory at battleground system shutdown. Author: VladimirMangos
--HG--
branch : trunk
2009-02-10 09:55:16 -06:00
megamage 452e0971eb [7256] Fixed (lot better at least) quest XP calculation from money rewarded value at max level. Author: NoFantasy
--HG--
branch : trunk
2009-02-10 01:17:17 -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 fe85f52142 [7252] Move all world global broadcast string (all arena/bg related) to mangos_string.
PLEASE, NOT USE string world broadcasts in real code. This function _only_ for debug purposes.

    Really allow with .debug bg start bg with 1 player.
    Added helps for some existed .debug commands.

Author: VladimirMangos

--HG--
branch : trunk
2009-02-10 00:59:10 -06:00
megamage 7f39dbd848 *add .debug bg to allow starting a battleground with just one player it's implemented like .debug arena - so you toggle debug bg on or off By balrok
--HG--
branch : trunk
2009-02-10 00:39:03 -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 99c8226216 [7249] Remove outdated data from spell_proc_event. Author: jorooo
--HG--
branch : trunk
2009-02-09 20:10:42 -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