Commit graph

746 commits

Author SHA1 Message Date
VladimirMangos
8e6410d639 [10089] Change in event system work with pool system.
* `game_event_pool` dropped and related in momory data generated
  based by another pool tables content.

* Pool work with spawed at event and despawned at event object now different.
  - If object listed in `game_event_*` as spawned at event start and it's part of some pool
    then all other pool object must be listed as spawned with this event start, and more,
    if pool has mother pool, then all mother pool members must have objects spawned at this
    event start. More short: all object of some top (not have mother pool) mitbe or listed for some event start spawn,
    or not listed for any event start spawn.
  - If object listed in `game_event_*` as DEspawned at event start and it's part of some pool
    then nothing special required for other pool objects. Event systemwil command to pool system exclude for spawning and despawn referenced
    object until event end.

* Many checks has been added at event/pool data loading.
* Changes fix crashes related to event/pool common work.

Thanks to NoFantasy for help in research original problems and ways for improve code.
2010-06-21 06:13:02 +04:00
VladimirMangos
a2a50c11be [10087] Move table in more expected mangos.sql part 2010-06-20 21:49:47 +04:00
VladimirMangos
619f01e150 [10086] Implement use .go command with shiftlinks or player name.
* Now if for .go command provided no X Y Z args command will not teleport player to nowhere.
* Instead command allow used with player name and work as simplifed .goname
  (teleport to player _point_ in user instance binding, not to player instance)
* Also command can be used with diferent point coordinates provided shift-links:
  - player (result for example .lookup player account)
  - creature (result .list creature command)
  - gameobject (result .list object command)
  - tele (result .lookup tele)
  - taxinode (result .lookup taxinode)
2010-06-20 07:13:20 +04:00
VladimirMangos
e82f4fbd29 [10058] Add to mangos.sql data from 09720_01_mangos_spell_proc_event.sql
Thank you to NoFantasy for pointing to inconsistance.
2010-06-15 02:15:08 +04:00
VladimirMangos
aa5dfc2895 [10056] Re-add spell proc sql data from [7879].
* It not has been added in commit time to mangos.sql
* It alsow required data updating in family masks.

Thank you to NoFantasy for reseatch problem :)
2010-06-14 20:13:24 +04:00
VladimirMangos
f520c9b1e0 [10051] Fixed talent 58426 broken after 3.3.3 switch.
Also cleanup character auras from wrong duration auras.
2010-06-12 04:32:33 +04:00
VladimirMangos
e1766a3adb [10045] Frop unexpected custom rank data for 26016.
This make spell rank use first rank data.
2010-06-08 17:31:10 +04:00
VladimirMangos
8e9a201ea0 [10044] Generate talent related spell_chain data instead storing its in table.
* Drop now redundant part of data from `spell_chain`.
* Allow store in spell_proc_event cusom ranks data for ppm for chained ranks.
* Drop now redundant part of data from `spell_proc_event`.
2010-06-08 01:51:32 +04:00
AbsoluteZero
32bed90aa9 [10036] Fixed health restore and triggering cooldown for talent 30881 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-06 18:39:08 +04:00
Ceris
7ed98198a7 [10022] Fix damage for 14278 and 16511 and ranks when dagger is equipped
Signed-off-by: Laise <fenrisse@gmail.com>
2010-06-02 18:39:59 +03:00
Laise
1750f61d73 [10018] Add 16246 proc to mangos.sql 2010-06-01 09:02:15 +03:00
VladimirMangos
e4adbc29e6 [10017] Make spell_proc_event.SchoolMask unsigned.
Also use byte length hex for school mask in mangos.sql data.
2010-06-01 06:26:57 +04:00
VladimirMangos
86439e14ad [10015] More redundant data check in spell_proc_event 2010-06-01 04:45:50 +04:00
Laise
f9df9d6226 [10012] Fix charges taking for 16246 2010-05-31 22:04:26 +03:00
VladimirMangos
93624bb496 [10011] Check redundent procFlags value in spell_proc_event. 2010-05-31 12:27:47 +04:00
Laise
57623491c0 [10008] Fix sqls 2010-05-30 23:58:27 +03:00
Laise
6551671f6d [10007] Fix wrongly initialized value 2010-05-30 23:39:04 +03:00
patman128
b98691501b [10006] Fixed typo in mangos.sql
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-29 23:21:55 +04:00
VladimirMangos
8988f0f609 [10003] Fixed unix* install.
I forgot update sql updatenames in Makefile.am after its rename.
2010-05-29 05:57:45 +04:00
VladimirMangos
cd5d598bd6 [10001] Rename current version sql updates (0.16/root dir) to 5 digits format rev.
* order guards not affected in sql updates so this not affect sql guards work.
* TO DEVS: in next sql update commit please check carefully generated by git_is -s
  sql guards for correctness
