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
Lightguard
610a040240
[7500] Not allow stacking some auras at target from different casters.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-20 00:14:59 +03:00
Seline
ebd292a226
[7499] Implement post effect for DoT spell 41917
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-19 22:48:06 +03:00
Seline
5a2c08ed7f
[7498] Implement GO spawn part of spell 39837 work.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Small fix in GO spawn duration. Aura remove at GO remove fixed in prev commit.
2009-03-19 22:13:47 +03:00
VladimirMangos
4bc5bf3877
[7497] Remove auras from GO owner at remove connected owned th this spell GO.
2009-03-19 21:58:31 +03:00
VladimirMangos
ae104fea27
[7496] Fxied problems with visual GO orientation for some angles. Optimize related code.
2009-03-19 20:15:01 +03:00
VladimirMangos
e6aca46942
[7495] Fixed mangos_string entry text for .gobject target, and shift-links into .gobject turn/move output.
2009-03-19 20:11:04 +03:00
VladimirMangos
f80d13066d
[7494] Add gameobject entry shift-link support into .gobject target and .gobject add commands.
...
Now for example shift-link from .lookup object results can be used in .gobject add.
2009-03-19 14:49:55 +03:00
VladimirMangos
a63977d767
[7493] Move .gobject functions in one place, update/fix security levels in code and mangos.sql.
2009-03-19 12:53:10 +03:00
VladimirMangos
bfa67880f2
[7492] Rename subcommands functions to names more similar related chat commands
2009-03-19 11:59:02 +03:00
VladimirMangos
dc92e36c00
[7491] Sort chat command subtables by names.
2009-03-19 11:22:15 +03:00
VladimirMangos
8228161197
[7490] Implement expected multiply summon case support with proper duration for EffectSummonDemon
2009-03-19 00:19:56 +03:00
VladimirMangos
7589bf7263
[7489] Update gameobject rotation fields if need.
...
* Fixed update absent in ".gobject turn" command
* Propetly set rotation fields for summoned objects
* Check rotation/coordinates fields values at server loading
2009-03-18 21:04:57 +03:00
arrai
071a24562a
[7488] Fixed map extractor on platforms with 2GB fopen() limit
2009-03-18 16:44:57 +01: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
zhenya
b3490d3b74
[7486] Fixed possible crash and wrong data in instance state save (or not save).
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-18 15:47:30 +03:00
ApoC
3c819a6269
[7485] Added support for PostgreSQL connection using Unix sockets.
...
For using socket connection specify host name as . and port as
path to Unix socket directory or . for default path specified
in PostgreSQL compile time.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-03-18 12:17:17 +01:00
VladimirMangos
9ddb37c6c1
[7484] Cast proper triggred spell at spell 27808 tick.
2009-03-18 10:51:55 +03:00
DasBlub
406a9a7fce
[7483] the spell 'Protectorate Demolitionist' is a debuff.
...
(cherry picked from commit cdb050aed9d2ea43923123e54e15299f363befe9)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-18 00:25:21 +03:00