Commit graph

5980 commits

Author SHA1 Message Date
VladimirMangos
a0cb8494a9 [10678] Revert "[10675] Ignore BOA items reputation requirements at use."
This reverts commit 4ce902e5d9c3cfc635c0eff1ba3552da5ecd0c5b.

Check done at client side so useless skip it at server side.
Proper fix expect show diff items in vendor list depndent from required reputation.
2010-11-04 13:16:58 +03:00
cipherCOM
555c1a9094 [10677] Send to creature/etc Update call real diff from last update and use it.
Now in case when creature/etc some tices not updates in result stay
in not active (no near players or active objects) cell some important
timers (corpse decay, summon timers, group loot expire, aura durations, etc) will
updates at real diff time from last prev. update call.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

For some systems added exclude use real diff time because current limitations
like move generators. So its stay use last tick diff and considered freeze and
skip all time while creature in not active map part.
2010-11-03 07:07:13 +03:00
VladimirMangos
62c0963f37 [10676] Fix repeating looting for milling/prospecting. 2010-11-03 01:55:38 +03:00
VladimirMangos
cb5a666ce3 [10675] Ignore BOA items reputation requirements at use.
Item reputation requirements checked at buy, and in quest case
related quests expected to have own reputation requirements
preventing rewarding items with not fit reputation requirements.
2010-11-02 15:25:14 +03:00
zerg
839104e0cc [10674] Show some SPELL_AURA_MOD_DODGE_PERCENT auras as debufs as expected.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-02 04:59:54 +03:00
VladimirMangos
b806495563 [10673] Include item_loot into pdumps 2010-11-02 02:16:44 +03:00
mns
54d0c9b77d [10672] Allow damage own pet in sanctuary.
Also mome repeating code to new function.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 14:57:54 +03:00
VladimirMangos
a32d68febd [10671] Convert some Unit owner/etc guids to ObjectGuid way. 2010-11-01 13:19:50 +03:00
VladimirMangos
92d98b9fb2 [10670] Restore build at real C++ compilers after recent timed achievements commit. 2010-11-01 09:41:12 +03:00
Ceris
ee1b18cd20 [10669] Fixed mana amount for overheal case for talent 31785 and ranks.
Also thanks to Wojta for patch code improvements.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 09:07:01 +03:00
VladimirMangos
97ff7e6006 [10668] Implement CONDITION_*ITEM_WITH_BANK conditions.
Similar CONDITION_*ITEM but including character bank content in counting.
2010-11-01 06:26:20 +03:00
Schmoozerd
ef5ea6f24f [10667] Timed Achievements, Fail-Support and Opcodes
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 05:47:08 +03:00
emsy
e78887e964 [10666] Implement ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_*_RATING
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 04:14:15 +03:00
emsy
3ada9f635f [10665] Allow use faction data for cases raceMask==0
Also some related code cleanup

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 04:04:40 +03:00
Deleterios
549b44d8ec [10664] Rename arena_team_stats fields for better fit to stored values.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 02:37:10 +03:00
eggxp
6f2625c258 [10663] Fix totem animation at normal unsummon.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 02:26:00 +03:00
VladimirMangos
f48e768a70 [10662] Implement partly item looting
* Not deleted normal item loot at first loot window close.
* Save current item loot content to DB for later continue looting.
* Cleanup spell effect SPELL_EFFECT_OPEN_LOCK check code
* Cleanup Player::AutoStoreLoot calls
2010-11-01 02:04:08 +03:00
zerg
9a5accf8a9 [10661] Update VC10 filers for new ACE
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-31 23:53:54 +03:00
NoFantasy
449a708728 [10660] Make quest for game event be independent of source
Create new table and convert existing data.
Simplify how game event quests are activated during event by adding generic function to set quest active/inactive.
Any quest in game_event_quest are disabled until event start (and deactivated once stopped)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-31 11:35:09 +01:00
SilverIce
1370ead743 [10659] Fixed mistake in [10653] that causes player to fall from the transport at teleporting to another map 2010-10-31 12:15:32 +02:00
NoFantasy
506e93d15d [10658] Add enum as argument for quest special/flags functions
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-30 01:47:37 +02:00
NoFantasy
b6e367bf3c [10657] Separate quest_template.QuestFlags from SpecialFlags
Create enum for SpecialFlags (database flags and internally computed)
Added related functions for specialFlags and update code accordingly.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-30 01:14:17 +02:00
NoFantasy
1210c6d978 [10656] Rename quest function HasFlag to HasQuestFlag
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-29 21:19:35 +02:00
NoFantasy
a38f97f71c [10655] Add support for monthly quests
Quest that can repeated each month are set by quest_template.SpecialFlags |0x04 flag
Quest are reset at midnight the first day of each month.
Note: for the time being, quest must also be set repeatable (SpecialFlags |0x01)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-29 20:39:01 +02:00
NoFantasy
331a7e7f5b [10654] Allow creature to offer same quest for more than one game event
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-28 13:26:39 +02:00
SilverIce
1871cf977f [10653] Implemented MSG_MOVE_KNOCK_BACK opcode
* Player's knockback movement now smooth and doesn't looks like teleporting
 * Cleanup WorldSession::HandleMovementOpcodes, separated opcode specific and generic movement handlers code
 * Handle Feign Death aura interrupting into more appropriate place
