Commit graph

3551 commits

Author SHA1 Message Date
ApoC
e5e8a3755f [7966] Clean up in Spell:SetTargetMap
* Little optimization
* Code style cleanup
* Formating cleanup

Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-05 16:44:18 +02:00
ApoC
30c054ae38 [7965] Implemented proc for 20911 spell.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-05 16:23:28 +02:00
ApoC
877f81c37b [7964] Use NULL instead of 0 for "empty" pointers.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-05 14:13:22 +02:00
tomrus88
944a211016 Removed unused field. 2009-06-05 16:12:01 +04:00
ApoC
5848ada3eb [7963] Fixed energize value for 20186 proc.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-05 13:58:38 +02:00
AlexDereka
dd09e6fdf7 [7962] Fixed compilation on OpenBSD.
Remove outdated options from configure.ac.
2009-06-05 15:08:18 +04:00
tomrus88
b96643b8df Merge commit 'origin/master' into 310 2009-06-05 15:00:17 +04:00
VladimirMangos
ddda332ca6 [7961] Use more fast code into HandleCorpseQueryOpcode.
Also small changes in send data (if corpse exist data send always).
2009-06-05 14:58:50 +04:00
tomrus88
4236f7c75c Merge branch 'master' into 310 2009-06-05 14:54:05 +04:00
tomrus88
5b02b07156 [7960] Fixed client error #132. 2009-06-05 14:52:48 +04:00
ApoC
fb21b00480 [7959] Inserted newline to make gcc happy.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-05 03:09:29 +02:00
ApoC
b1d70d4078 [7958] Disable targeting hidden units for TARGET_CHAIN_DAMAGE.
This will fix hidden unit damaging by 2643 and similar spells.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-05 03:04:36 +02:00
ApoC
72f16ab342 [7957] Implemented for AnyAoETargetUnitInObjectRangeCheck possibility to allow/disallow selecting hidden units.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-05 03:01:20 +02:00
ApoC
0a413723ec [7956] Fixed possible runtime crash.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-05 02:22:49 +02:00
Lightguard
07fe1cfd04 [7955] Fixed healing amount of 47230 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-04 21:42:32 +02:00
pasdVn
eaad24d8d5 [7954] Added support for spellranges at friendly targets.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-04 21:10:01 +02:00
VladimirMangos
a3fff9b2cb [7953] Some space and formating cleanups in vmap_extractor_v2 2009-06-04 11:50:37 +04:00
Lightguard
35271fe488 [7952] Implement rogue talent 51690.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-04 06:36:32 +04:00
NoFantasy
48fee42129 [7951] Mope call for help code to function form Event AI code to allow use it from C++ scripts also.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-04 05:01:12 +04:00
VladimirMangos
0b3a4bf5a5 [7950] Make clear in error output 2 cases of fail CMSG_ITEM_NAME_QUERY: DB absent data and not expected to exist item. 2009-06-04 04:18:53 +04:00
VladimirMangos
daae9343a9 [7949] Fixed crash at use .send message with offline player name. 2009-06-04 02:55:19 +04:00
tomrus88
b9b2e254b5 Merge branch 'master' into 310 2009-06-03 16:03:44 +04:00
NoFantasy
be6e3923d1 [7948] Use SetFaction instead explcit field set, other cleanups.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-03 15:35:33 +04:00
AlexDereka
de2338c9a4 [7947] Use "NUMERIC" type instead of "BIGINT" in mysql_to_pgsql convertor. 2009-06-02 15:09:49 +04:00
tomrus88
cffbb8661b Merge commit 'origin/master' into 310
Conflicts:
	src/game/Player.cpp
	src/game/SpellAuras.cpp
