Commit graph

2841 commits

Author SHA1 Message Date
arrai
69e9ab315f [6890] Implemented more correct way of calculating fall damage by using fall distance and not fall time. Thanks to DasMy for finding an appropriate formula 2008-12-10 15:09:03 +01:00
VladimirMangos
3da9f3f4cc [6889] Backport some not client version specific changes and fixes from 303 branch. 2008-12-09 14:08:29 +03:00
KAPATEJIb
480a935216 [6888] Add to character.sql not added changes from 2008_11_12_01_character_character_aura.sql
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-08 11:39:18 +03:00
Neo2003
09c27ec667 [6887] Position dead flying creatures on ground at creature loading.
Signed-off-by: Neo2003 <neo.2003@hotmail.fr>
2008-12-07 22:02:17 +01:00
VladimirMangos
8eccdbc046 [6886] Prevent some memory losses at server shutdown. 2008-12-07 23:49:47 +03:00
arrai
a3a57a5390 [6885] In dungeons even fighting creatures are supposed to put nearby players in combat. 3rd party scripting libraries might have to be updated 2008-12-07 21:34:27 +01:00
balrok
2e08a63da7 [6884] Replaced iterator++ with ++iterator in for-loop-headers
i used this script
for i in ls *.[ch]*; do cat $i | sed -r 's/(.*for.*iterator.*;\
    *)([a-z0-9\_\*]+)\ *\+\+(.*)/\1++\2\3/' > /tmp/mangos/$i; done
for i in ls *.[ch]*; do cp /tmp/mangos/$i $i; done

and rechecked it with my eyes, if everything is right
i took only for-loops cause they can be gathered easier with a script

Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-07 19:49:45 +01:00
hunuza
66c98859cf [6883] Avoid DB access on deleting guild member. 2008-12-07 15:41:46 +01:00
hunuza
e81af0b739 [6882] Make corpse erase async. 2008-12-07 13:19:52 +01:00
GalaxyMan
4df03b8561 [6881] Fix typo in log string.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-06 21:44:50 +03:00
DasBlub
3f90b66125 [6880] fixed spell 26275 for game object 180797
Signed-off-by: arrai <array.of.intellect@gmail.com>
2008-12-06 14:29:20 +01:00
VladimirMangos
43f713f660 [6879] Not apply casting time spell bonuses mods to creature (non-pets) casted spells with 0 cast time. 2008-12-06 08:05:53 +03:00
Neo2003
31a052d468 [6878] Fixed a typo in VC for ACE_Wrappers
Signed-off-by: freghar <compmancz@gmail.com>
(cherry picked from commit d94f03b0aeec431ec6cee4f469d45d3209434fe7)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-06 05:23:01 +03:00
megamage
3c67ea6f67 [6877] Fix Prayer of Mending. Use original caster's healing bonus. 2008-12-06 04:50:44 +03:00
DiSlord
223fe7321f [6876] * Not drop charge for 1120 and ranks (fix SPELL_AURA_CHANNEL_DEATH_ITEM aura work) 2008-12-06 04:39:36 +03:00
DiSlord
2907868b80 [6875] Skip utf8 header (if exist) for mangosd.conf file 2008-12-06 02:45:55 +03:00
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
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
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
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
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
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
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
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