Commit graph

1601 commits

Author SHA1 Message Date
VladimirMangos
361e2eba42 [7625] Drop unexpected published debug related include line 2009-04-06 01:51:34 +04:00
VladimirMangos
8b9d57ebcd [7624] Add hack detection for zone of undead's capital. 2009-04-06 01:20:39 +04:00
NoFantasy
b697b05279 [7623] Added: doc/EventAI.txt
Documentation of new `creature_ai_*` db structure.
 Based on ScriptDev2 EventAI.txt
2009-04-06 01:11:44 +04:00
AlexDereka
6bb6ff0f7e [7622] Added creatureAI with related database tables.
Code and concept (also known as EventAI) by ScriptDev2.
Note: database table layout are compatible with original db-scripts.
2009-04-05 23:05:44 +04:00
Lutik
d6223e18f5 [7621] More strong check for 23922 and ranks for add damage
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-05 21:04:52 +04:00
VladimirMangos
2c06d207a7 [7620] Make GCC happy. Restore build at Unix/Linux. 2009-04-05 19:57:08 +04:00
DiSlord
0f23722eb8 [7619] Work under Achievement and AchievementCriteriaCompletion Flags
Remove wrong (not fully correct) check in IsCompletedAchievement

Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-05 19:43:14 +04:00
VladimirMangos
a787741a5a [7618] Fixed: Prevent adding threat to dead creature and for dead target.
Also remove horriable typecast in ThreatManager code and some other cleanups.
2009-04-05 06:38:28 +04:00
VladimirMangos
764c6b5248 [7617] Fixed typo in prev. sql update. 2009-04-05 04:53:11 +04:00
VladimirMangos
dfa2869136 [7616] Implement .debug play cinematic and .debig play movie. Rename .debug playsound to .debug play sound. 2009-04-05 04:36:26 +04:00
VladimirMangos
678be86d67 [7615] Continue sorting chat command function declarations. Move send commands in new .send * subcommand list. 2009-04-05 01:38:02 +04:00
DiSlord
a7df922a7e Just add define for one AchievementFlags
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-05 01:28:27 +04:00
VladimirMangos
db2027feb0 [7614] Sort/rename debug commands, Move packet send commands to new ".debug send " subcommands list.
Also drop not implemented .debug inarc
Add to .debug send spellfail support for up to 2 additional args for spell fail packet.
2009-04-04 06:27:49 +04:00
VladimirMangos
8fe9008132 [7613] Sort and rename functions for GM commands in code. 2009-04-04 05:06:23 +04:00
NoFantasy
02247d411b [7612] Move SMSG_TRIGGER_CINEMATIC and SMSG_TRIGGER_MOVIE to functions and use its instead explicit packet creating.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-04 03:06:02 +04:00
VladimirMangos
485eb8adb1 [7611] Prevent casting owner spell/use item or gameobject by mind controlled player or creature.
This also prevent some crashes in like wrong case.
2009-04-04 01:23:08 +04:00
False.Genesis
e4daaaedb1 [7610] Fixed problems with Aura::HandleMosPossess for players 2009-04-04 01:21:59 +04:00
freghar
0fc68c5e1e [7609] Trailing whitespace cleaning
Here we are again! "git diff --check" !!

