Commit graph

257 commits

Author SHA1 Message Date
arrai
eb0cfe7fec Fixed ACHIEVEMENT_CRITERIA_TYPE_FALL_WITHOUT_DYING by using total fall distance instead of fall time. This distance might be used for a more accurate fall damage formula in a later version. 2008-11-08 16:29:44 +01:00
tomrus88
0a783585e0 Compile fix 2008-11-08 17:48:42 +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
tomrus88
7c73afbd22 Raid wide auras, untested 2008-11-08 16:44:10 +03:00
Wyk3d
82ad991969 [6807] Fixed multi line messages and other bugs in git_id 2008-11-08 12:00:03 +02:00
VladimirMangos
0dba9362d6 [6806] Not output error at loading empty character_ticket table. 2008-11-08 11:48:02 +03:00
VladimirMangos
5222f49820 Use (if available) TR1 unordered_map instead hash_map at Unix/Linux (in GCC 4.0.0 and later) and Windows (VC90 and later) 2008-11-08 11:44:13 +03:00
VladimirMangos
ac222e92b1 [6805] Small fixes in send/received packet and simple code cleanup also. 2008-11-08 07:26:28 +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
VladimirMangos
85c6e30bed [6802] Fixed build of realmd (absent macro arg) after recent git_id adding. 2008-11-08 04:16:45 +03:00
Wyk3d
7b0cdcdac5 [6801] Fixed some compile errors in git_id 2008-11-08 02:17:52 +02:00
ApoC
5c6a736e1c Merge branch 'master' of git@github.com:mangos/mangos 2008-11-08 01:11:34 +01:00
ApoC
9284058126 Do not check LOS for triggered spells.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-08 01:08:30 +01:00
Wyk3d
cfd9ccdaaf [6800] Added revision number output.
* Changed genrevision to use * instead of unknown when some info can not be found
* Added the git_id tool which is used to generate changes to revision_nr.h and the commit message
2008-11-08 01:50:42 +02:00
arrai
d7f8a60835 Implemented ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM and ACHIEVEMENT_CRITERIA_TYPE_LOOT_ITEM
Fixed CMSG_CANCEL_CAST opcode
2008-11-07 16:21:30 +01:00
hunuza
b681f5ac1a Access cached member lists in guild handlers instead of querying the DB. 2008-11-07 11:49:27 +01:00
VladimirMangos
8fc5ac7fd3 Fixed crash at using .account set gmlevel with wrong args. 2008-11-07 01:05:49 +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
tomrus88
ca8180ecd1 Futher pet spell work 2008-11-06 13:22:43 +03:00
hunuza
4957d9f335 Further reduce of DB access in guild handlers. 2008-11-06 11:08:31 +01:00
Foks
cdb2c08e3f Multi-locale DBC extracting
Signed-off-by: Foks <Foks@mangos.ru>

Small related code fixed and cleanups.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-06 06:14:46 +03:00
VladimirMangos
ef8e864008 Fixed build extractor at Windows Vista and hide more temporary files.
Not use c:\windows\temp for object files. This wrong in general and not work at Windows Vista.
2008-11-06 05:44:28 +03:00
tomrus88
cdd1f4e098 Client crash fix 2008-11-05 23:08:23 +03:00
tomrus88
3f1da2602e Small fix 2008-11-05 22:02:16 +03:00
tomrus88
d48844a699 More work on pet spells, typo fix 2008-11-05 21:47:56 +03:00
hunuza
9d8a7aea79 Reduce number of DB queries in guild related code. 2008-11-05 18:24:17 +01:00
hunuza
90828fa699 Cache highest arena team/guild ids. Some code clean up. 2008-11-05 16:58:57 +01:00
VladimirMangos
88b1974df6 Fixed warnings, unused code and typos.
Including fix  _SCallback for 3 params, triggred mode correct call for .cast back and .cast target.
Remove outdated code for support old 19421 (and ranks) implementation in client data.
2008-11-05 05:06:35 +03:00
VladimirMangos
ce351382a3 Remove unused src/game/HateMatrix.h and references.
Also one explicit include for used header.
2008-11-04 22:28:06 +03:00
VladimirMangos
9f2b553e05 Restore mangos build at Unix/Linux by droping broken by me in prev my commit unused code. 2008-11-04 22:20:50 +03:00
tomrus88
7adf2001f3 New client build, level cap is 80 2008-11-04 19:37:22 +03:00
tomrus88
d4ab3ca463 Merge branch 'master' into 303 2008-11-04 18:28:39 +03:00
tomrus88
3e8ebb024f Fixed: pet spells, possible sql injection, increased sql query size once again 2008-11-04 18:25:37 +03:00
tomrus88
11d5269853 Compile fix 2008-11-04 18:25:36 +03:00
tomrus88
b2d24ba0f7 Packet fixes, pet spells 2008-11-04 18:25:35 +03:00
VladimirMangos
e5a597ea9f Small fixes in genrevision 2008-11-04 18:25:34 +03:00
arrai
3d86187c4a Implemented ACHIEVEMENT_CRITERIA_TYPE_USE_ITEM
Added basic support for timed achievements
2008-11-04 00:54:29 +01:00
VladimirMangos
3e43600c3b Correct check for ACE_BIG_ENDIAN. Warning fixed and code cleanups. 2008-11-03 23:59:06 +03:00
hunuza
843a0d7d02 Cache GM tickets on server startup. 2008-11-03 21:32:42 +01:00
tomrus88
5114c17da2 Packet fixes 2008-11-03 18:58:32 +03:00
VladimirMangos
49307f6a13 Small fixes in genrevision 2008-11-03 15:53:49 +03:00
tomrus88
1c1bc92d54 Compile fix 2008-11-03 15:24:27 +03: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
hunuza
79cb959991 Removed some unnecessary database queries.
Removed unnecessary database queries in some command handlers.
Replaced them with access to cached data or queries for only the needed data.
Move database access in gossip select code to less often called place.
2008-11-03 14:22:54 +03:00
VladimirMangos
004bdf1d3c Fixed some format arg type/value pairs. Other warnings. 2008-11-03 14:21:24 +03:00
tomrus88
b62f376d73 No real changes
(cherry picked from commit 80e8f17627db58b3d275407547687aec6d10362b)
2008-11-03 14:12:57 +03:00