NoFantasy
83affb51fd
[7390] Implement heroic instance quest requirement in areatrigger_teleport.
...
Also more fixes for prev. sql update.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-06 18:23:38 +03:00
VladimirMangos
bda5dffcdb
[7389] Fixed sql update order protection data after recent commit.
2009-03-06 18:10:02 +03:00
Triply
17100c67a8
[7388] Fixed battleground premature warning message. SQL files are attached, you must execute them!
...
Fix for message's color will be soon.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-06 13:24:55 +01:00
VladimirMangos
a07718fe29
[7387] Check maxcount >= min count for item (not reference) record in loot templates DB tables..
2009-03-06 04:58:26 +03:00
VladimirMangos
0e7d940b90
[7386] Remove from mangos.sql content of instance_template table.
...
From this point expected that this table filled from another sources.
2009-03-06 04:30:32 +03:00
VladimirMangos
649653956a
[7385] Fixed mail price calculation broken recently by me.
2009-03-06 04:26:59 +03:00
VladimirMangos
c18d20782b
Implement some death related achievements
...
* ACHIEVEMENT_CRITERIA_TYPE_DEATH (normal and arena types counting)
* ACHIEVEMENT_CRITERIA_TYPE_DEATH_IN_DUNGEON (instance types by man limit counting)
Note: need fixed for cases when max allowed players different from recommended count.
* ACHIEVEMENT_CRITERIA_TYPE_DEATHS_FROM (environment damage sources by types)
Fixed:
* ACHIEVEMENT_CRITERIA_TYPE_KILLED_BY_PLAYER
- self-kill counting as death from players
- same team player kill in opposition kills counter.
Also cleanup in Player::EnvironmentalDamage use DBCStructure.h comment.
2009-03-06 04:26:48 +03:00
Triply
bfa785fdb8
[7384] Removed some comments.
...
Fixed problem that queues doesn't invite new players to already running battlegrounds.
Some other fixes for announce system will be soon.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-05 22:25:39 +01:00
Triply
5179230901
[7383] Changed some comments in config file, changed default MaxRatingDifference from 100 to 150 in default config.
...
Signed-off-by: Triply <triply@getmangos.com>
2009-03-05 16:48:00 +01:00
NoFantasy
167b192ff2
[7382] Add 2 unknown field to creature_template sent in SMSG_CREATURE_QUERY_RESPONSE to client
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-05 16:17:43 +03:00
VladimirMangos
10f2648455
[7381] Sort cases in AchievementMgr::UpdateAchievementCriteria and mark some case as not used.
2009-03-05 15:48:12 +03:00
VladimirMangos
8928df7f07
[7380] Implement highest value achievements support. Implement some auction achievements
...
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_AUCTION_BID:
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_AUCTION_SOLD: (FIXME: only for online player)
2009-03-05 13:49:37 +03:00
VladimirMangos
bff0cb8c75
[7379] Implement some money related achievement criteria.
...
* ACHIEVEMENT_CRITERIA_TYPE_GOLD_SPENT_FOR_TALENTS:
* ACHIEVEMENT_CRITERIA_TYPE_MONEY_FROM_QUEST_REWARD:
* ACHIEVEMENT_CRITERIA_TYPE_GOLD_SPENT_FOR_TRAVELLING:
* ACHIEVEMENT_CRITERIA_TYPE_GOLD_SPENT_AT_BARBER:
* ACHIEVEMENT_CRITERIA_TYPE_GOLD_SPENT_FOR_MAIL:
* ACHIEVEMENT_CRITERIA_TYPE_LOOT_MONEY:
2009-03-05 02:49:40 +03:00
VladimirMangos
2d6b8bf068
[7378] Fixed check for ACHIEVEMENT_CRITERIA_TYPE_REACH_LEVEL for non-class/race specific case.
2009-03-04 04:13:11 +03:00
GriffonHeart
e409b32c71
[7377] Dummy effects for portal spells used in DK starting area.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-04 02:40:28 +03:00
VladimirMangos
fee3278e57
[7376] Allow store in spell_area.aura_spell negative values for "not has aura" requirement.
...
Also
* Allow have in aura_spell spells with SPELL_AURA_PHASE in first effect.
* Allow negative aura_spell chaining in spell_area table.
* Better check at loading duplicate data (by requiremnt set) in spell_area table.
2009-03-04 01:27:56 +03:00
pasdVn
0d96837d48
[7375] Typos in dynamic object registering and deleting for owner.
...
This let have more then one persistent aura in same time.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-03 23:53:28 +03:00
VladimirMangos
03273a49da
factionTemplate->faction can be 0, add appropriate checks to prevent crashes and unexpected work.
2009-03-03 17:13:11 +03:00
Arthorius
3ab8264189
[7374] Fixed search free slot in Player::CanStoreItems in case specialized bag.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-03 07:40:47 +03:00
VladimirMangos
02dd431846
[7373] Implement expansion check at character loading (for homebind, transport and plain coordinates).
...
Also move fall damage calucaltion in new function.
2009-03-03 00:47:30 +03:00
VladimirMangos
9983286280
[7372] Cleanup BattleGround::GetClosestGraveYard related code.
2009-03-02 15:56:37 +03:00
Triply
f454ddf6d0
[7371] Correctly select closest graveyard in Player::RepoopAtGraveyard(). Patch provided by balrok Thx.
...
Signed-off-by: Triply <triply@getmangos.com>
2009-03-02 10:38:08 +01:00
Triply
a50606d225
[7370] Fixed crash in CheckSkirmishForSameFaction() function, when we erased iterator which shouldn't be erased
...
Fixed crash in BattleGroundQueue::Update() by changing BGFreeSlotQueueType from deque to list.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-02 09:50:31 +01:00
NoFantasy
94de4437f8
[7369] Remove ReqSourceRef in quest_template.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-02 03:31:18 +03:00
Lightguard
2f02dc7642
[7368] Implement unequip unexpected offhand weapons at talent reset (mostly for warror talent case).
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Implemented OffhandCheckAtTalentsReset option for unequip at zone change (default)
and at talent reset itself (can be enabled).
2009-03-02 02:46:59 +03:00
VladimirMangos
98750bd95b
[7367] Restore one more time broken auctions work. Sorry :(
2009-03-01 19:02:52 +03:00
Triply
aa5f021d28
[7366] Enabled skirmish arena matches for same faction.
...
Patch is tested and should not add crashes.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-01 12:20:11 +01:00
VladimirMangos
de51363151
[7365] Implement potion in combat delay proper work.
...
Original patch provided by miranda.conrado.
2009-03-01 11:33:08 +03:00
VladimirMangos
2b10d8fd71
[7364] Really implenent server-side anti-cheating cooldown check for spells with SPELL_ATTR_DISABLED_WHILE_ACTIVE.
...
Move apply cooldown for like spells to aura apply (GO registering for owner in GO summon spell case)
Store "infinity" cooldown for like spells, ignore it at save and reapply it at aura loading.
Note: one problem still exist for like spells: at loading/far teleport spell icon lost diabled state at client.
Need sedn some unknown data in SendInitialPacketsBeforeAddToMap or SendInitialPacketsAfterAddToMap for restore it state.
2009-03-01 10:21:47 +03:00
VladimirMangos
ed6123c804
[7363] Propertly set cooldown at server side for category spells at cooldown event send to client.
...
Also support item dependent cooldown set propetly at cooldown event send to client.
Last will used in follow potion cooldown delay in combat patch.
2009-03-01 10:14:45 +03:00
VladimirMangos
2b9eeb782e
[7362] Use IN_MILISECONDS where appropriate, other cleanups.
2009-03-01 05:22:56 +03:00
VladimirMangos
cea44af521
[7361] 2 lost cases from prev. commit.
2009-03-01 01:16:36 +03:00
VladimirMangos
b9326100ea
[7360] Use defines instead harcoded item prototype array sizes.
2009-03-01 00:32:37 +03:00
Triply
4994611582
[7359] Fixed crash when removing battleground from BGFreeSlotQueue.
...
Fixed player will now drop a flag before he logs out, if he is in BG.
Signed-off-by: Triply <triply@getmangos.com>
2009-02-28 09:55:17 +01:00
VladimirMangos
2791d5a6d3
[7358] Fixed spell_area autocast field loading.
2009-02-28 03:24:36 +03:00
balrok
91ad4c21de
[7357] Fixed double applied playerlink in .levelup command.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-28 01:58:35 +03:00
VladimirMangos
07bce28d5c
Call proper function for .reload spell_area
2009-02-28 01:56:47 +03:00
freghar
74b9874fd8
[7356] Use tabs for indent in Makefiles
...
Signed-off-by: freghar <compmancz@gmail.com>
2009-02-27 21:23:19 +01:00
Triply
bb1d8d7bc7
Fixed crashes when inviting same faction arena groups.
...
Fixed crash in BGEndedRemoveInvites (by setting queue type from deque to list).
Signed-off-by: Triply <triply@getmangos.com>
2009-02-27 21:00:48 +01:00
Triply
f49ee9e157
Finally fixed problem with joining rated arena matches.
...
Thx to balrok for help and testing.
Signed-off-by: Triply <triply@getmangos.com>
2009-02-27 16:21:28 +01:00
Triply
a81d174288
[7353] Fixed problem with joining rated arena matches. Thanks to balrok for help.
...
Signed-off-by: Triply <triply@getmangos.com>
2009-02-27 14:20:31 +01:00
Triply
0be003ac90
[7352] Fixed conditions in FillPlayersToBG to correctly kick group only when other team's selection pool is empty. Problem reported by balrok. Thx
...
Signed-off-by: Triply <triply@getmangos.com>
2009-02-27 11:56:38 +01:00
Triply
3560d9de54
[7351] Fixed removing normal horde groups from queue.
...
Fixed Reflective shield - patch provided by Rastik. Thx
Signed-off-by: Triply <triply@getmangos.com>
2009-02-27 11:08:57 +01:00
zhenya
95439564aa
[7350] Use more compact and fast way for check class/race achievement.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-27 12:54:33 +03:00
VladimirMangos
1fca6de6f3
[7349] Implement spell cast depenences from area/quest.aura state store in new table spell_area.
...
* It allow store requirenments: area, active or rewarded quest (until possible another quest not rewarded),
aura present at character, character race/gender.
* Listed spell can marked as auto-casted when fit requirents. In this case spell requirements checked at
zone/subzone update (and then resurraction also), quest start/reward, dummy aura apply.
* Old hardcoded lines for similar check removed from sources and required DB support for work now.
2009-02-27 11:15:36 +03:00
VladimirMangos
9e7e374077
[7348] Remove hack code from IsDeathPersistentSpell.
...
Re-apply zone dependent auras at resurrection by triggering zone update for player.
2009-02-27 08:04:21 +03:00
VladimirMangos
19c513fc61
[7347] Prevent sql errors at GM-mode corpse save. Apply same chnages and for other pahsemask save part for consistense and safe.
2009-02-27 06:49:16 +03:00
VladimirMangos
01d7801ca0
[7346] Revert [7342] and really restore work CONFIG_ALLOW_TWO_SIDE_INTERACTION_AUCTION setting.
2009-02-27 06:46:08 +03:00
VladimirMangos
64158d61b3
[7345] Use in most cases dynamic quest level as expected (player level for quests witl level 0)
...
Original patch provided by NoFantasy.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-27 01:25:20 +03:00
Velorien
aba675c4ca
[7344] Ignore drop rate multipliers in loot groups.
...
For grouped loot use rates create problems with impossibility loot some items including quest items.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-26 09:21:09 +03:00