Commit Graph

369 Commits

Author SHA1 Message Date
XTZGZoReX
4317751930 * Re-implementing console log colors.
* Removed unused code in Log.cpp.

--HG--
branch : trunk
2009-03-20 18:16:36 +01:00
XTZGZoReX
d1adac0d11 * Merge.
--HG--
branch : trunk
2009-03-20 15:17:58 +01:00
megamage
a2392121f0 *Fix the bug that summon dbc is not read. Now creatures can be summoned.
*Make minipet as tempsummon instead of pet. Make totem as tempsummon.

--HG--
branch : trunk
2009-03-19 14:41:30 -06:00
XTZGZoReX
3c713189fb * Correctly implement database logging in WorldLog.
* This fixes LogDB.World config option.

--HG--
branch : trunk
2009-03-19 21:28:25 +01:00
XTZGZoReX
9fe43fa9c0 * Implementing database logging:
** LogTime and LogColors config options removed due to incompatibility.
** Old file logging still available.
** Totally redone the Log class.
** Config options added: EnableLogDB, DBLogLevel, LogDB.Char, LogDB.RA, LogDB.GM -- remember to update config file.
** SQL updates attached.

--HG--
branch : trunk
2009-03-19 21:13:52 +01:00
XTZGZoReX
6c32bd5441 * Fixed ByteBuffer::read<std::string> specialization. This one is correct.
--HG--
branch : trunk
2009-03-19 17:13:56 +01:00
XTZGZoReX
2f9688bb07 * Small speedups in mempool/dotconfpp.
--HG--
branch : trunk
2009-03-19 15:42:53 +01:00
XTZGZoReX
a075d37fdd * Removed unused/unneeded classes: Base, Mthread
* Fixed a merge issue that broke VC71 files.
* Moved WheatyExceptionReport to shared, where it should be.

--HG--
branch : trunk
2009-03-19 15:32:16 +01:00
megamage
886b2a51e9 *Fix build.
--HG--
branch : trunk
2009-03-18 21:20:35 -06:00
megamage
73d13c4992 *Read dbc summon properties for future use.
--HG--
branch : trunk
2009-03-18 20:54:39 -06:00
megamage
1c87752584 [7485] Added support for PostgreSQL connection using Unix sockets. Author: ApoC
For using socket connection specify host name as . and port as
    path to Unix socket directory or . for default path specified
    in PostgreSQL compile time.

--HG--
branch : trunk
2009-03-18 20:39:21 -06:00
megamage
f8bb0cd167 *Commend a function because it break build.
--HG--
branch : trunk
2009-03-18 20:22:42 -06:00
XTZGZoReX
838ad6d847 * Merge.
--HG--
branch : trunk
2009-03-18 21:57:49 +01:00
XTZGZoReX
d84cec89c0 * Added specialized ByteBuffer::read for std::string. This will aid in packet processing later.
--HG--
branch : trunk
2009-03-18 21:34:59 +01:00
QAston
21374e2590 *Fix milling.
*Fix Divine Shield.

--HG--
branch : trunk
2009-03-18 21:04:46 +01:00
XTZGZoReX
5184783bd1 * Fixed/improved the config library: Removed useless methods and fixed the existing.
* Few related changes to make the rest of the core reflect the changes.

--HG--
branch : trunk
2009-03-18 20:46:39 +01:00
megamage
46dfd6261b [7477] Implement work ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM Author: VladimirMangos
--HG--
branch : trunk
2009-03-17 14:54:32 -06:00
megamage
61f519ca26 [7464] Move check of spell using for lock open to single function. Remove more hacks. Author: VladimirMangos
--HG--
branch : trunk
2009-03-15 17:54:24 -06:00
megamage
5286f2351f *Remove Mangos revision file.
--HG--
branch : trunk
2009-03-11 16:16:16 -06:00
megamage
dc4a456416 [7439] Fix wrong liquid level in some places. Need reectract maps. Author: DiSlord
Remove some log on extract maps.
    Add liquid status log to .gps command

--HG--
branch : trunk
2009-03-10 15:33:54 -06:00
megamage
099d302e69 *Fix a typo in ObjectMgr::LoadAreaTriggerTeleports. By VladimirMangos
--HG--
branch : trunk
2009-03-10 15:33:14 -06:00
megamage
a0fede4fc2 [7437] Fixed client visible instance ids for battlegrounds. Author: balrok
--HG--
branch : trunk
2009-03-10 15:30:44 -06:00
megamage
1c151b7244 [7436] Fixed Average Wait time for all BG/arena queue types. By Balrok and Triply.
--HG--
branch : trunk
2009-03-10 15:29:50 -06:00
megamage
0a8d58c3ff [7435] Fixed Spell::EffectAddHonor to corrcetly add honor based on player's level Author: Triply
--HG--
branch : trunk
2009-03-10 15:28:51 -06:00
megamage
cd5088845d [7434] Fix one paladin spell bonus Author: rechapa79
--HG--
branch : trunk
2009-03-09 18:15:27 -06:00
megamage
bb8dedb581 [7433] Fixed death runes counting. Patch provided by Rastikzzz.
--HG--
branch : trunk
2009-03-09 18:14:38 -06:00
megamage
b332caa1b5 [7432] Fixed BattleGround's bonus_honor based on player level and reputation rewards. Implement functions for BattleGroundWeekends. Author: balrok, Triply
Correctly assigned some comments.

