Commit Graph

405 Commits

Author SHA1 Message Date
megamage
295b634ca6 [7731] Some code cleanups, warrning fixes. Author: VladimirMangos
--HG--
branch : trunk
2009-04-29 00:31:03 -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
megamage
ff69ced9fe [7718] Fix my typo in [7716] commit. Author: AlexDereka
--HG--
branch : trunk
2009-04-27 18:45:05 -05:00
megamage
09af28301e [7716] Fixed some typos and possible crashes. Author: AlexDereka
--HG--
branch : trunk
2009-04-27 18:42:35 -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
megamage
031daf6003 *Fix the bug that player fall off the transport when changing map.
--HG--
branch : trunk
2009-04-25 08:57:01 -05:00
megamage
84e9ffb487 *Set mover based on client response.
--HG--
branch : trunk
2009-04-23 21:43:20 -05:00
QAston
f405468cc9 *Fix a typo
--HG--
branch : trunk
2009-04-23 21:02:29 +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
db3e17cb70 [7700] Implement ACHIEVEMENT_CRITERIA_TYPE_EARN_HONORABLE_KILL Author: DonTomika
--HG--
branch : trunk
2009-04-22 18:03:07 -05:00
megamage
297498f1f7 *Fix the bug that all vehicles are broken.
--HG--
branch : trunk
2009-04-21 14:05:54 -05:00
megamage
624c30138a [7692] Implement ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILL_LINE and reimplement ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILLLINE_SPELLS. Author: VladimirMangos
Also correctly set this criteria at login.

--HG--
branch : trunk
2009-04-20 20:33:43 -05:00
megamage
fc7e1db9fb [7690] Move GetCreature/GetGameobject to class Map. Author: VladimirMangos
* This let get objects at map without reference to player or another object.
    * Simplify future implementation for per-map storage for like objects

--HG--
branch : trunk
2009-04-20 20:28:19 -05:00
megamage
95a0928190 *Merge.
--HG--
branch : trunk
2009-04-20 18:05:32 -05:00
QAston
cc5414f925 *Correct check range for totem area auras.
--HG--
branch : trunk
2009-04-20 16:48:35 +02:00
megamage
68fd41d2c8 *Fix a bug that pet/charmed cannot AOE neutral creatures.
--HG--
branch : trunk
2009-04-19 19:45:54 -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
QAston
dcc7b99982 *Update petLevelupSpellLearn code
*Remove triggered aura of shadow embrace when main aura expires.

--HG--
branch : trunk
rename : sql/updates/2773_world_spell_linked_spell.sql => sql/updates/2814_world_spell_linked_spell.sql
2009-04-19 20:45:55 +02:00
Machiavelli
99fc17d44f * Tabs to spaces cleanup
--HG--
branch : trunk
2009-04-19 18:48:20 +02:00
QAston
b608823041 *Load auras for pet correctly.
--HG--
branch : trunk
2009-04-19 18:42:09 +02:00
megamage
5c7d5f7bf8 [7684] Resolve possible conflict in summon property enum type and enum names (currently commented) Author: VladimirMangos
--HG--
branch : trunk
2009-04-18 20:52:36 -05:00
megamage
bede29b223 [7683] Fixed update ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST for daily quests. Author: Trazom
--HG--
branch : trunk
2009-04-18 20:49:56 -05:00
megamage
db65f3c111 *Merge.
--HG--
branch : trunk
2009-04-18 11:05:35 -05:00
raczman
402a493407 Fixed a crash in UpdateVisibilityOf
--HG--
branch : trunk
2009-04-18 12:08:19 +02:00
megamage
c7d78b5ff9 *Some work on vehicles.
--HG--
branch : trunk
2009-04-17 15:08:58 -05:00
megamage
74fc50e5d4 [7673] Fixed pet spell cooldown values send in Player::PetSpellInitialize to client. Author: VladimirMangos
--HG--
branch : trunk
2009-04-15 17:30:11 -05:00
QAston
7472580235 *Merge
--HG--
branch : trunk
2009-04-15 20:59:07 +02:00
QAston
8ca97f7bcb Backed out changeset 77ac33a3948b - it caused problems with some channeled spells (interruption)
--HG--
branch : trunk
2009-04-15 20:58:39 +02:00
megamage
07f41ee842 [7669] Some lost commented code patch for currencies trading item move to empty slot. Author: VladimirMangos
In fact it not change anything except GM item created trade:
    no currency items currently that not bind at picked up.

