Commit Graph

45 Commits

Author SHA1 Message Date
Rat
6fe36efe0f *apply trinity style to whole source
*comment out all mangos to trinity defines
*this will make merging a little harder, but code will be more clear

--HG--
branch : trunk
2009-12-20 15:20:04 +01:00
maximius
654519d1a6 *Some cleanup (mostly whitespace changes)
--HG--
branch : trunk
2009-11-20 19:11:28 -08:00
maximius
3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
f980dd9ac6 *Merge [8524] New cell search algorithm implemented. You can now choose different
visibility distances on continents, in BG/Arenas and instances. Author: Ambal
*Some warning cleanup

--HG--
branch : trunk
2009-09-27 02:24:25 -07:00
megamage
90b55ff7b1 [8424] Added support for strict chatmessage validation Author: arrai
--HG--
branch : trunk
2009-08-27 19:57:35 -05:00
megamage
e954904e6d [8378] Use exceptions instead of explicit size checking for each packet Author: arrai
CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd
    could crash due to the asserts in ByteBuffer.h. That was exploitable by
    malicious players.
    Furthermore, there were duplicate checks: Additionally to
    CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye
    on not exceeding the packet boundaries - just to crash the server for
    sure in such a case.
    To prevent memory leaks or other undesirable states, please read in
    every handler all variables _before_ doing any concrete handling.

--HG--
branch : trunk
2009-08-19 16:26:22 -05:00
QAston
f93830e0ae *Add DeleteObjectWith owner function for gameobject deletion with updating owner object list
*Cleanups in Aura 1852 and recenlty added glyph code.

--HG--
branch : trunk
2009-08-03 14:52:30 +02:00
Nevan
03604a2567 *Fix Spell 1852 (This is a GM tool for silencing players.)
--HG--
branch : trunk
2009-08-01 12:06:06 +02:00
panaut0lordv
f6447e8f34 *Including style fixing - part 1
--HG--
branch : trunk
2009-06-04 21:41:07 +02:00
megamage
295b634ca6 [7731] Some code cleanups, warrning fixes. Author: VladimirMangos
--HG--
branch : trunk
2009-04-29 00:31:03 -05:00
megamage
c5310844db [7672] Move ReceiveEmote from script API to AI API. Author: VladimirMangos
This is also fix triggering ReceiveEmote for EventAI broken at it move to core.

--HG--
branch : trunk
2009-04-15 17:29:33 -05:00
QAston
20c02ef760 *Update of aura system.
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00
XTZGZoReX
8168e7144c * Some changes to last commit. This must be the correct way.
--HG--
branch : trunk
2009-03-31 10:01:21 +02:00
XTZGZoReX
6f5efa3c7a * Do not print chat logs to console. It will simply screw up console output.
* Fix a possible crash in if/else checks in channel chat logging.

--HG--
branch : trunk
2009-03-31 09:18:03 +02:00
megamage
d0a58f705f *Fix a crash.
--HG--
branch : trunk
2009-03-27 12:46:04 -06:00
XTZGZoReX
1b96e085e6 * Correctly filter LANG_ADDON messages in guild chat with ChatLogs.Addon config option. Thanks Tiretunderl for reporting.
--HG--
branch : trunk
2009-03-27 16:40:09 +01:00
XTZGZoReX
0da5f826b8 * Implement logging of battleground chats.
* New config option: ChatLogs.BattleGround.

--HG--
branch : trunk
2009-03-26 16:12:17 +01:00
XTZGZoReX
6b5d111e90 * Fixed 4 possible chat logging crashes.
--HG--
branch : trunk
2009-03-25 20:06:47 +01:00
XTZGZoReX
82e966e5f2 * Added support for logging chats: Guild, raid, party, public, officer chat, addon messages, whispers, system/custom channels.
* Added config options to enable/disable them (ChatLogs.*), LogDB.Chat (enables/disables DB logging of chats), and ChatLogFile to specify the log file to use.

--HG--
branch : trunk
2009-03-25 14:25:15 +01:00
megamage
61645326a7 *Fix a crash. By VladimirMangos
--HG--
branch : trunk
2009-03-17 18:10:54 -06:00
megamage
6d81b4e903 [7479] Implement per client localization for text emote target name. Author: VladimirMangos
--HG--
branch : trunk
2009-03-17 14:55:53 -06:00
megamage
9041286aa2 [7455] Implemented condition that player can be in 2 groups in 1 time - BG raid and normal group / raid. Author: Triply
Patch is tested, but can cause problems / unexpected behaviour.
    TODO: set raid leader of battleground raid to raid leader who entered BG
    TODO: when player leaves group, he is removed from GroupQueueInfo, and for him is created new GroupQueueInfo in normal queue.

    Signed-off-by: Triply <triply@getmangos.com>

--HG--
branch : trunk
2009-03-14 20:00:02 -06:00
megamage
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -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
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
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
1ffb1cef33 *Merge.
--HG--
branch : trunk
2009-01-09 16:43:23 -06:00
Blaymoira
3723bb4aeb *Ignore chattype 3, 39, 40 on battlegrounds
--HG--
branch : trunk
2009-01-07 20:00:41 +01: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
megamage
bacbd4a782 *Update difftime record.
--HG--
branch : trunk
2009-01-06 15:48:42 -06:00
Blaymoira
d22e91d92e *Prevent spamming log files with CMSG_DECLINE_CHANNEL_INVITE - by Biglad
--HG--
branch : trunk
2008-12-31 15:51:33 +01:00
megamage
73d1b07a91 [svn] Fix some typos.
--HG--
branch : trunk
2008-11-10 17:19:35 -06: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
XTZGZoReX
054725122f [svn] * Various small changes here and there.
* Implementing MangChat IRC system.
* Added new config option, MAX_WHO, can be used to set the limit of characters being sent in a /who request from client.

--HG--
branch : trunk
2008-10-12 14:03:38 -05:00
Neo2003
95b91afbab [svn] * svn:eol-style native set on all files that need it
--HG--
branch : trunk
2008-10-11 14:16:25 -05:00
Neo2003
f736567a37 [svn] * Updated to 6743 and 685
Moved language id used by Arena to a higher place to solve conflicts
Added the empty script folders

--HG--
branch : trunk
rename : 6731-680 => 6743-685
2008-10-09 08:42:22 -05:00
Neo2003
9b1c0e006f [svn] * Proper SVN structure
--HG--
branch : trunk
2008-10-02 16:23:55 -05:00