Commit Graph

234 Commits

Author SHA1 Message Date
megamage
10f0988fd9 [7304] Move inner template class from parent class definition for better compatibility with some GCC versions. Author: VladimirMangos
--HG--
branch : trunk
2009-02-19 18:52:03 -06:00
megamage
0eb7ad0536 [7303] Fixed sql changes part of pool patch. Author: VladimirMangos
--HG--
branch : trunk
2009-02-19 18:51:29 -06:00
megamage
c2e3edc22b [7302] Fixed build at Unix/Linux.
Signed-off-by: miranda.conrado <miranda.conrado@getmangos.com>

    Possible fix, not checked (not have access currently to Unix host), but expected as working.

Author: miranda.conrado

--HG--
branch : trunk
2009-02-19 18:50:12 -06:00
megamage
fe6bfc2ef1 [7301] Partially restored linux build Author: arrai
--HG--
branch : trunk
2009-02-19 18:47:52 -06:00
megamage
72e8c09212 [7299] Implemented circular loop detection for pools in pools
As a result, the last relation that makes the loop is automatically removed.
    An error message is displayed and core go on loading remaining records.

Author: Neo2003

--HG--
branch : trunk
2009-02-19 18:46:58 -06:00
megamage
d344d4b6e9 [7298] Switch to support client 3.0.9 (3551). Author: VladimirMangos
--HG--
branch : trunk
2009-02-18 17:21:06 -06:00
megamage
104d87ca3b [7297] Fixed profession spells sorting in trainer spell list at client. Author: VladimirMangos
--HG--
branch : trunk
2009-02-18 16:51:59 -06:00
megamage
8c7daebae9 [7296] Fixed some GCC warnings. Author: VladimirMangos
--HG--
branch : trunk
2009-02-18 16:51:10 -06:00
megamage
d0a3d03422 [7295] Make more static world data accessable for scripts use. Author: NoFantasy
--HG--
branch : trunk
2009-02-18 16:50:21 -06:00
panaut0lordv
966b6a4a8d Fix build
--HG--
branch : trunk
2009-02-18 22:39:00 +01: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
1f183d9e80 [7294] Fix: Spell 59752 now removes all movement impairing effects and all effects which cause loss of control. Author: Maxxie
--HG--
branch : trunk
2009-02-17 17:41:11 -06:00
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 <NoFantasy@getmangos.com>
--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 <dislord@nomail.com>

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

--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 <dislord@nomail.com>

--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