2009-06-02 15:01:26 +04:00
tomrus88
4154d606cc Updated to 3.1.3.9947 client build. 2009-06-02 14:58:59 +04:00
mns
d2f654217d [7946] Drop Drop.Money second comment copy.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-02 14:56:45 +04:00
NoFantasy
82f16a6579 [7945] Implement support quest data for DetailsEmoteDelay and OfferRewardEmoteDelay value for set time ordering details and reward emotes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-02 14:47:13 +04:00
yad02
afdcc2bbfe [7944] Replace 10 by MAX_UNIT_ACTION_BAR_INDEX in packet size of SMSG_PET_SPELLS.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-02 12:42:39 +02:00
Corfen
454c756025 [7943] Stunned targets should not be immune to fear effects.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-02 12:33:59 +02:00
yad02
469e8713b2 [7942] Fixed typo: proffesion->profession
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-02 12:27:45 +02:00
VladimirMangos
65657533ab [7941] Restore autocast pet spell state at load/resummon
* Revert partly "[7903] Load and save for pets only talents."
* Avoid use enum with bit size limit field (with unexpected work in cases use values negative for related biz size int type)
2009-06-02 11:26:55 +04:00
XTZGZoReX
9166cd9ef3 [7940] Print only warnings on SSLeay check.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-01 15:52:37 +04:00
XTZGZoReX
db03f6e0da [7939] Fixed check in LoadLootTemplates_Spell.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-01 15:50:23 +04:00
charlie2025
65dd5e568d [7938] Use same type for account ids in different tables related to used in code uint32 type for it.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-01 14:40:43 +04:00
AlexDereka
dacdf4e60f [7937] Check OpenSSL lib at server start up. 2009-06-01 11:43:04 +04:00
megamage
e1927fa4f8 [7936] Fixed low chance but possible crash at creature tame.
Thanks to marry521 for patch preparing to mangos.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-01 11:19:22 +04:00
VladimirMangos
c3c7187841 [7935] Move seldom used access to query data by field names to independent object.
This let not do preparation code for unused later functionlity.
2009-06-01 10:24:14 +04:00
Trazom
626553c9ee [7934] Implement ACHIEVEMENT_CRITERIA_TYPE_WIN_RATED_ARENA
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also added ACHIEVEMENT_CRITERIA_DATA_TYPE_VALUE and support
this criteira special cases base at `achievement_criteria_data`
that required DB support.
2009-06-01 07:32:03 +04:00
NoFantasy
bfafee5263 [7933] Call goober GO event script not only at open spell cast, also really call camera GO event scripts.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-01 05:29:55 +04:00
VladimirMangos
7d6bf1fdbf [7932] Store in DB only spell part of pet action bar, set other to default state (reaction saved). 2009-06-01 04:44:02 +04:00
NoFantasy
c386bef32e [7931] Allow GAMEOBJECT_TYPE_CAMERA gameobjects with event field set call DB scripts.
Drop also redundent check preveting use SCRIPT_COMMAND_CAST_SPELL script command by gameobject script triggred casting.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-01 02:19:28 +04:00
Lightguard
bc953feb31 [7930] Added diminishing for spell 1499 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-31 22:17:09 +02:00
VladimirMangos
fb45529eff [7929] Some fixes and optimizations for work with packet guids.
* Allocate only minimal required buffer size for object packet guid cache, avoid it realocation.
* At adding aboyher buffer content copy only until wpos (really writed to buffer data)
* In appendPackGUID check buffer size before data write.
2009-05-31 22:18:48 +04:00
tomrus88
78fbb2c405 Fix. 2009-05-31 14:40:29 +04:00
tomrus88
907cc45b44 Fixed compile error. 2009-05-31 13:48:51 +04:00
tomrus88
cae3f0a532 Merge commit 'origin/master' into 310
Conflicts:
	src/game/SpellAuras.cpp
2009-05-31 12:16:25 +04:00
tomrus88
f7c733cd21 Fixed warnings. 2009-05-31 12:13:40 +04:00
DonTomika
0bfcc44bb8 [7928] Player must standup at stun (from 1.5 client starting)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-31 10:42:01 +04:00
VladimirMangos
af54fbf715 [7927] For achievement criteria type ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM check also items equip at loading. 2009-05-31 10:29:38 +04:00