Commit graph

351 commits

Author SHA1 Message Date
tomrus88
6224f95fd5 Merge branch 'master' into 303
Conflicts:
	src/game/ObjectMgr.cpp
2008-11-22 17:23:44 +03:00
tomrus88
5b5e266c17 Misc fixes 2008-11-22 09:04:10 +03:00
tomrus88
4908ecd7c8 Fixed vmaps extraction. Patch provided by andstan. Untested. Please test and report bugs to http://mangos.lighthouseapp.com 2008-11-22 09:03:15 +03:00
arrai
d1b5944000 Implemented achievement rewards 2008-11-21 20:10:28 +01:00
arrai
600a596796 Fixed titles, PLAYER__FIELD_KNOWN_TITLES is now 128 bits long 2008-11-21 20:09:11 +01:00
hunuza
809bd7392f Avoid sending some unnecessary group updates. 2008-11-21 18:07:05 +01:00
ApoC
cd50762206 [6841] Fixed texts loading for waypoints. Better reporting of unused
script text, now it excludes from report also ids used for waypoints.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-21 12:38:15 +01:00
tomrus88
8e32c8ca76 Speedup map checks 2008-11-19 21:55:19 +03:00
arrai
b9e695b727 Implemented ACHIEVEMENT_CRITERIA_TYPE_GAIN_EXALTED_REPUTATION 2008-11-19 19:56:49 +01:00
arrai
4f559eb7e6 Implemented ACHIEVEMENT_CRITERIA_TYPE_GAIN_REPUTATION 2008-11-19 19:56:48 +01:00
arrai
59a5964b12 [6840] Fixed displaying escaped GM ticket ingame 2008-11-19 10:08:57 +01:00
VladimirMangos
1e9464ea73 [6839] Restore expected storing in guid/id counters first free guid/id.n all cases Prevent use uninitilized values for some id types. 2008-11-19 06:40:54 +03:00
tomrus88
c0c0c9c776 barber shop race/gender checks, fly check for map 571 2008-11-19 01:00:41 +03:00
arrai
56c8d2549c Implemented ACHIEVEMENT_CRITERIA_TYPE_VISIT_BARBER_SHOP 2008-11-18 19:17:51 +01:00
tomrus88
b2ca98fa4e Merge branch 'master' into 303 2008-11-18 21:10:48 +03:00
VladimirMangos
e3abf5c936 [6838] [2008_11_18_01_mangos_creature_movement.sql 2008_11_18_02_mangos_mangos_string.sql] Implement localization support for creature_movemant.
Implemented in same way as db script localization. creature_movemant now store indexes in db_script_string.
In game waypoint text setting disabled. Unclear how this possible implement with localization data.
2008-11-18 20:42:10 +03:00
killdozer
8032d6d5a4 [6837] Fixed typo in ArenaTeam::AddMember that sometimes prevented joining teams.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-11-18 18:04:14 +01:00
tomrus88
397efd4fac Merge branch 'master' into 303
Conflicts:
	src/game/SpellEffects.cpp
2008-11-18 18:08:58 +03:00
hunuza
ac00eee418 Replace some MapManager::Instance().GetMap() calls with WorldObject::GetMap() 2008-11-17 17:24:53 +01: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
VladimirMangos
5439dd0fd4 Allow constant only access to m_mapRefManager using Map::GetPlayers() 2008-11-17 14:56:44 +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
2eb34092e5 fix 2008-11-17 01:48:59 +03:00
tomrus88
016ec89e83 VC90 projects for vmap extractor, added new mpq's 2008-11-17 01:45:11 +03:00
hunuza
520fce4b27 Move PlayersNearGrid() to Map class. 2008-11-16 22:29:10 +01:00
hunuza
79558a32d9 Introduce player map references. 2008-11-16 21:47:18 +01: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
dcb39d1512 Cleanup 2008-11-16 21:17:56 +03:00
arrai
e69e5d8336 Implemented ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILLLINE_SPELLS
Use correct locale in SMSG_RESURRECT_REQUEST
2008-11-16 18:51:17 +01: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
tomrus88
4e76f1ac98 crash fix 2008-11-16 17:07:11 +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
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
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
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