Commit Graph

297 Commits

Author SHA1 Message Date
megamage
ae55745f2a [7378]~[7381] achievement code update. Author: VladimirMangos
--HG--
branch : trunk
2009-03-05 09:22:43 -06:00
megamage
7a44a9fb93 [7377] Dummy effects for portal spells used in DK starting area. Author: GriffonHeart
--HG--
branch : trunk
2009-03-03 18:41:44 -06:00
megamage
1cdae46468 [7376] Allow store in spell_area.aura_spell negative values for "not has aura" requirement. Author: VladimirMangos
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.

--HG--
branch : trunk
2009-03-03 18:41:11 -06:00
megamage
c113bf884f factionTemplate->faction can be 0, add appropriate checks to prevent crashes and unexpected work. Author: VladimirMangos
--HG--
branch : trunk
2009-03-03 16:18:22 -06:00
megamage
0a78760b75 [7374] Fixed search free slot in Player::CanStoreItems in case specialized bag. Author: Arthorius
--HG--
branch : trunk
2009-03-03 16:14:15 -06:00
megamage
0cfc452093 [7373] Implement expansion check at character loading (for homebind, transport and plain coordinates). Author: VladimirMangos
Also move fall damage calucaltion in new function.

--HG--
branch : trunk
2009-03-02 17:15:25 -06:00
megamage
55dffa8409 [7372] Cleanup BattleGround::GetClosestGraveYard related code. Author: VladimirMangos
--HG--
branch : trunk
2009-03-02 17:13:12 -06:00
megamage
27cf8127b4 [7371] Correctly select closest graveyard in Player::RepoopAtGraveyard(). Patch provided by balrok Thx.
--HG--
branch : trunk
2009-03-02 17:09:59 -06:00
megamage
0b32a2c751 [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. Author: Triply

--HG--
branch : trunk
2009-03-02 17:07:18 -06:00
megamage
d9d77939ba [7369] Remove ReqSourceRef in quest_template. Author: NoFantasy
--HG--
branch : trunk
2009-03-02 17:06:41 -06:00
megamage
8998eba728 [7368] Implement unequip unexpected offhand weapons at talent reset (mostly for warror talent case). Author: Lightguard
Implemented OffhandCheckAtTalentsReset option for unequip at zone change (default)
    and at talent reset itself (can be enabled).

--HG--
branch : trunk
2009-03-02 17:04:46 -06:00
megamage
66809d5dc1 [7367] Restore one more time broken auctions work. Author: VladimirMangos
--HG--
branch : trunk
2009-03-02 17:03:36 -06:00
megamage
8f874caccd [7366] Enabled skirmish arena matches for same faction. Author: Triply
Patch is tested and should not add crashes.

--HG--
branch : trunk
2009-03-02 17:02:27 -06:00
megamage
c064c2e2e1 [7365] Implement potion in combat delay proper work. Author: VladimirMangos
Original patch provided by miranda.conrado.

--HG--
branch : trunk
2009-03-02 17:01:41 -06:00
megamage
d7d7c3562a [7364] Really implenent server-side anti-cheating cooldown check for spells with SPELL_ATTR_DISABLED_WHILE_ACTIVE. Author: VladimirMangos
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.

--HG--
branch : trunk
2009-03-02 16:59:14 -06:00
megamage
c6fc7f7bca [7363] Propertly set cooldown at server side for category spells at cooldown event send to client. Author: VladimirMangos
Also support item dependent cooldown set propetly at cooldown event send to client.
    Last will used in follow potion cooldown delay in combat patch.

--HG--
branch : trunk
2009-03-02 16:55:41 -06:00
megamage
b1677c901d [7362] Use IN_MILISECONDS where appropriate, other cleanups. Author: VladimirMangos
--HG--
branch : trunk
2009-03-02 16:53:50 -06:00
megamage
61b999fd3a [7360] Use defines instead harcoded item prototype array sizes. Author: VladimirMangos
--HG--
branch : trunk
2009-03-02 16:47:20 -06:00
megamage
f503f320ad [7359] Fixed crash when removing battleground from BGFreeSlotQueue. Author: Triply
Fixed player will now drop a flag before he logs out, if he is in BG.

--HG--
branch : trunk
2009-03-02 16:46:43 -06:00
megamage
e73d01182f [7358] Fixed spell_area autocast field loading.Author: VladimirMangos
--HG--
branch : trunk
2009-03-02 16:46:17 -06:00
megamage
f87dda2473 [7357] Fixed double applied playerlink in .levelup command. Author: balrok
--HG--
branch : trunk
2009-03-02 16:45:41 -06:00
megamage
5238b534ad [7356] Use tabs for indent in Makefiles Author: freghar
--HG--
branch : trunk
2009-03-02 16:41:20 -06:00
megamage
9ba3d07fc2 Fixed crashes when inviting same faction arena groups.
Fixed crash in BGEndedRemoveInvites (by setting queue type from deque to list). Author: Triply

--HG--
branch : trunk
2009-03-02 16:38:36 -06:00
megamage
59b5210574 Finally fixed problem with joining rated arena matches.
Thx to balrok for help and testing. Author: Triply

--HG--
branch : trunk
2009-02-27 12:58:02 -06:00
megamage
361f4b2e3c [7353] Fixed problem with joining rated arena matches. Thanks to balrok for help. Author: Triply
--HG--
branch : trunk
2009-02-27 12:57:33 -06:00
megamage
31e71cef1b [7352] Fixed conditions in FillPlayersToBG to correctly kick group only when other team's selection pool is empty. Problem reported by balrok. Author: Triply
--HG--
branch : trunk
2009-02-27 12:56:48 -06:00
megamage
9e392472d4 [7351] Fixed removing normal horde groups from queue. Author: Triply
Fixed Reflective shield - patch provided by Rastik. Thx

--HG--
branch : trunk
2009-02-27 12:56:00 -06:00
megamage
dbe18a4469 [7350] Use more compact and fast way for check class/race achievement. Author: zhenya <zhenya@getmangos.ru>
--HG--
branch : trunk
2009-02-27 12:55:14 -06:00
megamage
adb19df474 [7349] Implement spell cast depenences from area/quest.aura state store in new table spell_area. Author: VladimirMangos
* 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.

--HG--
branch : trunk
2009-02-27 12:53:27 -06:00
megamage
2dbe092d9f [7348] Remove hack code from IsDeathPersistentSpell. Author: VladimirMangos
Re-apply zone dependent auras at resurrection by triggering zone update for player.

--HG--
branch : trunk
2009-02-27 12:28:10 -06:00
megamage
4cdb56a967 [7347] Prevent sql errors at GM-mode corpse save. Apply same chnages and for other pahsemask save part for consistense and safe. Author: VladimirMangos
--HG--
branch : trunk
2009-02-27 12:26:40 -06:00
megamage
228e9b0322 [7346] Revert [7342] and really restore work CONFIG_ALLOW_TWO_SIDE_INTERACTION_AUCTION setting. Author: VladimirMangos
--HG--
branch : trunk
2009-02-27 12:25:52 -06:00
megamage
e2fa2e44b6 [7345] Use in most cases dynamic quest level as expected (player level for quests witl level 0) Author: VladimirMangos Original patch provided by NoFantasy.
--HG--
branch : trunk
2009-02-27 12:25:10 -06:00
megamage
14a3f5f923 [7344] Ignore drop rate multipliers in loot groups. Author: Velorien
For grouped loot use rates create problems with impossibility loot some items including quest items.

--HG--
branch : trunk
2009-02-27 12:24:09 -06:00
megamage
2d5f3150ab [7342] Use neutral auctionhouse id in case CONFIG_ALLOW_TWO_SIDE_INTERACTION_AUCTION as more expected. Author: False.Genesis
--HG--
branch : trunk
2009-02-27 12:22:12 -06:00
megamage
a27dd0c41a [7341] Report about wrongly use CREATURE_FLAG_EXTRA_INSTANCE_BIND for creatures spawned at not dungeon maps. Author: NoFantasy
--HG--
branch : trunk
2009-02-27 12:21:28 -06:00
megamage
0c0fe3185f [7340] Prevent standup at save in result unexpected packet send to client. Author: aerione_alt
--HG--
branch : trunk
2009-02-27 12:20:33 -06:00
megamage
00b7908c51 [7337] Make some methods const. Author: ApoC
--HG--
branch : trunk
2009-02-27 12:15:06 -06:00
megamage
472f897b0a [7336] Implemented new BattleGroundQueue invitation system. Now it supports premade group versus premade group matches.
Added 2 new config options - InvitationType and PremadeGroupWaitForMatch - you can find more info in default config file.
    This patch can cause crashes.

Author: Triply

[7338] Little cleanup in battleground queues code. Author: ApoC

--HG--
branch : trunk
2009-02-27 12:13:59 -06:00
megamage
85d5d94e71 [7333] Refactoring DestinationHolder/Traveler/Unit::SendMonsterMoveWithSpeed code. Author: VladimirMangos
* Move common code in appropriate functions.
    * Correct select speed and 2D/3D distance for creature/player walk/fly

--HG--
branch : trunk
2009-02-26 20:35:40 -06:00
megamage
0f9238ecb1 [7332] Allow provided target for .distance command using player name or shift-link with guid. Author: VladimirMangos
--HG--
branch : trunk
2009-02-25 16:47:22 -06:00
megamage
c50aab0033 [7331] Normalization and corrections in mangos_commands. Author: FrenchW
--HG--
branch : trunk
2009-02-24 11:17:48 -06:00
megamage
699bc588b8 [7330] Code warnings and style cleanups. Some bugs fixes. Author: VladimirMangos
1) comparison singed and unsigned values
    2) redundent includes
    3) wrong constructor :-part field initilization
    4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
    5) explicitly list not implemented achievement types.

    Also bugs fixed:
    1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
    2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
    3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.

