Commit graph

4176 commits

Author SHA1 Message Date
zergtmn
6a8f83379f [10925] Few more vehicle flags
All vehicles with these flags have corresponding movement flags.
2010-12-28 02:31:09 +05:00
Ambal
b11820593c [10924] Send time diff between Update() calls for object - should help with mob respawn on inactive grids etc. Based on patches by VladimirMangos and cipherCOM. All issues from previous patches should be finally fixed now.
Signed-off-by: Ambal <pogrebniak@gala.net>
2010-12-27 22:27:20 +02:00
zergtmn
72b1d30a1c [10923] Cleanup some magic numbers 2010-12-27 19:04:59 +05:00
VladimirMangos
3c58f25ad9 [10922] Revert "[8722] Fixed possible creash."
This reverts commit 8dd3e4b31a31bb6dfc4d9fb51b1b7e67bad4ca16.

This is impossible crash case. Creature object can't be created without creatureInfo != NULL
So crash source can be only result wrong calling ClearInCombat() for deleted or NULL creature.
2010-12-27 05:07:31 +03:00
VladimirMangos
246126d7b4 [10921] Allow from mute player chat messages CHAT_MSG_AFK and CHAT_MSG_DND. 2010-12-26 03:14:33 +03:00
VladimirMangos
1b4477164c [10920] Prevent server freeze at strnage radisu used by item 34124 spell cast 2010-12-24 21:21:19 +03:00
zergtmn
14c1329ea5 [10919] Actually use spell penetration gained by items in calculations 2010-12-24 21:18:23 +05:00
Astellar
a13f8714f2 [10918] Add support for ITEM_MOD_SPELL_PENETRATION
Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-24 19:48:27 +05:00
insider42
5f4dcbbe93 [10917] Allow SPELL_AURA_MOD_PACIFY auras to affect creatures
Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-24 19:45:07 +05:00
zergtmn
f7d58220a5 [10916] Implement dummy aura for spell 75973 2010-12-24 18:48:34 +05:00
VladimirMangos
d1b0e5b40f [10915] Use HasFlag function for check flags instead raw access. 2010-12-24 05:38:48 +03:00
Ambal
f56e13966f [10914] Remove ObjectLevelLockable inheritance in Map class + cleanup locks in Map code. Restore build after recent commits.
Signed-off-by: Ambal <pogrebniak@gala.net>
2010-12-24 01:23:02 +02:00
zergtmn
8f37314950 [10913] Fix db_script_string loading 2010-12-24 00:46:07 +05:00
zergtmn
0d6f990e4e [10912] Move scripting related functions from ObjectMgr to ScriptMgr 2010-12-24 00:23:37 +05:00
zergtmn
f61166c2bf [10911] Fix GCC warning 2010-12-23 23:31:31 +05:00
KiriX
b6c50838a3 [10910] Use provided target instead of caster for SPELL_EFFECT_QUEST_COMPLETE
Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-23 21:03:14 +05:00
zergtmn
a1e0111638 [10909] Code style cleanups in scripting related functions 2010-12-23 19:01:30 +05:00
VladimirMangos
a84d67a389 [10908] Imporve detection need use reagents by triggered spell.
Now regagent used if main spell (if infor about provided to triggered cast)
not have regent data.

