AlexDereka
c9d51a6dc7
[7716] Fixed some typos and possible crashes.
2009-04-26 18:49:07 +04:00
DonTomika
adf9eb942d
[7700] Implement ACHIEVEMENT_CRITERIA_TYPE_EARN_HONORABLE_KILL
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-23 00:09:28 +04:00
VladimirMangos
35970244e5
[7692] Implement ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILL_LINE and reimplement ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILLLINE_SPELLS.
...
Also correctly set this criteria at login.
2009-04-20 23:16:07 +04:00
VladimirMangos
fc0e1ecdf1
[7690] Move GetCreature/GetGameobject to class Map.
...
* This let get objects at map without reference to player or another object.
* Simplify future implementation for per-map storage for like objects
2009-04-20 19:08:13 +04:00
VladimirMangos
f4adf83cd7
[7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange.
2009-04-19 22:54:40 +04:00
VladimirMangos
e94c6755d0
[7684] Resolve possible conflict in summon property enum type and enum names (currently commented)
2009-04-18 12:44:19 +04:00
Trazom
6c62fe750c
[7683] Fixed update ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST for daily quests.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-18 00:10:59 +04:00
VladimirMangos
3e4b31debb
[7673] Fixed pet spell cooldown values send in Player::PetSpellInitialize to client.
2009-04-15 11:49:42 +04:00
VladimirMangos
2289ee6b30
[7669] Some lost commented code patch for currencies trading item move to empty slot.
...
In fact it not change anything except GM item created trade:
no currency items currently that not bind at picked up.
2009-04-14 13:59:37 +04:00
Trazom
5c660c844f
[7653] Implement ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUESTS_IN_ZONE
...
Correct complete if ACHIEVEMENT_FLAG_SUMM set
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-12 02:49:17 +04:00
DiSlord
1a55952fa0
Fix ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM progress calc
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-12 02:48:42 +04:00
DiSlord
1bf2138948
[7651] Fixed some cases with unexpected fatigue bar show for player at transport.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-12 01:05:50 +04:00
DiSlord
c4b2e3f67c
[7649] Fix resilience damage reduction coefficients changed after client switch
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-11 22:18:57 +04:00
VladimirMangos
199c09640d
[7648] Resolve problems with expected fall damage at near teleport.
...
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.
2009-04-11 11:06:30 +04:00
VladimirMangos
eb198f8239
[7645] Fixed problems wit temporary unsummoned pets and cleanup code.
...
* 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.
2009-04-11 08:46:48 +04:00
VladimirMangos
263bf2ab22
[7644] Fixed pet slot values using in pet save.
...
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.
2009-04-10 09:02:04 +04:00
Triply
060203749c
[7630] Implement MSG_BATTLEGROUND_PLAYER_POSITIONS sending for AB and AV battleground.
...
Corrected some comments
Signed-off-by: Triply <triply@getmangos.com>
2009-04-07 09:37:24 +02:00
rastikzzz
e95ba2814d
[7626] Fixed: Typo in InitStatsForLevel
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-06 14:41:44 +04:00
NoFantasy
02247d411b
[7612] Move SMSG_TRIGGER_CINEMATIC and SMSG_TRIGGER_MOVIE to functions and use its instead explicit packet creating.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-04 03:06:02 +04:00
VladimirMangos
be374379de
[7600] Apply at far teleport AURA_INTERRUPT_FLAG_MOVE and AURA_INTERRUPT_FLAG_TURNING in simlar to near teleport case.
2009-04-02 03:22:20 +04:00
arrai
1ec8e1f24d
[7597] Fixed crash at stealing single target auras (54648 for example)
2009-04-01 23:11:25 +02:00
VladimirMangos
e65dc5747f
[7575] Avoid unrelated skill search at ACHIEVEMENT_CRITERIA_TYPE_*_SKILL_LEVEL update
2009-03-28 23:45:23 +03:00
Trazom
f0ebade751
[7573] Implement ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILL_LEVEL
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-28 22:40:38 +03:00
Lightguard
864b0c92b3
Implement initial known taxi nodes for DK.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
With some my rewrite.
2009-03-28 21:12:48 +03:00
DiSlord
bdf6667db8
[7566] Fix shield block value pct mod use (apply it on strength bonus also)
...
Signed-off-by: DiSlord <DiSlord@nomail.com>
2009-03-28 13:35:29 +03:00
Ramses_II
00d0718124
[7559] Implement function Player::RewardPlayerAndGroupAtEvent for reward (quest objective only) player and group at special kill-like events.
...
Use it for Spell::EffectKillCredit and some dummy code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-28 04:30:34 +03:00
balrok
02d05a2339
[7551] apply deserter debuff also if player leaves the bg in preparation phase
...
prior this deserter debuff was only applied at status_in_progress
2009-03-26 23:16:27 +01:00
DiSlord
bf5ba338d9
[7550] Remove dublicate init in Player::Player
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-04-27 00:26:52 +04:00
DiSlord
004fa105e7
[7549] Remove call CheckExploreSystem() from Player::Update (alredy do it in Player::SetPosition)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-04-27 00:17:55 +04:00
VladimirMangos
c33eff13f4
[7540] Move most reputation/force faction reaction code to new ReputationMgr.
2009-03-26 11:28:56 +03:00
VladimirMangos
df9caf58cd
[7538] Hide some implementation details for reputation/forced faction reaction.
2009-03-25 21:28:04 +03:00
VladimirMangos
16ab4b6849
[7529] Hide some implementation details for fall damage calculation and breath timers.
2009-03-24 02:26:24 +03:00
VladimirMangos
73ac0bcc7f
[7527] Remove redundent arg from Player::EnvironmentalDamage
2009-03-23 18:01:30 +03:00
VladimirMangos
fa098236af
[7526] Use NULL for pointers instead 0
2009-03-23 17:37:23 +03:00
VladimirMangos
e09435326f
[7525] Prevent crashes at death controlled (including movement) creature.
2009-03-23 13:39:11 +03:00
`win
0f6b2ab9ae
[7523] Fixed: players will now drop flag in battleground if they cast immunity buff on themselves.
...
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).
Signed-off-by: Triply <triply@getmangos.com>
2009-03-23 10:16:44 +01:00
VladimirMangos
50c0bc6aac
[7520] Let set in mangosd.conf custom rates for low level kill/quest reputation gain.
2009-03-23 02:12:08 +03:00
VladimirMangos
ab2bdc3e69
[7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args)
...
* 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.
2009-03-23 00:27:01 +03:00
VladimirMangos
e39a836115
[7514] Revert bogus reputation calculation change added with merge from 310.
...
Reputation must work now. Instead have near to 0 percent values always.
2009-03-22 05:31:27 +03:00
VladimirMangos
54acc587da
[7513] Implement currencies tab work. Also check related item data at server startup.
2009-03-22 05:22:03 +03:00
VladimirMangos
2885091dfe
[7511] Fixed expertise update at items unequip/drop.
...
* Not attempt update at item move from slot in bag with equip-like slot number.
* Update at item drop from bag.
2009-03-22 02:55:12 +03:00
VladimirMangos
ff48408dbb
[7510] Some cleanups and commens for special forbidden slots
2009-03-21 21:21:57 +03:00
VladimirMangos
695ceabe3e
[7509] Use defines instead explcit value for talent rank cound (in general and for pets)
2009-03-21 20:14:30 +03:00
tomrus88
28dc20c6e2
Small code cleanup and partial merge with dev branch
2009-03-21 19:07:38 +03:00
AlexDereka
9b43d2ac9e
[7507] Fixed compile
2009-03-21 14:20:13 +03:00
AlexDereka
8a5e4706bc
[7506] Remove dual ERROR in logs
2009-03-21 11:47:57 +03:00
VladimirMangos
a7fd57cc74
[7487] Avoid attempt use InstanceSave data for non-dungeons.
...
Also check map existance and correctness at instance data loading.
Removed unused and totally bugged InstanceMap::GetResetTime.
2009-03-18 16:48:54 +03:00
VladimirMangos
2215f77ec3
[7478] Avoid rescan data at some achievments triggering for speed.
...
Only if chnage can affect result
* ACHIEVEMENT_CRITERIA_TYPE_LEARN_SPELL
* ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILLLINE_SPELLS
* ACHIEVEMENT_CRITERIA_TYPE_GAIN_REPUTATION
* ACHIEVEMENT_CRITERIA_TYPE_GAIN_EXALTED_REPUTATION if
2009-03-17 17:35:46 +03:00
VladimirMangos
4215b65b8c
[7477] Implement work ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM
2009-03-17 10:20:34 +03:00
VladimirMangos
816862db65
[7474] Set correct value/maxvalue for skill with fixed skill value at skill loading.
2009-03-16 22:39:40 +03:00