Commit graph

5980 commits

Author SHA1 Message Date
VladimirMangos
f00d902333 [11363] Small fix for SpellRadiusEntry after recent dbc structure cleanups. 2011-04-16 02:08:50 +04:00
VladimirMangos
6c22335e9a [11362] Really reset UNIT_DYNAMIC_FLAGS at player death 2011-04-15 18:43:18 +04:00
VladimirMangos
bacb39a724 [11361] Add and use max arena team size function instead direct code. 2011-04-15 18:40:43 +04:00
breakwater
b9240d04e3 [11360] Reapply persistent aura at return to affected range.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-15 17:37:14 +04:00
caeruleaus
4a1e9b7d5b [11359] Fixed typo in recent arenatype enum related changes comment.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-15 16:08:13 +04:00
NoFantasy
1523cf5ae3 [11358] Add script effect of spell 45713
DB devs should note the special design for this spell, as it will set proper model for creatures when used from *_addon tables. See code comments.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-15 12:28:21 +02:00
NoFantasy
2c09c11091 [11357] Replace some 0-values with UNIT_DYNFLAG_NONE
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-15 11:07:55 +02:00
NoFantasy
520f420aed [11356] Some cleanup of JUST_ALIVED for creature and add comments.
Also restore npcflags after LoadCreatureAddon.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-15 11:00:58 +02:00
VladimirMangos
adcb84a325 [11355] Use ArenaType enum instead raw values
* Drop duplicate ArenaTeamTypes
* Use enum type where appropriate
* More strict check integrity arena team data at loading.
2011-04-15 03:19:12 +04:00
VladimirMangos
6f8aa617d0 [11354] Resolve porblems with Pet regeneration timer conflict with Creature version.
* Creature regeneration code moved to new virtual function RegenerateAll
* Pet instead direct call own regeneration code overwrite now RegenerateAll

