Commit graph

65 commits

Author SHA1 Message Date
DiSlord
5f894bf422 Fix prev commit 2009-01-07 21:48:32 +03:00
DiSlord
177ab58d51 [7044] Fix some priest spell (48110, 48111, 48112, 48113) crash
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-07 16:41:29 +03:00
VladimirMangos
dc19fc4ca3 [7040] Move achievment rewards dat to new DB table. Implement sending item rewards by mail.
Support localization string fields for new table.
Move achievments related code and data from ObjectMgr to new AcievmentGlobalMgr.
2009-01-06 16:21:22 +03:00
DiSlord
b6efea176d [7034] Add support 96 bit spell family mask to triggers
Some fix/add data in table (about 100 records)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-06 00:26:58 +03:00
DiSlord
675a90b267 [7033] Add some dummy triggers
DK - 49015 and ranks, 51459 and ranks, 48979 and ranks
Druid - 48516 and ranks, 48496 and ranks
Shaman - 55440 glyph
Also fix send AttackStateUpdate on block
Add some spell_proc_event data
Fix sql update for 7031

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 16:55:30 +03:00
DiSlord
8ac2150b88 [7031] Implement some mage, paladin dummy trigers
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 06:01:46 +03:00
GriffonHeart
5332b4496d [7026] Current arena season id and state send and setting in mangosd.conf.
Also classes and DB data for new batlegrounds/arena.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-05 02:20:58 +03:00
VladimirMangos
f50083928a [7024] Add gathering skill grow bonus spell chanin data. Sort prof. spell chain data by skill ids as other spells. 2009-01-04 23:31:56 +03:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
VladimirMangos
ee505ec9da [7015] Implement support -1 in item_template.stackable and item_template.maxcount fields.
Also disable incorrect used vanity pets/currences/quest items special slotes. All items in its will be send by mail to characters at re-login.
Fixed code for item stacks operations with size > 255.
2009-01-03 19:19:53 +03:00
Wyk3d
d2d5cb4643 Fixed the existing makefile.am too 2009-01-02 16:52:39 +02:00
arrai
c08ed13497 [7003] Fixed *nix build of previous commit 2009-01-02 15:09:37 +01:00
Seizer
420331b2ae [7002] Fixed learning of spell 51490 and ranks
Signed-off-by: arrai <array.of.intellect@gmail.com>
2009-01-02 14:44:44 +01:00
Wyk3d
75b1db8cd0 [6976] Changed the db_version fields in realmd and characters databases to revision number format 2008-12-29 22:19:15 +02:00
Grz3s
da133b2618 [6970] Fixing player staring coordinates in mangos.sql. 2008-12-29 13:34:07 +03:00
begemot
b9e0787c2a [6961] Remove redundent code that prevent show .reload subcomands list in normal way.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 05:04:01 +03:00
Arthorius
41cbc67dfc [6960] Implement ".modify runnicpower" command.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 03:23:03 +03:00
DiSlord
b794a24358 Add procFlag patch
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 01:47:36 +03:00
killdozer
39d1ca5ef0 [6944] Restore work after arena patch and reimplement battleground/arena announcer
Signed-off-by: killdozer <killdozer@mangos.ru>

Renumbering arena related mangos string to proper ranges and cleanup related code and DB data.
Set battleground/arena announcer disabled by default as extansion in server functionality.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-25 07:53:06 +03:00
GriffonHeart
2c1c58a44c [6941] Data for spell_learn_spell for new class specific enchanting ability.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-25 02:32:33 +03:00
VladimirMangos
45ac0c5036 [6940] Update spell_learn_spell. 2008-12-24 16:11:37 +03:00
NeatElves
1e5dad839f [6939] Fixing problems with quest_template.RewHonorableKills.
1) field not been added in time original sql update.
2) provided default value for field.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-24 07:13:27 +03:00
VladimirMangos
e6e35f38d1 [6936] Update spell_chain table content. Most from provided data prepared by DiSlord.
Also switch to revision based numbering of sql updates.
2008-12-24 05:33:47 +03:00
VladimirMangos
7cc95eefb2 [6932] Move some old sql updates to subdir. 2008-12-23 02:04:42 +03:00
VladimirMangos
353b3c7d27 Prepare sql updates for merge.
This sql updates including chaarcter convertion queries:
  2008_12_22_18_characters_characters.sql
  2008_12_22_19_characters_item_instance.sql
2008-12-22 16:53:30 +03:00
ApoC
8ffb28a174 Added missing changes from arena patch.
Renumbered texts to be continuous.

Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 02:03:23 +01:00
hunuza
d44b1bc81b Add missing part of last commit.
Update makefile and characters required_* field.

Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-03 17:55:14 +01:00
Malah
5f33f4abf4 [6860] Implement correct effects stacking and zone limitations for item 34537.
Signed-off-by: Malah <Backbone@getmangos.com>

