Commit Graph

75 Commits

Author SHA1 Message Date
megamage
8cb6894c3d *Merge.
--HG--
branch : trunk
2009-03-08 11:23:50 -06:00
megamage
417c7c8319 [7393] Implement access to client side holiday ids. Author: VladimirMangos
* src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence
    * `game_event` now have new `holiday` field for store client side holiday id associated with game event
    * Added new enum HolidayIds with existed at this moment holiday ids.
    * New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check.

--HG--
branch : trunk
2009-03-06 19:36:47 -06:00
megamage
c2261e3502 [7391] Prevent achievement counter overflow, implement ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE generic support.
Before overflow has been possible at 4294967295 lols for example.

    ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE in many cases require check special conditions and targets.
    For this allow call it from scripts:
    * Add Player::UpdateAchievementCriteria functiona ccessable from scripts
    * In emote case it allowed call in form player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE, text_emote_id, achievement_id, target_unit_ptr);

Author: VladimirMangos

--HG--
branch : trunk
2009-03-06 18:14:05 -06:00
megamage
7915fd768a *Merge.
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
Paradox
7b47d509e3 New AHBot plus AuctionHouse changes
--HG--
branch : trunk
2009-03-06 17:47:11 -06:00
megamage
50b3095312 Implement some death related achievements
* ACHIEVEMENT_CRITERIA_TYPE_DEATH (normal and arena types counting)
    * ACHIEVEMENT_CRITERIA_TYPE_DEATH_IN_DUNGEON (instance types by man limit counting)
      Note: need fixed for cases when max allowed players different from recommended count.
    * ACHIEVEMENT_CRITERIA_TYPE_DEATHS_FROM (environment damage sources by types)

    Fixed:
    * ACHIEVEMENT_CRITERIA_TYPE_KILLED_BY_PLAYER
       - self-kill counting as death from players
       - same team player kill in opposition kills counter.

    Also cleanup in Player::EnvironmentalDamage use DBCStructure.h comment.

Author: VladimirMangos

--HG--
branch : trunk
2009-03-06 15:21:44 -06:00
megamage
b7363a72fe [7382] Add 2 unknown field to creature_template sent in SMSG_CREATURE_QUERY_RESPONSE to client Author: NoFantasy
--HG--
branch : trunk
2009-03-05 18:58:58 -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
ae55745f2a [7378]~[7381] achievement code update. Author: VladimirMangos
--HG--
branch : trunk
2009-03-05 09:22:43 -06:00
megamage
c113bf884f factionTemplate->faction can be 0, add appropriate checks to prevent crashes and unexpected work. Author: VladimirMangos
--HG--
branch : trunk
2009-03-03 16:18:22 -06:00
megamage
5238b534ad [7356] Use tabs for indent in Makefiles Author: freghar
--HG--
branch : trunk
2009-03-02 16:41:20 -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
d344d4b6e9 [7298] Switch to support client 3.0.9 (3551). Author: VladimirMangos
--HG--
branch : trunk
2009-02-18 17:21:06 -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
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
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
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
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
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -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
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
QAston
55829e81f7 *Update spel_lchain extraction for 308 dbc.
--HG--
branch : trunk
2009-02-02 18:55:03 +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
1707d1e5ae *Switch to 3.0.8.
*Update to Mangos 1119.

--HG--
branch : trunk
2009-01-30 19:22:49 -06:00
megamage
30f6b38941 *Update to Mangos 7158.
--HG--
branch : trunk
2009-01-24 11:28:00 -06:00
megamage
ab4b9160f2 *Update to Mangos 7151.
--HG--
branch : trunk
2009-01-22 22:44:27 -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
c85c89dc0b *Merge.
--HG--
branch : trunk
2009-01-18 17:58:13 -06:00
Blaymoira
1edf80dec9 *Fixed version required by cmakes. - by raczman
*Added cmake error message if no ACE library found. - by raczman
*Updated sql/updates install file. - by raczman
*Genrevision vcproj fix by deicide.

--HG--
branch : trunk
2009-01-18 11:07:43 +01:00
megamage
02c060be05 *Update to Mangos 7100.
--HG--
branch : trunk
2009-01-17 17:54:11 -06:00
megamage
2cf1a3be1b *Update to Trinity 878.
--HG--
branch : trunk
2009-01-17 13:42:41 -06:00
raczman
09ddc711f4 Cmake build system for trinity
--HG--
branch : trunk
2009-01-17 09:23:33 -05:00
megamage
14e38a3ddf *Update to Mangos 7093.
--HG--
branch : trunk
2009-01-14 18:42:53 -06:00
megamage
83e7f653fe *Update to Mangos 7083.
--HG--
branch : trunk
2009-01-14 00:35:13 -06:00
megamage
eb5a7b02ee *Merge with Trinity 783.
--HG--
branch : trunk
2009-01-04 16:17:46 -06:00
Blaymoira
c9f0d4292a *Cleaned up database queries - by XTZGZoReX
--HG--
branch : trunk
2009-01-04 17:20:23 +01:00
megamage
fa00f43c5c *Mangos [7011] Add check Aura Spell req in Spell::CanCast. By DiSlord.
--HG--
branch : trunk
2009-01-03 10:56:00 -06:00
megamage
1e4381f7b1 *Update to Mangos 7006.
--HG--
branch : trunk
2009-01-02 11:03:43 -06:00
megamage
bf8c7b928f *More makefile fix.
--HG--
branch : trunk
2008-12-28 22:27:02 -06:00
megamage
566ed175e4 *Some fix. Finally usable.
--HG--
branch : trunk
2008-12-26 21:45:02 -06:00
megamage
a87864ba43 *Fix some dbc format bugs.
--HG--
branch : trunk
2008-12-26 18:02:59 -06:00
megamage
184b82abcc Backed out changeset: ad4f100c0a9d
--HG--
branch : trunk
2008-12-24 11:18:01 -06:00
megamage
3cb4e7c716 *Update to Mangos 6938. (Only build for VC9)
--HG--
branch : trunk
2008-12-24 09:58:26 -06:00
megamage
65ef38963d *The last merge from Mangos TBC. Update to Mangos v0.12.
--HG--
branch : trunk
2008-12-22 10:59:38 -06:00