Commit Graph

358 Commits

Author SHA1 Message Date
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
panaut0lordv 2826ebee2f Codename update.
--HG--
branch : trunk
2009-03-08 19:04:29 +01:00
megamage 56416558fa [7402] Fixed graveyards in WSG, prevent from cheating. Patch provided by Balrok.
--HG--
branch : trunk
2009-03-08 11:53:35 -06:00
megamage 88c050182c *Fix build.
--HG--
branch : trunk
2009-03-08 11:31:00 -06:00
megamage 8cb6894c3d *Merge.
--HG--
branch : trunk
2009-03-08 11:23:50 -06:00
megamage 520ce96257 [7399] Rewrited BattleGround starting code - moved it to battleground class. Author: Triply
Fixed message color for premature finish warnings.
    Fixed .debug bg command won't allow 1v0 arenas now, only battlegrounds 1v0.
    Added battleground announcer message removed in [7384].

[7401] Fixed bgqueue invitation to already started battlegrounds - not tested. Author: Triply

--HG--
branch : trunk
2009-03-07 12:05:30 -06:00
megamage f63c07e669 [7398] Now really really fix error message Author: VladimirMangos
--HG--
branch : trunk
2009-03-07 10:43:27 -06:00
megamage 99c765cec3 [7397] Implement above ground zone 4395 detection. Author: GriffonHeart
By hack code until proper multilevel zone data store not implemented.

--HG--
branch : trunk
2009-03-07 10:42:54 -06:00
megamage acceab49c6 [7396] Fixed crash at group disband after some player invite decline and offline. Author: VladimirMangos
Correctly cleanup invites list at decline.

--HG--
branch : trunk
2009-03-07 10:42:13 -06:00
megamage e3fa93e75f [7395] Default MaxPlayerLevel should be 80 Author: multiplexer
--HG--
branch : trunk
2009-03-07 10:40:59 -06:00
megamage 4f6c96b98c [7394] Check loot_template.maxcount for max allowed value (255) and make better report for this case. Author: VladimirMangos
Also optimize strcture LootStoreItem that let use 4 byte for loot template element in memory instead 5 bytes.
    But limit group id to 127 max value. Check this at loading.

--HG--
branch : trunk
2009-03-06 19:39:42 -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