Commit graph

513 commits

Author SHA1 Message Date
Wyk3d
61a3159c31 [6811] Use unordered_map only from gcc 4.3.x where it became deprecated 2008-11-09 12:01:26 +02:00
tomrus88
90b0c47592 uint->int 2008-11-09 11:39:01 +03:00
tomrus88
50e538c32f Merge branch 'master' into 303 2008-11-09 11:37:52 +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
Arthorius
397d855569 [6809] Not reset display model at shapeshift aura remove if it not set at apply.
This must resolve problems with model reset at warrior stance switch.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-09 09:44:12 +03:00
VladimirMangos
d2be8dbe8f Implement expansion class check and unique class limit. 2008-11-09 04:17:13 +03:00
arrai
73e595ef87 Implemented some spell achievements 2008-11-09 01:31:12 +01:00
tomrus88
7a384e9374 Merge branch 'master' into 303 2008-11-09 01:45:34 +03:00
tomrus88
f6ff7b5a45 Updated some enums 2008-11-09 01:43:22 +03:00
Wyk3d
ca31e21740 [6808] Fixed VC9 build when TR1 is not present and added revision number output to the exception report 2008-11-08 22:03:42 +02: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
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
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
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
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
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
b2d24ba0f7 Packet fixes, pet spells 2008-11-04 18:25:35 +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
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
8d54103456 Fixed spell.dbc structure 2008-11-03 14:22:55 +03:00
VladimirMangos
004bdf1d3c Fixed some format arg type/value pairs. Other warnings. 2008-11-03 14:21:24 +03:00
Wyk3d
c8bd17f67b Added two parameter versions of the AsyncQuery function 2008-11-02 22:21:02 +02:00
VladimirMangos
8563b88859 Fixed some format arg type/value pairs. Other warnings. 2008-11-01 23:53:35 +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
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
5a26f822ce Some achievement*.dbc research 2008-10-29 16:47:56 +03:00
arrai
5364fc2847 Removed wrong assumed flag, use achievement points to differ between achievements and counters 2008-10-29 12:17:37 +01:00
arrai
deccb566ae Further work on the achievement system
Implemented ACHIEVEMENT_CRITERIA_TYPE_BUY_BANK_SLOT
Fixed SMSG_CRITERIA_UPDATE structure
Implemented parts of ACHIEVEMENT_CRITERIA_TYPE_REACH_LEVEL - there are still some unknown additional conditions for this criteria type
Fixed sAchievementStore lookup errors caused by an invalid DBCfmt
2008-10-28 00:06:52 +01:00
tomrus88
6496f7499e Account data saving must work now 2008-10-28 01:44:27 +03:00
tomrus88
233e5eac6f Merge branch 'master' into 303
Conflicts:
	src/game/ObjectMgr.h
2008-10-27 01:27:48 +03:00
tomrus88
4bf3c3b488 Added StatsCount field to item_template 2008-10-27 01:03:11 +03:00
VladimirMangos
f8a94b84c3 Use 0.12.0-DEV instead 0.12.0-SVN for mark MaNGOS version in development. 2008-10-26 18:18:20 +03:00
arrai
ba4b9ad480 Added achievement dbc stuff, fixed linux build 2008-10-26 12:55:15 +01:00
ApoC
4658b2b38e Fixed ticket reading when using PGSQL
Optimized ticket deleting by its position
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-26 12:26:22 +01:00
tomrus88
d403125e40 Added remaining changes 2008-10-26 10:26:01 +03:00
tomrus88
e08d8642f4 Updated DBC files structure 2008-10-26 10:13:07 +03:00
tomrus88
9ad0318c09 Disabled vld 2008-10-26 10:12:09 +03:00
VladimirMangos
643f6af8c7 Rename gensvnrevision and related files and references to genrevision/etc.
Also svn_revision.h renmaed to revision.h and defines in to it also renamed. MaNGOS code updated.
Other projects using this genrevison tool need to be updated in similar way.
2008-10-25 15:35:25 +04:00
VladimirMangos
0874856e34 Implement git support in gensvnrevision tool and related changes in code.
gvnrevision still support svn version generation and have addition options now (see sources).
gensvnrevision/svn_revision.h and other svn reference will fixed later.
Now version strings include commit date/time that can be used in git case for fast find git commit without using git hash most time.
In chat ".server info" output git hash can be copied by shift-click in chat and then copied to cliboard if need.
2008-10-25 14:34:47 +04:00