Commit graph

1993 commits

Author SHA1 Message Date
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
8d6b26b6ab Fixed creature_template loading. Thanks to DrOverclock. 2009-05-29 19:31:36 +04:00
tomrus88
a57bf5a78b Applied coding style. 2009-05-29 19:23:28 +04:00
tomrus88
e454cb693d Merge branch 'master' into 310
Conflicts:
	src/game/GameObject.h
	src/game/MiscHandler.cpp
	src/game/Player.cpp
	src/game/QueryHandler.cpp
	src/game/QuestHandler.cpp
	src/game/SkillHandler.cpp
	src/game/SpellAuras.cpp
	src/game/SpellEffects.cpp
	src/game/Unit.cpp
	src/game/WorldSession.h
2009-05-29 19:15:43 +04:00
tomrus88
42f8ce5f3e [7911] Applied coding style. 2009-05-29 19:07:28 +04:00
tomrus88
84ed071e16 Merged and fixed some whitespaces. 2009-05-29 10:40:13 +04:00
tomrus88
27395d13c4 More coding style. 2009-05-29 10:04:29 +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
tomrus88
b0006cfbc0 Moved SMSG_PERIODICAURALOG to single function, applied coding stype. 2009-05-28 18:46:34 +04:00
tomrus88
b77696bf26 Applied coding style. 2009-05-28 18:44:51 +04:00
tomrus88
e20dc76198 Added new line at end of file. 2009-05-28 10:22:17 +04:00
tomrus88
f6e2b55e2c Merge branch 'master' into 310
Conflicts:
	src/game/Player.cpp
2009-05-28 10:16:02 +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
AlexDereka
a32d2c5f5c Fixed gameobject_template. 2009-05-27 22:09:59 +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
tomrus88
885d1256b2 Added new fields to database. 2009-05-27 16:44:50 +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
VladimirMangos
d2e25491a2 [7898] Improve client error output at different mail send errors, cleanup code. 2009-05-27 01:14:17 +04:00
Ambal
83b2eb2bba [7897] Include function name in assertion fail output.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-26 22:02:19 +04:00
NoFantasy
56e86ff05f [7896] Rename creature_template class/race fields to trainer_class/trainer_race for clarify use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-26 18:16:15 +04:00
tomrus88
42795a5539 Fixed merge error. 2009-05-26 17:08:25 +04:00
tomrus88
bec88f184d Merge commit 'origin/master' into 310 2009-05-26 17:04:13 +04:00
tomrus88
058e74da21 [7895] Fixed build problem and some warnings in VS2010 projects. 2009-05-26 17:02:57 +04:00
tomrus88
ec4928008c Some coding style fixes. 2009-05-26 14:41:57 +04:00
tomrus88
2f15546120 Merge commit 'origin/master' into 310 2009-05-25 21:57:59 +04:00
SeT
0b020154d9 [7894] Avoid show quest sign for trainer under cursor if trianer have unavailable quest.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-25 06:48:06 +04:00
VladimirMangos
f271fd6819 [7893] Fixed work chat guild commands that expect guild name in args. Now guild name always must be in "". 2009-05-25 06:31:17 +04:00
VladimirMangos
4e1166ded5 [7892] Update spell_loot_template entry description in error output for better fit to current table use. 2009-05-25 05:20:58 +04:00
VladimirMangos
7ee675cd71 Update spell_chain to 3.1.2 state 2009-05-25 04:39:08 +04:00
VladimirMangos
51f7b8a482 [7891] Replace harcoded array of creature family skill lines by using DBC data. 2009-05-25 02:59:10 +04:00
VladimirMangos
32a66d2bd2 [7890] Fixed memory leak in result one from my old commits. 2009-05-24 23:00:20 +04:00
Sorken
b35a9d4c99 [7889] Fixed from behind check for 1329 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-24 17:16:08 +02:00
ApoC
ba450b4eca [7888] Fixed typos in comment.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-24 16:54:06 +02:00
tomrus88
afd82229d7 Merge commit 'origin/master' into 310
Conflicts:
	src/game/SpellAuras.cpp
	src/game/SpellEffects.cpp
2009-05-24 10:11:26 +04:00
tomrus88
182cedd3c0 Some coding style. 2009-05-24 10:03:48 +04:00
VladimirMangos
c56ef09fa3 [7887] Drop pet spell teaching code, including field in character_pet. 2009-05-24 07:20:13 +04:00