Commit graph

4966 commits

Author SHA1 Message Date
VladimirMangos
7d06858866 [7627] Replace built-in in code table by new DB table achievement_criteria_data for store additional data for achievement criteria.
Required DB support.
2009-04-06 23:02:20 +04:00
rastikzzz
e95ba2814d [7626] Fixed: Typo in InitStatsForLevel
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-06 14:41:44 +04:00
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
tomrus88
2a8776e567 Merge branch 'master' into 310
Conflicts:
	src/game/Unit.cpp
2009-04-04 23:25:57 +04:00
tomrus88
a9dbe0f661 Removed some outdated comments 2009-04-04 23:24:24 +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
tomrus88
3ad6044f72 Merge branch 'master' into 310
Conflicts:
	src/game/Unit.cpp
2009-04-03 21:21:40 +04:00
tomrus88
031e83baa3 Removed some outdated comments 2009-04-03 21:20:06 +04:00
tomrus88
bd06497546 Removed trailing whitespaces 2009-04-03 21:18:58 +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
tomrus88
17d86309fa Merge branch 'master' into 310
Conflicts:
	src/game/Unit.cpp
2009-04-03 11:28:51 +04:00
tomrus88
c0764cdf18 Removed some outdated comments 2009-04-03 11:23:19 +04:00
tomrus88
ffcf5bb137 Updated to latest PTR build 9757 2009-04-03 11:21:41 +04: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
tomrus88
8e485ac249 Updated to latest client build 9742 2009-03-31 11:30:49 +04: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
tomrus88
abae3cac91 Merge branch 'master' into 310
Conflicts:
	src/game/Unit.cpp
	src/shared/Database/SQLStorage.cpp
2009-03-30 15:01:04 +04:00
tomrus88
8871f281bf Removed some outdated comments 2009-03-30 14:52:46 +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