Commit Graph
128 Commits
Author SHA1 Message Date
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
megamage 61b999fd3a [7360] Use defines instead harcoded item prototype array sizes. Author: VladimirMangos
--HG--
branch : trunk
2009-03-02 16:47:20 -06:00
Paradox [email protected] ef8d2ac080 AHBot/AH changes
--HG--
branch : trunk
2009-02-28 17:42:29 -05:00
megamage a27dd0c41a [7341] Report about wrongly use CREATURE_FLAG_EXTRA_INSTANCE_BIND for creatures spawned at not dungeon maps. Author: NoFantasy
--HG--
branch : trunk
2009-02-27 12:21:28 -06:00
megamage 699bc588b8 [7330] Code warnings and style cleanups. Some bugs fixes. Author: VladimirMangos
1) comparison singed and unsigned values
    2) redundent includes
    3) wrong constructor :-part field initilization
    4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
    5) explicitly list not implemented achievement types.

    Also bugs fixed:
    1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
    2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
    3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.

--HG--
branch : trunk
2009-02-24 11:14:28 -06:00
megamage 9d160c855f [7329] Fixed CastBarCaption localization data loading from DB. Author: wilibald09
--HG--
branch : trunk
2009-02-23 21:06:41 -06:00
megamage 289eb0e5e5 [7309] Allow creatures has been visible in 2 or more phases as expected for some creature. Author: VladimirMangos
--HG--
branch : trunk
2009-02-20 15:19:43 -06:00
megamage ec52b48c46 [7305] Allow use datalong2 not only for set target for DB script cast but also caster (1 bit set target (target/source), 2 bit set caster (source/target)) Author: VladimirMangos
--HG--
branch : trunk
2009-02-19 18:56:50 -06:00
megamage e21b2c9baa *Implemented gameobjects and creatures grouping (pools of them)
*Groups (called pools) can be also member of any game event
Author: Neo2003

--HG--
branch : trunk
2009-02-19 18:44:20 -06:00
megamage 104d87ca3b [7297] Fixed profession spells sorting in trainer spell list at client. Author: VladimirMangos
--HG--
branch : trunk
2009-02-18 16:51:59 -06:00
megamage d0a3d03422 [7295] Make more static world data accessable for scripts use. Author: NoFantasy
--HG--
branch : trunk
2009-02-18 16:50:21 -06:00
megamage 31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin 14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage a24928be67 [7292] Implement storage for points of interest data in DB.
It can be in current state used for simplify scripting code that set POI and more advansed way later..
    Call void PlayerMenu::SendPointOfInterest( float X, float Y, uint32 Icon, uint32 Flags, uint32 Data, char const * locName )
    will removed after some time delay, and only void PlayerMenu::SendPointOfInterest( uint32 poi_id ) will exist.

Author: GriffonHeart

--HG--
branch : trunk
2009-02-17 17:40:03 -06:00
QAston eabb9b727b *Merge.
--HG--
branch : trunk
2009-02-17 18:16:51 +01:00
QAston 3c9d801eb2 Backed out changeset e85c3b6d551b
--HG--
branch : trunk
2009-02-17 16:41:45 +01:00
megamage 3f731b8c7f [7287] Remove wrong implementation for spell 37573 dummy effect. It better implement in scripts anyway. Author: NoFantasy
*Note: this requires the import of SD2 script patch otherwise this spell will have no effect.
[7286] Remove unused local variable. Author: VladimirMangos

--HG--
branch : trunk
2009-02-16 20:14:45 -06:00
megamage 1ad4f8509c [7285] More code cleanups in static data structures use. Author: zhenya
--HG--
branch : trunk
2009-02-16 20:12:55 -06:00
megamage 319f70fb76 [7283] Use map for trainer spells for fast find data by spell id. Author: zhenya
--HG--
branch : trunk
2009-02-16 20:10:04 -06:00
megamage 089dece311 [7282] Store guilds in map for fast search by id, some other guild/arenateam related cleanups. Author: zhenya
--HG--
branch : trunk
2009-02-15 12:14:14 -06:00
megamage 97ac3aba05 Implemented limit category check for item/gem at equip or gem inserting. Author: VladimirMangos
--HG--
branch : trunk
2009-02-15 11:58:27 -06:00
megamage a72c0d223d [7266] Use DBC data for auction cut/deposit percents and location (auiction house id in fact).
More auction related code refactoring,
Move auction related code from ObjectMgr to AuctionHouseMgr.
Author: VladimirMangos

--HG--
branch : trunk
2009-02-13 19:50:20 -06:00
megamage 4d687687d6 *Merge.
--HG--
branch : trunk
2009-02-12 17:24:09 -06:00
megamage 6aee5fcbe7 *Merge.
--HG--
branch : trunk
2009-02-12 17:09:15 -06:00
IncoGnito 58545982e4 *Fix a typo
--HG--
branch : trunk
2009-02-12 20:39:45 +01:00
Paradox 260e11bc01 More tabs2spaces
--HG--
branch : trunk
2009-02-12 09:23:56 -05:00
QAston dff4f92edd *Add one more RewChoiceItemId field in quest template (SQL and feature request by Brian).
--HG--
branch : trunk
2009-02-11 20:38:02 +01:00