Commit graph

248 commits

Author SHA1 Message Date
VladimirMangos
0614a9eb75 [7903] Load and save for pets only talents. Not store unused (in fact) free talent point amount.
* Other pet spell types auto-learned at level setup/load.
* Code will cleanup pet_spell table from non-talents spell if detect any at load.
* Free talents points recalculated at loading and levelup so store its in DB useless.

Note: bug with not highlighting learned pet talents (except first line) until learn one more talent not fixed.
2009-05-28 03:36:28 +04:00
AlexDereka
c87e51dae5 [7902] Speed up Creature and GO loads. 2009-05-28 00:00:22 +04:00
NoFantasy
56e86ff05f [7896] Rename creature_template class/race fields to trainer_class/trainer_race for clarify use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-26 18:16:15 +04:00
VladimirMangos
f271fd6819 [7893] Fixed work chat guild commands that expect guild name in args. Now guild name always must be in "". 2009-05-25 06:31:17 +04:00
VladimirMangos
c56ef09fa3 [7887] Drop pet spell teaching code, including field in character_pet. 2009-05-24 07:20:13 +04:00
VladimirMangos
8171bb57dd [7886] Drop use table petcreateinfo_spell
This is first commit in chain for remove oudated and not used pet functionality.

* Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets)
* Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures)
* Fixed bug with not removing from action bar spell icon for not ranked unlearned spells.

Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template.
2009-05-24 06:39:29 +04:00
Sephiroth1983
2bf4660129 [7884] DB cleanup from obsolete 28734 spell.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 23:21:00 +02:00
Tanatos
a59de33941 [7879] Fixed proc for 31571 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 12:21:14 +02:00
freghar
fd074a71fb [7868] Added guard sql queries and 7867_01_realmd_account.sql to Makefile
"the stuff I forgot in previous commit", sorry

Signed-off-by: freghar <compmancz@gmail.com>
2009-05-21 19:13:08 +02:00
freghar
34ee1cffa2 [7867] Change default IP in account and banned_ip tables
As IP of 0.0.0.0 is, unlike 127.0.0.1, more clearly recognized as invalid.

Signed-off-by: freghar <compmancz@gmail.com>
2009-05-21 18:47:29 +02:00
Seizerkiller
c014560b45 [7855] Add description command to pool_* tables for simplify DB development.
Note: this fields not used and not loaded by mangos.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-19 23:40:06 +04:00
VladimirMangos
0838475415 [7850] Fixed '.pinfo name' work, move reputation code from it to new command '.character reputation [$name]'. 2009-05-19 01:03:39 +04:00
VladimirMangos
1f2670facf [7839] Rafactoring player targeting code in chat command and related cleanups/improvments.
* New extractOptFirstArg function for easy get 2 args in case option playe name as first arg.
* New extractPlayerTarget function for get player pointer/guid/name for online/offline player base at provided name
  or if not provided by current seelction with error cases processing.
* Property apply mute/unmute in case use different character name from loggined currently for account.
* .reset commands can be used from console now
* .repairitems comamnd can be used from console now but only to online player.
2009-05-17 14:29:55 +04:00
byeolpyo
ac67ac8c28 [7830] Spell chain data for 54424 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-14 23:41:21 +04:00
DiSlord
640d46ce1f [7823] Fix ScalingStatValue field size in item_template table.
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-14 11:49:06 +04:00
Brueggus
f81cc0bf6a [7817] Add missing sql-updates to mangos.sql (7776, 7777, 7782) (cherry picked from commit dd26ba3edf339277a94301aa10caf26d33aab576)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-13 17:27:10 +04:00
VladimirMangos
fffaec6d71 [7802] Use more appropriate field types in character_achievement* tables. Better check data at loading. 2009-05-08 19:45:04 +04:00
VladimirMangos
a587590ab5 [7796] Implement .lookup taxinode and .go taxinode commands. 2009-05-07 19:37:14 +04:00
pasdVn
952474f22d [7782] Fixed dummy proc from spell 34074
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 00:25:48 +02:00
Corfen
e70fdad6b7 [7777] Fixed talent 30299 and ranks procing also from holy dmg.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-05 22:05:54 +02:00
arrai
fefe56e3c5 [7776] Completed implementation of CMSG_SPELLCLICK
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
npc_spellclick_spells, otherwise you won't be able to use them
2009-05-05 18:58:58 +02:00
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
1ec21cfb71 [7714] Implement new command .character level for set level provided level. 2009-04-26 01:24:09 +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
nos4r2zod
b143a300cb [7662] Spell power coefficients for talent 48505 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-13 08:34:29 +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
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
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
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
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
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
DiSlord
2f7039f12d [7568] Spell proc event data from forums
Signed-off-by: DiSlord <DiSlord@nomail.com>
2009-03-28 15:01:23 +03:00
VladimirMangos
6e9542ca16 [7565] Move all hardcoded strings used in .account onlinelist to DB.
Also update format as originally suggested by Cha0S2.
2009-03-28 07:34:27 +03:00
NoFantasy
036a74b284 [7560] Implement IconName for gameobject
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also small fix for 7558 sql update (for re-apply support)
2009-03-28 05:59:55 +03:00
VladimirMangos
2dd36d688f [7558] Implement command: .learn all_mypettalents
Also output more correct messages at use .reset talents to pet
2009-03-28 03:28:08 +03:00
Triply
b09df0aade [7546] Revert [7544] correcty move uptime table to Realm database, use realmid column.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-26 17:58:44 +01:00
invliD
68ec6ae8ab Moved table uptime from world database to character database.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-26 16:23:57 +01:00
GriffonHeart
53af93111b [7536] Spell chain requirement for some epic mounts.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-24 19:13:01 +03:00
VladimirMangos
fc94d6991c [7503] Implement proper (not 2 level limited) help.security set for chat commands and subcommands. Update some commands data.
* Now `command` table loading set data for any use subcommand levels
* Errors output for not existed in code commands at related data loading from table.
* Detail log level report outout about overwrited security level for loaded chat command data.

Using this functionality found and fixed/update data for `command` in mangos.sql

NOTE: some command security levels changed.

Thank you to benemorius for pointing to this security problem.
2009-03-21 00:09:51 +03:00
VladimirMangos
e6aca46942 [7495] Fixed mangos_string entry text for .gobject target, and shift-links into .gobject turn/move output. 2009-03-19 20:11:04 +03:00
VladimirMangos
a63977d767 [7493] Move .gobject functions in one place, update/fix security levels in code and mangos.sql. 2009-03-19 12:53:10 +03:00
Triply
efd62ea6ea Added last file from previous commit
Signed-off-by: Triply <triply@getmangos.com>
2009-03-16 18:57:52 +01:00
Triply
846831e357 [7472] Fixed messages in Eye of Storm Battleground.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-16 18:54:35 +01:00
VladimirMangos
bc57ab7c58 [7453] Fixed some example data in mangos.sql 2009-03-13 22:23:53 +03:00
DiSlord
071a0317f0 [7439] Fix wrong liquid level in some places. Need reectract maps.
Remove some log on extract maps.
Add liquid status log to .gps command

Signed-off-by: DiSlord <dislord@nomail.com>
2009-03-11 00:04:19 +03:00