Commit Graph
100 Commits
Author SHA1 Message Date
megamage 8f02496967 *Fix build.
--HG--
branch : trunk
2009-03-13 19:44:43 -06:00
megamage 5fd6235b2f *Fix a sql. Add a missing sql.
--HG--
branch : trunk
2009-03-13 18:52:19 -06:00
megamage a5882ee84a *Merge.
*"Fix Glowing Blood" is not merged. Outdated patch?

--HG--
branch : trunk
2009-03-13 18:48:53 -06:00
megamage 664fb612b4 [7454] Support scripting for dummy spell effects. Author: Lightguard
Note: scripting calls specially added in end of function for allow calling only
          if internal implementaion absent for dummy effect.

Note: TScript part is not updated.

--HG--
branch : trunk
2009-03-13 18:34:46 -06:00
megamage 090829bdf8 [7453] Fixed some example data in mangos.sql Author: VladimirMangos
--HG--
branch : trunk
2009-03-13 18:30:58 -06:00
megamage 721fad0c1c [7452] Drop from DB broken action button data detected at loading. Author: VladimirMangos
--HG--
branch : trunk
2009-03-13 18:30:27 -06:00
megamage 969eab7be4 [7451] Implement correct work SPELL_AURA_PERIODIC_MANA_LEECH for percent mana cost spells. Author: VladimirMangos
This is fix work of spell 3034 and 5138.

--HG--
branch : trunk
2009-03-13 18:29:38 -06:00
megamage c3d14c8241 [7450] Fixes and improvements in TARGET_BEHIND_VICTIM, SPELL_EFFECT_JUMP2, SPELL_EFFECT_TELEPORT_UNITS work. Author: VladimirMangos
* Move near teleport code for player/creature in Unit::NearTeleportTo
    * Allow correctly seelct target and end point orientation for script casted spells with TARGET_BEHIND_VICTIM
    * Replace use BuildTeleportAckMsg by BuildHeartBeatMsg for creature teleports. BuildTeleportAckMsg
      set active mover for targeted player to affected creature and "freeze" player.

--HG--
branch : trunk
2009-03-13 18:28:10 -06:00
megamage c823272e34 [7449] Fixed BG queue invitation status showed on client. Fixed BG starting timer and BG ending timer. Author: Triply
TODO: make bg queue update player's status each minute.

--HG--
branch : trunk
2009-03-13 18:06:36 -06:00
megamage 62cdd39279 *Add some description of linked spells.
--HG--
branch : trunk
2009-03-13 17:59:58 -06:00
megamage ce4c9cb2ae *Allow not to switch to charmed AI for some scripts.
--HG--
branch : trunk
2009-03-13 17:48:57 -06:00
megamage 5f2edfc7e8 *Fix build.
--HG--
branch : trunk
2009-03-13 17:34:23 -06:00
megamage 7dd699c076 *Remove aura type by caster in some cases. New function RemoveAuraTypeByCaster.
--HG--
branch : trunk
2009-03-13 17:25:46 -06:00
megamage 7c33373289 *Merge more contents from SD2. By nofantasy. Also backport some content from TC2.
--HG--
branch : trunk
2009-03-13 17:14:02 -06:00
QAston 0d5044863e *Add procflag PROC_EX_AURA_REMOVE.
*Use new procflag to fix Psyhic Horror.
*Fix a typo in Living Bomb handler.

--HG--
branch : trunk
2009-03-13 22:48:04 +01:00
megamage 5ea92ebb12 *Fix a bug of checking bags which can store items. Backported from TC2. Thanks to Iskander for pointing out the bug.
--HG--
branch : trunk
2009-03-13 14:57:42 -06:00
megamage f0ad9ee232 *Merge.
--HG--
branch : trunk
2009-03-13 14:44:55 -06:00
megamage 146b2560aa *Call stopmoving in moveidle.
--HG--
branch : trunk
2009-03-13 14:42:57 -06:00
megamage bb7391f129 *Update event ai. Do not clear motionmaster.
--HG--
branch : trunk
2009-03-13 14:28:28 -06:00
QAston be90383b13 *Fix Glowing Blood.
--HG--
branch : trunk
2009-03-13 21:24:02 +01:00
megamage 5e4986ad3a *Update event ai. By nofantasy.
--HG--
branch : trunk
2009-03-13 14:21:15 -06:00
QAston 8963006729 *More strict for auras to put in visible slots.
*Do linked auras triggers only on first/last aura change.
*Fixed issues with auras applied for slots which did not fit to visible aura slots.
*Fix guardian spirit buff remove.

