Commit Graph

101 Commits

Author SHA1 Message Date
megamage
edcfae2c8a *Restructured/Reordered Npc Commands Author: multiplexer
--HG--
branch : trunk
2009-03-09 17:34:54 -06:00
megamage
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
88c050182c *Fix build.
--HG--
branch : trunk
2009-03-08 11:31:00 -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
f87dda2473 [7357] Fixed double applied playerlink in .levelup command. Author: balrok
--HG--
branch : trunk
2009-03-02 16:45:41 -06:00
Paradox iamparadox@netscape.net
ef8d2ac080 AHBot/AH changes
--HG--
branch : trunk
2009-02-28 17:42:29 -05:00
megamage
adb19df474 [7349] Implement spell cast depenences from area/quest.aura state store in new table spell_area. Author: VladimirMangos
* It allow store requirenments: area, active or rewarded quest (until possible another quest not rewarded),
      aura present at character, character race/gender.
    * Listed spell can marked as auto-casted when fit requirents. In this case spell requirements checked at
      zone/subzone update (and then resurraction also), quest start/reward, dummy aura apply.
    * Old hardcoded lines for similar check removed from sources and required DB support for work now.

--HG--
branch : trunk
2009-02-27 12:53:27 -06:00
megamage
0f9238ecb1 [7332] Allow provided target for .distance command using player name or shift-link with guid. Author: VladimirMangos
--HG--
branch : trunk
2009-02-25 16:47:22 -06:00
megamage
5fda499266 *Merge.
--HG--
branch : trunk
2009-02-24 21:14:00 -06:00
megamage
8770a90bc6 *Update of some debug command.
--HG--
branch : trunk
2009-02-24 21:06:12 -06:00
megamage
699bc588b8 [7330] Code warnings and style cleanups. Some bugs fixes. Author: VladimirMangos
1) comparison singed and unsigned values
    2) redundent includes
    3) wrong constructor :-part field initilization
    4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
    5) explicitly list not implemented achievement types.

    Also bugs fixed:
    1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
    2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
    3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.

--HG--
branch : trunk
2009-02-24 11:14:28 -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
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
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
6aee5fcbe7 *Merge.
--HG--
branch : trunk
2009-02-12 17:09:15 -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
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
Paradox
d230302b16 Replace tabs with spaces in more files.
--HG--
branch : trunk
2009-02-09 08:16:34 -05:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
Blaymoira
eb5fee2665 *More cleanups
--HG--
branch : trunk
2009-01-23 16:38:09 +01:00
KingPin
e1f765a972 AuctionHouseBot patch added. thanx to everyone who worked on it especially Paradox. Only apply 930_characters.sql if you dont already have AHBot installed. AHBot requires an account ID and a character ID to work with, set them in trinitycore.conf and also login atleast once to this character.
--HG--
branch : trunk
2009-01-20 16:44:05 -06:00
megamage
f08e9d323b [7235] New command: .reset achievements. Author: VladimirMangos
--HG--
branch : trunk
2009-02-06 15:40:48 -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
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
4e13ff356f *Merge.
--HG--
branch : trunk
2009-02-02 17:34:49 -06:00
megamage
e9d6bfd3bb [7221] Add output player names as sift-links in more chat commands. Author: VladimirMangos
Did not merge the part of HandleAccountSetGmLevelCommand.

--HG--
branch : trunk
2009-02-02 15:36:52 -06:00
QAston
cccfd132dd *Handle SPELL_AURA_MOD_WEAPONTYPE_IGNORE_TARGET_RESISTANCE and new spellmods.
--HG--
branch : trunk
2009-02-02 22:31:11 +01:00
megamage
d487e6d039 [7219] Improvements ins shift-links work.
* Implement support 'Hplayer' link type. Mostly as player name highlights in command messages.
    * Support shift-links parsing withoyt '|c' color prefix
    * Many related code cleanups.

Author: VladimirMangos

--HG--
branch : trunk
2009-02-02 09:50:13 -06:00
megamage
7d855bec0a [7211] Re-calculate "gameobject for quests" data at quest_template reload. By VladimirMangos.
--HG--
branch : trunk
2009-02-01 16:29:01 -06:00
megamage
336e8501f0 *Update to Mangos 7208. Implement phase system.
--HG--
branch : trunk
2009-01-31 16:38:50 -06:00
megamage
25ab1fa4ad *Update to Mangos 7200.
--HG--
branch : trunk
2009-01-29 19:33:39 -06:00
megamage
a8c836f8d9 *Update to Mangos 7194.
--HG--
branch : trunk
2009-01-27 14:47:46 -06:00
megamage
c5de7cccb8 *Update to Mangos 7190.
--HG--
branch : trunk
2009-01-26 17:13:27 -06:00
megamage
ef88b04451 *Update to Mangos 7183.
--HG--
branch : trunk
2009-01-25 16:35:14 -06:00
megamage
f0ebb96064 *Update to HG 957.
--HG--
branch : trunk
2009-01-23 14:23:25 -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
8739ded05d *Merge.
--HG--
branch : trunk
2009-01-17 13:34:43 -06:00
megamage
88fd745532 *Fix some bugs about movement.
--HG--
branch : trunk
2009-01-17 13:29:26 -06:00
megamage
f414ab1686 *Update flee and confuse movement.
--HG--
branch : trunk
2009-01-17 00:00:48 -06:00
Paradox
2d654fdc41 Fix cross faction interaction
--HG--
branch : trunk
2009-01-15 21:29:32 -05:00
megamage
1ffb1cef33 *Merge.
--HG--
branch : trunk
2009-01-09 16:43:23 -06:00
megamage
2377f49ea8 *Update charm and possess code.
--HG--
branch : trunk
2009-01-08 21:48:38 -06:00
megamage
75cd06b98c *Mangos Implement AURA_STATE_HEALTH_ABOVE_75_PERCENT use. By DiSlord.
*Mangos [7045]. More correct spell select for creatures if spell PreventionType == SPELL_PREVENTION_TYPE_SILENCE. Also add check for PreventionType == SPELL_PREVENTION_TYPE_PACIFY. By DiSlord.
*Mangos [7046] Do more security level checks in commands using HasLowerSecurity. Make use .account set addon safe for players. By Vladimir.
*Mangos [7047] Fix Draenei race spell add at client switch. By DiSlord.

--HG--
branch : trunk
2009-01-07 11:56:57 -06:00