Commit graph

810 commits

Author SHA1 Message Date
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
VladimirMangos
2dd36d688f [7558] Implement command: .learn all_mypettalents
Also output more correct messages at use .reset talents to pet
2009-03-28 03:28:08 +03:00
arrai
4e66d61da9 [7557] Fixed triggered spells which ImplicitTarget is 0 like 50516 and ranks 2009-03-28 00:05:56 +01:00
VladimirMangos
8fb9c81e23 [7556] Implement hack way check for cave subzone 4223 detection. 2009-03-28 00:21:22 +03:00
VladimirMangos
c5d9b6cf7b [7555] Check pool_id bafire access to pool data in PoolHandler::CheckPool 2009-03-28 00:04:39 +03:00
VladimirMangos
cc19245ce4 [7554] Prevent accepting wrong numeric args as 0.0f in .go zone command 2009-03-27 20:30:28 +03:00
VladimirMangos
b768401438 [7553] Fixed character save/creating. 2009-03-27 06:02:07 +03:00
VladimirMangos
c4d4bb5620 [7552] Move client version dependend DBC code to src/game. 2009-03-27 01:59:26 +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
arrai
bfe25d510b [7548] Fixed some commands by replacing !args with !*args check 2009-03-26 20:50:35 +01:00
VladimirMangos
18ec7c8011 [7547] Improvments in reputation achievements implememtaion.
* Speedup achievement checks at reputation updates.
* Implement
  - ACHIEVEMENT_CRITERIA_TYPE_GAIN_REVERED_REPUTATION
  - ACHIEVEMENT_CRITERIA_TYPE_GAIN_HONORED_REPUTATION
  - ACHIEVEMENT_CRITERIA_TYPE_KNOWN_FACTIONS
2009-03-26 20:38:19 +03:00
Triply
b09df0aade [7546] Revert [7544] correcty move uptime table to Realm database, use realmid column.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-26 17:58:44 +01:00
DonTomika
ff0c31e103 [7545] Fixed exploration achievements for certian areas 2009-03-26 17:06:46 +01:00
invliD
68ec6ae8ab Moved table uptime from world database to character database.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-26 16:23:57 +01:00
VladimirMangos
4f17a6a4e2 [7543] Avoid code duplication in ReputationMgr. 2009-03-26 17:21:35 +03:00
VladimirMangos
6a649f43ee [7542] Some new reputation code related cleanups. 2009-03-26 13:30:11 +03:00
VladimirMangos
5538aeb9a7 [7541] Add new files to makefile for restore unix/linux build. 2009-03-26 11:49:38 +03:00
VladimirMangos
c33eff13f4 [7540] Move most reputation/force faction reaction code to new ReputationMgr. 2009-03-26 11:28:56 +03:00
AlexDereka
ef014420a5 [7539] Fixed log output 2009-03-26 00:39:10 +03:00
VladimirMangos
df9caf58cd [7538] Hide some implementation details for reputation/forced faction reaction. 2009-03-25 21:28:04 +03:00
VladimirMangos
3b3144004a [7537] Command .lookup player will report in case found accounts/ip but without existed characters. 2009-03-25 01:58:15 +03:00
GriffonHeart
53af93111b [7536] Spell chain requirement for some epic mounts.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-24 19:13:01 +03:00
maikash
294e2c69a9 [7535] Fixed typo in transport boarding code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-24 18:41:30 +03:00
VladimirMangos
59b7d05e8d [7534] Fixed some problems in achievement messages broadcasting.
* Send SMSG_CRITERIA_UPDATE to player itself only. This will fix bug when, for example near player death
  owerwrite another player death count in statistics until next death or relogin.
* Send to near player  CHAT_MSG_ACHIEVEMENT instead CHAT_MSG_GUILD_ACHIEVEMENT
* Not send CHAT_MSG_GUILD_ACHIEVEMENT to player itself.
* Limit around broadcast of SMSG_ACHIEVEMENT_EARNED to CONFIG_LISTEN_RANGE_SAY (same as for CHAT_MSG_ACHIEVEMENT)
2009-03-24 17:59:30 +03:00
VladimirMangos
cc11ff40fe [7533] Redirect movement packet in proper way to controlled target.
* In creature case ignore fall/etc damage
* In player case apply fall damage/etc to controlled player, apply other movement effect to it also.
2009-03-24 14:06:39 +03:00
VladimirMangos
f4482f247f [7532] Avoid warnings at use size_t with printf fromat strings. 2009-03-24 06:03:22 +03:00
VladimirMangos
b8b79d67ad [7531] Fixed basic functionality for player's casted SPELL_AURA_MOD_POSSESS (like priest spell 605) 2009-03-24 04:27:43 +03:00
emsy
8fa0ef7ab9 [7530] Fixed counting exalted reputation achievements work for factions with base reputation != 0.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-24 03:44:37 +03:00
VladimirMangos
16ab4b6849 [7529] Hide some implementation details for fall damage calculation and breath timers. 2009-03-24 02:26:24 +03:00
Fog
f9a2674ce3 [7528] Avoid use same iteration variable for internal loop.
This will fix problem with wrong item entry output in error message.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-23 20:36:00 +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
Triply
53f3c91a39 [7524] Removed commented code in Spell::EffectSendEvent()
Signed-off-by: Triply <triply@getmangos.com>
2009-03-23 11:07:49 +01: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
Triply
3d6c7e59a7 [7522] Fixed typo in spell cast check code. 2009-03-23 11:26:29 +03:00
VladimirMangos
f4030f9dff [7521] Update Rate.Reputation.LowLevel.Kill default value to expected for 3.0.9 2009-03-23 02:15:08 +03: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
718d92c4a3 [7519] Restore unexpactadly replaced ad.exe to old version in prev. commit 2009-03-23 00:33:58 +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
b14bf188c5 [7517] Add tick targets amount limitations to 48505 and ranks. 2009-03-22 06:51:09 +03:00
Sarjuuk
1d95ae7555 [7516] Add form/mounting/self control loss limitations to 48505 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-22 06:49:50 +03:00
DonTomika
636b0a9464 [7515] Not allow caster cast different polymorph spells at different targets in same time.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-22 05:37:22 +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
38395ac07d [7512] Implement checks of item bag mask at server startup. 2009-03-22 03:32:10 +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