Commit graph

422 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
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
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
KiriX
c5ed3978bc [9826] Fix spell 38736
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-05-02 23:17:56 +02: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
7ee25008d3 [9794] Implement ".account characters" command
Console/chat command output characters list for specific account.
2010-04-26 07:13:39 +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
dbfb1fc8ef [9747] Fixed bg template max/min per team values 2010-04-14 15:49:04 +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
VladimirMangos
25c2a76b63 [9716] Allow to vendor have same items in list with different extanded price. 2010-04-10 05:41:30 +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
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
VladimirMangos
7f7d0624e8 Merge branch 'master' into 330 2010-04-08 02:56:04 +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
7708905bb7 Remove outdated spell proc data and update code for 44394 and ranks. 2010-04-07 02:11:31 +04:00
NoFantasy
8bd8986d5d [9664] Fix what author of [9663] messed up, and include the changes in mangos.sql
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-03 02:33:12 +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
VladimirMangos
034da8f6d4 [9656] Implement '.list talents' command.
Command show really know by selected player talent ranks,
including bugged cases like 2 rank same talent known and etc.
Also command claculated count of talents and total used talent
points cost of known talent ranks.

Can be helpful in bug debuging and cheating cases.
2010-04-02 06:38:27 +04:00
Blizzy
09b873a316 [9651] Correct code for quest points of interest.
Adjusting field names and type, and send data accordingly to avoid client crash not using auto-generated id.

Due to the nature of the primary keys, two tables are truncated. Be sure to make backup if you have data you do now want to loose.

In addition, speed up load times of data from quest_poi_points, thanks Hunuza for helping out.
2010-03-31 20:58:40 +02:00
VladimirMangos
4443737005 [9637] Include recent field into mangos.sql 2010-03-29 11:47:44 +04:00
VladimirMangos
d7c1e06d1b [9636] Move item real-time/in-game duration counting flag to new extraflags field.
Client expected only positive duration values, so stop use duration field as signed.
2010-03-29 09:52:59 +04:00
NoFantasy
f56190db12 [9622] Add keys for gameobject table.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-26 16:51:51 +01:00
VladimirMangos
29e46fcda8 [9610] Use more readble format for default gossip_menu_option values. 2010-03-20 20:07:58 +03:00
balrok
1a5dafc904 [9590] fixed mangos.sql 2010-03-15 20:58:31 +01:00
NoFantasy
9823356946 [9589] Add additional field for storage of speed_run rate of creature
This allow independent rate of walk vs run speed. Existing field renamed to explicit speed_walk.
Note that default database rate for run is a result of the most common value seen, 8.0/7.0

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-15 15:47:56 +01:00
Grandres
56ee01242c [9539] Item 23836 effect and spell 54757 not affcted caster spell power.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 21:29:39 +03:00
Splinter
ca8454a3a4 [9528] Avoid apply spell bonuses to glyph 42397 effect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 03:20:50 +03:00
Sarjuuk
a18d73a2bc [9526] Fix a typo from commit 9512
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-05 13:57:13 +01:00
przemratajczak
a4ce06fd15 [9512] Spell 16952 and ranks will now correctly proc from all cat form abilities that add combo points
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-04 08:03:57 +01:00
VladimirMangos
52701a58f6 [9509] Move custom data from item spell charges sign to new field NoConsumable.
Some items with negative by defaul charges not expected to be deletedt at no charges.
In past this fixed by using positive charges amount in like cases in different from
expected negative value. Adding new field for avoid this.
2010-03-03 09:14:09 +03:00
VladimirMangos
4dc85260c7 [9482] Implement 48266, and 50365, 50384, 50391 and ranks.
Original patch provided by laise.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-28 17:10:25 +03:00