2010-10-28 05:48:43 +03:00
NoFantasy
81d3368e29 [10652] Allow set pvp flags from creatures *_addon data
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-27 09:49:55 +02:00
nos4r2zod
f483b41242 [10651] Fixed combat log being bugged by pets without name
Signed-off-by: SilverIce <slifeleaf@gmail.com>
2010-10-26 20:35:25 +03:00
Jethrogibbs
38e4a4936d [10650] One more typo in mangosd.conf.dist.in
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-26 20:55:32 +04:00
eggxp
e87008b339 [10649] Enchanted spell 8017 and ranks should apply to weapon by client auto selection
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-26 20:52:29 +04:00
Veretos
09d468e7ab [10648] Typos in mangosd.conf.dist.in
Also thanks to Marik for additional typo fix and diff preparing

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-26 17:03:23 +04:00
VladimirMangos
fd7e86c79b [10647] Show die animation at totem destroy.
Or any creature type die with linked unsummon.

Original patch provided by Eggxp.
2010-10-26 16:49:29 +04:00
Schmoozerd
edbb840103 [10646] Preserve creature dynamic flags at UpdateEntry
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-26 13:23:46 +02:00
Shauren
f50dc536ec [10645] Use more make sense corpse expire check timer period.
Use 3 hours timer when bones really expired by Corpse::IsExpired code each 1 hr
just lol ;) So restore old 20 min time used long time ago.

Thanks to TGM for pointing to patch.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-26 13:58:55 +04:00
VladimirMangos
b09838fe3b [10644] Remove wrong check preventing lootable itesm have at-use spell casts.
But note: like at use spells cast at loot open not implemnted yet.

Also fixed typo in ITEM_DYNFLAG_READABLE.
2010-10-26 10:43:38 +04:00
Neo2003
23c920ca4b [10643] Update the ACE part we use to 5.8.2
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-10-25 20:36:51 +02:00
Laise
8f71d95c0d [10642] Implement spell 56826 2010-10-25 15:20:28 +02:00
VladimirMangos
46d740bbf4 [10641] Fixed use item dynamic/item proto flags.
* List its independelty. Each from this 2 fields have own flags. Cleanup lists.
* Not copy proto flags to item flags update field. This fix heroic item versions
  show in client in result mixed use ITEM_DYNFLAG_WRAPPED (0x8) with ITEM_FLAG_HEROIC (0x8)
* Update uses to proto case use for some cases where before wrongly has been used item dyn.flags
* For ITEM_DYNFLAG_UNLOCKED (0x4) set for item at unlock and check for prevent re-unlocking.
  This mostly for future case when will be implemented partly loting items support.
* For ITEM_FLAG_LOOTABLE (0x4) check loot absent or conflicting setting with containers/casted at use items.
  Report wrong cases art loading.
* Better check related loot tables content using ITEM_FLAG_PROSPECTABLE and ITEM_FLAG_MILLABLE
2010-10-25 16:27:14 +04:00
Tasssadar
d53fe93e9d [10640] Implement instance guids with proper HIGHGUID_INSTANCE use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-24 14:54:11 +04:00
NoFantasy
365c4a19e0 [10639] Making dummy effect of spell 54530 be positive effect.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-24 11:18:46 +02:00
VladimirMangos
a79f9b1fe4 [10638] More appropriate for warrior spell fail result for combo point check fail. 2010-10-24 09:28:13 +04:00
VladimirMangos
666ecfee99 [10637] Better totem summon cases selection.
But added check still not allways work. Unclear better way selections for summon prop id 61
2010-10-22 11:41:26 +04:00
VladimirMangos
691412d05c [10636] Implement server side check combo points req. for spell cast.
Thanks to nos4r2zod for problem research.
2010-10-21 15:00:56 +04:00
VladimirMangos
7a26fdd45d [10636] Ignore another map target for text emote. 2010-10-21 11:01:42 +04:00
VladimirMangos
851e15c70a [10635] Convert many opcode handlers to ObjectGuid use.
Also re-enabled anticheating check for bank window open
base at .bank command access rights.
2010-10-21 10:43:14 +04:00
VladimirMangos
0901a4c2ac [10634] Include non-percent mana cost in EffectDestroyAllTotems mana return.
Also small speedup for no-return spells.
2010-10-21 01:57:45 +04:00
NoFantasy
bf2b256720 [10633] Correct behavior for completion of quest objectives.
Rename related function to SendQuestCompleteEvent for clarification of when it's expected to be used.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-20 12:57:47 +02:00
Salja
8886b86a2b [10632] Small comment style fix in mangosd.conf
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-20 12:54:31 +04:00
NoFantasy
2fe87fc3c7 [10631] Small code style cleanup in quest related functions
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-20 09:34:06 +02:00
VladimirMangos
da07caba28 [10630] Convert Set(Get)ChannelObjectGuid to ObjectGuid way.
Also fix typo in debug output for prev. commit.
2010-10-20 11:19:47 +04:00