Commit graph

153 commits

Author SHA1 Message Date
ApoC
d922ea27b9 [6854] Prevent pets attack through obstructions.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-28 00:35:03 +01:00
VladimirMangos
9fc7dd9ead [6853] [2008_11_27_01_mangos_playercreateinfo_item.sql] Use DBC data for creating initial character items.
Thanks to WCell team for DBC structure research.
`playercreateinfo_item` content removed from mangos.sql and table can be used now only for custom additional initial items.
2008-11-28 02:20:02 +03:00
Blaymoira
a0f45f295e SpellEffect Fix for 40802, 43723
(cherry picked from commit 90ec5bed9a29a06190c72851a6bd6e57c3b9bdbc)

Signed-off-by: Blaymoira <handras@emitelnet.hu>

40802: use exiting function instead code duplication.
43723: added in commented state (impossible propertly fix without hacks until targeting mode 7 implementation)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-28 00:17:35 +03:00
ApoC
51a0f996ec [6852] Fixed some queries in AccountMgr.cpp for work with PGSQL
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-27 16:50:16 +01:00
arrai
b83cd2a2a9 [6851] Removed level dependant scaling for warlock pets. Only hunter pets are supposed to behave in that way. 2008-11-27 00:04:46 +01:00
Wyk3d
ce387d8535 [6850] Use the HashMapHolder instead of MapReference in Map::Update for now (the refs can get invalidated during the loop). 2008-11-27 00:24:19 +02:00
VladimirMangos
4ccfa1e71e [6848] Implement possibility creating gm log per account files using new option in mangosd.conf. Releated cleanups. 2008-11-24 22:44:29 +03:00
arrai
d34899097f [6847] Prevented mounted, stealthed or invisible players from capturing bases in EOTS 2008-11-24 19:52:13 +01:00
ApoC
64fd2dc881 [6846] Fixed some more typos. Added post check for assistance conditions into event execute.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-24 03:03:30 +01:00
ApoC
359d4d7dd3 [6844] Implemented configurable assistance aggro delaying. Some typos fixed.
Do not forget to update your config files.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-24 01:55:53 +01:00
SeT
c978b80be2 [6844] Daily quest fixes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-23 12:34:34 +03:00
VladimirMangos
17c6182eca [6843] Fixed build error. Not rebuild before commit, sorry :/ 2008-11-23 12:16:06 +03:00
VladimirMangos
2da935ecc4 [6842] More correct guid/name arg processing in .pdump write command, reject early wrong player name in HandleWhoisOpcode. 2008-11-23 11:39:13 +03: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
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
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
hunuza
ac00eee418 Replace some MapManager::Instance().GetMap() calls with WorldObject::GetMap() 2008-11-17 17:24:53 +01: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
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
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
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
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
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
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
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