Commit graph

1148 commits

Author SHA1 Message Date
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
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
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
DonTomika
116c72208f [7926] Implement loot roll achievement criteria types used in statistics
* ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED
* ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED:

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-31 10:05:25 +04:00
Naicisum
60e450166d [7925] Correct minor output format error inside ByteBuffer class
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-31 09:33:10 +04:00
VladimirMangos
6e9339b093 [7924] Not teleport player to non-player caster at ressurection. 2009-05-31 06:28:13 +04:00
VladimirMangos
bf4201c0f4 [7923] Search all available locale skill names in .learn all_recipes 2009-05-31 05:08:23 +04:00
VladimirMangos
79dab3dae5 [7922] Implement param2 for ACTION_T_COMBAT_MOVEMENT for allow control start/stop melee combat state for creature at start/stop movement in combat.
Also small fix for avoid unexpected set pet speed to owner speed for non-player case. In player case this hack speed setting still required.
2009-05-31 04:35:38 +04:00
VladimirMangos
c678263bb0 [7921] Set pet and for creature owner in Spell::EffectSummon similar other summon effects. 2009-05-31 04:35:22 +04:00
VladimirMangos
91157c7eb9 [7920] Ignore racial skill and skills without recipes in .learn all_recipes. Cleanup code. 2009-05-31 04:35:02 +04:00
Den
d2e0e3c439 [7919] Aura 50 apply percent to all crit healing amount not only to crit healing bonus.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-31 02:33:20 +04:00
VladimirMangos
2a27a44e2a [7918] Improve portability in work with uint64 string format specifiers and in code literals.
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
  I64FMTD renamed to UI64FMTD for more clear name.
* Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
  Please always use UI64LIT(0x00001) instead less portable 0x00001LL
2009-05-30 22:44:20 +04:00
VladimirMangos
e8cd008005 [7917] Spell effect with SPELL_AURA_MOD_SPELL_CRIT_CHANCE always possitive with possitive aura value. 2009-05-30 07:41:24 +04:00
daveh
902252c1e9 [7916] Fixed pet action bar setup.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-30 06:08:39 +04:00
NoFantasy
27057843ac [7915] Implement more stricted checks and limitations at loading creature addon data.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-30 05:02:59 +04:00
NoFantasy
c7c480f6ba [7914] Fixed variable name typos in creature event AI code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-30 04:44:05 +04:00
VladimirMangos
548f47b2b3 [7913] Fixed vmap_assambler sources. Updated binary.
* Fixed week ago added bugs into vmap code that break vmap_assambler sources work.
  Note: vmap_assambler binary not updated from nov 2008 until this commit and it has been correct working.
* Add to vmap assambler process show output and add appropriate error messages output.
* vmap_assambler binary updated.
2009-05-30 04:13:53 +04:00
VladimirMangos
81267151ad [7912] Remove unexpected indent from file tail.
Note: not code changes, and then binary not updated.
2009-05-29 21:39:08 +04:00
tomrus88
42f8ce5f3e [7911] Applied coding style. 2009-05-29 19:07:28 +04:00
VladimirMangos
ec1d6a3b56 [7910] Resolve problems with vmaps extractor support 3.1.2 archives.
Binary in contrib/vmap_extract_assembler_bin also updated.
2009-05-29 06:25:28 +04:00
tomrus88
f84fdc6757 [7909] Applied coding style. (cherry picked from commit ed7e72975f4d4f95f5c429f1af6a2c021adfd5a1)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-29 06:05:07 +04:00
NoFantasy
84464e5f3f [7908] Extract class data from creature_*_addon bytes0 fields, drop its, amd add unit_class field to creature_template.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-29 05:51:17 +04:00
VladimirMangos
39637858aa [7907] Also add documentation for ACTION_T_SET_SHEATH. 2009-05-29 01:22:19 +04:00
ApoC
661ddea7a7 [7906] Inserted newline to make gcc happy.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-28 23:14:07 +02:00
VladimirMangos
b83f32fc19 [7905] Implement ACTION_T_SET_SHEATH for creature event ai make possibility set ranged fire state.
Also related cleanup code in field cases and player Player::SetSheath.
2009-05-29 01:05:39 +04:00
Seizerkiller
2fc277fdb6 [7904] Change creature damage calculation formula.
* Add new creature_template field `dmg_multiplier`
* Make attackpower include in creature damage not dependent from attack speed.

NOTE: included in sql update recalculation for creature damage related fields only make
temporary possible usable values. Real values need revisited by DB devs for correctness.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-28 20:10:42 +04:00
VladimirMangos
0614a9eb75 [7903] Load and save for pets only talents. Not store unused (in fact) free talent point amount.
* Other pet spell types auto-learned at level setup/load.
* Code will cleanup pet_spell table from non-talents spell if detect any at load.
* Free talents points recalculated at loading and levelup so store its in DB useless.

Note: bug with not highlighting learned pet talents (except first line) until learn one more talent not fixed.
2009-05-28 03:36:28 +04:00
AlexDereka
c87e51dae5 [7902] Speed up Creature and GO loads. 2009-05-28 00:00:22 +04:00
VladimirMangos
4d8adefe70 [7901] Refactoting pet action bar related code. Fixed some related bugs.
* Correctly update action bar at loading and other cases when listed unlearned/not existed spells
* Avoid send data by PetSpellInitialize() many times while pet loading
2009-05-27 19:43:57 +04:00
VladimirMangos
1abe4c0d79 [7900] Now really allow recieve account bounded items by mail reciver. 2009-05-27 10:58:23 +04:00
GriffonHeart
ba1d0684da [7899] Implement binding for account items support.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-27 02:18:43 +04:00