aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Database
AgeCommit message (Collapse)Author
2009-05-14Fixed build on linux.raczman
Tested on Arch linux, still need someone to fixup .vcproj's for windows. --HG-- branch : trunk
2009-05-13[7815] Apply mangos code style: Replace tabs by spaces in recent added code. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-05-13 [7810] Moved ZThread related code on ACE framework. Author: Ambalmegamage
Remove ZThread source code from mangos. --HG-- branch : trunk
2009-05-11*Change waypoint data structure. Use creature db guid as path id. If a ↵megamage
creature uses waypoint movement as default movement type, the path id should be DBGUID*10. For paths of script use, the path id should be DBGUID*10+1 ~ DBGUID*10+9. *Two sql queries are included. Converter is used to convert the existing path id to new path id. "...creature_add..." is used to change table structure. You can first run the converter, then run the other one. Or run the other one directly and get the new data from the db team. Because it may take hours to run the converter. *If you have custom data, you may need to run the converter. We suggest you use console to run it It is extremely slow to run the query. If you have multiple paths for a creature in your db, you need to do more work to convert it. However, if you know how to use multiple paths, you should already have more db knowledge than I do and you should know how to convert it. *There may be a faster query to convert the db. If you know, please tell us. I am no sql expert. *Backup your db first! *Thanks to X-Savior and subhuman_bob. --HG-- branch : trunk
2009-04-25*Add back a mistakely deleted file.megamage
--HG-- branch : trunk
2009-04-25*Fix build.megamage
--HG-- branch : trunk
2009-04-25[7711] Removed Sqlite Code. Author: AlexDerekamegamage
--HG-- branch : trunk
2009-03-28*Add new creature_template column VehicleIdmegamage
*Allow spawn vehicles *Make vehicles grid objects. --HG-- branch : trunk
2009-03-28 [7560] Implement IconName for gameobject Author: NoFantasymegamage
--HG-- branch : trunk
2009-03-27* Fixed typoDrahy
--HG-- branch : trunk
2009-03-27*Add a missing file.megamage
--HG-- branch : trunk
2009-03-27* Fixed CMakeLists after DBC move.XTZGZoReX
--HG-- branch : trunk
2009-03-27*Add and remove files.megamage
--HG-- branch : trunk
2009-03-27[7552] Move client version dependend DBC code to src/game. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-26[7545] Fixed exploration achievements for certian areas Author: DonTomikamegamage
[7546] move uptime table to Realm database, use realmid column. Author: Triply --HG-- branch : trunk
2009-03-25*Summon all creatures by summon properties.megamage
--HG-- branch : trunk
2009-03-24[7534] Fixed some problems in achievement messages broadcasting. Author: ↵megamage
VladimirMangos * Send SMSG_CRITERIA_UPDATE to player itself only. This will fix bug when, for example near player death owerwrite another player death count in statistics until next death or relogin. * Send to near player CHAT_MSG_ACHIEVEMENT instead CHAT_MSG_GUILD_ACHIEVEMENT * Not send CHAT_MSG_GUILD_ACHIEVEMENT to player itself. * Limit around broadcast of SMSG_ACHIEVEMENT_EARNED to CONFIG_LISTEN_RANGE_SAY (same as for CHAT_MSG_ACHIEVEMENT) --HG-- branch : trunk
2009-03-24[7532] Avoid warnings at use size_t with printf fromat strings. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-21[7513] Implement currencies tab work. Also check related item data at server ↵megamage
startup. Author: VladimirMangos --HG-- branch : trunk
2009-03-21[7512] Implement checks of item bag mask at server startup. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-21*Merge. Warning: I do not know if bg fix is still good for wlk.megamage
--HG-- branch : trunk
2009-03-21[7509] Use defines instead explcit value for talent rank cound (in general ↵megamage
and for pets) Author: VladimirMangos --HG-- branch : trunk
2009-03-21Small code cleanup and partial merge with dev branch Author: tomrus88megamage
--HG-- branch : trunk
2009-03-21Added MySQL reconnect support, in case of mysql server dying while trinity's ↵raczman
running - Thanks to Xeptor for that one. --HG-- branch : trunk
2009-03-20* Merge.XTZGZoReX
--HG-- branch : trunk
2009-03-19*Fix the bug that summon dbc is not read. Now creatures can be summoned.megamage
*Make minipet as tempsummon instead of pet. Make totem as tempsummon. --HG-- branch : trunk
2009-03-19* Implementing database logging:XTZGZoReX
** 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-18*Fix build.megamage
--HG-- branch : trunk
2009-03-18*Read dbc summon properties for future use.megamage
--HG-- branch : trunk
2009-03-18 [7485] Added support for PostgreSQL connection using Unix sockets. ↵megamage
Author: ApoC For using socket connection specify host name as . and port as path to Unix socket directory or . for default path specified in PostgreSQL compile time. --HG-- branch : trunk
2009-03-17[7477] Implement work ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-15[7464] Move check of spell using for lock open to single function. Remove ↵megamage
more hacks. Author: VladimirMangos --HG-- branch : trunk
2009-03-09 [7421] Check fread result at DBC file loading. Author: VladimirMangosmegamage
This is more safe in general and prevent "warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result" --HG-- branch : trunk
2009-03-08*Fix build.megamage
--HG-- branch : trunk
2009-03-08*Merge.megamage
--HG-- branch : trunk
2009-03-06[7393] Implement access to client side holiday ids. Author: VladimirMangosmegamage
* 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[7391] Prevent achievement counter overflow, implement ↵megamage
ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE generic support. Before overflow has been possible at 4294967295 lols for example. ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE in many cases require check special conditions and targets. For this allow call it from scripts: * Add Player::UpdateAchievementCriteria functiona ccessable from scripts * In emote case it allowed call in form player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE, text_emote_id, achievement_id, target_unit_ptr); Author: VladimirMangos --HG-- branch : trunk
2009-03-06*Merge.megamage
--HG-- branch : trunk
2009-03-06New AHBot plus AuctionHouse changesParadox
--HG-- branch : trunk
2009-03-06 Implement some death related achievementsmegamage
* ACHIEVEMENT_CRITERIA_TYPE_DEATH (normal and arena types counting) * ACHIEVEMENT_CRITERIA_TYPE_DEATH_IN_DUNGEON (instance types by man limit counting) Note: need fixed for cases when max allowed players different from recommended count. * ACHIEVEMENT_CRITERIA_TYPE_DEATHS_FROM (environment damage sources by types) Fixed: * ACHIEVEMENT_CRITERIA_TYPE_KILLED_BY_PLAYER - self-kill counting as death from players - same team player kill in opposition kills counter. Also cleanup in Player::EnvironmentalDamage use DBCStructure.h comment. Author: VladimirMangos --HG-- branch : trunk
2009-03-05[7382] Add 2 unknown field to `creature_template` sent in ↵megamage
SMSG_CREATURE_QUERY_RESPONSE to client Author: NoFantasy --HG-- branch : trunk
2009-03-05*Implement access_requirement table - by IskanderBlaymoira
- 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[7378]~[7381] achievement code update. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-03-03factionTemplate->faction can be 0, add appropriate checks to prevent crashes ↵megamage
and unexpected work. Author: VladimirMangos --HG-- branch : trunk
2009-03-02[7356] Use tabs for indent in Makefiles Author: fregharmegamage
--HG-- branch : trunk
2009-02-24 [7330] Code warnings and style cleanups. Some bugs fixes. Author: ↵megamage
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-18[7298] Switch to support client 3.0.9 (3551). Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-02-18[7295] Make more static world data accessable for scripts use. Author: NoFantasymegamage
--HG-- branch : trunk
2009-02-18*Merge.megamage
--HG-- branch : trunk
2009-02-17Newline added to bottom of all files.KingPin
--HG-- branch : trunk