Commit graph

833 commits

Author SHA1 Message Date
balrok
6b2fd22a9c [7632] more "if"-condition related codestyle in battlegroundfiles
this time with this regex:
sed -i 's/if *( *\(.*\) *)$/if (\1)/' BattleGround*
2009-04-07 17:25:53 +00:00
Triply
c916f78abb [7631] Removed useless method BattleGroundQueue::BGEndedRemoveInvites
Moved method BattleGroundMrg::InvitePlayer to BattleGroundQueue::InviteGroupToBG
Added some comments to RemindInvite and RemoveInvite events.
Optimalise code.

Signed-off-by: Triply <triply@getmangos.com>
2009-04-07 16:23:10 +02:00
Triply
060203749c [7630] Implement MSG_BATTLEGROUND_PLAYER_POSITIONS sending for AB and AV battleground.
Corrected some comments

Signed-off-by: Triply <triply@getmangos.com>
2009-04-07 09:37:24 +02:00
Lightguard
ca5a3d95ca [7629] Update paladin talent 25988 work to 3.0.x
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-07 06:07:42 +04:00
VladimirMangos
5c7b3e1f50 [7628] Implement .reload for static achievement tables. 2009-04-07 03:11:11 +04:00
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
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