Commit graph

257 commits

Author SHA1 Message Date
hunuza
8f355d8e3a [6872] Make guid key in guild_member table unique.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-03 17:47:08 +01:00
ApoC
d5da240913 [6871] Fixed BG Queue need players count announce.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-02 21:59:24 +01:00
VladimirMangos
d6b8b1fa13 [6870] Not output error message at loading empty db_script_string table. 2008-11-30 22:25:13 +03:00
hunuza
af6a55bcb5 [6869] Avoid DB access in 2 arena team handlers.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-11-30 19:27:08 +01:00
hunuza
818c378854 [6868] Don't load data field from DB to save money or arena team id.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-11-30 18:31:17 +01:00
ApoC
571221148a [6867] Optimized working with DB in Guild code. No need of parsing/saving players data fields anymore.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-30 17:31:44 +01:00
balrok
8347cba493 [6866] Fixed: Only dungeons, not all instancable maps should modify aggro-behaviour.
This has no functional effect until the battlegrounds are instanced.

Signed-off-by: hunuza <hunuza@gmail.com>
2008-11-30 14:58:22 +01:00
hunuza
1ad9adc467 [6865] Improve db access in guild and arena team code.
Note: Using SetUInt32ValueInDB() is still not safe, because it's executed async.
Three possible solutions:
1) remove data field
2) get rid of SetUInt32ValueInDB() calls (probably not possible)
3) make SaveValuesArrayInDB() executed directly
2008-11-30 13:19:49 +01:00
hunuza
d0ea9cbb23 [6864] Fixed typos in [6863]. 2008-11-30 12:37:06 +01:00
hunuza
e19433fa73 [6863] Arena team related clean ups and adding parts of w12x's arena patch. 2008-11-30 11:41:16 +01:00
dythzer
7ea5f922ea [6862] Some additional mangosd.conf options for player startup and gameplay customizing.
Signed-off-by: dythzer <micke223@gmail.com>

Some implementations rewrited. And suggested option names changed.
Also now gm not allowed logout instant in case fight/duel to prevent unexpected death.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-30 10:21:10 +03:00
VladimirMangos
8dfbcf7ee6 [6861] Add and use function for more fast way to get areflag by area id. 2008-11-30 05:46:56 +03:00
Malah
5f33f4abf4 [6860] Implement correct effects stacking and zone limitations for item 34537.
Signed-off-by: Malah <Backbone@getmangos.com>

C++ code part rewrited for more correct work.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-30 04:18:14 +03:00
Backbone
eef8369ed6 [6859] Fixed item 29301 triggerring at ranged hit.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-30 00:42:47 +03:00
hunuza
3dc2428af2 Fixed typo in MapRefManager.
Thanks to arrai and megamage.
2008-11-29 10:11:10 +01:00
VladimirMangos
51546c7ab7 [6858] Prevent cheating with ignore waiting in login queue.
Cheating preventing at reconect for queued session and sending unexpected packets to server.
Removed unneeded after ACE related changes kicked sessions list.
2008-11-29 08:04:37 +03:00
VladimirMangos
874339ecee Fixed path to source file in VC80/VC90 framework.vcproj 2008-11-29 08:03:59 +03:00
arrai
8cb9e2becb [6857] Fixed crash in ObjectMgr::CheckScripts 2008-11-28 21:05:05 +01:00
VladimirMangos
9aa0578770 [6856] Fixed typo in not used function. This let build mangos with VS90/GCC. 2008-11-28 16:15:15 +03:00
Wyk3d
8b707ca072 [6855] Fixed the MapReference loop on map update by storing the iterator in the map. 2008-11-28 13:17:01 +02:00
Wyk3d
316acd590c Fixed a bug with setting the reset schedul when removing players from the map 2008-11-28 08:14:02 +02:00
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
Wyk3d
bdf7fb8394 [6849] Fixed build on linux (patch provided by Tabak) 2008-11-26 14:42:30 +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
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
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