Commit Graph

126 Commits

Author SHA1 Message Date
megamage
7915fd768a *Merge.
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
megamage
80cd305082 [7383] Changed some comments in config file, changed default MaxRatingDifference from 100 to 150 in default config.
[7384] Removed some comments.
    Fixed problem that queues doesn't invite new players to already running battlegrounds.
    Some other fixes for announce system will be soon.

Author: Triply

--HG--
branch : trunk
2009-03-05 19:02:08 -06:00
megamage
635faad2bc *Merge.
--HG--
branch : trunk
2009-03-05 15:24:09 -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
Blaymoira
c5175e5e47 *Implement SCRIPT_COMMAND_KILL for database scripting
--HG--
branch : trunk
2009-03-05 17:25:29 +01:00
megamage
8998eba728 [7368] Implement unequip unexpected offhand weapons at talent reset (mostly for warror talent case). Author: Lightguard
Implemented OffhandCheckAtTalentsReset option for unequip at zone change (default)
    and at talent reset itself (can be enabled).

--HG--
branch : trunk
2009-03-02 17:04:46 -06:00
megamage
b1677c901d [7362] Use IN_MILISECONDS where appropriate, other cleanups. Author: VladimirMangos
--HG--
branch : trunk
2009-03-02 16:53:50 -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
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
85d5d94e71 [7333] Refactoring DestinationHolder/Traveler/Unit::SendMonsterMoveWithSpeed code. Author: VladimirMangos
* Move common code in appropriate functions.
    * Correct select speed and 2D/3D distance for creature/player walk/fly

--HG--
branch : trunk
2009-02-26 20:35:40 -06:00
megamage
65a933c6c1 *Fix build.
--HG--
branch : trunk
2009-02-24 11:55:56 -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
107218fe44 *Merge.
--HG--
branch : trunk
2009-02-22 17:35:14 -06:00
Blaymoira
c5204ca3a0 *Configurable option time for reconnect without queue - by Iskander
--HG--
branch : trunk
2009-02-21 18:31:26 +01:00
megamage
ec52b48c46 [7305] Allow use datalong2 not only for set target for DB script cast but also caster (1 bit set target (target/source), 2 bit set caster (source/target)) Author: VladimirMangos
--HG--
branch : trunk
2009-02-19 18:56:50 -06:00
megamage
e21b2c9baa *Implemented gameobjects and creatures grouping (pools of them)
*Groups (called pools) can be also member of any game event
Author: Neo2003

--HG--
branch : trunk
2009-02-19 18:44:20 -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
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
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
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
KingPin
79cd8138cd Merge
--HG--
branch : trunk
2009-01-26 19:44:03 -05:00
KingPin
8dd98a1a12 Non working code backed out
--HG--
branch : trunk
2009-01-26 19:43:00 -05: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
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
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
94f0a02f66 *Merge.
--HG--
branch : trunk
2009-01-27 14:54:54 -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
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
1bbd896861 *Update to trinity 921.
--HG--
branch : trunk
2009-01-19 20:26:49 -06:00
Blaymoira
a07f3af045 *Merged db_version and script_db_version table in one table - by Zor
--HG--
branch : trunk
2009-01-19 17:38:03 +01:00
megamage
c85c89dc0b *Merge.
--HG--
branch : trunk
2009-01-18 17:58:13 -06:00
Blaymoira
85f171307f *Implemented configurable flying mount use on maps - by Zor
--HG--
branch : trunk
2009-01-18 18:29:55 +01:00
megamage
80263de422 Update to Trinity 863.
--HG--
branch : trunk
2009-01-16 14:32:47 -06:00
megamage
40a1154c5b *Update to Mangos 7092.
--HG--
branch : trunk
2009-01-16 14:17:24 -06:00
KingPin
b5debc9a67 Lets try this again... missing part from faction fix.
--HG--
branch : trunk
2009-01-15 22:25:19 -05:00
raczman
4ce857b400 Cleanup of log output
--HG--
branch : trunk
2009-01-15 22:01:47 -05:00
megamage
cc92edba07 *Fix a typo. By Paradox.
--HG--
branch : trunk
2009-01-14 00:34:08 -06:00
megamage
1ffb1cef33 *Merge.
--HG--
branch : trunk
2009-01-09 16:43:23 -06:00