Commit Graph

36 Commits

Author SHA1 Message Date
megamage
123ea8543a [8271] Fix: SQL typo in [8269] Author: Ebrithil
--HG--
branch : trunk
2009-07-31 11:25:00 +08:00
megamage
60c3d7db71 [8269] added "m_" prefix to ArenaTeam classmember-variables Author: balrok
--HG--
branch : trunk
2009-07-31 11:22:27 +08:00
QAston
74d6ea4efb *[8267] ArenaTeam: added check, that teamrating won't become negative Author: Barlok
*[8268] ArenaTeam: new rating-system for season 6 Authors: danielich and XTZGZoReX.

--HG--
branch : trunk
2009-07-30 12:59:59 +02:00
QAston
9ce979130e *Fix build.
--HG--
branch : trunk
2009-07-14 01:04:19 +02:00
Destalker
6a8527934b *Update arena rating calculation
--HG--
branch : trunk
2009-07-14 00:04:15 +02:00
megamage
e765469b13 *Fix arena team rating calculation.
--HG--
branch : trunk
2009-06-18 16:51:32 -05:00
megamage
9e0e4e5e4d *Add debug log for modify personal rating.
--HG--
branch : trunk
2009-06-18 11:33:32 -05:00
Machiavelli
3a309abfab * In case of a 'for' loop, don't declare the iterator of a type that has a larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases).
* Other minor cleanups, Null pointer checks etc.

--HG--
branch : trunk
2009-06-18 17:21:25 +02:00
megamage
7e4fcb1793 *Now new arena team has both team rating and personal rating = 0. According to the change in 3.1
--HG--
branch : trunk
2009-06-17 18:19:08 -05:00
megamage
540c5291eb *Merge.
--HG--
branch : trunk
2009-06-07 12:02:54 -05:00
megamage
aaeb7adedd *Fix the output of arena log. Note: use I64FMT to output full guid (uint64) and %u to output guidlow (uint32). Otherwise the log will be bugged.
--HG--
branch : trunk
2009-06-07 10:23:50 -05:00
panaut0lordv
f6447e8f34 *Including style fixing - part 1
--HG--
branch : trunk
2009-06-04 21:41:07 +02:00
megamage
2c350bcb80 *Merge.
--HG--
branch : trunk
2009-06-01 15:53:03 -05:00
krz
38c6880d93 Detailed log of arena fights and arena team creation.
--HG--
branch : trunk
2009-06-01 20:44:23 +02:00
megamage
de11b9e901 [7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
raczman
1e77ccd935 Change container type for guilds to Map.
Use const_iterator in case nothing is modified in loop.
author: bladex.

--HG--
branch : trunk
2009-04-12 12:57:06 +02:00
megamage
c708eba713 [7415] Fixed removing player from battlegrounds Author: Triply
Probably fixed bug with not ending battlegrounds - reported in previous commit message
    Fixed player will loose arena rating if
    1. he doesn't click on enter rated arena window - and timer will expire
    2. he logs out during time he is invited to rated arena match
    3. if he logs out during fight in rated arena match
    Patch is not tested, i will test it as soon as possible.

--HG--
branch : trunk
2009-03-09 17:07:40 -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
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
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
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
1707d1e5ae *Switch to 3.0.8.
*Update to Mangos 1119.

--HG--
branch : trunk
2009-01-30 19:22:49 -06:00
megamage
400f7b8596 *Temp fix for crash caused by AV creature. Need to find a way to allow summoned creatures to use RandomMovement.
--HG--
branch : trunk
2008-12-19 16:05:13 -06:00
megamage
ce643187f0 *Update to Mangos 6888. Source: Mangos.
*Major change: Make corpse erase async, Avoid DB access on deleting guild member.
*Skip 6885 because of performance concern.

--HG--
branch : trunk
2008-12-08 16:34:03 -06:00
megamage
920dae4f7f *Fix the bug about arena personal rating.
*Update to Mangos 6870. Source: Mangos. Main change: add a function SaveDataFieldToDB().

--HG--
branch : trunk
2008-12-01 17:36:11 -06:00
megamage
bb1ee8a004 *Update to Mangos 6867. Source: Mangos.
*Big changes:
*[6858] Prevent cheating with ignore waiting in login queue.
*[6863] Arena team related clean ups and adding parts of w12x's arena patch.
*Some Config changes and guild changes.

--HG--
branch : trunk
2008-11-30 12:47:26 -06:00
w12x
4b6072f9c3 Fixed entering arena teams. Hopefully.
--HG--
branch : trunk
2008-11-16 18:44:17 +01:00
megamage
f6c1a7a93d [svn] Some update on channeled spells.
--HG--
branch : trunk
2008-11-14 14:19:23 -06:00
KingPin
09a0d1122a [svn] * Improve some arena team related DB access
* Cache GM tickets on server startup.
* Remove unused src/game/HateMatrix.h and references.
* Better check client inventory pos data received in some client packets to
skip invalid cases

--HG--
branch : trunk
2008-11-10 09:04:23 -06:00
w12x
6f2e0ee48a [svn] * Fixed xp calculation for low level characters when grouped with a higher level player. Patch provided by Reiner030.
* Fixed positive spells being not resistable when cast on hostile units. Patch provided by QAston.
* Fixed compile warnings in gcc. Patch provided by WarHead.

--HG--
branch : trunk
2008-10-26 11:50:07 -05:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
Seline
2265aef916 [svn] * Merge Temp dev SVN with Assembla.
* Changes include:
   - Implementation of w12x's Outdoor PvP and Game Event Systems.
   - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed).
   - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql).
   - Improved Config cleanup.
   - And many more changes.

--HG--
branch : trunk
2008-10-14 11:57:03 -05:00
w12x
6f0c3469a6 [svn] -enabled instantiated battlegrounds
-enabled arena matches
-rewritten battleground queuing to support joining as group
-removed queue announcements

--HG--
branch : trunk
2008-10-05 08:48:32 -05:00
Neo2003
9b1c0e006f [svn] * Proper SVN structure
--HG--
branch : trunk
2008-10-02 16:23:55 -05:00