VladimirMangos
dd2f02699e
[9412] Add #include DBCEnum.h for headers where SpellEffectIndex used.
...
This must fix Unix build problem.
2010-02-19 17:20:19 +03:00
VladimirMangos
84080aaf60
[9411] More SpellEffectIndex using in apropriate cases
2010-02-19 06:45:11 +03:00
NoFantasy
6469c21c41
[9410] Correct a typo in enum name, CAST_INTERRUPT_PREVIOUS
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-19 02:13:46 +01:00
VladimirMangos
11b84d27c2
[9409] Use SpellEffectIndex as arg type for spell effect handlers.
2010-02-19 01:06:17 +03:00
VladimirMangos
ff8d494ed4
[9408] Add MAX_EFFECT_INDEX to enum SpellEffectIndex and use it.
2010-02-18 23:33:16 +03:00
VladimirMangos
2a5ce2198c
[9407] If instance have reset time not let rate make it less 1 day.
...
This also fix crash at instance reset data loading at server startup.
2010-02-18 16:17:08 +03:00
Gotisch
34c51c7bf6
[9406] Documentation mail system.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2010-02-18 06:41:31 +03:00
VladimirMangos
5af05a314e
[9405] Make all movements instant applied.
...
* Drop delayed moves list in Map code
* Apply movement coords update always at call including movement to different cell/grid.
* Instead removed functionality mark creature as need move notify broadcast at next tick, do it.
This must resolve porblesm with CreatureRelocation in past not always update position to new expected at call
And in resul next code fail or work in strange way. Mark creature for notifier call at next Update
let safe main part remopved functionality implemented in another way: prevent cascade (or infinity chain)
in move updates. In fiture possible implement move notify call not at each tick for save time.
2010-02-18 01:09:33 +03:00
VladimirMangos
e74f62ea31
[9404] Fixed glyph apply with with specs.
...
This resolve problem when glyph rejetect applied
at some spec if it applied already at another spec.
2010-02-18 00:59:11 +03:00
NoFantasy
7c555add76
[9403] Replace number with enum name where explicitly used in array/other checks
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-17 19:07:00 +01:00
NoFantasy
5c05280c44
[9402] Add enum SpellEffectIndex to use with explicit effect index checks
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-17 16:52:44 +01:00
VladimirMangos
54559b5c03
[9401] Resolve porblems with waypoints moved/etc after [9400]
...
* Move movegen Interrupt/Reset calls from CreatureRelocation that called and from another movegens.
* Add this called to NearTeleportTo creature case and new MonsterMove* functions that considered
as special moves similar instant movegens.
* NearTeleportTo/MonsterMove functions recomended used instead explicit use CreatureReolcation+SendMosterMOve pairs
for proper reaction at movement from creature movement generators.
2010-02-17 17:22:43 +03:00
Lynx3d
c044d64618
[9400] Creature relocation acts like instant movement generator, so current generator expects interrupt/reset calls to react properly.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-16 23:09:28 +03:00
VladimirMangos
d536661cbf
[9399] Simplify config options loading code.
2010-02-16 22:14:20 +03:00
VladimirMangos
d20e50a8e5
[9398] Some config enmus fixes.
2010-02-16 16:08:16 +03:00
VladimirMangos
f9db93e78b
[9397] Fixed unexpected rounding in healamount = healamount * int32(TakenTotalMod);
2010-02-16 00:28:12 +03:00
Splinet
9e4829ecef
[9396] Fixed compilation mysql_to_pgsql on *BSD.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2010-02-15 22:21:14 +03:00
AlexDereka
9653831074
[9395] Update cmake for mysql_to_pgsql.
2010-02-15 22:03:18 +03:00
marintrica
500b91c049
[9394] Add expected spell ids to error output.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-15 21:53:50 +03:00
mns
1697b12406
[9393] Add init value to config.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-15 21:52:36 +03:00
Lynx3d
b2718378ef
[9392] Update creature/gameobject pool at despawn instead spawn prepare.
...
This let solve problem with not despawned creature/gameobject at pool update in case when related grid not loaded.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-15 21:43:06 +03:00
AlexDereka
941b2edb10
[9391] Remove unused defanes in Configs enums.
2010-02-15 19:55:24 +03:00
hunuza
462117198e
[9390] Remove unneeded mail related queries on character load.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-15 15:31:21 +01:00
AlexDereka
ebfb0f9835
[9389] Cleanup config data. Use proper names and expected types.
2010-02-15 15:29:06 +03:00
VladimirMangos
58d188f21a
[9388] Implement max cast chain length for triggered spells.
...
* New config option MaxSpellCastsInChain ( 0 is disabled old way work )
* Check added for prevent stack overflow crashes in case infinity triggered casts sequences
with more useful error output instead crash.
* Default config steeing in 10 casts expected to allow all possible in game proper cast chains.
2010-02-15 12:19:27 +03:00
AlexDereka
574f396b0d
[9387] Fix commit [9386]
2010-02-15 00:20:29 +03:00
AlexDereka
5368751c13
[9386] Store some config values in Rate emun.
2010-02-15 00:17:44 +03:00
VladimirMangos
6e5b74e0ca
[9385] Lost sql update from [9382]
2010-02-14 22:13:23 +03:00
VladimirMangos
f4c38044c4
[9384] Resore use uint64 instead time_t in query, some other fixes.
2010-02-14 21:35:03 +03:00
VladimirMangos
5beb853bc4
[9383] Move back from archive subdir 9010_01_realmd_realmlist.sql
...
This need for correct work git_id tool used by devs.
All last sql updates for specific DB mangos/characters/realmd must be in sql/update.
2010-02-14 18:39:40 +03:00
Odyssey
9280574c1b
[9382] Some missing .reload all_* commands descriptions in mangos.sql
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-14 18:34:02 +03:00
AlexDereka
ccfd42bf3e
[9381] Fixed some compile warnings.
2010-02-14 18:16:07 +03:00
Shin_Darth
2bdcb1161c
[9380] Some missing in mangos.sql command descriptions.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-14 18:05:33 +03:00
laise
ade8adfc4e
[9379] Fix spell 55268
...
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-14 15:33:57 +01:00
VladimirMangos
9509b11f38
[9378] Not report action button porblems at spec activation.
...
Action bar copied at spec creating and base at fact that talents not copied
possible cases when action bars not apporpriate for created spec.
So let its drop silencely
2010-02-14 15:58:37 +03:00
VladimirMangos
ec26a61b5d
[9377] GRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR!
2010-02-14 15:42:24 +03:00
VladimirMangos
1859770c78
[9376] Maybe last fix of fix of fix sequence. O.O
2010-02-14 15:40:19 +03:00
VladimirMangos
f145e06e89
[9375] Now really correct sql update with content
2010-02-14 15:24:05 +03:00
hunuza
77dc9d0582
[9374] Fxies for prev. commit.
...
NOTE: DON'T APPLY prev commit version sql update
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-14 15:09:36 +03:00
VladimirMangos
97cdb501a8
[9373] Fixed rune consume at no rune code mods
...
Do rune cost calculations only if no no rune cost mod active
2010-02-14 14:23:28 +03:00
NetSky
40ed0190fa
[9372] Missing whitespace.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-14 11:00:20 +03:00
VladimirMangos
6d4693e770
[9371] Implement .reload all_gossips
...
* For reload `gossip_menu`, `gossip_menu_option`, `gossip_scripts`,
`npc_gossip`, `points_of_interest` by single command.
* Also fixed reloading `points_of_interest`.
2010-02-14 00:57:43 +03:00
Thyros
51b1fa9802
[9370] Implement .reload quest_poi (also reload quest_poi_points).
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-14 00:37:04 +03:00
laise
853d43b12b
[9369] Proper secondary target damage for spell 55050 and ranks.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-14 00:11:20 +03:00
VladimirMangos
c3734d9b55
[9368] Fixed my typo in mangos.sql
...
Thanks to Dereka for pointing to it.
2010-02-13 20:54:00 +03:00
VladimirMangos
0b6bc42c3f
[9367] Fixes for [9366] for restore server startup and other.
...
* Add expected sql update order guards to sql updates
* Update size of spell id field in spell_bonus_data.
Note: You need apply new sql updates versions or just re-aplly
one more time new sql update version if apply already old.
2010-02-13 20:34:52 +03:00
unloading
4c18b32279
[9366] Fix spell 67228
...
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-13 17:16:48 +01:00
laise
f272aa8d1a
[9365] Implement spell 31226 and ranks in non-consume poison part.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-12 15:53:41 +03:00
laise
71d0989db3
[9364] Update diminishing categories.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-12 14:07:55 +03:00
laise
6fbe7f4307
[9363] Implement new way spell 1535 and ranks work.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also implemented spell casting requirement check and proper animation.
2010-02-12 11:00:05 +03:00