--HG--
branch : trunk
2009-03-13 20:24:40 +01:00
QAston 7fd6d97e0f *Some changes in SPELL_AURA_OBS_MOD_ENERGY handler.
--HG--
branch : trunk
2009-03-13 16:28:36 +01:00
Drahy b8bfa091de * Added sql trinity code style.
--HG--
branch : trunk
2009-03-13 00:20:50 +01:00
megamage 17e0c43d20 *Fix a typo of that last rev.
--HG--
branch : trunk
2009-03-12 17:10:23 -06:00
QAston d13df871c5 *Fix a typo.
--HG--
branch : trunk
2009-03-12 23:43:18 +01:00
QAston 4b82035006 *Fix traps. Thanks to megamage for help.
--HG--
branch : trunk
2009-03-12 23:40:55 +01:00
QAston 23010a854b *Fix Dispersion.
*Fix Living bomb damage trigger.

--HG--
branch : trunk
2009-03-12 23:20:51 +01:00
megamage a38531121d *Fix build.
--HG--
branch : trunk
2009-03-12 15:39:13 -06:00
megamage 2ecad77a76 *Battleground fix. Author: Triply
--HG--
branch : trunk
2009-03-12 14:50:59 -06:00
megamage c63085b225 [7445] Implement SPELL_EFFECT_JUMP2 used in some jump to target (unit/go/coordinates) spells. Author: VladimirMangos
--HG--
branch : trunk
2009-03-12 14:50:14 -06:00
megamage c8e391cf7d [7444] Fixed some recently added and old type conversion warnings. Author: VladimirMangos
--HG--
branch : trunk
2009-03-12 14:49:12 -06:00
megamage 4d62cf902f [7443] Better error reporting at DBC files extraction in ad.exe. No functionlity chnages in normal work case. Author: VladimirMangos
--HG--
branch : trunk
2009-03-12 14:48:44 -06:00
megamage f7f6d6558c *Use m_mover to check if can detect target.
--HG--
branch : trunk
2009-03-12 14:41:38 -06:00
megamage 771f2699d6 *Merge.
--HG--
branch : trunk
2009-03-12 14:28:18 -06:00
megamage 5f57c488d5 *Use better way and safer way to update bindsight visibility.
--HG--
branch : trunk
2009-03-12 14:27:45 -06:00
megamage 16ee4a46c2 *Merge.
--HG--
branch : trunk
2009-03-12 14:22:59 -06:00
megamage 1fbfc6da64 *Assign possessed AI and pet AI to charmed creatures.
--HG--
branch : trunk
2009-03-12 14:15:44 -06:00
megamage ab6e9bd7b4 *Disable bind sight spells to fix the crash.
--HG--
branch : trunk
2009-03-12 10:56:22 -06:00
megamage e6f7a60792 *Let persistant auras affect ally targets in some cases.
--HG--
branch : trunk
2009-03-12 09:15:30 -06:00
megamage a9f77d07ca *Try to fix a crash bug.
--HG--
branch : trunk
2009-03-12 08:58:28 -06:00
Blaymoira 7d617a421b *Fix typos - by EIFEL
--HG--
branch : trunk
2009-03-12 14:02:11 +01:00
Blaymoira 2da8e7915c *Merge
--HG--
branch : trunk
2009-03-12 13:59:50 +01:00
Blaymoira 31b206a377 Backed out changeset: 87b298087552
--HG--
branch : trunk
2009-03-12 13:59:03 +01:00
QAston 4b6103a031 *Fix Unholy and Frost Presence.
--HG--
branch : trunk
2009-03-12 00:48:31 +01:00
QAston fa692e8c50 *Merge.
--HG--
branch : trunk
2009-03-12 00:16:46 +01:00
QAston 0df5a32c0a *Fix -100% speed mods on creatures-this fixes Chains of Ice.
--HG--
branch : trunk
2009-03-12 00:15:51 +01:00
megamage 6e12d3f1b9 [7441] Fixed reward money counting for ACHIEVEMENT_CRITERIA_TYPE_MONEY_FROM_QUEST_REWARD Author: VladimirMangos
--HG--
branch : trunk
2009-03-11 16:18:54 -06:00
megamage 6e29ab4fbb [7440] Use server-side only zone info. Optimize related calles in case zone and subzone use. Author: VladimirMangos
This in some cases make some zones not explorable if it not have server side data in current maps
    but not allow cheating with zone set from client.