C++ code part rewrited for more correct work.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-30 04:18:14 +03:00
Backbone
eef8369ed6 [6859] Fixed item 29301 triggerring at ranged hit.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-30 00:42:47 +03:00
VladimirMangos
9fc7dd9ead [6853] [2008_11_27_01_mangos_playercreateinfo_item.sql] Use DBC data for creating initial character items.
Thanks to WCell team for DBC structure research.
`playercreateinfo_item` content removed from mangos.sql and table can be used now only for custom additional initial items.
2008-11-28 02:20:02 +03:00
VladimirMangos
e3abf5c936 [6838] [2008_11_18_01_mangos_creature_movement.sql 2008_11_18_02_mangos_mangos_string.sql] Implement localization support for creature_movemant.
Implemented in same way as db script localization. creature_movemant now store indexes in db_script_string.
In game waypoint text setting disabled. Unclear how this possible implement with localization data.
2008-11-18 20:42:10 +03:00
VladimirMangos
b992056123 [6831] [2008_11_16_01_mangos_command.sql] Let use short names for cancel word in .server shutdown cancel (like ".ser s c") and similar commands. 2008-11-16 15:06:23 +03:00
VladimirMangos
d287a17597 [6824] [2008_11_14_01_mangos_scripts.sql] Fixes in db_script_striong related code and DB.
Fixed field order in db script tables as expected base at mangos.sql.
Fixed unexpected errors output in some cases.
2008-11-14 19:49:01 +03:00
arrai
5905aec683 [6819] [2008_11_12_01_character_character_aura.sql] Fixed storing stacked auras 2008-11-12 22:23:17 +01:00
VladimirMangos
c9fd3705d7 [sql/updates/2008_11_11_01_mangos_db_script_string.sql sql/updates/2008_11_11_02_mangos_scripts.sql] Implement localization support for db script command SCRIPT_COMMAND_TALK.
Now db script command strings stored in `db_script_string (mangos_string like table). Text field `datatext` replace by int field `dataint` that store index in `db_script_string` table. Indexes must be 2000000000+ (for avoid conflicts with mangos_string indexes). Changes required DB support and SCRIPT_COMMAND_TALK will not work with old data until fixing in DB.
2008-11-12 02:03:25 +03:00
VladimirMangos
af556bae16 [sql/updates/2008_11_09_03_mangos_mangos_string.sql] Sql update for [6813] 2008-11-09 17:04:09 +03:00
Fredi
928ea2bdcf [6810] Added new command: .sendmoney player "subject" "message" money - Sends a mail with money to a player
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-09 11:21:13 +03:00
VladimirMangos
ad59efb6d9 [2008_11_09_01_mangos_command.sql] Create new command .senditems and remove from moderator level command .sendmail possibility send items. 2008-11-09 11:01:41 +03:00
VladimirMangos
d5b713e9c0 [6804] [sql/updates/2008_11_07_03_characters_guild_bank_tab.sql sql/updates/2008_11_07_04_realmd_account.sql] Not use varchar(L) with L > 255 for compatibility with mysql version < 5.0.3. 2008-11-08 06:05:46 +03:00
VladimirMangos
7e10e20810 [6803] [sql/updates/2008_11_07_01_characters_character_db_version.sql sql/updates/2008_11_07_02_realmd_realmd_db_version.sql] Implement characters/realmd DB version requiremnts checks support.
Note: each DB (mangos/charactes/realmd) have independent checks for version.
Also fixed required_* field name in mangos DB. It need updated with each sql update applied to related DB.
2008-11-08 05:07:45 +03:00
dythzer
acf6f5d5ce Added new command: .modify gender male/female - Turns selected player into a male or female
No relog needed

Signed-off-by: dythzer <micke223@gmail.com>

Add help and mangos strings. Allow accept partly types male/female arg values.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-01 06:35:41 +03:00
dythzer
eb97c9e717 [2008_10_31_02_mangos_mangos_string.sql 2008_10_31_03_mangos_command.sql] Added new command: .npc tame - Creates a pet of the selected creature.
Works for all classes, not only hunter. Pet also saved in DB.

Signed-off-by: dythzer <micke223@gmail.com>

Command renamed to .npc tame and code updated to use common function with spell effect.
Targeted creature not killed and tamed pet show up before player.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-01 03:24:05 +03:00
VladimirMangos
41b876b395 [2008_10_31_01_mangos_creature_template.sql] Creature related code and DB cleanups.
* Rename 2 creature_template fields to more clean names and related code update also.
* Use enum values instead raw values for type_flags, use halper functions instead code repeating.
* Move tamed pet creating code to new function.
2008-10-31 20:45:22 +03:00
VladimirMangos
8d02b5c7f2 Fixed sql update naming for 2008_10_27_01_npc_option.sql and 2008_10_27_02_locales_npc_option.sql. 2008-10-30 19:47:04 +03:00
dythzer
569032d907 [2008_10_29_04_mangos_mangos_string.sql 2008_10_29_05_mangos_command.sql] Added new command: .npc follow - Makes the selected NPC follow you around like a pet
Signed-off-by: dythzer <micke223@gmail.com>

* Also implement .npc unfollow for cancel following.
* Help and mangos strings.
* Unrelated small fixes in mangos.sql.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-29 22:50:19 +03:00
Wyk3d
affb0722d6 * [2008_10_29_03_mangos_db_version.sql] Added a column to db_version that will be used to check if the required db updates have been installed 2008-10-29 19:22:46 +02:00
dythzer
67779b76b7 [2008_10_29_01_mangos_string.sql 2008_10_29_02_mangos_command.sql] Added new command: .waterwalk on/off - disable or enable waterwalk mode
for selected player

Signed-off-by: dythzer <micke223@gmail.com>

Add help text and mangos strings.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-29 17:02:23 +03:00
Seline
4db0c00181 Use .respawn only for selected creature (if any)
If no creature is selected, old behavior is used (respawn everything).

Thanks Seline for the diff.

Signed-off-by: freghar <compmancz@gmail.com>
(cherry picked from commit 6bbdffac9acb9c02a74be632b35a90f0bda3ccb0)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Some changes in creature targeting and work in case alive target. Help data updated.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-28 16:34:35 +03:00
dythzer
e98a123027 Added new command: .repairitems - repairs all items of selected player
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-28 15:34:32 +03:00
GriffonHeart
94e29ce6a8 [2008_10_27_01_npc_option.sql,2008_10_27_02_locales_npc_option.sql] Implement npc_option localization support, also store in DB BoxText/BoxMoney/Coded.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-27 22:20:25 +03:00