Commit graph

1601 commits

Author SHA1 Message Date
VladimirMangos
b9853cb958 [7720] Fixed crash at .character level use from console. Include GM name in message for command target if report need. 2009-04-26 23:37:07 +04:00
VladimirMangos
b62c142425 [7719] Use all existed 4 world map overlay area ids instead 3, replace values by constant for avoid problem repeat. 2009-04-26 20:32:45 +04:00
AlexDereka
d74cdadc54 [7718] Fix my typo in [7716] commit. 2009-04-26 20:14:15 +04:00
VladimirMangos
9dd305b457 [7717] Use more safe code in EventAI. 2009-04-26 19:19:36 +04:00
AlexDereka
c9d51a6dc7 [7716] Fixed some typos and possible crashes. 2009-04-26 18:49:07 +04:00
VladimirMangos
c2e6dd20dd [7715] Provided way for scripts set alternative gameobject state for client show.
Also use enum for gsmeobject states.
2009-04-26 07:21:11 +04:00
VladimirMangos
1ec21cfb71 [7714] Implement new command .character level for set level provided level. 2009-04-26 01:24:09 +04:00
DiSlord
ad12cd7531 [7713] Fix AreaGroup.dbc structure, more correct check it
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-25 10:42:42 +04:00
NoFantasy
727f590f6e [7712] Fixed typo in EventAI for preventing aggro from civilians.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-25 02:24:19 +04:00
AlexDereka
4a32920b9d [7711] Removed Sqlite Code. 2009-04-24 21:28:16 +04:00
VladimirMangos
ecb5a0328a [7710] Fixed problem with stuck in combat creatures with EventAI. Remove redundent AI field. 2009-04-24 18:56:26 +04:00
VladimirMangos
5d9516354e [7709] Cleanups in AI()->AttackedBy use.
* Remove redundent AI()->AttackedBy call at melee cast in state update (called in cast)
* Move attacks state update call after first attack instead after all extra attack state updates.
2009-04-24 18:54:18 +04:00
VladimirMangos
226bdca199 [7708] Continue chat command function declarations sorting. 2009-04-24 04:46:05 +04:00
NoFantasy
38cf432133 [7707] Remove duplicate line in check.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-24 04:18:42 +04:00
VladimirMangos
b2da7732f9 [7706] Rename command .plimit -> .server plimit 2009-04-24 03:58:19 +04:00
VladimirMangos
7fde7b8ca6 [7705] Rename some account/character related commands.
* .lockaccount -> .account lock
* .password    -> .account password
* .chardelete  -> .character delete
* .customize   -> .character customize
* .rename      -> .character rename
2009-04-24 02:46:11 +04:00
DiSlord
99a98684d0 Move code from prev commit to dummy effect
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-24 02:24:57 +04:00
Trogvar
94f7bd6ec1 [7704] Implement damage part for spell 12809.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-24 01:11:14 +04:00
Trazom
eedc10d46f [7703] Implement heal/damage total counters and related BG achievments.
* ACHIEVEMENT_CRITERIA_TYPE_DAMAGE_DONE
* ACHIEVEMENT_CRITERIA_TYPE_HEALING_DONE

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-23 23:56:15 +04:00
Trazom
9136354e7f [7702] Implement some damage/healing achievement statistics.
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HIT_DEALT
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HIT_RECEIVED
* ACHIEVEMENT_CRITERIA_TYPE_TOTAL_DAMAGE_RECEIVED
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HEAL_CASTED
* ACHIEVEMENT_CRITERIA_TYPE_TOTAL_HEALING_RECEIVED
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HEALING_RECEIVED

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-23 22:04:08 +04:00
Trazom
7c0201f834 [7701] Move explicit healing repeating code to DealHeal functions.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-23 04:54:57 +04:00
DonTomika
adf9eb942d [7700] Implement ACHIEVEMENT_CRITERIA_TYPE_EARN_HONORABLE_KILL
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-23 00:09:28 +04:00
VladimirMangos
898acd1248 [7699] Avoid implicit convertion enum constant value to 'uint32 const&' in templated code.
This triggering wrong code generation in release mode for VS2003/VS2005.
2009-04-22 21:59:05 +04:00
NoFantasy
07310ff6c1 [7698] Remove redundent call InterruptNonMeleeSpells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-22 18:10:16 +04:00
VladimirMangos
d910610600 [7697] Interrupt casting at enter to evade mode. 2009-04-22 18:05:59 +04:00
AlexDereka
cc83cac0aa [7696] Fixed compile warnings 2009-04-22 17:03:34 +04:00
NoFantasy
4fd4cc31d1 [7695] Fixed typo & -> &&
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-22 15:35:46 +04:00
raven_coda
c88f2164fc [7694] Fixed achievement criteria set at loading.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-21 22:10:47 +04:00
VladimirMangos
1b09aab42b [7693] Allow use .revive command in console, support revive offline players. 2009-04-21 20:24:37 +04:00
VladimirMangos
35970244e5 [7692] Implement ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILL_LINE and reimplement ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILLLINE_SPELLS.
Also correctly set this criteria at login.
2009-04-20 23:16:07 +04:00
AlexDereka
c4c093dac6 [7691] Added MySQL to PostgreSQL converter.
Tested on PostgreSQL 8.3 and MySQL 5.0.
For compile see README.
2009-04-20 22:24:30 +04:00
VladimirMangos
fc0e1ecdf1 [7690] Move GetCreature/GetGameobject to class Map.
* This let get objects at map without reference to player or another object.
* Simplify future implementation for per-map storage for like objects
2009-04-20 19:08:13 +04:00
NoFantasy
ee9ea143d1 [7689] Batter EventAI loading checks and fix one from possible crash cases.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-19 23:51:05 +04:00
VladimirMangos
f4adf83cd7 [7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange. 2009-04-19 22:54:40 +04:00
VladimirMangos
82b0ff8b5d [7687] Batter player dumps protection from not proper use.
* Prevent direct apply player dumps to DB
* Check expected character DB structure (revision) before apply.
2009-04-19 16:02:15 +04:00
Lightguard
f97735f519 [7686] Implement aura SPELL_AURA_ADD_CASTER_HIT_TRIGGER (111).
Fixed bug with triggering SPELL_AURA_SPELL_MAGNET at non-magic casts (special weapon attacks).

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-19 00:42:16 +04:00
NoFantasy
b3c4e38409 [7685] Load emotes.dbc and make emotes/emotetexts accessable from script DLL. Also some enum updates.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-18 16:07:15 +04:00
VladimirMangos
e94c6755d0 [7684] Resolve possible conflict in summon property enum type and enum names (currently commented) 2009-04-18 12:44:19 +04:00
Trazom
6c62fe750c [7683] Fixed update ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST for daily quests.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-18 00:10:59 +04:00
Trazom
718185cf8e [7682] Implement support ACHIEVEMENT_CRITERIA_TYPE_FISH_IN_GAMEOBJECT
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-17 23:41:48 +04:00
VladimirMangos
75d8c0b604 [7681] Check guid type before lookup request for seldom GO-caster case. 2009-04-17 17:04:51 +04:00
VladimirMangos
b4bc910d32 [7680] Fixed work spell effects with 17/0 spell target mode. Including many summon/teleport spells. 2009-04-17 16:44:20 +04:00
NoFantasy
f926232efb [7679] More checks for creature EventAI loading at server startup.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-17 15:47:51 +04:00
VladimirMangos
09c32b5429 [7678] Implement spell target mode 7 and cleanup target mode 17. 2009-04-17 13:41:36 +04:00
VladimirMangos
650be82030 [7677] Fixed crash at error report attempt at db_script_string loading. 2009-04-17 11:23:19 +04:00
VladimirMangos
30d8be94ce [7676] Fixed typo in [7675] 2009-04-16 18:51:25 +04:00
VladimirMangos
b576b2382d [7675] Move spell targets in area selection code to function. 2009-04-16 18:41:35 +04:00
VladimirMangos
748ea8522a [7674] Fixed check of DB script string ids from db_script_string at loading. 2009-04-16 13:57:25 +04:00
VladimirMangos
3e4b31debb [7673] Fixed pet spell cooldown values send in Player::PetSpellInitialize to client. 2009-04-15 11:49:42 +04:00
VladimirMangos
78dd259c38 [7672] Move ReceiveEmote from script API to AI API.
This is also fix triggering ReceiveEmote for EventAI broken at it move to mangos sources.
2009-04-15 06:08:52 +04:00