Commit graph

504 commits

Author SHA1 Message Date
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
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
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
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
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
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
VladimirMangos
c121c96691 [9810] Move pre-switch sql updates (except realmd related) to subdir. 2010-04-29 22:31:29 +04:00
Laise
a69018efec [9803] Fix typo in taken damage/healing bonus calculations and fix damage of 64085 2010-04-29 13:14:44 +03:00
VladimirMangos
929798e635 Fixed sql update for avoid apply problems. 2010-04-26 07:57:03 +04:00
VladimirMangos
7ee25008d3 [9794] Implement ".account characters" command
Console/chat command output characters list for specific account.
2010-04-26 07:13:39 +04:00
VladimirMangos
15dd77873e [9779] Drop trailing whitespaces. 2010-04-23 05:28:51 +04:00
VladimirMangos
9a30dbac89 [9768] Fixed my last sec. fix problem :/
Also make $/# in consistence in new command help texts.
2010-04-20 22:39:25 +04:00
DasBlub
492ce567d2 [9767] Add the posibility to keep deleted characters in the database for a while and also add related commands.
Added commands:
* .character deleted list [$guid|$name]
* .character deleted restore $guid|$name [$newname]
* .character deleted delete $guid|$name
* .character deleted old [$keepdays]

Command .character delete renamed to .character erase

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-20 22:12:50 +04:00
faramir118
c9ac685f04 [9766] Remove outdated code for 54936
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-20 12:03:55 +03:00
VladimirMangos
b2fefc2ca9 [9763] Use min/max BG/arena levels from DBC. Update table content.
* Use min/mac level from dbc because anyway list real selectable
  for player level bg/arena backets set min/max range.
* Drop related fields and update per team min/max values.
2010-04-18 21:31:19 +04:00
VladimirMangos
d7acc13d09 [9761] Restore .list object output.
No reason have different command output in chat and console
just because need fix crash.
2010-04-18 18:09:44 +04:00
VladimirMangos
ae9985e778 [9755] Fixed sql update version and related data 2010-04-17 15:41:38 +04:00
VladimirMangos
48254e3879 Cleanups in instance_template and map entrance DBC data. 2010-04-17 15:24:49 +04:00
NoFantasy
f25c319bc7 [9753] Add default value for parent-field in instance_template
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-16 09:08:32 +02:00
NoFantasy
5570f8c9cd [9752] Add storage for min/maxgold of gameobject
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-16 08:45:46 +02:00
VladimirMangos
b31c006bdc [9751] Add index by spell to character_spell
This is must fix porblem with long logins at
many broken spells in `character_spell` after client switch/etc.
2010-04-16 08:39:08 +04:00
VladimirMangos
92b11459b1 [9748] Fixed startup problems after recent realmd DB. 2010-04-14 16:40:11 +04:00
VladimirMangos
dbfb1fc8ef [9747] Fixed bg template max/min per team values 2010-04-14 15:49:04 +04:00
VladimirMangos
822ec31cb9 [9746] Implement show realm version and build in realm list.
* Rename `realmlist`.`color` field to `realmflags`

* Client 2.x and later support show in realm list supported
  client version for specific realm.

  For client 1.x this implemented by adding version to name
  in similar way as it look in more recent clients.

  For enable version show each affected realm must have in `realmflags` set
  flag 4.

  For realm work with not officially supported builds (build > last suported)
  will show version 0.0.0 and correct build value.
2010-04-14 09:15:33 +04:00
MrLama
9a0de445b8 [9735] Fix proc for 53709 and ranks
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-12 12:39:06 +03:00
NoFantasy
0edbefd68f [9728] Correct icon for one option in default gossip menu
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-11 13:20:21 +02:00
SKW
8f18a0d920 [9720] Implement Glyph of Siphon Life and fix Siphon Life proc
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-10 10:01:30 +03:00
Diablox
83639a0101 [9717] Fixed [9716] sql update.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Grr... git_id tool corrupt old sql update (it drop sometime all except guards)
and i copy old not fixed version for restore :/

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-10 06:32:37 +04:00
VladimirMangos
25c2a76b63 [9716] Allow to vendor have same items in list with different extanded price. 2010-04-10 05:41:30 +04:00
NoFantasy
f1af55f162 [9714] Replace tab with spaces, just to make at least one push today.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-10 00:02:49 +02:00
VladimirMangos
c6fc16d064 [9711] Include in 9692_02_characters_mail.sql convertor for items.
It included in swith time sql update for use in cases not converted yes characters DB.
It can be not 100% safe used for already used in 3.3.3 mode chaarcters data.
BUT if you want you can use it at own choice ofc.

Fixed durability problem after switch. Converted non-bag items only.
Bags not have normally item text and durability.
2010-04-09 23:39:21 +04:00
VladimirMangos
6ef88699d1 [9710] Add gm possibilities reset talents for all specs.
* At login reset '.reset all talents' will reset all spec talents.
* New command '.reset specs' will reset its online/offline.
* Command '.reset talents' now not support offline player case.
2010-04-09 22:43:11 +04:00
crackm
12c3227e32 [9704] Add to achievement_reward support gender dependent rewards.
For example for achievement 1793

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-09 07:11:31 +04:00
VladimirMangos
24f2d03485 [9702] Drop now redundent item_text table.
* In beggining bad news: at 3.3.3 switch has been forgoted item_instance.data field chnage.
  In result items with texts (mail copy in to inventory, some other) lost text content.
* That why in current commit item_text droped without convertion. In result all itesm with texts
  will lost text. Sorry for this as i think small porblem :(
* Now text stored in item itself.
2010-04-09 02:10:36 +04:00
VladimirMangos
cf6aac84fd [9692] Switch to support client 3.3.3a (build 11723)
Merge branch '330'

You need regenerate dbc/map/vmap files.

Thanks to TOM_RUS who make most work for adding 3.3.3 support. ;)
2010-04-08 04:27:09 +04:00
Wowka321
c5860e0892 [9690] fix item 47670 spell proc event
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-07 19:18:46 +03:00
VladimirMangos
d78117bbc8 [9687] Add to mangos.conf options for daily/weekly reset time.
* Quests.Daily.ResetHour (0..23) for daily quests
* Quests.Weekly.ResetWeekDay (0..6) and Quests.Weekly.ResetHour (0..23) for weekly quests.
* Drop time from character_queststatus_daily and use same way as weekly quest reset time store.
2010-04-07 05:48:14 +04:00
GriffonHeart
fdddf9188a [9686] Implement support weekly quests cooldowns.
Part code provided by zhenya.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-07 04:24:51 +04:00
hunuza
145182a53d [9680] Create new table character_stats for external tools.
Added new config value to define whether it should be updated.

This table will only be updated on logout, not on periodic save.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-06 15:03:43 +02:00
NoFantasy
53a010d5a5 [9663] Include entry of gameobject in gobject near command
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-03 02:27:05 +02:00
Laise
7fb7c47de5 [9661] Implement dual talent specializations in talent switch part.
* Implement talent specs switch functionality.
* Only gossip part still not implemented.
* At update server to this commit or later character talents will be reset
  with some spam in logs about wrong places talents in character_spell.
  It can be ignored as part of conversion to new table support.

Thanks to all getmangos.com community members who take part
in creating and updating original dual spec patch.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-03 00:02:55 +04:00