Commit Graph

163 Commits

Author SHA1 Message Date
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
megamage
8f02496967 *Fix build.
--HG--
branch : trunk
2009-03-13 19:44:43 -06:00
megamage
a5882ee84a *Merge.
*"Fix Glowing Blood" is not merged. Outdated patch?

--HG--
branch : trunk
2009-03-13 18:48:53 -06:00
megamage
7c33373289 *Merge more contents from SD2. By nofantasy. Also backport some content from TC2.
--HG--
branch : trunk
2009-03-13 17:14:02 -06:00
megamage
099d302e69 *Fix a typo in ObjectMgr::LoadAreaTriggerTeleports. By VladimirMangos
--HG--
branch : trunk
2009-03-10 15:33:14 -06:00
megamage
fb9f44bf80 [7417] Fixed crash at access by unexpected NULL pointer in quest templates map. Author: VladimirMangos
Never never use operator[] for _access_ to elements std::map.

--HG--
branch : trunk
2009-03-09 17:40:40 -06:00