Commit graph

158 commits

Author SHA1 Message Date
VladimirMangos
a62bee6d66 [6823] Restore colored console output. 2008-11-14 19:24:56 +03:00
VladimirMangos
2bf6345beb [6822] Implement --version option for mangosd/realmd for output current binary version and exit. 2008-11-14 11:19:04 +03:00
VladimirMangos
02ec0d5233 [6821] More cleanups in spell proc event code. 2008-11-13 02:02:32 +03:00
VladimirMangos
3aa2669160 [6820] Cleanup spell proc event code. Avoid send same information by 2 ways to function. 2008-11-13 01:43:06 +03:00
VladimirMangos
92f39fe2c3 Better args checking in .sendmoney command. 2008-11-13 01:25:26 +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
hunuza
5a580d954b Fix a crash in add friend/ignore callback. (check if player still logged in) 2008-11-12 17:18:01 +01:00
Frankir
fc8efb0e91 [6818] Correctly apply taken damage debufs/bonuses in cases non-physical melee damage.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-12 05:27:58 +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
b24ace11cf [6817] Add VC90 sollution/project file versions for git_id tool. 2008-11-10 10:56:00 +03:00
Wyk3d
2d46c5da11 [6816] Cleaned up git_id
Added the -f option to fetch from origin and check for fast-forward
Added alternates for the -r,-h and -l options
Added usage output for -h
Other cleanups
2008-11-09 23:39:17 +02:00
arrai
8e54a3c1cf [6815] Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Original patch provided by mobel/simak 2008-11-09 20:44:53 +01:00
derex
a44ada6d6b [6814] git_id on *nix. 2008-11-09 17:32:39 +02:00
derex
d53b77cadf Fixed english spelling in src/game/WorldSocket.h/cpp. 2008-11-09 17:06:36 +02: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
derex
1346f394be Fix auth login queue. 2008-11-09 15:35:22 +02:00
Megamage
ace2d4815e Prevent proc spell from HOT and DOT ticks.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-09 13:32:07 +01:00
derex
5055d957e2 Restore build for GCC < 4.3. 2008-11-09 13:27:22 +02:00
evilstar
1da8ff0043 [6812] Implement localization of creature/gameobject name that say/yell.
Original patch deeply rewrited.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-09 13:19:08 +03:00
VladimirMangos
89612654da Fixed crash at .chardelete command use. 2008-11-09 13:15:39 +03:00
Wyk3d
61a3159c31 [6811] Use unordered_map only from gcc 4.3.x where it became deprecated 2008-11-09 12:01:26 +02: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
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
DiSlord
eb05f7d5eb Merge branch 'master' of git@github.com:mangos/mangos 2008-11-09 01:53:44 +03:00
DiSlord
540a05322f * Fix reset combopoints on miss/parry/immune and etc. 2008-11-09 01:53:03 +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
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
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
hunuza
4957d9f335 Further reduce of DB access in guild handlers. 2008-11-06 11:08:31 +01: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
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
VladimirMangos
49307f6a13 Small fixes in genrevision 2008-11-03 15:53:49 +03:00