VladimirMangos
ef46d2bd6f
[10435] Fix recently added uint64 use for query in char deleted commands.
...
In mangos DB we store full guids only in *_aura tables for caster.
2010-09-03 03:19:25 +04:00
porteyoplait
355336f812
[10434] Add missing braces - should fix 51664 and ranks
...
Signed-off-by: Laise <fenrisse@gmail.com>
2010-09-02 16:43:32 +03:00
VladimirMangos
8dfeb61200
[10433] Implement EVENT_T_MISSING_BUFF for self buff check
...
Also added amount spell stack checks at loading
for EVENT_T_BUFFED and EVENT_T_TARGET_BUFFED.
2010-09-02 05:45:30 +04:00
VladimirMangos
acd0716297
[10432] Rename ASSERT -> MANGOS_ASSERT and related fixes
...
ASSERT hard use in predictable way because diff. 3rd party libs code
redefine it inf different ways and hard make sure that used in end
of mangos define version. This is real detected problem make some
expected assert checks ignored and so bugs not detected as expected from code.
In addition made related changes:
* Common.h header expected to be first include in any src/game/header except most simple cases.
* Related FILE.h header expected to be first include in FILE.cpp
* Fixed some absent includes and type forwards for safe build without PCH enabled.
* Avoid using MANGOS_ASSERT in src/framework code
2010-09-02 05:13:16 +04:00
NoFantasy
32e3e252fb
[10431] Correcting issues with flying creatures falling to ground at death.
...
Simplified the way FallGround works and death states are set in a more logical way when a mob is in fact DEAD_FALLING.
Visual will in some cases not be correct. Notes in code for details.
Thanks to Lynx fixing Map::GetHeight
It now return mapHeight as last resort, making FallGround work as expected.
This fix reveal one (known) bug, and therefore a temp hack is added in TargetedMovegen, to be sure Z is not the ground Z for a creature that are able to fly.
Other creatures will follow by the ground level Z (in other words, they will no longer follow in the air).
2010-09-01 00:31:31 +02:00
VladimirMangos
7df3f06d87
[10430] Improve detection removed ranks for spell in spell_chain
2010-08-31 19:04:39 +04:00
arrai
055c6b4184
[10429] some format string fixes
2010-08-31 12:51:45 +02:00
VladimirMangos
ef9793dcd4
[10428] Fix line ends :/
2010-08-31 07:00:06 +04:00
VladimirMangos
2c6fd1685e
[10427] Drop redundant data from spell_proc_event after recent spell chain changes.
2010-08-31 06:47:40 +04:00
m4cm4n
a1ada85db1
[10426] Remove not needed checks from IsNoStackAuraDueToAura
...
Signed-off-by: Laise <fenrisse@gmail.com>
2010-08-30 10:19:41 +03:00
Laise
694bdd43e3
[10425] Add comment in Aura::CanProcFrom
2010-08-30 10:07:58 +03:00
Laise
99214e9d8c
[10424] Fix 50334 additional targets part
2010-08-30 09:54:40 +03:00
VladimirMangos
a62d9e2817
[10423] Load most spell chains data from SkillLineAbility.dbc
...
* Output error for redundent data in table
* Drop detected data from `spell_chain`
2010-08-30 07:37:33 +04:00
Wowka321
63ac861fc9
[10422] Fix 71642 proc conditions
2010-08-29 20:02:16 +03:00
NoFantasy
9700d481fa
[10421] Correct typo in function name.
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-29 12:24:21 +02:00
NoFantasy
04b62bb9ee
[10420] Avoid send stop packet in PointMovementGenerator when unit is not moving
...
Also never send stop packet when destinationHolder hasArrived, it's expected that unit is already not moving.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-08-29 11:04:35 +02:00
VladimirMangos
0d363cc77a
[10419] Check redundant single rank spell data in spell_chain.
...
Also, add empty lines to end of file and apply code style tosome sql updates.
2010-08-29 07:33:40 +04:00
VladimirMangos
d714cd8b3c
[10418] Merge not-skill linked spell lists in spell_chain
2010-08-29 01:19:18 +04:00
Laise
1f2734f177
[10417] Fix Battle/Guardian elixirs stacking
2010-08-28 09:33:03 +03:00
Laise
821444445b
[10416] fix 71611 proc and remove check for family name if no spell_proc_event is defined
2010-08-28 09:29:04 +03:00
VladimirMangos
5a421a91b4
[10415] Sort triggered spell chains 44203 and 42231 in proper place spell_chain data.
2010-08-28 06:06:40 +04:00
VladimirMangos
6d5559544b
[10414] Constantify some functions in InstanceSave.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-28 01:44:23 +04:00
cipherCOM
1ccf1ccd86
[10413] Add some missing class/struct forward declarations and includes.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-27 23:55:57 +04:00
freghar
47dc7dcf1b
[10412] add a BindIP warning to worldd/realmd config files
...
Signed-off-by: freghar <compmancz@gmail.com>
2010-08-27 18:22:44 +02:00
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