Commit graph

791 commits

Author SHA1 Message Date
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
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
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
VladimirMangos
435b53c853 [7456] Batter check for items with delayed cooldown.
This must solve problems with some still stuck until relogin items.
2009-03-14 19:21:18 +03:00
Triply
b45b075668 [7455] Implemented condition that player can be in 2 groups in 1 time - BG raid and normal group / raid.
Patch is tested, but can cause problems / unexpected behaviour.
TODO: set raid leader of battleground raid to raid leader who entered BG
TODO: when player leaves group, he is removed from GroupQueueInfo, and for him is created new GroupQueueInfo in normal queue.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-14 17:01:30 +01:00
Lightguard
f280c96770 [7454] Support scripting for dummy spell effects.
Note: scripting calls specially added in end of function for allow calling only
      if internal implementaion absent for dummy effect.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-14 00:21:06 +03:00
VladimirMangos
bc57ab7c58 [7453] Fixed some example data in mangos.sql 2009-03-13 22:23:53 +03:00
VladimirMangos
4e4db62da3 [7452] Drop from DB broken action button data detected at loading. 2009-03-13 20:24:28 +03:00
VladimirMangos
037840d5ba [7451] Implement correct work SPELL_AURA_PERIODIC_MANA_LEECH for percent mana cost spells.
This is fix work of spell 3034 and 5138.
2009-03-13 19:23:13 +03:00
VladimirMangos
3a5d59c0c7 [7450] Fixes and improvements in TARGET_BEHIND_VICTIM, SPELL_EFFECT_JUMP2, SPELL_EFFECT_TELEPORT_UNITS work.
* Move near teleport code for player/creature in Unit::NearTeleportTo
* Allow correctly seelct target and end point orientation for script casted spells with TARGET_BEHIND_VICTIM
* Replace use BuildTeleportAckMsg by BuildHeartBeatMsg for creature teleports. BuildTeleportAckMsg
  set active mover for targeted player to affected creature and "freeze" player.
2009-03-13 17:08:10 +03:00
Triply
571c56ff07 [7449] Fixed BG queue invitation status showed on client. Fixed BG starting timer and BG ending timer.
TODO: make bg queue update player's status each minute.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-13 00:09:50 +01:00
Triply
e1f069e5b9 [7448] Fixed infinite honor gains in EoS.
Problem reported by LickedLurk. Thx.
Fixed Entering battleground bugged in [7447]

Signed-off-by: Triply <triply@getmangos.com>
2009-03-12 16:29:46 +01:00
Triply
b94c78474b [7447] Fixed - do not let player who has higher level than Battleground->GetMaxLevel to enter battleground.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-12 15:28:09 +01:00
Triply
424c8b39df [7446] Applied mangos coding style for AB and EY.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-12 13:34:20 +01:00
VladimirMangos
b71759d204 [7445] Implement SPELL_EFFECT_JUMP2 used in some jump to target (unit/go/coordinates) spells. 2009-03-12 14:01:04 +03:00
VladimirMangos
1ed2f1e65d [7444] Fixed some recently added and old type conversion warnings. 2009-03-12 11:46:38 +03:00
VladimirMangos
719991d381 [7443] Better error reporting at DBC files extraction in ad.exe. No functionlity chnages in normal work case. 2009-03-12 10:03:34 +03:00
VladimirMangos
498ab2df07 [7442] Implement TARGET_DIRECTLY_FORWARD spell target mode.
It used in many cannon/rocket ike spells.
2009-03-11 22:50:15 +03:00
VladimirMangos
903b810353 [7441] Fixed reward money counting for ACHIEVEMENT_CRITERIA_TYPE_MONEY_FROM_QUEST_REWARD 2009-03-11 16:34:00 +03:00