Big thanks to Vladskywolf for problem research and original patch version.
2011-04-15 02:15:29 +04:00
TOM_RUS
24853d6410 This one is SMSG actually, not my fault anyway. You know who to blame. 2011-04-14 09:44:15 -07:00
stfxpi
956d27a266 [11353] Implement spell 46939
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-14 18:42:27 +04:00
BThallid
919ab70452 [11352] Send SMSG_NEW_WORLD after teleport destination set.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-14 17:53:47 +04:00
VladimirMangos
e605b203e2 [11351] Calculate avg. personal rating in more correct way. 2011-04-14 15:44:25 +04:00
VladimirMangos
0912c17cee [11350] Revert "[11349] Instead group online players use arena team full list for claculate avg. personal rating."
This reverts commit aae93a675ca4dc4a936a1f90ad4a67f91161f697.
2011-04-14 15:43:47 +04:00
TOM_RUS
ea1076899b Some lost changes. 2011-04-14 08:30:54 +04:00
TOM_RUS
0f8c46878b Updated some structs and enums. 2011-04-14 08:14:03 +04:00
VladimirMangos
9c34efec41 [11349] Instead group online players use arena team full list for claculate avg. personal rating. 2011-04-14 05:14:42 +04:00
mns
531103b9e5 [11348] Ignore spell power for item spell 43733.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-14 04:34:46 +04:00
Ambal
b115986951 [11347] More accurate calculation of next movement update time in RandomMovementGenerator::_setRandomLocation()
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-14 01:42:22 +03:00
VladimirMangos
07fcdc33cc [11346] Use DELETE/INSERT in 11335_02_mangos_mangos_string.sql 2011-04-13 20:27:23 +04:00
Yehonal
42880e2b8a [11345] More informative message for nonexisten pettition.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-13 20:07:06 +04:00
VladimirMangos
b4ab2b2441 [11344] Make .npc delete safe for instances and complete no static creatures code cases. 2011-04-13 19:17:14 +04:00
VladimirMangos
6c8efb4458 [11343] Check creature*_addon.auras duplicates at loading.
This already checked at apply to creature but startup check more helpful for DB devs.
Also remove use single field structure use for store addon.auras data
2011-04-13 15:27:14 +04:00
Ambal
695ad4d54e [11342] Use Position struct to hold object coordinates - minor code refactoring.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-13 02:25:07 +03:00
NoFantasy
ece78f44fa [11341] Add dummy effect of spell 32146
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-13 00:29:00 +02:00
VladimirMangos
6f74cf8994 [11340] Type in Spell::DoSummon error message 2011-04-13 01:35:15 +04:00
Ambal
c60bee7173 [11339] Set correct summon coordinates for creature pet, created in Spell::EffectSummonPet(). Should fix rare crashes in RandomMovementGenerator<Creature>::_setRandomLocation.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-12 23:41:18 +03:00
VladimirMangos
764345609e [11338] Remove trailing spaces.
.git/hooks/pre-commit.sample -> .git/hooks/pre-commit can catch this cases. ;)
2011-04-12 18:29:11 +04:00
Darkknight900
d83c75b555 [11337] Better wording. v1.01
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-12 17:57:13 +04:00
Schmoozerd
328bd68350 [11336] Use movgen Finilize for code applied at normal movegen expire
This let resolve porblems for casts/etc that before happens
before real movgen stop from code logic.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-12 15:39:29 +04:00
Schmoozerd
ea516bef45 [11335] Let npc info command display more information.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-12 13:59:26 +04:00
NoFantasy
d75fd850ac [11334] Add dummy aura effect of spell 50141
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-12 01:29:17 +02:00
Ambal
e84d8fe335 [11333] Reserve 9 bytes for PackedGuid buffer instead of 4096 to save RAM.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-12 00:57:14 +03:00
VladimirMangos
6f34696350 [11332] Avoid use direct mechanic names in loop bounds for version portability. 2011-04-11 23:57:52 +04:00
VladimirMangos
16c562b7a0 [11331] Fixed equipment set save.
This resolve problem with wrong equipment set name show after relog
but only for new saved equipment sets. Old sets still have wrong names.
2011-04-11 23:55:21 +04:00
rsa
cd32dd9bfc [11330] Use ObjectGuid to store Totem guids instead of uint64 and fix related rare crash.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-11 22:45:32 +03:00
Ambal
735f086992 [11329] Fix crash in ChatHandler::HandleNpcDeleteCommand() - correctly despawn TemporarySummon objects by using TemporarySummon::UnSummon() function.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-11 22:07:50 +03:00
DaC
347070c4bc [11328] Move dummy effect code for spell 38194 to proper spell family case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-10 21:10:11 +04:00
unknown
71add7c73b As of patch 3.3.0:
Players below level 10 may not join raids.
2011-04-09 19:41:29 +04:00
SeTM
eb497a636b [11327] Restore hunter's pet call after desmiss work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-08 23:27:49 +04:00
Lynx3d
773b98538b [11326] Script effect of spell 47097 had reversed area condition according to latest spell_target_position data. 2011-04-08 03:23:02 +02:00
VladimirMangos
96045a86e3 [11325] Made recently added coordinates check only for debug build mode. 2011-04-08 00:12:25 +04:00
VladimirMangos
633b84b235 [11324] TARGET_RANDOM_NEARBY_DEST expected targeting any random target point in radius. 2011-04-07 23:01:21 +04:00
VladimirMangos
ba77d85a30 [11323] Avoid explicit use HIGHGUID_UNIT as creature high guid in guids or creature creating.
This helper change for allow have in future static spawned vehicles as `creature` table data.

Added CreatureInfo::GetHighGuid() high guid selector, and wrapper CreatureData::GetHighGuid()
for most real cases of usage. Also easy get expected guid form by CreatureData::GetObjectGuid(lowguid).

Also fixed some memory lost cases at creature spawn fail.
2011-04-07 21:15:27 +04:00
zergtmn
0dfcbf8051 [11322] Get rid of redundant CalculateSpellDuration calls, calculate once in Spell::prepare
Also fix despawn time calculation of dynamic objects.
2011-04-07 13:32:29 +06:00
VladimirMangos
28375e295e [11321] Fixed client crash at wrong quest shift-link structure.
Protection only work with ChatStrictLinkChecking.Severity = 3

Thanks to Lugia0529 and Micks for provided testing examples.

Also fixed server side infinity loops in ChatHandler::isValidChatMessage
2011-04-06 17:42:35 +04:00
Ambal
f46f4e1b87 [11320] Check if Creature::GetRespawnCoord() function returns valid map coordinates. Invalid data might cause crashes with movement generators.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-06 10:53:51 +03:00
Ambal
0f12e9cc3e [11319] Revert "[11318] Check for NaN values in IsValidMapCoord() functions." Function finite(X) always(!) checks for NaN values.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-06 10:35:06 +03:00
Ambal
cce8f56160 [11318] Check for NaN values in IsValidMapCoord() functions.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-06 09:46:09 +03:00