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
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
tomrus88
cae3f0a532
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/SpellAuras.cpp
2009-05-31 12:16:25 +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
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
tomrus88
84ed071e16
Merged and fixed some whitespaces.
2009-05-29 10:40:13 +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
tomrus88
f6e2b55e2c
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-28 10:16:02 +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
afd82229d7
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/SpellAuras.cpp
src/game/SpellEffects.cpp
2009-05-24 10:11:26 +04:00
VladimirMangos
c56ef09fa3
[7887] Drop pet spell teaching code, including field in character_pet.
2009-05-24 07:20:13 +04:00
VladimirMangos
8171bb57dd
[7886] Drop use table petcreateinfo_spell
...
This is first commit in chain for remove oudated and not used pet functionality.
* Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets)
* Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures)
* Fixed bug with not removing from action bar spell icon for not ranked unlearned spells.
Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template.
2009-05-24 06:39:29 +04:00
VladimirMangos
f72a8bc6dc
Merge commit 'origin/master' into 310
2009-05-23 01:55:33 +04:00
VladimirMangos
3b11d833c8
[7870] Implement creature ranged ammo show at ranged weapon use.
...
* Use BDC data (creature weapon not alwas listed in item_template)
2009-05-22 06:09:03 +04:00
tomrus88
ebb03b7b9f
Merge commit 'origin/master' into 310
...
Hope it works with live 3.1.2.9901 client
2009-05-20 10:53:55 +04:00
VladimirMangos
75d7a4c0cb
[7844] Fixed mangos string storage index type.
2009-05-18 12:28:23 +04:00
tomrus88
6734694a90
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-16 00:47:37 +04:00
VladimirMangos
6aacc45ace
[7834] Mangos string loading code cleanups.
...
* Better integration creature event ai strings.
* Not inclide in checks as expected max mangos strings range value to range
2009-05-15 17:01:11 +04:00
VladimirMangos
b722e75d90
[7832] Better check at petcreateinfo_spell loading for errors and redundend data.
2009-05-15 06:19:11 +04:00
tomrus88
c9f5062955
Merge commit 'origin/master' into 310
2009-05-08 15:31:27 +04:00
VladimirMangos
3989212ad1
[7797] Use DBC data for mount model selection in more cases.
...
* Use alt.team mount data for take player team model id if DB not provide own team creature id in spell taxi call case.
* Remove unddeded hacks for model ids from Spell::EffectSendTaxi
* Provide spell target for SPELL_EFFECT_SEND_TAXI for spell with target mode 0 for this effect.
2009-05-07 22:40:37 +04:00
tomrus88
6821c24268
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-06 09:40:35 +04:00
arrai
fefe56e3c5
[7776] Completed implementation of CMSG_SPELLCLICK
...
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
npc_spellclick_spells, otherwise you won't be able to use them
2009-05-05 18:58:58 +02:00
tomrus88
e75e66063e
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/UpdateData.cpp
2009-05-05 10:44:12 +04:00
zhenya
20ffd7f421
[7761] GuildBankTabPrice vector is replaced by an array.
...
Arrays are significantly faster.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-04 19:47:14 +04:00
AlexDereka
27fabf7ace
[7745] Fixed gcc warnings.
2009-05-03 20:25:27 +04:00
tomrus88
d4323e0071
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Player.cpp
2009-04-29 11:51:15 +04:00
VladimirMangos
512c015dc2
[7731] Some code cleanups, warrning fixes.
2009-04-29 04:03:59 +04:00
tomrus88
950a4bf13f
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-04-28 19:08:53 +04:00
AlexDereka
c9d51a6dc7
[7716] Fixed some typos and possible crashes.
2009-04-26 18:49:07 +04:00
VladimirMangos
c2e6dd20dd
[7715] Provided way for scripts set alternative gameobject state for client show.
...
Also use enum for gsmeobject states.
2009-04-26 07:21:11 +04:00
tomrus88
a9e148edac
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/AchievementMgr.cpp
src/game/BattleGroundHandler.cpp
src/game/CreatureEventAIMgr.cpp
src/game/DBCStructure.h
src/game/Player.cpp
src/game/Spell.cpp
src/shared/revision_nr.h
2009-04-21 15:20:45 +04:00
NoFantasy
ee9ea143d1
[7689] Batter EventAI loading checks and fix one from possible crash cases.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-19 23:51:05 +04:00
VladimirMangos
f4adf83cd7
[7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange.
2009-04-19 22:54:40 +04:00
tomrus88
66f554f74d
Merge 'master' into 310
...
Please enter the commit message for your changes. Lines starting
2009-04-18 17:21:29 +04:00
VladimirMangos
650be82030
[7677] Fixed crash at error report attempt at db_script_string loading.
2009-04-17 11:23:19 +04:00
VladimirMangos
748ea8522a
[7674] Fixed check of DB script string ids from db_script_string at loading.
2009-04-16 13:57:25 +04:00
tomrus88
d6f6272f8c
Merge branch 'master' into 310
2009-04-14 15:54:43 +04:00
VladimirMangos
721e005b84
[7666] For heroic mode creature use AIName from normal mode version in same way as done for ScriptName.
...
Also at creature templates loading check that AIName/ScriptName not set for heroic mode creature versions.
2009-04-14 02:28:45 +04:00
arrai
a0ef77af5b
[7659] Added several security checks to prevent cheating using facked packets
2009-04-13 02:16:01 +02:00
tomrus88
9b20869a32
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
2009-04-12 14:37:33 +04:00
VladimirMangos
463e78c872
[7641] Implement check noDamageImmune fields at gameobject templates loading at server startup.
2009-04-09 00:20:52 +04:00
VladimirMangos
f87684bab6
[7640] Move spell and chair height checks to functions for gameobject loading code. Fixed some field ids.
2009-04-08 23:18:17 +04:00
VladimirMangos
6c19590062
[7638] Move linked trap gameobject template checks at gameobject templates loading to function.
2009-04-08 20:45:58 +04:00
VladimirMangos
def4351671
[7636] Move lock id checks at GO templates loading to function and add check for all GO types with similar fields.
2009-04-08 18:20:05 +04:00
tomrus88
963aed5e0b
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/Player.h
src/game/Unit.cpp
2009-03-26 14:28:37 +03:00
VladimirMangos
c33eff13f4
[7540] Move most reputation/force faction reaction code to new ReputationMgr.
2009-03-26 11:28:56 +03:00
VladimirMangos
f4482f247f
[7532] Avoid warnings at use size_t with printf fromat strings.
2009-03-24 06:03:22 +03:00
Fog
f9a2674ce3
[7528] Avoid use same iteration variable for internal loop.
...
This will fix problem with wrong item entry output in error message.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-23 20:36:00 +03:00
tomrus88
9debf4dfc0
Merge branch 'master' into 310
...
Conflicts:
src/game/MiscHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/shared/Database/DBCStores.cpp
2009-03-22 09:41:17 +03:00