Commit graph

1373 commits

Author SHA1 Message Date
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
Trogvar
1dcbbd7f48 [7482] Fixed recently added crash code in text emote handler.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-18 00:11:43 +03:00
VladimirMangos
7f125ce0c3 [7481] Implement special target selection for spell 57669.
Patch writed by kozelo, rechapa79 with active support from Lightguard.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-17 23:27:00 +03:00
VladimirMangos
b1e712f32f [7480] Clear flight flag early for safe. 2009-03-17 21:35:52 +03:00
VladimirMangos
6f51fbece9 [7479] Implement per client localization for text emote target name. 2009-03-17 19:07:30 +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
Lightguard
bde638ace7 [7476] Implement druid's talent 61336.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Some improvements added to patch. Related cleanups.
2009-03-17 01:27:16 +03:00
VladimirMangos
c99a849eb9 [7475] Move Player::IsInFeralForm to Unit::IsInFeralForm 2009-03-16 23:22:52 +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
VladimirMangos
773f58a3d0 [7473] Better support new DK class profession. 2009-03-16 22:39:19 +03:00
Triply
efd62ea6ea Added last file from previous commit
Signed-off-by: Triply <triply@getmangos.com>
2009-03-16 18:57:52 +01:00
Triply
846831e357 [7472] Fixed messages in Eye of Storm Battleground.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-16 18:54:35 +01:00
VladimirMangos
f4e37fa566 [7471] Ignore player target case for spell 29528 instead error reports in log. 2009-03-16 20:17:53 +03:00
arrai
4033f789a9 [7470] Fixed possible loot exploit, thanks to leak` for reporting 2009-03-16 17:07:52 +01:00
VladimirMangos
e904d7c2c0 [7469] Allow scripting aura spell triggering in case not existed spell. 2009-03-16 18:24:06 +03:00
VladimirMangos
5d6cb5fe80 [7468] Convert pet cast check code to use SpellCastResult and finaly fix SPELL_CAST_OK value (255 custom value now) 2009-03-16 15:40:43 +03:00
VladimirMangos
0e987bf59e [7467] Use SpellCastResult and replace CanCast by CheckCast.
Note: proper way to check: if(spell->CheckCast(...)==SPELL_CAST_OK)
2009-03-16 13:17:44 +03:00
VladimirMangos
c1b0e7d57a [7466] Use SpellCastResult in SpellMgr.* functions 2009-03-16 11:21:28 +03:00
VladimirMangos
78879cc634 [7465] More fixes in SPELL_CAST_OK use. 2009-03-16 09:58:43 +03:00
VladimirMangos
4aaf758ab7 [7464] Move check of spell using for lock open to single function. Remove more hacks. 2009-03-16 00:43:53 +03:00
VladimirMangos
9def5df2d7 [7463] Make basic preparations for replace 0 as ok spell cast value by more correct value.
Currently 0 used ast OK value for spell cast checks BUT 0 = SPELL_FAILED_AFFECTING_COMBAT
So another values need used. This required lot code changes. This is first step.
2009-03-15 23:57:57 +03:00
VladimirMangos
57c415f5e1 [7462] Lost part of "[7456] Batter check for items with delayed cooldown.".
Now not only mana/health potion will restore cooldown counting at combat end.
2009-03-15 23:36:42 +03:00
VladimirMangos
afe5eb3e1d [7461] Give proper honor amount at item based AddHonor spells cast. 2009-03-15 23:25:15 +03:00
VladimirMangos
991376067d Replace hack code in Spell::EffectOpenLock by generic way for check lock key items/skills 2009-03-15 02:56:06 +03:00
Triply
7dd997617e [7460] Fixed possible cheating in rated arena by ressurection after relog.
Fix: Do not allow to remove insignia from players in arena!
Fixed ending arena match when last player of team logs out.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-14 22:33:34 +01:00
VladimirMangos
e4a5a47178 [7459] Support case when movegen at own Finilize add another movegen. 2009-03-14 23:41:18 +03:00
=Neo2003
9b1216f21c [7458] Not reset/set some data at attack target switch that expected do at any target lost.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-14 23:40:57 +03:00
Triply
74006886e9 [7457] Fixed set Bg raid leader to party or raid leader who entered Bg.
Removed useless code from my previous patch.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-14 20:22:17 +01:00