Commit Graph

154 Commits

Author SHA1 Message Date
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
megamage
39bb92f9db [7405] Show loaded 100% for case some player/pet/creature level data skipped as unused. Author: VladimirMangos
This cases have detail log output, but if detail mode disabled it look like strange not 100% load without reason.

--HG--
branch : trunk
2009-03-09 16:38:53 -06:00
megamage
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
985b7656bb *Merge.
--HG--
branch : trunk
rename : sql/updates/XXX_characters_auctionhouse.sql => sql/updates/1164_characters.sql
2009-03-08 11:36:10 -06:00
KingPin
ae70787843 Extend the spell_disabled table to have a seperate flag for pet spells from player spells, Patch by Koani
--HG--
branch : trunk
2009-03-07 07:47:02 -05:00
megamage
417c7c8319 [7393] Implement access to client side holiday ids. Author: VladimirMangos
* src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence
    * `game_event` now have new `holiday` field for store client side holiday id associated with game event
    * Added new enum HolidayIds with existed at this moment holiday ids.
    * New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check.

--HG--
branch : trunk
2009-03-06 19:36:47 -06:00
megamage
7915fd768a *Merge.
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
Paradox
7b47d509e3 New AHBot plus AuctionHouse changes
--HG--
branch : trunk
2009-03-06 17:47:11 -06:00
Blaymoira
fd2fd00c14 *Implement access_requirement table - by Iskander
- now check the requirements on teleport not only on areatrigger use
- moved some columns from instance_template and areatrigger_teleport to access_requirement table

--HG--
branch : trunk
2009-03-05 21:02:33 +01:00
megamage
d9d77939ba [7369] Remove ReqSourceRef in quest_template. Author: NoFantasy
--HG--
branch : trunk
2009-03-02 17:06:41 -06:00