--HG--
branch : trunk
2009-03-11 16:17:37 -06:00
megamage 5286f2351f *Remove Mangos revision file.
--HG--
branch : trunk
2009-03-11 16:16:16 -06:00
EIFEL 476e6ff8bf update code style in world.sql
--HG--
branch : trunk
2009-03-11 23:15:01 +01:00
QAston 6683ae58c9 * Fix mind flay target requirements.
--HG--
branch : trunk
2009-03-11 22:27:07 +01:00
QAston 5808c12f5e *Fix crash.
--HG--
branch : trunk
2009-03-11 21:51:24 +01:00
QAston c3026bc755 *Fix divine hymn.
*Prevent unexpected behaviour of dummy proc auras combined with ObsModEnergy auras.

--HG--
branch : trunk
2009-03-11 21:36:02 +01:00
megamage 6f4e33c611 *Merge.
--HG--
branch : trunk
2009-03-11 12:03:43 -06:00
megamage 3c5a92dbe0 *Fix a crash bug.
--HG--
branch : trunk
2009-03-11 11:48:57 -06:00
QAston 444bf06830 *Fix fire nova totem proc.
--HG--
branch : trunk
2009-03-10 23:22:06 +01:00
QAston 234a4d9707 Fix crash.
--HG--
branch : trunk
2009-03-10 23:20:01 +01: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 167ca565d0 *Update bind sight spells code.
--HG--
branch : trunk
2009-03-10 15:26:17 -06:00
QAston fec6be8a74 *Fix compile.
--HG--
branch : trunk
2009-03-10 21:53:11 +01:00
QAston 196c8c9331 *Merge
--HG--
branch : trunk
2009-03-10 21:35:07 +01:00
QAston 0f4f36c893 *Fix Living Bomb.
--HG--
branch : trunk
2009-03-10 21:07:21 +01:00
QAston fdbcfc548d *Another crashfix.
--HG--
branch : trunk
2009-03-10 20:30:43 +01:00
QAston e376e2c940 *Fix possible bug with sending healing and damage bonuses to client.
--HG--
branch : trunk
2009-03-10 19:41:58 +01:00
QAston 43d8fe6394 *Merge
--HG--
branch : trunk
2009-03-10 19:05:48 +01:00
QAston 78407665b7 *Fix crash.
*Fix charge mod apply on auras.

--HG--
branch : trunk
2009-03-10 18:21:57 +01:00
QAston 8ba090d0b4 *Fix mounts.
--HG--
branch : trunk
2009-03-10 17:11:10 +01:00
QAston 6fb63d3325 *Make scrolls not stackable.
--HG--
branch : trunk
2009-03-10 16:44:03 +01:00
megamage f71dff82c6 *Fix build.
--HG--
branch : trunk
2009-03-09 19:17:12 -06:00
megamage aeefdeb8db *Merge.
--HG--
branch : trunk
2009-03-09 18:17:04 -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
QAston 7cc3dfa8d5 *Merge
--HG--
branch : trunk
2009-03-10 00:54:42 +01: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
QAston 19af8f62ad *Fix a typo.
--HG--
branch : trunk
2009-03-10 00:47:59 +01: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 1da3df7432 Revert "Flat Modifier for Glyph of Spiritual Attunement" Author: VladimirMangos
--HG--
branch : trunk
2009-03-09 17:41:18 -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 9bfd8a08e9 *Flat Modifier for Glyph of Spiritual Attunement Author: multiplexer
--HG--
branch : trunk
2009-03-09 17:37:26 -06:00
megamage edcfae2c8a *Restructured/Reordered Npc Commands Author: multiplexer
--HG--
branch : trunk
2009-03-09 17:34:54 -06:00
QAston 1fe1d6c094 Update stacking code.
--HG--
branch : trunk
2009-03-10 00:34:03 +01: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