--HG--
branch : trunk
2009-02-24 11:14:28 -06:00
megamage
9d160c855f [7329] Fixed CastBarCaption localization data loading from DB. Author: wilibald09
--HG--
branch : trunk
2009-02-23 21:06:41 -06:00
megamage
acfbe7a4a3 [7328] Implement new way of work for warlock player summoning spell 698. Required correct DB data. Author: VladimirMangos
--HG--
branch : trunk
2009-02-22 17:48:48 -06:00
megamage
513d5c179c [7327] Restore work of meeting stones, and make it work in more correct way. Required correct DB data. Author: charlie2025
--HG--
branch : trunk
2009-02-22 17:48:19 -06:00
megamage
dadb464485 [7325] Always have flag UNIT_FLAG2_REGENERATE_POWER set for loaded character. Author: VladimirMangos and nos4r2zod.
--HG--
branch : trunk
2009-02-22 17:47:30 -06:00
megamage
3f401d2f8b [7324] Spells deleted from characters in 3.0.2+ Author: Sephiroth1983
--HG--
branch : trunk
2009-02-22 17:46:47 -06:00
megamage
ed5b3780ed [7323] Character Customize should not force rename. Author: aerione_alt
--HG--
branch : trunk
2009-02-22 17:26:03 -06:00
megamage
76abeb5710 [7319] Fixed compile on Unix systems. Author: ApoC
--HG--
branch : trunk
2009-02-21 17:08:23 -06:00