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
Ambal
8fd323a09a
[11317] More SQL requests to use prepared statements.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-06 00:13:12 +03:00
NoFantasy
889ce13264
[11316] Implement a basic system to restore default faction for creatures after changes
...
A new specialized function SetFactionTemporary for creatures are added. It work just like setFaction but has in addition option to set flags.
The flags determine if default faction should be restored and when; most commonly just before respawn and when reaching home after evade.
SCRIPT_COMMAND_SET_FACTION for DB scripts and ACTION_T_SET_FACTION for creature_ai_scripts are now capable of using the system (documentation updated)
The intention of the system is to be able to solve basic events that include faction changes, with the use of database only and in easier ways.
It is advised that DB devs revise current database scripts to check if changes should be made. The same goes for EventAI devs regarding ACTION_T_SET_FACTION.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-05 15:04:39 +02:00
zergtmn
0ceb42ff9a
[11315] Fix typos in recent commit
2011-04-05 12:42:43 +06:00
zergtmn
27445940f8
[11314] Fix typo in file name for generated PDB file
2011-04-05 01:14:38 +06:00
NoFantasy
492dd35606
[11313] Add m_ prefix for a few values in Creature class
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-04 17:05:43 +02:00
NoFantasy
3cd5a2fb9c
[11312] Better wording.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-03 22:38:29 +04:00
NoFantasy
acb6372d29
[11311] Add SCRIPT_COMMAND_ATTACK_START to initiate attack by creature.
...
../docs/script_commands.txt updated for details
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-03 19:52:43 +02:00
VladimirMangos
b92ebd994f
[11310] Make .npc add/.gobject add commands work safe.
...
Reserve at server startup some guods follow last used in static DB spawns guid
for creatures/gameobjects for use in .npc add/.gobject add commands.
This allow safe select guids not used in all map copies. Guids for temporary spawns
used from range frollow after reserved guids range.
This also let select new static spawns guids (added in game chat command) near to already used static guids.
So it let avoid gaps in static guids lists.
Amount reserved guids set in new GuidReserveSize.* config options.
2011-04-03 21:22:58 +04:00
NoFantasy
c93256e477
[11309] Extend SCRIPT_COMMAND_EMOTE, allow search for nearby creature to do the emote
...
Also allow play emote on Player when player is source.
Gameobject may be source of script but are only allowed as searcher for creature when defined.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-03 17:55:53 +02:00
NoFantasy
c81eafd1c1
[11308] Add dummy effect of spell 43209
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-03 15:14:07 +02:00
NoFantasy
91b56d2940
[11307] Add dummy aura effect of spell 6606
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-03 14:16:12 +02:00
Lynx3d
1a34a22cb9
[11306] Fix problem in WmoLiquid::GetLiquidHeight() properly instead of ignoring case.
...
Thanks Ambal for finding i though...
2011-04-02 19:30:45 +02:00
Ambal
43db4eaaa2
[11305] more safe code in vmaps and Field class
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-02 17:31:13 +03:00
VladimirMangos
1fea8a321f
[11304] Restore school check for weapon in SPELL_AURA_MOD_DAMAGE_*DONE
...
Broken in [10692].
2011-04-01 22:03:49 +04:00
Lynx3d
0f3f282e9a
[11303] Fix crash in HandleTrainerBuySpellOpcode
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-01 10:08:05 +02:00
NoFantasy
f9fb902f86
[11302] Fix false error at LoadTrainerTemplates
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-01 09:09:12 +02:00
zergtmn
4d262b593d
[11301] Implement SPELL_EFFECT_CANCEL_AURA
2011-03-31 13:24:27 +06:00