Commit Graph
304 Commits
Author SHA1 Message Date
megamage e69d2cbed9 [7776] Completed implementation of CMSG_SPELLCLICK Author: arrai
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
    npc_spellclick_spells, otherwise you won't be able to use them

--HG--
branch : trunk
2009-05-05 16:56:15 -05:00
megamage a04c9bfe00 [7772] Implement ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_GOLD_VALUE_OWNED Author: DonTomika
--HG--
branch : trunk
2009-05-05 14:48:48 -05:00
megamage 30ac988ad3 *Fix build.
--HG--
branch : trunk
2009-05-03 22:33:41 -05:00
megamage 85fbe3ada2 [7740] More correct flags in trainer list data for profession ranks. Author: VladimirMangos
Note: this is not fix problem with gren show recently learned non-first rank of primary profession.

    Thanks to Seizerkiller for help in reseach.

--HG--
branch : trunk
2009-05-01 01:33:08 -05:00
megamage 4b4f472357 [7737] Implement ACHIEVEMENT_CRITERIA_TYPE_LOOT_TYPE. Author: Trazom
Zone dependent achievement criteria required DB support.

--HG--
branch : trunk
2009-04-29 18:42:53 -05:00
megamage de11b9e901 [7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
megamage bd4c2bdb64 [7728] Use correct loot_type values in data sent to client instead long time existed hacks. Code cleanups. Author: VladimirMangos
Thanks to Seizerkiller and TOM_RUS for help in reseach.

--HG--
branch : trunk
2009-04-27 21:29:01 -05:00
QAston 2d1521dea9 *Fix CAST_INTURRUPT_PREVIOUS flag for eventai action cast
*Rewrite .reload all pet_spells command to make it reset actionbars correctly.

--HG--
branch : trunk
2009-04-26 02:48:20 +02:00
QAston 066af701d3 *Fix frenzy and Ferocious Inspiration proc.
*Add command .reset all pet_spells - use it if you still have problems with pet talents after recent revs changes (like pets with all talents for example)

--HG--
branch : trunk
2009-04-23 20:57:17 +02:00
megamage 3a316370b1 [7696] Fixed compile warnings Author: AlexDereka
--HG--
branch : trunk
2009-04-22 17:56:59 -05:00
megamage 06667c40dd *Fix some bugs about vehicle.
--HG--
branch : trunk
2009-04-21 15:43:03 -05:00
megamage f9befe1d3d [7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange. Author: VladimirMangos
--HG--
branch : trunk
2009-04-19 18:23:10 -05:00
Machiavelli 99fc17d44f * Tabs to spaces cleanup
--HG--
branch : trunk
2009-04-19 18:48:20 +02:00
megamage c7d78b5ff9 *Some work on vehicles.
--HG--
branch : trunk
2009-04-17 15:08:58 -05:00
megamage 0010f7ffe3 [7648] Resolve problems with expected fall damage at near teleport. Author: VladimirMangos
Move near teleport landing code to WorldSession::HandleMoveTeleportAck.
    This make Player::TeleportTo code working in same way for both far/near teleports.
    Move mSemaphoreTeleport from WorldObject to Player and merge with DoNotMove (using 2 fields for far/near teleport flag).
    Skip movement packets until landing confirmation for near teleport from client.

--HG--
branch : trunk
2009-04-11 23:07:07 -05:00
megamage 3120221deb *Note: this patch may do not have any use for TC.
[7645] Fixed problems wit temporary unsummoned pets and cleanup code. Author: VladimirMangos

    * Save temporary unsummoned pet to current slot (instead non_in_slot mode) and
      prevent save as current pet summoned while temporay unsummon (arena)
    * Prevent overwrite temporary summoned pet data
    * At player loading set temporary unsummoned pet data instead pet loading
      if pet expected to be temporary unsummoned in current player state (loading in taxi flight/etc)
    * Restore proper pet at arena leave and unsummon in arena summoned.

--HG--
branch : trunk
2009-04-11 14:47:38 -05:00
XTZGZoReX 2fe9fed7c7 * Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
--HG--
branch : trunk
2009-04-07 10:51:45 +02:00
megamage 5acc0c057b [7612] Move SMSG_TRIGGER_CINEMATIC and SMSG_TRIGGER_MOVIE to functions and use its instead explicit packet creating. Author: NoFantasy
--HG--
branch : trunk
2009-04-05 16:25:00 -05:00
QAston 20c02ef760 *Update of aura system.
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00
megamage 1299521d50 [7559] Implement function Player::RewardPlayerAndGroupAtEvent for reward (quest objective only) player and group at special kill-like events. Author: Ramses_II
Use it for Spell::EffectKillCredit and some dummy code.

--HG--
branch : trunk
2009-03-28 16:26:31 -06:00
megamage ff83e4a9b1 *Fix some bugs of pet.
--HG--
branch : trunk
2009-03-27 22:47:28 -06:00
megamage 68c3039715 *Move most reputation/force faction reaction code to new ReputationMgr. Author: VladimirMangos
--HG--
branch : trunk
2009-03-26 13:53:32 -06:00
megamage 02440eaa10 [7538] Hide some implementation details for reputation/forced faction reaction. Author: VladimirMangos
--HG--
branch : trunk
2009-03-25 16:04:08 -06:00
megamage 1c6c199f5d [7533] Redirect movement packet in proper way to controlled target. Author: VladimirMangos
* In creature case ignore fall/etc damage
    * In player case apply fall damage/etc to controlled player, apply other movement effect to it also.

--HG--
branch : trunk
2009-03-24 17:42:22 -06:00
megamage c5969d6d03 *Make sure the a player can only have one viewpoint.
--HG--
branch : trunk
2009-03-24 13:13:00 -06:00
megamage 208398017a [7529] Hide some implementation details for fall damage calculation and breath timers. Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 09:46:45 -06:00
megamage ba1fd0db90 [7527] Remove redundent arg from Player::EnvironmentalDamage Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 09:44:08 -06:00
megamage 7d9a71a6cf [7523] Fixed: players will now drop flag in battleground if they cast immunity buff on themselves. Author: `win
TODO: players who carry flag in bg are imune to immunity buffs casted by friendly players. (todo added to code).
    Bug: if paladin casts Hand of protection on flag carrier - flag will be dropped, but he should get "target is immune" message.
    Fixed: Do not call Battleground::Update for battleground template objects.
    Fixed: Do not allow immune player to click on object in battleground (not sure if this is correct in all cases).

--HG--
branch : trunk
2009-03-24 09:36:50 -06:00
megamage a47d2e1c22 *Note some script id are changed. DB change may be needed.
[7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args) Author: VladimirMangos

    * Also rewrite use SMSG_PLAY_OBJECT_SOUND/SMSG_PLAY_SOUND
      Now WorldObject have 2 function for sound level dependent from distance (PlayDistanceSound)
      and for not depednet (PlayDirectSound)
    * Old Player::PlaySound function removed and uses need to be updated to WorldObject functions
      Note: function called for _source_ of sound in different from old function.
    * chat command .debug ps removed and .debug playsound can used for bother packects test:
      if no selection used SMSG_PLAY_SOUND, if selection exist including self then SMSG_PLAY_OBJECT_SOUND.

--HG--
branch : trunk
2009-03-22 19:20:03 -06:00
megamage b522a34247 [7513] Implement currencies tab work. Also check related item data at server startup. Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 22:44:59 -06:00
megamage 738e139882 [7510] Some cleanups and commens for special forbidden slots Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 14:55:52 -06:00
megamage 7de6113d90 [7509] Use defines instead explcit value for talent rank cound (in general and for pets) Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 14:55:10 -06:00
megamage de849cc508 Small code cleanup and partial merge with dev branch Author: tomrus88
--HG--
branch : trunk
2009-03-21 14:53:38 -06:00
megamage a84e757793 *Update summon system. Show pet bar for guardians. Allow multiple charms/guardians.
--HG--
branch : trunk
2009-03-21 09:48:44 -06:00
raczman c6860a28f6 Mutilate fix - by _krz.
--HG--
branch : trunk
2009-03-21 14:34:03 +01:00
megamage 8f627853df *More work on summon system.
--HG--
branch : trunk
2009-03-20 14:01:46 -06: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
megamage 4877009098 *Set seer back when it is removed to prevent crash.
--HG--
branch : trunk
2009-03-19 08:59:15 -06:00
megamage 82777554a0 *Merge with 243.
--HG--
branch : trunk
2009-03-18 15:31:44 -06:00
megamage 5fb7a0585c *Fix a bug that redundant packets are sent to clients which may cause freeze.
--HG--
branch : trunk
2009-03-17 14:35:11 -06:00
megamage 0213ad8a1f [7475] Move Player::IsInFeralForm to Unit::IsInFeralForm Author: VladimirMangos
--HG--
branch : trunk
2009-03-16 15:57:34 -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 <[email protected]>

--HG--
branch : trunk
2009-03-14 20:00:02 -06:00
megamage 2490a3e250 *Fix a typo that makes players can see invisible units.
*Update farsight target code. Only change seer when receive client request.

--HG--
branch : trunk
2009-03-14 15:11:04 -06:00
megamage 5d440f2898 *Init spells for vehicles.
--HG--
branch : trunk
2009-03-14 09:49:10 -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 7dd699c076 *Remove aura type by caster in some cases. New function RemoveAuraTypeByCaster.
--HG--
branch : trunk
2009-03-13 17:25:46 -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 167ca565d0 *Update bind sight spells code.
--HG--
branch : trunk
2009-03-10 15:26:17 -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 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