--HG--
branch : trunk
2009-04-14 21:09:38 -05:00
megamage
a5834f2008 *Merge.
--HG--
branch : trunk
2009-04-13 17:18:33 -05:00
QAston
0583b4bd04 *Prevent item trade exploit - by Iskander.
*Do not set cooldown for triggered spells.
*Do not allow to kill unit twice.

--HG--
branch : trunk
2009-04-13 21:59:44 +02:00
QAston
ae7bfa3ae2 *Rolback changes to player.cpp pushed by mistake.
--HG--
branch : trunk
2009-04-13 20:53:31 +02:00
QAston
f46d1b3b81 *Add some debug info to procflag
*Fix Sudden Death.

--HG--
branch : trunk
2009-04-13 20:50:52 +02:00
megamage
52571d6d48 *Fix a 100% crash that pet is killed by DOT.
--HG--
branch : trunk
2009-04-13 12:11:36 -05:00
Anubisss
e15ae448c3 Better way for allow GMs(in gm mode on) to see invisible or stealthed players by Machiavelli. Thank you.
--HG--
branch : trunk
2009-04-13 18:07:26 +02:00
megamage
785dc69318 *Merge.
*One rev skipped:  Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron.

--HG--
branch : trunk
2009-04-12 16:51:46 -05:00
QAston
fcbdb10122 *Fix cooldown set for Reincarnation
*Change some aura interrupt flags description to handle stealth breaking correctly.

--HG--
branch : trunk
2009-04-12 16:18:55 +02:00
QAston
7409df2dc9 *Take combo points for delayed spells
*Fix a typo in spellsteal handling and a typo causing freeze while removing spellmods.

--HG--
branch : trunk
2009-04-12 13:12:08 +02:00
raczman
8d3b562102 Allow GM's to see invisible/stealthed players correctly. <3 Machiavelli.
--HG--
branch : trunk
2009-04-12 12:45:17 +02:00
QAston
b1b53addcc *Fix shadowflame
--HG--
branch : trunk
2009-04-12 10:35:28 +02:00
megamage
6703cabbfb [7653] Implement ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUESTS_IN_ZONE Author: Trazom
Correct complete if ACHIEVEMENT_FLAG_SUMM set

--HG--
branch : trunk
2009-04-11 23:13:00 -05:00
megamage
3d1f17dd51 Fix ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM progress calc Author: DiSlord
--HG--
branch : trunk
2009-04-11 23:12:16 -05:00
megamage
88b4ecdb03 [7651] Fixed some cases with unexpected fatigue bar show for player at transport. Author: DiSlord
--HG--
branch : trunk
2009-04-11 23:11:06 -05:00
megamage
f869e68296 [7649] Fix resilience damage reduction coefficients changed after client switch Author: DiSlord
--HG--
branch : trunk
2009-04-11 23:07:49 -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
QAston
3e87799453 *Fix totemic call mana gain
*Fix chimera shot effect with viper sting
*Fix charges display
*Fix stealth applying while using vanish

--HG--
branch : trunk
2009-04-12 01:29:56 +02: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
megamage
4d277430c5 [7644] Fixed pet slot values using in pet save. Author: VladimirMangos
Problem exist from client version switch when stable slot amount changed.
    In result this has been source problems with stable use (3-4 slots) and possible pet lost in some cases
    or "not save state" for summoned pets.
    Use enums to avoid repeating problem, use more safe value for not-in-slot save (for summoned pets)
    Fixed data preparing for MSG_LIST_STABLED_PETS.

--HG--
branch : trunk
2009-04-10 18:18:44 -05:00
megamage
d1c2d98015 *Merge.
--HG--
branch : trunk
2009-04-10 18:01:15 -05:00
Rat
1e61dffc89 *added creature extra flag No Crit (CREATURE_FLAG_EXTRA_NO_CRIT)
*added function to disable reputation gained from monsters
*tabs2spaces in affected files

--HG--
branch : trunk
2009-04-10 18:11:09 +02:00