--HG--
branch : trunk
2009-03-09 18:14:06 -06:00
megamage
0684515b90 [7431] Fix the gnome racial spell Author: Lightguard
--HG--
branch : trunk
2009-03-09 18:09:00 -06:00
megamage
5f7a2b4355 [7428] Add new .map file format use more compact data store and use
Rewrite .map extractor
     + extract more useful data
     + add "-f 0" option for disable size/accuracy optimisation
     + Compatability vs 2.4.3 client data
    More fast get .map data
    Implement fatigue timer
    Rewrite breath timer
    Allow absorb/resist for lava/slime environmental damage

    Need re-extract map for work.

Author: DiSlord

--HG--
branch : trunk
2009-03-09 18:06:19 -06:00
megamage
e68bb30fd1 [7427] Sort ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE achievements by normal/heroic and check current player mode fit. Author: VladimirMangos
Also ignore any ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE achievements with not implemented custom requirements.

--HG--
branch : trunk
2009-03-09 18:01:25 -06:00
megamage
7a2f21a0b1 [7426] Mounted players now can capture tower point in Eye of Storm. Author: Triply
Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject

--HG--
branch : trunk
2009-03-09 18:00:56 -06:00
megamage
a32382a5ec [7425] Fixed crash in BattleGround::Update() Author: Triply
--HG--
branch : trunk
2009-03-09 17:58:04 -06:00
megamage
3d3656297f [7424] Codestyle: removed not needed \n in log output. Author: balrok
--HG--
branch : trunk
2009-03-09 17:56:51 -06:00
megamage
f4e473c877 [7423] Disable incremental limking for binaries in debug mode. Author: VladimirMangos
Anyway it always fail and back to non-incremental way.

--HG--
branch : trunk
2009-03-09 17:53:33 -06:00
megamage
f9aaf5bffb [7422] Allow localization base at guildmaster locale default guild rank names at guild creating. Author: VladimirMangos
--HG--
branch : trunk
2009-03-09 17:48:18 -06:00
megamage
209f24d7e0 [7421] Check fread result at DBC file loading. Author: VladimirMangos
This is more safe in general and prevent "warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result"

--HG--
branch : trunk
2009-03-09 17:46:50 -06:00
megamage
0a6ef039b2 [7420] Not set cdecl calling convention for x64 platform for Unic/Linux. Author: VladimirMangos
This will prevent generation "warning: 'cdecl' attribute ignored"

--HG--
branch : trunk
2009-03-09 17:46:07 -06:00
megamage
7b43f68ff7 [7419] Fixed some type convertion warnings. Author: VladimirMangos
--HG--
branch : trunk
2009-03-09 17:44:59 -06:00
megamage
1131953fa1 [7418] Implement new log filter LogFilter_AchievementUpdates that let avoid achievments updates spam in logs if not needed. Author: VladimirMangos
Enabled by default.

--HG--
branch : trunk
2009-03-09 17:41:50 -06:00
megamage
fb9f44bf80 [7417] Fixed crash at access by unexpected NULL pointer in quest templates map. Author: VladimirMangos
Never never use operator[] for _access_ to elements std::map.

--HG--
branch : trunk
2009-03-09 17:40:40 -06:00
megamage
f014ccd3bd [7416] Fixed minimap icon for battlegrounds and arenas. Author: balrok
--HG--
branch : trunk
2009-03-09 17:08:07 -06: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
1f296b7d40 [7414] Fixed premature finish timer messages for battleground (va_start was broken). Author: Triply
Fixed typo with BattleGroundPlayerMap.
    Optimized implementation for removing offline players from battleground.
    Fixed typo in BattleGroundMgr::DeleteAllBattleGrounds.
    Patch is tested and should work.

    TODO there is a bug if you disable premature finish timer, that can cause battlegrounds to be never ending!
    TODO rewrite BattleGround::RemovePlayer function - and fix bugs there!
    I might not have today enough time to fix those bugs.

--HG--
branch : trunk
2009-03-09 17:07:12 -06:00
megamage
01b67a1f6a [7413] Fixed finally problems with node names localization in BattleGroundAB messages. Author: VladimirMangos
Also fix build at some platforms.
Note: GetTrinityString should be removed in the future when AV is updated.

--HG--
branch : trunk
2009-03-09 17:06:13 -06:00
megamage
c9796bab32 [7412] Do not allow player with deserter debuff to be teleported to battleground Author: Triply
--HG--
branch : trunk
2009-03-09 17:01:18 -06:00
megamage
5d5b37ab32 *Support localization for messsages in battleground. Author: VladimirMangos
[7411] Use similar localization classes for World::SendWorldText muti-line message. Author: VladimirMangos

--HG--
branch : trunk
2009-03-09 17:00:31 -06:00
megamage
39bb92f9db [7405] Show loaded 100% for case some player/pet/creature level data skipped as unused. Author: VladimirMangos
This cases have detail log output, but if detail mode disabled it look like strange not 100% load without reason.

--HG--
branch : trunk
2009-03-09 16:38:53 -06:00
megamage
f477021938 [7404] Fixed cheating in rated arena matches by alt+f4. Author: Triply
--HG--
branch : trunk
2009-03-09 16:36:58 -06:00
megamage
e979eb56f2 *Merge.
--HG--
branch : trunk
2009-03-08 13:07:59 -06:00
megamage
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00