Commit graph

3761 commits

Author SHA1 Message Date
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
hunuza
282e0fd8aa Add possibility for second glyph set.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-14 12:26:47 +01: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
VladimirMangos
268bb3221b [9362] Make specs work at least for action bars
* Propertly add/remove required for specs work spells at 63624/63651.
* Copy current spec action bars to new spec at specs count increase, and delete action bars data at spec count decrease.
* Avoid undexpected action button data test for not active spec at loading/copy, but test action buttons data at spec activation.
* Reset active spec to default if active spec removed.
* Remove talent reset at spec switch that useless at this moment.
  Also note that for future case this also can be not correct and batter unlearn/learn only talents that different in specs.

After this changes specs must fully work in action bar part without unexpected another effects.
2010-02-12 09:29:50 +03:00
laise
c579b7dfc1 [9361] Correct the health increased by spell 55233
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-12 06:53:45 +01:00
pasdVn
5d59f03b25 [9360] Fix the damage of spell 53351 and ranks
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-12 06:43:45 +01:00
EnderGT
230bc2b49e [9359] Load/save current active spec and total spec count.
Still needed for complete dual spec:
* support for second glyph set
* implement gossip options
* support for second talent set

Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-11 20:53:15 +01:00
tomrus88
2151704669 [9358] Not use PLAYER_FIELD_ARENA_TEAM_INFO_1_1 directly. 2010-02-11 19:30:44 +03:00
Kubius@getmangos.com
c3bc0aedbe [9357] Propertly show mail data in new mail tooltip for action mails.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-11 15:24:20 +03:00
NoFantasy
066daaecfd [9356] Correct output in case negative value in one error message.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-11 02:18:30 +01:00
VladimirMangos
6f2bd19b43 [9355] Spell 50464 bonuses dependent from amount HoT types at target, not stack size of this HoTs.
Thanks to LordJZ for research.
2010-02-11 01:30:05 +03:00