Commit graph

5994 commits

Author SHA1 Message Date
DiSlord
d3b4b341a0 [6874] * Not remove spell mods for not finished spells
* Ignore self miss in drop combopoints (problems vs 5171 and ranks still exist)
* Allow cast spell on immune if spell can removeit by dispell
2008-12-06 01:26:47 +03:00
VladimirMangos
129c0797a7 Save only changed achievement data at player save. Some code cleanups.
Also increase tempory at stack buffere for utf8 convertion. It used in sql quaries log output and need have apporpriate size support.
2008-12-05 23:44:13 +03:00
tomrus88
588edbcedb Fixed merge 2008-12-05 18:38:17 +03:00
tomrus88
af1e1d7794 Merge branch 'master' into 303
Conflicts:
	src/game/Corpse.cpp
	src/game/DynamicObject.cpp
	src/game/GameObject.cpp
	src/game/Object.h
	src/game/Unit.cpp
	src/game/Unit.h
2008-12-05 18:16:31 +03:00
tomrus88
d00a453863 Reduced number of cells (doubled max visibility distance).
Use 2D distance for visibility checks.
2008-12-05 17:42:46 +03:00
arrai
b68b0acb29 Fixed loosing almost all auras at first melee attack after login by partially reverting ce8bce685e4571cb8060a5c75d706570f98c28ca 2008-12-05 13:08:23 +01:00
tomrus88
df3ca15c3d Use 2D distance for visibility checks 2008-12-05 02:01:05 +03:00
Neo2003
9254ca19e6 [6873] make gameobjects scriptable. Patch provided by NoFantasy.
Signed-off-by: Neo2003 <neo.2003@hotmail.fr>
2008-12-04 21:53:43 +01:00
tomrus88
a69bc59f1d Fixed some typos, updated areaflags enum 2008-12-04 22:56:06 +03:00
tomrus88
99db25c9eb Replaced hardcoded maxareaid with dbc data in maps extractor.
Reduced number of cells (doubled visibility distance).
2008-12-04 19:22:50 +03:00
VladimirMangos
e58df484a2 Implement aura use in new version of racial trait 20550. Add unit stat mods for rune/runic powers.
Last change will also prevent corruption armor and holy resistence values.
2008-12-04 06:30:57 +03:00
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
tomrus88
a2503162fc Fixed possible crash 2008-12-03 00:27:33 +03: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
tomrus88
fa13127cf8 Rune cooldowns should work now :) 2008-12-02 22:23:28 +03:00
arrai
0dbc77a628 Added support for large server to client packets. SMSG_RESPOND_INSPECT_ACHIEVEMENTS and SMSG_ALL_ACHIEVEMENT_DATA have a good chance of reaching the old 32767 byte limit. 2008-12-02 17:35:41 +01:00
tomrus88
84f43e60ab Fixed crash 2008-12-02 15:20:10 +03:00
tomrus88
b37ccbd08b Rune cooldowns, still bugged for some unknown reason :( 2008-12-01 19:31:47 +03:00
tomrus88
518d7f6297 Merge branch 'master' into 303 2008-12-01 08:21:10 +03:00
tomrus88
60b8f30898 Rune system fix, dk crash fix 2008-12-01 08:19:26 +03: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
tomrus88
cb09bd72d3 Fixed typos2 2008-11-30 21:21:16 +03:00
tomrus88
d238187add Fixed typos 2008-11-30 21:18:33 +03: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
tomrus88
e556b67ddc Fixed compile errors 2008-11-30 17:04:36 +03: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
tomrus88
1c28b1ad50 Merge branch 'master' into 303 2008-11-30 16:17:02 +03:00
tomrus88
0e0d721292 AuraConvertRune, EffectActivateRune, dunno if it's correct way to do that... 2008-11-30 16:16:00 +03: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
tomrus88
afc4d91ed8 Merge branch 'master' into 303 2008-11-30 15:00:46 +03:00
tomrus88
54c1585cdf Small fix 2008-11-30 14:59:35 +03:00
hunuza
d0ea9cbb23 [6864] Fixed typos in [6863]. 2008-11-30 12:37:06 +01:00
tomrus88
59fb246652 Limit max player level to 100 2008-11-30 14:12:24 +03:00
tomrus88
ee7f7a0a08 Merge branch 'master' into 303
Conflicts:
	src/game/Player.cpp
	src/mangosd/mangosd.conf.dist.in
2008-11-30 14:05:56 +03:00
tomrus88
700d3cf609 Some work on Runic Power and Milling Spell Effect 2008-11-30 13:53:33 +03: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
VladimirMangos
bd3eca6904 Add and use function for more fast way to get areflag by area id. 2008-11-30 05:17:34 +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
arrai
333146baaf Implemented ACHIEVEMENT_CRITERIA_TYPE_EXPLORE_AREA 2008-11-28 23:51:55 +01:00
arrai
82898a7922 Added structure for WorldMapOverlay.dbc 2008-11-28 22:35:27 +01:00
arrai
8cb9e2becb [6857] Fixed crash in ObjectMgr::CheckScripts 2008-11-28 21:05:05 +01:00
tomrus88
91984f83b5 Properly resolved merge conflict 2008-11-28 18:34:31 +03:00
tomrus88
a4b8862803 Merge branch 'master' into 303 2008-11-28 18:15:12 +03:00