2010-05-28 23:48:50 +04:00
VladimirMangos
2d81f31afc [9990] Use more correct data for prev. sql update. 2010-05-28 04:26:36 +04:00
VladimirMangos
2cd5a6bbf2 [9988] Add correct spell chain data for 61024 and 61316. 2010-05-28 01:50:28 +04:00
VladimirMangos
86bef7ace5 [9984] Implement item 43214 work.
* Original version suggested by timmit.
* Required DB support for target requirement.
2010-05-27 19:14:02 +04:00
VladimirMangos
4e716c67da [9978] Add explicit AP damage bonus for spells 55095, 55095.
Original patch provided johonson.
2010-05-27 00:05:16 +04:00
insider42
fe69843ce7 [9977] Update talent 16180 and ranks work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-26 22:15:06 +04:00
VladimirMangos
94888e52cd [9974] Restore raid functionality broken after one from 3.3.x switches.
* Fixed typo in raid converting code that triggering raid disband at server restart.
* Fixed current subgroup show for character and update group memebers data at move its
  in diff subgroups.
2010-05-26 00:27:07 +04:00
Laise
628531933d [9967] Fix 16164 proc conditions 2010-05-23 19:51:48 +03:00
VladimirMangos
f0b1c5bd74 [9958] Implement item 34753, 43015, 43478, 43480, 46887. 2010-05-23 00:32:58 +04:00
VladimirMangos
67b8ca03b5 [9957] Alow sell item for money and extanded coset without momey in same time.
npc_vendor.ExtandedCost can be negative now that meaning:
price excluded default item BuyPrice and use only abs(ExtandedCost) items).
For example expected used for item 36908.
2010-05-22 19:49:07 +04:00
VladimirMangos
33c9af577c [9945] Update mangos_spell_check.sql
* Add all data from Spell.cpp
* Add missing data from recent commist for added parts of SpellEffect.cpp
2010-05-21 07:33:52 +04:00
VladimirMangos
b6d7365ac9 [9924] Implement .server log filter and .server log level comamnds.
* .server log filter comamnd let temporary (until config reload or restart)
  set log filters state. Or look at filters state.
* .server log level renamed from .server set loglevel but now let look at log level also.
2010-05-18 12:03:02 +04:00
VladimirMangos
ce761f4925 [9915] Clarify game_event field values and fix typos.
Thanks to BrightStone for pointing to ;)
2010-05-17 01:57:54 +04:00
Patman128
2ee1bb5219 [9906] More user friendly output at DB version check fail.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-16 03:03:25 +04:00
VladimirMangos
efba75312d [9901] Second attempt fix sql update :/ 2010-05-15 12:45:28 +04:00
VladimirMangos
3424dbf1fa [9899] Fixed sql update for ptrev. commit. 2010-05-15 11:37:42 +04:00
VladimirMangos
1f741a16b3 [9898] Implement redundent values check in spell_bonus_data
Also do table content cleanup base at added feature.

Original check code provided by nos4r2zod.
2010-05-15 11:25:21 +04:00
NoFantasy
312a076491 [9891] Implement *_scripts for creature_movement
New field script_id in creature_movement can be filled for each waypoint point and run the corresponding script from creature_movement_scripts.
Script_id can be any value and several points/creatures can share the same script (with limits of course, such as script depending on location and other factors).

DB projects are advised to move current text, spells and emotes data in creature_movement fields as these fields are strictly no longer needed and may be fully removed in the future.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-14 12:16:54 +02:00
VladimirMangos
080727cbfa [9886] Implement new commands for account search
* .lookup account email, .lookup account ip, .lookup account name
* For new commands and for .lookup player versions use first arg as part of email/ip/name search
* Use similar output format for player/account lists.
2010-05-13 11:44:03 +04:00
NoFantasy
b208effca6 [9883] Change SCRIPT_COMMAND_TALK to support CHAT_TYPE_* using enum ChatType
Making data consistent with other, similar tables like EventAI's text tables.
This convert existing data and also adds support for all chat types.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-12 14:09:38 +02:00
Laise
41c58f3be9 [9882] Add support for mounts dependent from riding skill and location 2010-05-12 13:34:10 +03:00
NoFantasy
faf3e287c7 [9881] Add additional fields to *_scripts tables for storage of more data.
Currently not in use by any SCRIPT_COMMAND_* but we have secret plans to be revealed in the future!

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-12 12:02:38 +02:00
zergtmn
aa8a36afd4 [9873] Drop outdated code for 18788
Signed-off-by: Laise <fenrisse@gmail.com>
2010-05-11 16:19:21 +03:00
VladimirMangos
3a2c28ca68 [9866] More weapon damage split spells. 2010-05-11 10:47:55 +04:00
Insider42
c4ee01422d [9865] Add support split damage for spells 66765, 67333.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also small cleanup in mangos_spell_check.sql
2010-05-11 10:30:16 +04:00
Laise
fc4c64b549 [9855] Fix some sqls from prev. commit 2010-05-09 20:36:47 +03:00
Laise
4c3d2805bd [9854] Fix negative amounts for spell base damage/healing and fix heal effects to correctly benefit from heal increasing/reducing auras 2010-05-09 20:33:36 +03:00
hunuza
d1130af777 [9849] Implement character database clean up.
This can be disabled by config option.

Flag for clean up can be set for example on client version change.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 23:08:24 +02:00
Laise
432b1b8b38 [9839] Fix shadow damage part of 55090 and ranks 2010-05-05 17:51:39 +03:00
VladimirMangos
34d1c80c85 Replace DOS lines ends by Unix version. 2010-05-03 04:19:38 +04:00
KiriX
c5ed3978bc [9826] Fix spell 38736
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-05-02 23:17:56 +02:00