Commit graph

6108 commits

Author SHA1 Message Date
tomrus88
397efd4fac Merge branch 'master' into 303
Conflicts:
	src/game/SpellEffects.cpp
2008-11-18 18:08:58 +03:00
VladimirMangos
c37cfd0c2f [6836] Use /bigobj option in VC80/VC90 x64 builds for game.vcproj buuld.
This will solve problems with fatal error (too many sections in ObjectMrg.obj).
2008-11-17 17:59:06 +03:00
VladimirMangos
2a3c3195b7 [6835] Check instanceid at search creature by guid. 2008-11-17 14:57:25 +03:00
ApoC
fc0e3e87a8 [6834] Fixed typo in Unit::RemoveAura leading to crash.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-17 12:25:04 +01:00
tomrus88
52b0ab1f89 Merge branch 'master' into 303 2008-11-17 01:50:37 +03:00
tomrus88
016ec89e83 VC90 projects for vmap extractor, added new mpq's 2008-11-17 01:45:11 +03:00
VladimirMangos
0ae2133254 [6833] More correct aura cancel for channeled spells.
Remove auras at channeled target.
Cancel channeled spell at spell aura cancel.
Also move battleground resurection spell code to more appropriate place.
2008-11-16 23:33:22 +03:00
tomrus88
427fca695e Compile fix 2008-11-16 18:13:33 +03:00
tomrus88
e738198eb4 Merge branch 'master' into 303
Conflicts:
	src/game/ItemPrototype.h
	src/game/ObjectMgr.cpp
	src/shared/Database/SQLStorage.cpp
2008-11-16 17:20:43 +03:00
VladimirMangos
e12e79a94d [6832] Not use creature localized names for pets. 2008-11-16 17:01:00 +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
freghar
528a9d830a [6830] Implement custom exit codes on server shutdown/restart
Added the possibility to use custom process return values
instead of hardcoded 0 (shutdown) or 2 (restart) to allow using them
for various custom external features / better handling.

This can be used through 4 commands in ".server" family:
 - shutdown
 - restart
 - idleshutdown
 - idlerestart

Those have from now on 2 arguments, where the second (return value)
is optional:

.server <command> <time> [return_value]

If return_value is not specified, default value (0 or 2) is used.

Signed-off-by: freghar <compmancz@gmail.com>

Set restart exist code for SIGINT singnal case.
Some code simplifications for original patch.
Related code cleanups.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-16 15:00:30 +03:00
Wyk3d
3d72b06fcd [6829] Fixed a crash in ScriptsProcess when the source or target's map is looked up while it's not in world. 2008-11-16 03:28:12 +02:00
Wyk3d
766654c85d [6828] Added script name indexing for creature, gameobject, item, areatrigger and instance scripts.
* loaded all distinct script names into one vector at server startup
* added custom loaders to convert the script names to indices
* converted all the script lookup functions to use the index instead of the name
2008-11-16 03:20:16 +02:00
Wyk3d
074bd3a08f [6827] Added an interface for defining custom SQLStorage loaders. 2008-11-16 01:02:13 +02:00
tomrus88
295fb07520 Merge branch 'master' into 303 2008-11-15 22:05:22 +03:00
hunuza
5944377d94 [6826] Fixed typo in debug output. 2008-11-15 17:54:36 +01:00
Wyk3d
2bc0bc0f9a [6825] Update only the cells around players and do not update the same cell twice 2008-11-15 15:29:53 +02:00
tomrus88
768fa2d2de Merge branch 'master' into 303
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/Pet.cpp
	src/game/Player.cpp
2008-11-15 15:35:52 +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
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
arrai
5905aec683 [6819] [2008_11_12_01_character_character_aura.sql] Fixed storing stacked auras 2008-11-12 22:23:17 +01:00
tomrus88
8b55b2de78 Merge branch 'master' into 303 2008-11-12 23:49:06 +03: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
tomrus88
ca33f8a1ab Merge branch 'master' into 303 2008-11-12 00:56:01 +03:00
tomrus88
204b61c220 Added empty vehicle class, vehicle*.dbc struct's 2008-11-11 00:05:00 +03:00
VladimirMangos
b24ace11cf [6817] Add VC90 sollution/project file versions for git_id tool. 2008-11-10 10:56: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
tomrus88
96f2b1d314 Load SummonProperties.dbc, data not used yet 2008-11-10 00:58:14 +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
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
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
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