Commit Graph

51 Commits

Author SHA1 Message Date
megamage
0d53225fdc [7392] Fixed SQL query for storing pending arena points for offline players for PGSQL. Author: ApoC
--HG--
branch : trunk
2009-03-06 18:14:41 -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
0b32a2c751 [7370] Fixed crash in CheckSkirmishForSameFaction() function, when we erased iterator which shouldn't be erased
Fixed crash in BattleGroundQueue::Update() by changing BGFreeSlotQueueType from deque to list. Author: Triply

--HG--
branch : trunk
2009-03-02 17:07:18 -06:00
megamage
8f874caccd [7366] Enabled skirmish arena matches for same faction. Author: Triply
Patch is tested and should not add crashes.

--HG--
branch : trunk
2009-03-02 17:02:27 -06:00
megamage
f503f320ad [7359] Fixed crash when removing battleground from BGFreeSlotQueue. Author: Triply
Fixed player will now drop a flag before he logs out, if he is in BG.

--HG--
branch : trunk
2009-03-02 16:46:43 -06:00
megamage
9ba3d07fc2 Fixed crashes when inviting same faction arena groups.
Fixed crash in BGEndedRemoveInvites (by setting queue type from deque to list). Author: Triply

--HG--
branch : trunk
2009-03-02 16:38:36 -06:00
megamage
59b5210574 Finally fixed problem with joining rated arena matches.
Thx to balrok for help and testing. Author: Triply

--HG--
branch : trunk
2009-02-27 12:58:02 -06:00
megamage
361f4b2e3c [7353] Fixed problem with joining rated arena matches. Thanks to balrok for help. Author: Triply
--HG--
branch : trunk
2009-02-27 12:57:33 -06:00
megamage
31e71cef1b [7352] Fixed conditions in FillPlayersToBG to correctly kick group only when other team's selection pool is empty. Problem reported by balrok. Author: Triply
--HG--
branch : trunk
2009-02-27 12:56:48 -06:00
megamage
9e392472d4 [7351] Fixed removing normal horde groups from queue. Author: Triply
Fixed Reflective shield - patch provided by Rastik. Thx

--HG--
branch : trunk
2009-02-27 12:56:00 -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
Drahy
5076e99df1 * Fixed recent crashes in battleground code at player leave. Thx VladimirMangos
--HG--
branch : trunk
2009-02-19 16:09:49 +01: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
5881a1c25c Fixed crash at out of range access to array data in battleground code. Author: VladimirMangos
--HG--
branch : trunk
2009-02-16 20:11:24 -06:00
megamage
0a5b8f78f5 Small BattleGroundQueue::RemovePlayer cleanup. Author: VladimirMangos
--HG--
branch : trunk
2009-02-16 20:09:22 -06: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
7305f57846 Fixed arena related client crash Author: tomrus88
--HG--
branch : trunk
2009-02-13 20:04:09 -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
70798207f8 [7257] Fixed unexpected errors in log and non-freed memory at battleground system shutdown. Author: VladimirMangos
--HG--
branch : trunk
2009-02-10 09:55:16 -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
7f39dbd848 *add .debug bg to allow starting a battleground with just one player it's implemented like .debug arena - so you toggle debug bg on or off By balrok
--HG--
branch : trunk
2009-02-10 00:39:03 -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
w12x
38c8fe6a41 Fixed battlegrounds starting with less than minplayersperteam on one side.
--HG--
branch : trunk
2009-01-31 23:17:06 +01: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
0480fa7339 *Merge.
--HG--
branch : trunk
2009-02-02 10:34:47 -06:00
megamage
ef88b04451 *Update to Mangos 7183.
--HG--
branch : trunk
2009-01-25 16:35:14 -06:00
megamage
4230318f96 *Update to Mangos 7136.
--HG--
branch : trunk
2009-01-21 16:18:57 -06:00
megamage
40e7dcb599 *Update to Mangos 7111.
--HG--
branch : trunk
2009-01-18 19:01:41 -06:00
megamage
e5575eeaf4 *Mangos [7026] Current arena season id and state send and setting in mangosd.conf. By GriffonHeart.
--HG--
branch : trunk
2009-01-04 23:25:27 -06:00
megamage
5a5274d21f *Update to Trinity 707.
--HG--
branch : trunk
2008-12-29 17:34:34 -06:00
megamage
f0ca8d152f *Fix a bug about arena point autodistributiontime.
--HG--
branch : trunk
2008-12-29 12:06:33 -06:00
megamage
8b209a441d *Update to Mangos 6949.
--HG--
branch : trunk
2008-12-26 17:08: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
aeaa7fd1fc *Fix arena distribution timer.
--HG--
branch : trunk
2008-12-23 13:29:27 -06:00
megamage
2dd0b28fb2 *Update bg and arena code.
--HG--
branch : trunk
2008-12-23 12:58:52 -06:00
megamage
a60bdfb9d4 *Try to fix the arena bug.
--HG--
branch : trunk
2008-12-22 09:45:19 -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
77228c0abb *Change arena_team_member field names.
--HG--
branch : trunk
2008-11-30 22:19:25 -06:00
runningnak3d
3c866d5529 [svn] * Fixed a SQL issue that was causing game events to not be saved
* FROM_UNIXTIME doesn't allow '' inside the ()
* This should solve the issue of jumping from phase 1 -> 2 -> 3 -> 4 without completing the objectives
* This should also tick a LOT of players off if their servers are running with the stock TDB blizz values :P (low pop servers at least).

--HG--
branch : trunk
2008-11-16 02:28:44 -06:00
visagalis
bfa9e75161 [svn] *** Source: MaNGOS ***
* Implement localization of creature/gameobject name that say/yell. Author: evilstar (rewrited by: Vladimir)
* Fix auth login queue. Author: Derex
* Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Author: mobel/simak
* Fixed some format arg type/value pairs. Other warnings. Author: Vladimir
* [238_world.sql] Allow have team dependent graveyards at entrance map for instances. Author: Vladimir

NOTE:
Entrance map graveyards selected by same way as local (by distance from entrance) Until DB support will work in old way base at current DB data.

--HG--
branch : trunk
2008-11-14 17:03:03 -06:00
visagalis
d1e759479b [svn] *** Source: MaNGOS ***
* Fixed build extractor at Windows Vista. Author: Vladimir
* Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox.
* Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza
* Small fixes in send/received packet and simple code cleanup also. Author: Vladimir
* Not output error at loading empty character_ticket table. Author: Vladimir
* Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius
* Applied props to few files.

--HG--
branch : trunk
2008-11-14 16:28:45 -06:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
w12x
ab9eb277b4 [svn] Enabled game events to change the honor and reputation gaining speed in battlegrounds. This is done by a new table in the world database, game_event_battleground_holiday. Structure is the following:
event - id of the game event
bgflag - bitmask, used to set which battleground(s) give extra honor/reputation when the event is active. To add extra honor on a battleground, use 2 ^ bgTypeId as mask. Multiple battlegrounds can be set by logical 'or' ('|') operation.
You will need database data for the table, please check trinitydatabase.org.

--HG--
branch : trunk
2008-10-17 16:36:07 -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