Commit graph

6024 commits

Author SHA1 Message Date
Schmoozerd
4ba5aa83e3 [11523] Implement .npc aiinfo
Comamnd show information about used AI and scripts for targeted creature.
AI classes (including from script DLL) can provide additinal info about own state.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-23 03:05:05 +04:00
jethro84530
ae2a9e1c6a [11522] Replace code expression (!a > 0) to safe version.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-22 02:02:14 +04:00
Iriskin
5876afb0a4 [11521] Fixed typo in chat command help.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 23:55:03 +04:00
VladimirMangos
40fb57e461 [11520] Fixed service/daemon calls order. Mixed wrongly in my prev. related fix. :/
Provide more information at windows service (un)install errors.

Note: by some reasons i have sometime problems with start windows service using '-s run' command
but it start fine by manual from services control applet. Maybe related to used by me win7 x64
2011-05-21 23:47:36 +04:00
NoFantasy
b46237b643 [11519] Fix player totem icons (those under player portrait)
SMSG_TOTEM_CREATED must be sent before totem added to map.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-21 10:32:07 +02:00
NoFantasy
569d7cdc42 [11518] Add script effect of spell 48810 and 48811, dummy aura of 48143
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-21 08:15:12 +02:00
VladimirMangos
f2cdfcf9b2 [11517] Restore work glyph 43350 2011-05-21 06:04:49 +04:00
laise
36857cadc9 [11516] Druid T10 Balance 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 04:49:36 +04:00
przemratajczak
95b980690a [11515] Implement spell 62679.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 04:21:25 +04:00
przemratajczak
927a577590 [11514] Periodic summon spells 53035, 53036, 53037.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 00:04:31 +04:00
Vinolentus
19ff7f0a8b [11513] Not pass command list as format %s value.
This let avoid not nice command list text length limitation.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-20 23:14:06 +04:00
VladimirMangos
8022cef6a7 [11512] Fixes for channeled spells casting.
* Set as expected caster channeling target to created dynamic object
  at persistent aura area spell casts for channeled spell.
* Select correct caster/target for triggered spell in case channeled perioding trigger aura.
2011-05-20 22:53:30 +04:00
TOM_RUS
489dc80875 Fixed typo. 2011-05-20 20:08:18 +04:00
LordJZ
ad524d43fe [11511] Fix opcode names after recent update
Signed-off-by: zergtmn <zerg@myisp.com>
2011-05-20 21:54:41 +06:00
VladimirMangos
0564b622c2 [11510] Implement SPELL_AURA_MOD_PARRY_FROM_BEHIND_PERCENT (288) and related spell 19263.
Original patchs provided by KAPATEJIb and Roshnak.
2011-05-19 03:50:30 +04:00
VladimirMangos
b7cc436571 [11509] Trigger 35541 and ranks only at success offhand hit. 2011-05-18 23:05:01 +04:00
NeatElves
87d6cf2367 [11508] Restore build with GCC (so make sources real C++ from VC++)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-18 20:45:04 +04:00
VladimirMangos
6ed4dfe827 [11507] Fixed problem with too later config read in recent added posix daemon support.
Restore read config _after_ option parsing in any cases.
2011-05-18 19:43:21 +04:00
VladimirMangos
945466934d [11506] Fixed warning at added in prev commit code. 2011-05-18 18:41:06 +04:00
VladimirMangos
f3e3e53634 [11505] Clarify check cases "health drops below" in spell proc code.
Avoid repeating triggering at health exactly at bound and 0 damage apply.