Signed-off-by: freghar <compmancz@gmail.com>
2009-04-03 16:46:39 +02:00
VladimirMangos
99fe98169a [7608] Implement ACHIEVEMENT_CRITERIA_TYPE_USE_GAMEOBJECT. 2009-04-03 07:01:17 +04:00
VladimirMangos
0c2f74bb02 [7607] Improvements in support some generic achievement classes
* Implement support achievements with refAchievement field != 0, that have criterias stored in achievement refAchievement.
* Implement support achievement complete req. with specific count of completed critirias.
* Avoid full achievement list scan at search achievement associated with criteria.
2009-04-03 04:56:45 +04:00
Lutik
6c6703f363 [7606] Fix use % power burn in effects
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-03 02:15:52 +04:00
VladimirMangos
fd26dbccda [7605] Counting in ACHIEVEMENT_CRITERIA_TYPE_USE_ITEM only for not triggered item casted spells. 2009-04-02 23:40:39 +04:00
VladimirMangos
719f7661d8 [7604] Revert "[7603] Drop from mangosd.conf oudated not working option."
This reverts commit cbc6ca5b6eca140a781ced7f9e296577aa9f2af3.
2009-04-02 15:45:22 +04:00
VladimirMangos
b0a893a62f [7603] Drop from mangosd.conf oudated not working option. 2009-04-02 15:42:05 +04:00
NoFantasy
780b041f62 [7602] Fixed possible crash at instant stealth aura apply interrupt at internal visibility update.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-02 05:22:30 +04:00
VladimirMangos
284b3a4865 [7601] Not check reagents for triggered spells, it checked and taken at triggered spell casting moment in original spell. 2009-04-02 05:13:52 +04:00
VladimirMangos
be374379de [7600] Apply at far teleport AURA_INTERRUPT_FLAG_MOVE and AURA_INTERRUPT_FLAG_TURNING in simlar to near teleport case. 2009-04-02 03:22:20 +04:00
arrai
465b6c23e8 [7599] Fixed windows build 2009-04-01 23:34:01 +02:00
VladimirMangos
836d356d67 [7598] Implement proper hide out of range (at another map) transports. Remove duplicate name field. 2009-04-02 01:15:56 +04:00
arrai
1ec8e1f24d [7597] Fixed crash at stealing single target auras (54648 for example) 2009-04-01 23:11:25 +02:00
DiSlord
4d42cd9e1a [7596] Better use wmo MOPY flags data on extract vmaps. No changes, just speedup.
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-01 21:37:25 +04:00
VladimirMangos
448f4195f8 [7595] Remove wrong comments.
Just forgot remove its in time releted patch push.
2009-04-01 14:30:18 +04:00
VladimirMangos
89d9e736a3 [7594] Lost last moment fixes for prev. commit.
This will fix crashes at teleports.
2009-04-01 04:49:12 +04:00
VladimirMangos
5dc0a1ed97 [7593] Map::EnsureGridLoaded related cleanups and fixes:
* Make generic EnsureGridLoaded function and move specialized code to LoadGrid and EnsureGridLoadedAtEnter
* Rename args to gx/gy for low-level grid numbering values.
* Remove redundent LoadMpa call after always case loading maps in EnsureGridCreated
2009-04-01 03:23:35 +04:00
ApoC
66b9cf7829 [7592] Correct delay loading for creature waypoints.
Now it allows to assign more than cca 65s delay on waypoint.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-03-31 23:09:18 +02:00
Charlie2025
3e74e2160e [7591] Implement 52375 and ranks.
(cherry picked from commit f0fb07c5261ffe823a91569a85a6d6018cd69b7a)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-31 04:39:08 +04:00
VladimirMangos
7118b937f2 [7590] Prevent send achievement packets at login.
For speed (player not in world and grid broadcast not work anyway)
and correctness (guild members don't must be spammed)
2009-03-30 13:07:33 +04:00
darkEvil
e57e7e3b51 [7589] Fixed Assault sounds in Arathi basin.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-30 09:52:40 +02:00
VladimirMangos
840d7d5e0a [7588] Remove redendent GO support and switch back to original suggested by Lightguard version with Unit only case 2009-03-30 02:07:43 +04:00
VladimirMangos
e090283840 [7587] Hmm, lost change. 2009-03-30 00:51:40 +04:00
Lightguard
4717f68984 [7586] New caster AI::SpellHitTarget call at casted spell landing to target (player/creature/pet/go)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-30 00:44:35 +04:00
KiriX
f726bd69a5 [7585] Implement quest item 39164 work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-29 23:56:22 +04:00
arrai
884c48d11c [7584] Fixed compiler warning at windows 2009-03-29 21:00:48 +02:00
VladimirMangos
f38283eba6 [7583] Use instead BasePoints+1 hardcoded formula more correct BasePoint+BaseDice hide in special helper function. 2009-03-29 22:46:32 +04:00
arrai
ab7491e0e1 [7582] Prevent memory corruption at DBC loading. Thanks to Lynx3d for investigating that issue 2009-03-29 20:26:39 +02:00
VladimirMangos
ae42ce6418 [7581] Move spell 58418, 58420 to script effect (first) from dummy (second).
In new spell data second dummy effect often use for additional info (script+dummy) or (dummy+dummy) and not called in fact.
2009-03-29 18:56:55 +04:00
VladimirMangos
4d8aec2c7d [7580] Add Policies/Singleton.h include in all headers where it expected. 2009-03-29 15:49:44 +04:00
GriffonHeart
426da8ad3d [7579] Check quest state and more generic code use for 58418, 58420.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-29 14:20:50 +04:00
VladimirMangos
8c23d3cd50 [7578] Replace generic [7577] implememtaion by more explicit code.
This must restore build at Unix/Linux.
2009-03-29 14:02:12 +04:00
VladimirMangos
24f1cf4b83 [7577] Implement YellToZone for different world object types. 2009-03-29 01:09:15 +03:00