This fix reagetn use for spell 43723. But maybe need another fixes for proper animation.
2010-12-23 00:58:21 +03:00
zergtmn
e1074c0ac1 [10907] Allow mounts on map 603 2010-12-22 21:31:09 +05:00
Lynx3d
edfddc06fa [10906] Fix Glyph 45806 to trigger from 49184 and ranks instead of unrelated spells.
Also fix attack power coefficient for 49184 and ranks.
2010-12-22 01:06:19 +01:00
VladimirMangos
4a7638c80e [10905] Fixed vendor templates work.
* Avoid unexpected errors at template loading for shared templates for many npc.
* Really use vendor template in work.
2010-12-21 19:39:43 +03:00
zergtmn
72255d1bb1 [10904] Cleanup character_battleground_data when deleting characters from database 2010-12-21 18:37:36 +05:00
zergtmn
3693821cee [10903] Drop unused code in Unit::MeleeDamageBonusDone() 2010-12-21 15:46:11 +05:00
zergtmn
d9579dd44a [10902] Simplify code for triggering linked trap 2010-12-21 15:34:06 +05:00
zergtmn
2f4e7a9377 [10901] Allow vehicles to have gossip menu
In addition rename IsGameobject -> IsGameObject.
2010-12-21 15:14:52 +05:00
zergtmn
d736fe9d9a [10900] Remove SPELL_AURA_MOD_POSSESS_PET auras in Unit::Uncharm() 2010-12-21 15:06:20 +05:00
lp-vamp
fa12f35981 [10899] Remove default value for removed config option SocketSelectTime.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-21 00:52:14 +03:00
VladimirMangos
ca095e27a8 [10898] Fix for pool system problems after map rewrite. 2010-12-20 23:33:09 +03:00
VladimirMangos
1d84a8de1d [10897] Small typos in error message. 2010-12-20 23:03:13 +03:00
VladimirMangos
add4ceb999 [10896] Detect self-referenced model info in creature_model_info. 2010-12-20 20:33:31 +03:00
Darkrulerz
e34d73f6bd [10895] Description for found gender field in CreatureDisplayInfoExtraEntry.
Sign-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-20 20:00:26 +03:00
cipherCOM
f59dae1d9c [10894] Fixed problems with new ACE lib on Darwin systems
(based on cipherCOM's repo commit ce2638f)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-20 10:53:39 +03:00
Warlord123
3e1c04fc6e [10893] Speedup check code at gossip_menu_option loading.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-19 21:54:00 +03:00
NoFantasy
d923302669 [10892] Fix load creature *addon data from database
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-19 12:38:23 +01:00
VladimirMangos
abb92f4224 [10891] Access for core/scripts to creature race info in model dbc 2010-12-18 17:18:38 +03:00
VladimirMangos
4302d925d6 [10890] Merge apply/remove cases for recently added dummy auras. 2010-12-18 16:15:24 +03:00
NoFantasy
781841baf1 [10889] Add dummy aura effect of spell 42517
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-18 10:00:03 +01:00
NoFantasy
a17ccd4b97 [10888] Use 0.0f in one function and prevent some compiler warnings.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-18 09:34:15 +01:00
NoFantasy
f13fb6e52c [10887] Add dummy aura effect of spell 42515
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-18 09:16:37 +01:00
VladimirMangos
38118d17d7 [10886] Fixed crash at GO use in case GO owner/first user offline state. 2010-12-18 11:13:48 +03:00
click
ddd37b719f [10885] Hunter pet can't have < owner-5 level
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also make tame time check call safe.
2010-12-17 19:27:51 +03:00
VladimirMangos
8d7cc36098 [10884] Pet with same level as owner must have xp = 0
Thanks to Click for original patch and problem description.
2010-12-17 18:49:39 +03:00
Den
07172bc5ae [10883] Implement item 49982, 50641 equip effect
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-17 16:13:15 +03:00
NoFantasy
f59edc66ad [10882] No error output for empty npc_trainer* tables
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-17 12:28:37 +01:00
VladimirMangos
090b70c509 [10881] Lost important line in prev. commit. 2010-12-16 21:47:25 +03:00
VladimirMangos
5b79ef7a5d [10880] Avoid constant re-save BG entry data at each save for player at bg/arena. 2010-12-16 21:39:51 +03:00
VladimirMangos
f7eb7a434e [10879] Remove support unused option SocketSelectTime in mangosd.conf 2010-12-15 23:00:34 +03:00
lightman
26dbb072e5 [10878] Update achievement at maximize skill level by command or config option.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-14 23:13:07 +03:00
VladimirMangos
801fcca274 [10877] Traditional 'Waypoint' post-fix in mangos.sql 2010-12-14 19:31:25 +03:00
VladimirMangos
6c14f9fad3 [10876] Really fix crash in SendTrainerList :/ 2010-12-14 19:00:57 +03:00