Triply
4ec75c7c9e
[7639] Correctly fixed error spam, revert [7637]. Thx to vladimir
...
Signed-off-by: Triply <triply@getmangos.com>
2009-04-08 19:10:47 +02:00
VladimirMangos
6c19590062
[7638] Move linked trap gameobject template checks at gameobject templates loading to function.
2009-04-08 20:45:58 +04:00
rastikzzz
3f0bef7a32
[7637] Prevent console spam - FATAL: Unknown arena team type %u for some arena team.
...
Signed-off-by: Triply <triply@getmangos.com>
2009-04-08 18:18:03 +02:00
VladimirMangos
def4351671
[7636] Move lock id checks at GO templates loading to function and add check for all GO types with similar fields.
2009-04-08 18:20:05 +04:00
tomrus88
769a24252b
Merge branch 'master' into 310
...
Conflicts:
src/game/BattleGroundHandler.cpp
src/game/Unit.cpp
2009-04-08 15:01:06 +04:00
tomrus88
412a8029ea
Removed some outdated comments
2009-04-08 14:54:45 +04:00
tomrus88
781d9ca211
Replaced hardcoded value with define
2009-04-08 14:53:42 +04:00
Tassader
45438a602f
[7635] Spell hit chance cap change to 100% in 3.0.x
...
(cherry picked from commit cd17dac8d43312751123ee689c314d510b05c6e8)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-08 06:06:44 +04:00
VladimirMangos
3226a22e29
[7634] Fixed: select non-despawnable gameobjects base at appropriate for gameobject type dataN fields.
...
Many in world gameobject that unexpected daspawned before must now work in more expected way.
In tests i not found any damage to bg gameobject work, and at least this restore expected work for non-bg dorrs//buttons broken
after half-year ago patch (that has been reverted partly in this commit)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-08 05:46:43 +04:00
VladimirMangos
863a747251
[7633] Implement support multiply basic requirements for crireria in achievement_criteria_data.
...
Also implement additional basic requirements for proper implementing checks for ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE
Req. DB support.
2009-04-08 04:20:26 +04:00
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
73d12d7ccf
replaced if( bla ) with if (bla) for applying mangos coding style
...
replaced it with sed -i 's/if( \(.*\) )$/if (\1)/' BattleGround*
written by triply
Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-04-07 16:13:46 +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
tomrus88
14e9afa46f
Merge branch 'master' into 310
...
Conflicts:
src/game/Unit.cpp
2009-04-07 13:22:10 +04:00
tomrus88
75f4cc6375
Removed some outdated comments
2009-04-07 13:14:11 +04: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
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