megamage
76d0498aae
*Allow to spawn correct npc for defender/attacker in wintergrasp based on game event. Now only xxx Champion is spawned based on faction for test. Other npc and gameobjects requires DB support (now in db the defender is always horde and attacker always alliance, and the data of counterpart is missing)
...
*Fix defenders' portal (now only useable for horde)
*Display random model if the model id in creature table is one of those in creature_template table (in this case they should be 0 actually).
--HG--
branch : trunk
2009-05-30 15:05:54 -05:00
megamage
15633ec97e
*Fix spell Rune Strike.
...
--HG--
branch : trunk
2009-05-30 00:09:50 -05:00
megamage
cc022341ac
[7908] Extract class data from creature_*_addon bytes0 fields, drop its, amd add unit_class field to creature_template. Author: NoFantasy
...
--HG--
branch : trunk
2009-05-29 21:24:23 -05:00
megamage
5101c7c4c5
[7896] Rename creature_template class/race fields to trainer_class/trainer_race for clarify use. Author: NoFantasy
...
--HG--
branch : trunk
2009-05-27 16:36:09 -05:00
megamage
09b386a786
[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.
[7887] Drop pet spell teaching code, including field in character_pet.
Author: VladimirMangos
--HG--
branch : trunk
2009-05-24 12:16:12 -05:00
megamage
c31fc2780b
[7870] Implement creature ranged ammo show at ranged weapon use. Author: VladimirMangos
...
* Use BDC data (creature weapon not alwas listed in item_template)
--HG--
branch : trunk
2009-05-22 16:38:55 -05:00
Kudlaty
3bd9858417
Add a column to npc_spellclick_spells table to check if quest is completed/rewarded or incompleted
...
1: completed or rewarded; 3: incompleted; default 3
--HG--
branch : trunk
2009-05-22 17:43:14 +02:00
megamage
bd87c96f4c
[7844] Fixed mangos string storage index type. Author: VladimirMangos
...
--HG--
branch : trunk
2009-05-18 15:07:14 -05:00
megamage
f5af5ea9e3
[7834] Mangos string loading code cleanups. Author: VladimirMangos
...
* Better integration creature event ai strings.
* Not inclide in checks as expected max mangos strings range value to range
--HG--
branch : trunk
2009-05-15 16:41:36 -05:00
megamage
c15bae5871
[7832] Better check at petcreateinfo_spell loading for errors and redundend data. Author: VladimirMangos
...
--HG--
branch : trunk
2009-05-15 13:45:34 -05:00
megamage
7277ddd114
[7797] Use DBC data for mount model selection in more cases. Author: VladimirMangos
...
* 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.
--HG--
branch : trunk
2009-05-08 18:49:07 -05:00
megamage
e69d2cbed9
[7776] Completed implementation of CMSG_SPELLCLICK Author: arrai
...
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
--HG--
branch : trunk
2009-05-05 16:56:15 -05:00
megamage
92e393deb8
[7761] GuildBankTabPrice vector is replaced by an array. Author: zhenya
...
Arrays are significantly faster.
--HG--
branch : trunk
2009-05-04 17:32:39 -05:00
megamage
1cfc04f1f5
[7745] Fixed gcc warnings. Author: AlexDereka
...
--HG--
branch : trunk
2009-05-03 22:21:46 -05:00
megamage
295b634ca6
[7731] Some code cleanups, warrning fixes. Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-29 00:31:03 -05:00
megamage
09af28301e
[7716] Fixed some typos and possible crashes. Author: AlexDereka
...
--HG--
branch : trunk
2009-04-27 18:42:35 -05:00
megamage
5ac67c27f7
[7715] Provided way for scripts set alternative gameobject state for client show. Author: VladimirMangos
...
Also use enum for gsmeobject states.
--HG--
branch : trunk
2009-04-27 18:36:10 -05:00
megamage
0c56b79e96
*Merge.
...
--HG--
branch : trunk
2009-04-20 20:31:20 -05:00
megamage
b57429c44c
*Fix a bug in LoadAccessRequirements() that will generate NULL questtemplate.
...
--HG--
branch : trunk
2009-04-20 18:11:55 -05:00
QAston
cc5414f925
*Correct check range for totem area auras.
...
--HG--
branch : trunk
2009-04-20 16:48:35 +02:00
megamage
d159e84325
[7689] Batter EventAI loading checks and fix one from possible crash cases. Author: NoFantasy
...
--HG--
branch : trunk
2009-04-19 18:24:40 -05:00
megamage
f9befe1d3d
[7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange. Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-19 18:23:10 -05:00
Machiavelli
99fc17d44f
* Tabs to spaces cleanup
...
--HG--
branch : trunk
2009-04-19 18:48:20 +02:00
megamage
ad41b0c9e1
*Fix build.
...
--HG--
branch : trunk
2009-04-17 16:07:54 -05:00
megamage
f0cbed1ad8
*Merge.
...
--HG--
branch : trunk
2009-04-17 15:29:55 -05:00
megamage
9af93fa834
[7674] Fixed check of DB script string ids from db_script_string at loading. Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-17 15:16:19 -05:00
Anubisss
96ffb827ae
*Better names for var Modelid.
...
--HG--
branch : trunk
2009-04-16 00:11:48 +02:00
megamage
905833f84e
*Merge.
...
--HG--
branch : trunk
2009-04-15 17:06:38 -05:00
megamage
4f4c6aeaf5
[7666] For heroic mode creature use AIName from normal mode version in same way as done for ScriptName. Author: VladimirMangos
...
Also at creature templates loading check that AIName/ScriptName not set for heroic mode creature versions.
--HG--
branch : trunk
2009-04-14 18:31:31 -05:00
raczman
a712170758
Creature respawn linking, idea by Rat, wrote by Iskander, blessed by raczman.
...
--HG--
branch : trunk
2009-04-14 14:33:48 +02:00
megamage
2143074280
[7659] Added several security checks to prevent cheating using facked packets Author: arrai
...
--HG--
branch : trunk
2009-04-13 17:21:59 -05:00
megamage
785dc69318
*Merge.
...
*One rev skipped: Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron.
--HG--
branch : trunk
2009-04-12 16:51:46 -05:00
raczman
1e77ccd935
Change container type for guilds to Map.
...
Use const_iterator in case nothing is modified in loop.
author: bladex.
--HG--
branch : trunk
2009-04-12 12:57:06 +02:00
megamage
5deb8510c4
[7641] Implement check noDamageImmune fields at gameobject templates loading at server startup. Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-08 16:40:26 -05:00
megamage
96976e2457
[7640] Move spell and chair height checks to functions for gameobject loading code. Fixed some field ids. Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-08 16:39:49 -05:00
megamage
6ebb3d0ddd
[7638] Move linked trap gameobject template checks at gameobject templates loading to function. Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-08 16:38:58 -05:00
megamage
6b3cd4a263
[7636] Move lock id checks at GO templates loading to function and add check for all GO types with similar fields. Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-08 16:38:07 -05:00
XTZGZoReX
2fe9fed7c7
* Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
...
--HG--
branch : trunk
2009-04-07 10:51:45 +02:00
XTZGZoReX
cc2a089a9d
* Trailing whitespace removed.
...
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
megamage
cb8b3fe5db
[7607] Improvements in support some generic achievement classes Author: VladimirMangos
...
* Implement support achievements with refAchievement field != 0, that have criterias stored in achievement refAchievement.
* Implement support achievement complete req. with specific count of completed critirias.
* Avoid full achievement list scan at search achievement associated with criteria.
--HG--
branch : trunk
2009-04-03 16:36:20 -06:00
megamage
68c3039715
*Move most reputation/force faction reaction code to new ReputationMgr. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-26 13:53:32 -06:00
megamage
941e5b9dbd
[7532] Avoid warnings at use size_t with printf fromat strings. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-24 17:38:14 -06:00
megamage
cd66e85ed1
[7528] Avoid use same iteration variable for internal loop. Author: Fog
...
This will fix problem with wrong item entry output in error message.
--HG--
branch : trunk
2009-03-24 09:45:03 -06:00
panaut0lordv
0a58b73d7d
Fix typo. Thanks Aokromes.
...
--HG--
branch : trunk
2009-03-22 09:42:48 +01:00
megamage
b522a34247
[7513] Implement currencies tab work. Also check related item data at server startup. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-21 22:44:59 -06:00
megamage
40a03daf82
[7512] Implement checks of item bag mask at server startup. Author: VladimirMangos
...
--HG--
branch : trunk
2009-03-21 22:43:47 -06:00
XTZGZoReX
9fe43fa9c0
* Implementing database logging:
...
** LogTime and LogColors config options removed due to incompatibility.
** Old file logging still available.
** Totally redone the Log class.
** Config options added: EnableLogDB, DBLogLevel, LogDB.Char, LogDB.RA, LogDB.GM -- remember to update config file.
** SQL updates attached.
--HG--
branch : trunk
2009-03-19 21:13:52 +01:00
megamage
249d0d53c0
[7489] Update gameobject rotation fields if need. Author: VladimirMangos
...
* Fixed update absent in ".gobject turn" command
* Propetly set rotation fields for summoned objects
* Check rotation/coordinates fields values at server loading
--HG--
branch : trunk
2009-03-18 20:46:21 -06:00
megamage
ef47783882
[7487] Avoid attempt use InstanceSave data for non-dungeons. Author: VladimirMangos
...
Also check map existance and correctness at instance data loading.
Removed unused and totally bugged InstanceMap::GetResetTime.
--HG--
branch : trunk
2009-03-18 20:41:49 -06:00
XTZGZoReX
103125cfbd
* Do not output "Table game_graveyard_zone incomplete" for maps of type MAP_ARENA. These are not meant to have graveyards anyway.
...
--HG--
branch : trunk
2009-03-18 21:18:45 +01:00