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
arrai
681cc6ecf4
Fixed SMSG_RESURRECT_REQUEST for NPC resurrection
2008-11-16 13:00:59 +01: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
tomrus88
295fb07520
Merge branch 'master' into 303
2008-11-15 22:05:22 +03:00
tomrus88
efdb8e01dd
Removed direct use of some updatefields
2008-11-15 22:04:00 +03:00
derex
b195eb87a9
Add missing call to World::RemoveQueuedPlayer, now auth queue should work!
2008-11-15 20:46:02 +02: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
hunuza
8381d95a3d
Delete unintentionally included file in last commit.
2008-11-15 11:26:38 +01:00
hunuza
0d1b8038f5
Move object update from ObjectAccessor to Map update.
2008-11-15 00:31:51 +01: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
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
tomrus88
8b55b2de78
Merge branch 'master' into 303
2008-11-12 23:49:06 +03:00
tomrus88
14d312ad22
More work on vehicles
2008-11-12 23:20:59 +03: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
tomrus88
871d5f8c99
Small progress with vehicles
2008-11-12 00:49:19 +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
tomrus88
96f2b1d314
Load SummonProperties.dbc, data not used yet
2008-11-10 00:58:14 +03:00
arrai
871f2e181c
Removed dynamic memory allocations in CriteriaCastSpellRequirements
2008-11-09 21:38:07 +01: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
tomrus88
2c1671ef5c
Positive auras can be cancelled once again :)
2008-11-09 19:53:24 +03:00
tomrus88
1d3667e765
Some work on visible auras
2008-11-09 18:47:26 +03: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
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
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
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
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
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
tomrus88
f6ff7b5a45
Updated some enums
2008-11-09 01:43:22 +03:00
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