Thank you to boxa for pointing to problem.
2011-05-18 18:33:46 +04:00
Den
61f82dc5fc [11504] Druid tier 10 2p bonus affect work
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-18 05:56:43 +04:00
laise
440e80b5ae [11503] Warrior t10 dps set bonuses.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-18 05:07:29 +04:00
VladimirMangos
9c65b04f5b [11502] Fixed windows service run after adding posix daemon support 2011-05-18 03:57:05 +04:00
VladimirMangos
eb61995f7e [11501] Implement item 46098/46348 enchanting work. 2011-05-18 03:15:24 +04:00
finomen
d00592f692 [11500] Allow run mangos as daemon (linux/other posix)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-17 19:33:10 +04:00
VladimirMangos
b022e398b7 [11499] Clarify quest giver object state after Player::AddQuest. 2011-05-17 01:18:27 +04:00
breakwater
7f957eb88e [11498] Allow stacking some paladin DoTs at target.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-17 00:54:11 +04:00
VladimirMangos
d111d1a4b3 [11497] Fixed another source of crash at accept quest from item.
OnQuestAccept script calls moved into Player::AddQuest before
remove/replace quest starting item.
Its still called only at quest accept ofc (questGiver object != NULL only in like case.
2011-05-17 00:42:07 +04:00
NoFantasy
4b00269ccc [11496] Add dummy aura effect (removal) of spell 12774
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-16 19:03:12 +02:00
VladimirMangos
6237c115a5 [11495] Implement damage taken reduce part of spell 20911, 25899. 2011-05-16 20:47:14 +04:00
VladimirMangos
575584ad9b [11494] Implement spell 1842 and similar. 2011-05-16 17:17:14 +04:00
zergtmn
d001ce2d2e [11493] Add comment for prev. commit 2011-05-16 02:28:57 +06:00
zergtmn
05cfb8d36b [11492] Fix possible crash at guardian pet unsummon 2011-05-16 01:59:04 +06:00
VladimirMangos
55cc1ea37f [11491] Step back to implicit ObjectGuid(uint64 const& guid) in wait code users updating.
Must be reverted with drop GetGUID() when code ready.
2011-05-15 23:37:01 +04:00
VladimirMangos
249fb836ca [11490] Alow implicit cast ObjectGuid->uint64 and only explicit uint64->ObjectGuid
Now safe allow this casts in like way after completed convertion to ObjectGuid use.
Also simplify code in result allowed auto cast to uint64.

Please _not_ add new uint64 storages (local and in structures) for guid values.
2011-05-15 22:04:57 +04:00
NoFantasy
ecdb435b1e [11489] Remove the old and custom UNIT_NPC_FLAG_GUARD for creatures.
Existing data moved to flags_extra field, with value CREATURE_FLAG_EXTRA_GUARD (0x400 / 1024).
Remove isGuard() from Unit class to a new IsGuard() function in Creature class.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-14 19:17:13 +02:00
zergtmn
639cac83a3 [11488] Add ObjectGuid::operator !() for use as shorter form of IsEmpty() 2011-05-14 22:08:25 +06:00
SilverIce
7d6b52641b [11487] Fix WorldTimer code (previous code causes server time flow speed to be on ~ 1-2% slower than real time) 2011-05-14 16:59:21 +03:00
VladimirMangos
6833efe12e [11486] Revert recent changes in BattleGroundMgr::DeleteAllBattleGrounds
Reason added in comment to code line.
2011-05-14 17:09:49 +04:00
zergtmn
c6b5064725 [11485] Move mail opcode handlers to separate file 2011-05-14 17:57:23 +06:00
SeTM
7904e90a19 [11484] Fix typo in HandleSocketOpcode
Signed-off-by: zergtmn <zerg@myisp.com>
2011-05-14 16:54:29 +06:00
zergtmn
777ffe8dc2 [11483] Change postfix iterator increments to prefix where possible 2011-05-14 16:53:55 +06:00
zergtmn
4cfa51d799 [11482] Reorder some fields for better memory layout 2011-05-14 16:52:32 +06:00
SeTM
a0729866d3 [11481] Restore gems insert to sockets.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-14 02:29:23 +04:00
stfxpi
5b128243c5 [11480] Avoid use 2 random call in dummy 14537
For random generators use in same calculation 2 random roll calls can
expose internal dependences in pseudo-random generation algo
and in result generated values will not so random as expected.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-13 15:08:00 +04:00
VladimirMangos
cfcac0fa0c [11479] Check map enter for proper deep map in corpse enter case. 2011-05-13 13:30:44 +04:00
VladimirMangos
116b053be8 [11478] Prevent overwrite main target at spell cast check for TARGET_PET
I also not find cases when first effect (safe mostly case) need like overwrite.
If some pet related spells stop work after commit please report.
2011-05-12 21:51:41 +04:00
VladimirMangos
7e79c611ec [11477] Correctly unload scriptlib at errors.
This will prevent unexpected call some handlers
for "unloaded" sriptlib DLL.
2011-05-12 21:39:23 +04:00
VladimirMangos
8931b7ca11 [11476] Fixed possible build problem. 2011-05-12 14:10:37 +04:00
VladimirMangos
4dbcb424a9 [11475] Provide wrappers for set/get ObjectGuid in InstanceData as uint64 2011-05-12 14:00:14 +04:00