Commit graph

282 commits

Author SHA1 Message Date
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
tomrus88
204b61c220 Added empty vehicle class, vehicle*.dbc struct's 2008-11-11 00:05:00 +03:00
tomrus88
6fae544fbe Merge branch 'master' into 303
Conflicts:
	src/game/WorldSocket.cpp
	src/shared/Database/DBCStructure.h
	src/shared/Database/DBCfmt.cpp
2008-11-10 01:10:52 +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
tomrus88
f6ff7b5a45 Updated some enums 2008-11-09 01:43:22 +03:00
tomrus88
7974d1cb94 Merge branch 'master' into 303
Conflicts:
	src/game/Player.cpp
	src/game/Spell.cpp
2008-11-08 16:52:28 +03:00
VladimirMangos
4476d483d4 Fixed comment text and code indentifiers spelling.
GetFieldNames part provided by Paradox.
2008-11-06 19:22:23 +03:00
tomrus88
78ec66babc Merge branch 'master' into 303
Conflicts:
	contrib/extractor/System.cpp
	contrib/extractor/ad.exe
	src/game/WorldSocket.cpp
2008-11-06 15:50:47 +03:00
hunuza
90828fa699 Cache highest arena team/guild ids. Some code clean up. 2008-11-05 16:58:57 +01:00
tomrus88
9cc6f1f3ec Merge branch 'master' into 303
Conflicts:
	src/game/Level2.cpp
	src/game/Pet.cpp
	src/game/Player.cpp
2008-11-03 14:44:58 +03:00
tomrus88
81693c4c15 Added new quest template fields, updated some enums and opcodes 2008-11-03 14:22:55 +03:00
tomrus88
8d54103456 Fixed spell.dbc structure 2008-11-03 14:22:55 +03:00
VladimirMangos
166007525e More fixes for wrong format arg/value pairs. 2008-11-03 01:48:16 +03:00
hunuza
fa37c291d6 Replace some PQuery() calls with more simple Query() 2008-11-02 23:22:18 +01:00
arrai
99ff9ab5d9 Fixed mixing up character and world database 2008-11-02 20:36:48 +01:00
tomrus88
4758be3791 Merge branch 'master' into 303 2008-10-31 19:03:31 +03:00
arrai
0d6805ec94 Implemented ACHIEVEMENT_FLAG_REALM_FIRST_REACH 2008-10-31 12:53:35 +01:00
tomrus88
5ca92eddd7 Fixed MSG_CORPSE_QUERY for dungeons/raids, fixed SMSG_ATTACKERSTATEUPDATE 2008-10-30 23:02:48 +03:00
ApoC
42cf4db28b Implemented alternative GameTele location selection based on substring in case no exact match.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-29 23:06:00 +01:00
arrai
e92cc728c3 Reverted wrong commit d2785283e - the real source for not matching the flags was a mixed up index in DBCfmt.cpp
Added database integrity check for creature_equip_template
Differ between stored and pending completed achievements
2008-10-29 17:58:56 +01:00
tomrus88
8d733e8f8a Merge branch 'master' into 303 2008-10-28 23:04:02 +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
9e6390d88d Load npc_options at server startup, use cached data at creature gossip menu init.
Also new .reload table command added. Note: currently it will not affect creatures that have gossim memu created at command use moment.
2008-10-27 16:43:31 +03:00
tomrus88
233e5eac6f Merge branch 'master' into 303
Conflicts:
	src/game/ObjectMgr.h
2008-10-27 01:27:48 +03:00
@
e96fedc97c Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENT.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Currently can be used in loot conditions, later possible in gossip options show.
2008-10-26 23:43:50 +03:00
arrai
ba4b9ad480 Added achievement dbc stuff, fixed linux build 2008-10-26 12:55:15 +01:00
tomrus88
78a41233aa Updatefields for 3.0.x 2008-10-26 10:18:21 +03:00
arrai
406ac0abe5 * [sql/updates/2008_10_22_01_mangos_quest_template.sql] Implemented honor rewards from quests 2008-10-22 01:20:18 +02:00
VladimirMangos
911dbe0b29 Use ObjectMgr/AccountMgr functions instead explici DB quaries. 2008-10-21 18:09:35 +04:00
VladimirMangos
ad5f559dad * Move account related functions from ObjectMgr to AccountMgr and drop duplicate function also. 2008-10-20 07:30:59 +04:00
TheLuda
adc46ef907 Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more. 2008-10-15 18:26:08 +02:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00