VladimirMangos
c64bbffdd1
[7646] Revert one wrongly added line in prev commit.
2009-04-11 08:59:02 +04:00
VladimirMangos
eb198f8239
[7645] Fixed problems wit temporary unsummoned pets and cleanup code.
...
* Save temporary unsummoned pet to current slot (instead non_in_slot mode) and
prevent save as current pet summoned while temporay unsummon (arena)
* Prevent overwrite temporary summoned pet data
* At player loading set temporary unsummoned pet data instead pet loading
if pet expected to be temporary unsummoned in current player state (loading in taxi flight/etc)
* Restore proper pet at arena leave and unsummon in arena summoned.
2009-04-11 08:46:48 +04:00
VladimirMangos
263bf2ab22
[7644] Fixed pet slot values using in pet save.
...
Problem exist from client version switch when stable slot amount changed.
In result this has been source problems with stable use (3-4 slots) and possible pet lost in some cases
or "not save state" for summoned pets.
Use enums to avoid repeating problem, use more safe value for not-in-slot save (for summoned pets)
Fixed data preparing for MSG_LIST_STABLED_PETS.
2009-04-10 09:02:04 +04:00
VladimirMangos
34d69bbfdd
[7643] Allow set, store and output creture EventAI data version in addition to world DB and script library versions.
2009-04-09 17:30:59 +04:00
VladimirMangos
2be68b15cd
[7642] Move all 0.12 sql updates to sql/updates/0.12
...
Now in sql/updates root only sql updates added after 0.12 release.
2009-04-09 04:04:23 +04:00
VladimirMangos
463e78c872
[7641] Implement check noDamageImmune fields at gameobject templates loading at server startup.
2009-04-09 00:20:52 +04:00
VladimirMangos
f87684bab6
[7640] Move spell and chair height checks to functions for gameobject loading code. Fixed some field ids.
2009-04-08 23:18:17 +04:00
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
412a8029ea
Removed some outdated comments
2009-04-08 14:54:45 +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
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
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