Commit graph

150 commits

Author SHA1 Message Date
DiSlord
40e540d6f8 [6958] Fix last commit, add revision number
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 01:58:42 +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
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
GriffonHeart
d1a776f41a New class starting items data for item_template.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-21 04:48:56 +03:00
GriffonHeart
68a23f6587 Core DB data for new class creating.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-20 07:50:42 +03:00
VladimirMangos
7891238bde Level stats for >70 and new class. Data for new class levels <55 same as class 1 for same race (mostly).
Also fox item_template data structure in mangos.sql (add data for new fields).
2008-12-18 05:58:01 +03:00
tomrus88
71b1065c8b Merge branch 'master' into 303
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/Chat.h
	src/game/Player.h
	src/game/World.h
	src/game/debugcmds.cpp
2008-12-16 07:30:23 +03:00
ApoC
d43bd7efe9 Added missing alters to db_version.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 02:20:45 +01: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
tomrus88
053d60a3f7 Added wotlk sql updates to mangos.sql 2008-12-15 11:25:21 +03:00
VladimirMangos
05eee70e50 Update player_classlevelstats table for new levels and class.
Data for warlocks 71-80 have only near to correct data instead exactly correct values.
2008-12-12 05:26:38 +03: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
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
755717e8ac [6813] Allow have team dependent graveyards at entrance map for instances.
Entrance map graveyards selected by same way as local (by distance from entrance)
Until DB support will work in old way base at current DB data.
2008-11-09 17:02:58 +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
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
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
VladimirMangos
d8e29e7421 Fixed typo in mangos string in prev commit. 2008-10-29 17:14:27 +03: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
VladimirMangos
6169f57ab9 Simplify check requirement report command results to target and output command user name.
* Provided ChatHandler::GetName for player name/"console command" output dependent from chat/console command call.
* New function for check when command work result send to command target.
* Remove unrequired complexy in mangos string usage in some commands.
2008-10-28 14:55:17 +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
VladimirMangos
6f190fedd4 Output DB/ScriptLib versions in ".server info" command.
Required support by used scripting library.
2008-10-26 16:29:39 +03:00
VladimirMangos
89893215e5 Finish review/fix commands appropriate for console. Allow call 'help' command without args. 2008-10-23 20:44:30 +04:00
VladimirMangos
e31709611d Add to 'list item' command show items in guild bank. 2008-10-23 19:06:18 +04:00
VladimirMangos
0c9f783ddc [sql/updates/2008_10_23_01_mangos_command.sql sql/updates/2008_10_23_02_mangos_mangos_string.sql] Better 'pdump' commands args checking and related error output. 2008-10-23 06:07:03 +04:00
VladimirMangos
b10349a737 [sql/updates/2008_10_22_02_mangos_mangos_string.sql] Allow use in console .event/.reload/.lookup/.list (some)/.guild (some) subcommands. 2008-10-23 03:07:22 +04:00
freghar
95840fd2c3 Removed trailing whitespaces and CRLFs
With /contrib/ and /dep/ excluded.

Signed-off-by: freghar <compmancz@gmail.com>
2008-10-22 11:52:03 +02:00
VladimirMangos
6892cc3d2c [sql/updates/2008_10_21_03_mangos_command.sql]
slit ban/baninfi/banlist/unban commands to subcommands (this allow write not full subcomand string ".ban acc ...".
Fixed crash at unexpected use .account in console.
Fixed hide .gm on by .gm online (renamed to .gm ingame)
2008-10-22 00:51:49 +04:00
VladimirMangos
26dc8c07ab * [2008_10_21_01_mangos_mangos_string.sql,2008_10_21_02_mangos_command.sql] Merge CLI command proccessing to chat command proccessing.
Now console/RA uas same commads as used in chat if selected command marked as safe for console.
 Some commands accessable only at console and have security level 4. See sql update for new command names.
 Not all commands that safe (or can be modified to safe) for console allowed currently for use in console input, this will be fixed later.
2008-10-21 08:05:21 +04:00
VladimirMangos
169e8cbcb2 * [2008_10_19_02_mangos_spell_proc_event.sql] DB data for item 28356 and related, and also for 28602, 30317, 28578. Patch provided by hectolight & Blaymoira 2008-10-19 09:34:34 +04:00
VladimirMangos
d1ebd52390 * [2008_10_19_01_mangos_spell_affect.sql] List fake data for last spells expected to listed in spell_affect and enable post-loading check for spell-affect data. 2008-10-19 08:18:29 +04:00
vladimir-mangos
fea37f9291 * [2008_10_18_02_mangos_spell_proc_event.sql] Item 30627 hiddent cooldown. Patch provided by Blaymoira. 2008-10-18 05:49:06 +04:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00