Commit graph

1419 commits

Author SHA1 Message Date
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
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
VladimirMangos
befa6c5c86 [7508] Revert to "check first, proccess later" code style in WorldSession::HandleRemoveGlyph. 2009-03-21 19:45:30 +03:00
tomrus88
28dc20c6e2 Small code cleanup and partial merge with dev branch 2009-03-21 19:07:38 +03:00
arrai
3c7c5ba8d4 Fixed possible crash caused by invalid formed CMSG_AUTH_SESSION
(cherry picked from commit 7a97e917ede5aa6135bc0565486a15b86381f5a7)

Signed-off-by: tomrus88 <tomrus88@gmail.com>
2009-03-21 17:00:16 +03:00
tomrus88
e774fd3730 Small fix for my previous commit 2009-03-21 16:54:41 +03:00
tomrus88
85d707ec74 Updated OpenSSL lib. Thanks to Neo2003.
(cherry picked from commit 050110f302a644e4ce1a39bb502ff23a13cc51b0)

Signed-off-by: tomrus88 <tomrus88@gmail.com>
2009-03-21 16:29:04 +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
KiriX
f6954b0661 [7505] Implement druid talent 48505 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-21 02:15:45 +03:00
Lightguard
0bb15c0593 [7504] Implement glyph item 42397 bonus work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-21 01:25:43 +03:00
VladimirMangos
fc94d6991c [7503] Implement proper (not 2 level limited) help.security set for chat commands and subcommands. Update some commands data.
* Now `command` table loading set data for any use subcommand levels
* Errors output for not existed in code commands at related data loading from table.
* Detail log level report outout about overwrited security level for loaded chat command data.

Using this functionality found and fixed/update data for `command` in mangos.sql

NOTE: some command security levels changed.

Thank you to benemorius for pointing to this security problem.
2009-03-21 00:09:51 +03:00
GriffonHeart
73e6ba114f [7502] Fixed :customize characters
Signed-off-by: AlexDereka <Dereka.Alex@gmail.com>
2009-03-20 16:11:30 +03:00
arrai
3469d20f63 [7501] Fixed crash caused by .distance command 2009-03-19 23:34:40 +01:00