Laise
f42f65ade7
[10411] fix broken sqls for spell_proc_event..
2010-08-27 19:12:35 +03:00
virusav
c8ae8693a2
[10410] Fix wrong sql
2010-08-27 10:55:40 +03:00
Laise
a0f5c969ed
[10409] Restore work of 47230 and ranks
2010-08-26 20:29:30 +03:00
rsa
7f9208426a
[10408] Fix mistake in recent debug log output change (ref 10395)
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-25 00:25:34 +02:00
Lynx3d
2260b7921f
[10407] Add -o <outfile> option to genrevision.
...
This gives more flexibility to build systems that don't run genrevision with desired destination as working dir.
For example a build system may run:
build/tools/genrevision -o build/src/shared/revision.h
2010-08-24 19:11:31 +02:00
VladimirMangos
f3579fba64
[10406] Fixed work .learn and other spell commands with unlearned talent shift-link.
...
Unlearned talent have -1 as rank in shift-link, return instead first rank.
2010-08-24 19:13:11 +04:00
Wowka321
0ab4adf517
[10405] Restore remove spell affect 58427 after stealth fade.
...
(based on Wowka321's repo commit 45c5757)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-24 16:14:46 +04:00
Revils
5d6c271627
[10404] Additional checks for call assist.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-24 14:38:30 +04:00
VladimirMangos
d8fb1a60ac
[10403] Stricted name check at chat command data loading from 'command' table.
2010-08-23 16:29:22 +04:00
VladimirMangos
09b03b470e
[10402] Use ObjectGuid in packets and fix some uint32 guids cases.
2010-08-23 12:37:11 +04:00
VladimirMangos
c545392f2e
[10401] Some code style cleanups.
2010-08-22 22:02:08 +04:00
VladimirMangos
82314c364a
[10400] Fixed crash in .aura command for spell without auras.
2010-08-22 16:52:51 +04:00
VladimirMangos
d1172a1b9b
[10399] Fixed typo in doc/EventAI.txt
2010-08-22 13:40:03 +04:00
zergtmn
3766eee71b
[10398] Fix mixed up FactionEntry to lookup in SetReputation
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-22 11:25:42 +02:00
Schmoozerd
927e9d77f0
[10397] Fixed wrong difficulty selection and possible crash.
2010-08-22 11:52:18 +04:00
VladimirMangos
34421e5eb8
[10396] Send GMTicket to SendGMTicketGetTicket instead text.
2010-08-21 21:48:48 +04:00
NoFantasy
ddfc6386c5
[10395] No debug log output when a certain ability is active
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-21 18:12:45 +02:00
NoFantasy
c252ca5bc4
[10394] Remove redundant use of this-> in recent implemented script calls
...
Thanks porteyoplait for pointing it out /bonk author
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-21 16:37:42 +02:00
NoFantasy
3332ed72a6
[10393] Add script call for InstanceData, OnPlayerDeath
...
Called when a player really dies and also unrelated to the source of the death (for example a player can die indirectly from some mob ability, but must be registered. Achievements, other special events)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-21 13:19:55 +02:00
NoFantasy
6756fff93a
[10392] Small correction in SetReputation to avoid confusion
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-21 10:27:10 +02:00
VladimirMangos
9d76725a0e
[10391] Restore build at Unix after Unit::GetUnit drop.
2010-08-20 23:44:01 +04:00
NoFantasy
9c02f476ec
[10390] Add several new script calls for InstanceData
...
OnCreature Evade/Death/EnterCombat and in addition OnPlayerLeave
The functions are intended to help doing instance related tasks (in other words, not for the general AI of creatures).
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-20 20:26:06 +02:00
Dark
1fd4ff3155
[10389] Typo fixes
...
Signed-off-by: Dark <dark_rulerz@hotmail.com>
(based on Darkrulerz's repo commit 758f4c7)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-20 22:24:58 +04:00
VladimirMangos
3f83acbf9d
[10388] Make spawntime arg really optional as before for .gobject add
2010-08-20 22:12:03 +04:00
VladimirMangos
ddd0c4567b
[10387] Fixed quote parsing after optional arg in chat commands.
...
This is restore work .guid commands for example.
2010-08-20 21:29:22 +04:00
VladimirMangos
23be9ae496
[10386] Correct creature entry selection for raid difficulties
...
Original patch provided by False.Genesis.
2010-08-20 18:35:54 +04:00
VladimirMangos
77ae9a63b8
[10385] Remove Unit::GetUnit and update it callers.
2010-08-20 16:53:45 +04:00
VladimirMangos
dcc9dc25ae
Traditional post-commit typo fix.
2010-08-20 14:33:03 +04:00
VladimirMangos
920a36b3fd
[10384] Fixed reset time calculation for some cases.
...
Most real fix suggested by Schmoozerd and Toinan67
and some my code style part coding ;)
2010-08-20 14:32:11 +04:00
VladimirMangos
0649b508e4
[10383] Store guid instaed pointer for first user of GAMEOBJECT_TYPE_SUMMONING_RITUAL
...
This is more safe way in pointer store comparison with.
LAso Some related code cleanups.
2010-08-20 12:58:32 +04:00
Quriq14
b672913633
[10382] Add missing holiday id<->battleground id definitions for AB
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-19 17:35:58 +02:00
NoFantasy
d0df25fd8c
[10381] Implement generic system for racial model selection
...
Table creature_model_info store creature entry to use model from (or explicit model). The selection is based on a base modelId and racemask.
Hacks for shapeshift models removed (data included in SQL update)
Dropped no longer needed creature_model_info.modelid_other_team, as creature_model_info can and should be used instead (sorry, this is what happen when author doesn't do full research :) )
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-19 16:58:53 +02:00
VladimirMangos
22b515718f
[10380] Finaly drop MAKE_NEW_GUID.
...
This meaning that ObjectGuid only proper way create guid from lowguid now.
But packet handlers still generate uint64 guids. Some DB fields also loaded uint64 values.
Also possible existed not catches et uint32->uint64 assigns.
2010-08-19 12:51:16 +04:00
VladimirMangos
5fd06abf44
[10379] More wide use ObjectGuid in arena team code.
...
As always in this commits line fixes for uint32->uint64 guid assigns.
2010-08-19 12:22:45 +04:00
VladimirMangos
9b3d37f0cf
[10378] Avoid double lookup member slot in guild operations.
...
Also more wide use ObjectGuid in guild code
and fixed some uint32->uint64 guid assigns.
2010-08-19 11:17:33 +04:00
VladimirMangos
f2406c1962
[10377] Simplify use Guild::BroadcastEvent
2010-08-19 07:27:19 +04:00
VladimirMangos
c5ffa7710b
[10376] Fixed build at VS90 with TR1
...
As problems show VS90 with TR1 different from VS100 by expected namespaces.
2010-08-19 02:25:35 +04:00
Neo2003
ce46397940
[10375] Updated MySQL client libs to 5.1.49
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-19 01:52:08 +04:00
VladimirMangos
80cef02190
[10374] Fixes for EFLAG_RANDOM_ACTION
...
* Field limited to uint8 so use proper flag mask (0x20 now)
* Search of selected action code also fixed.
2010-08-19 00:10:19 +04:00
NoFantasy
a15b0916b6
[10373] Drop unused team-argument in ChooseDisplayId -function
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-18 18:09:56 +02:00
VladimirMangos
a17450047b
[10372] Implement EFLAG_RANDOM_ACTION
...
It allow execute one random action from EventAI event actions
instead each action from event actions.
2010-08-18 14:27:30 +04:00
VladimirMangos
dbe9c6f190
[10371] More wide use ObjectGuid in group code.
...
Also drop some unused functions.
And fix some uint32 -> uint6 guid assigns.
2010-08-18 13:43:55 +04:00
VladimirMangos
acdaac3587
[10370] Rename UnorderedMap.h -> UnorderedMapSet.h
2010-08-18 04:54:25 +04:00
CipherCOM
6600fc842f
[10369] Implement UNORDERED_SET support.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also added compatibility code for old Visual Studio versions
for non standard way hash calculation for hash_set.
Thanks to Lynx3D for help in Unix side testing.
2010-08-18 04:37:08 +04:00
NoFantasy
a6360987de
[10368] Use AI function DoCastSpellIfCan for eventAI ACTION_T_CAST
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-18 01:31:59 +02:00
NoFantasy
9c8533335b
[10367] Making sure CreaturesAddon are re-loaded after creature evade
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-18 00:19:46 +02:00
VladimirMangos
fbf4c5b3b4
[10366] Add portable way for hash specialization adding.
...
Use it for ObjectGuid hash specialization
2010-08-18 01:13:42 +04:00
NoFantasy
821bb9fcc4
[10365] Implement ACTION_T_MOUNT_TO_ENTRY_OR_MODEL (43) for creature eventAI.
...
Read doc/EventAI.txt for details.
SQL query to update existing scripts are included (convert from using ACTION_T_SET_UNIT_FIELD, field 68)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-17 19:48:19 +02:00
Lynx3d
40f70138da
[10364] Restore build with gcc and cleanup includes a bit.
2010-08-17 19:42:20 +02:00
VladimirMangos
5f44c4da21
[10363] More wide use ObjectGuid in way remove MAKE_NEW_GUID uses.
...
Also
* Fixed some amount wrong uses low guids as full player guids.
* Add private without body ObjectGuid(uint32 const&) for catch wrong assigns low guids to ObjectGuid.
In some cases need assign "0" guid, then use ObjectGuid() instead.
* Fixed .pdump commands work.
2010-08-17 08:22:28 +04:00