Commit Graph
524 Commits
Author SHA1 Message Date
raczman 419c448bc9 Fix one forgotten memory leak.
--HG--
branch : trunk
2009-05-14 23:48:41 +02:00
raczman 2ed9222ac9 Fixed build on linux.
Tested on Arch linux, still need someone to fixup .vcproj's for windows.

--HG--
branch : trunk
2009-05-14 13:25:35 +02:00
megamage 5457286416 [7815] Apply mangos code style: Replace tabs by spaces in recent added code. Author: VladimirMangos
--HG--
branch : trunk
2009-05-13 18:28:21 -05:00
megamage cd2857fc3f [7813] Fixed build x64 debug on win. Author: AlexDereka
--HG--
branch : trunk
2009-05-13 18:26:11 -05:00
megamage 25e5c99dec [7810] Moved ZThread related code on ACE framework. Author: Ambal
Remove ZThread source code from mangos.

--HG--
branch : trunk
2009-05-13 18:22:21 -05:00
raczman 5748c36621 Properly deallocate memory in tile assembler, and dereference memory when fread fails.
--HG--
branch : trunk
2009-05-13 13:22:43 +02:00
megamage 8fc07d443a *Change waypoint data structure. Use creature db guid as path id. If a 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-05-11 13:27:10 -05:00
megamage 6fbebffbaf [7795] Added comments. Author: AlexDereka
--HG--
branch : trunk
2009-05-08 18:45:26 -05:00
megamage ec8367d253 Backed out changeset: 7c8912b7d5c6
--HG--
branch : trunk
2009-05-06 16:27:07 -05:00
panaut0lordv b3de9cdff7 Fix compile for gcc 4.4.
--HG--
branch : trunk
2009-05-06 19:30:34 +02:00
megamage 09af28301e [7716] Fixed some typos and possible crashes. Author: AlexDereka
--HG--
branch : trunk
2009-04-27 18:42:35 -05:00
megamage d003be4148 *Add back a mistakely deleted file.
--HG--
branch : trunk
2009-04-25 12:53:04 -05:00
megamage f89cd6318d *Fix build.
--HG--
branch : trunk
2009-04-25 11:31:57 -05:00
megamage 7901962074 [7711] Removed Sqlite Code. Author: AlexDereka
--HG--
branch : trunk
2009-04-25 09:05:42 -05:00
XTZGZoReX c9c86b36df * Optimized Log::outDB by removing unneeded variadic argument parsing. Also use enum instead of explicit uint32.
--HG--
branch : trunk
2009-04-24 18:01:31 +02:00
megamage d2301bdf9a *Fix a crash caused by chatlog.
--HG--
branch : trunk
2009-04-07 16:18:48 -05:00
XTZGZoReX cc2a089a9d * Trailing whitespace removed.
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
XTZGZoReX cdc6e7edbd * "CRASH ALARM" --> "CRASH ALERT" - makes more sense ;).
--HG--
branch : trunk
2009-04-05 00:46:53 +02:00
XTZGZoReX 6f5efa3c7a * Do not print chat logs to console. It will simply screw up console output.
* Fix a possible crash in if/else checks in channel chat logging.

--HG--
branch : trunk
2009-03-31 09:18:03 +02:00
raczman d8bd91cf34 Removed automake from TC for good. ACE automake is still there, for folks who want to build ACE from dep/ACE_wrappers.
--HG--
branch : trunk
2009-03-29 23:14:53 +02:00
megamage 783e4fd3ff *Add new creature_template column VehicleId
*Allow spawn vehicles
*Make vehicles grid objects.

--HG--
branch : trunk
2009-03-28 22:44:09 -06:00
megamage 6dff0bfd5e [7560] Implement IconName for gameobject Author: NoFantasy
--HG--
branch : trunk
2009-03-28 16:28:36 -06:00
Drahy d798162dca * Fixed typo
--HG--
branch : trunk
2009-03-27 18:42:35 +01:00
megamage df555ec3c3 *Add a missing file.
--HG--
branch : trunk
2009-03-27 11:21:57 -06:00
XTZGZoReX 841625908c * Fixed CMakeLists after DBC move.
--HG--
branch : trunk
2009-03-27 17:38:44 +01:00
XTZGZoReX 6852a10765 * Merge.
--HG--
branch : trunk
2009-03-27 17:31:34 +01:00
XTZGZoReX a061da662f * Forgotten a line in last commit.
--HG--
branch : trunk
2009-03-27 17:03:06 +01:00
megamage e5c0576f35 *Add and remove files.
--HG--
branch : trunk
2009-03-27 10:00:42 -06:00
megamage bc2f2bc56a [7552] Move client version dependend DBC code to src/game. Author: VladimirMangos
--HG--
branch : trunk
2009-03-27 09:58:20 -06:00
XTZGZoReX 5f47775ac3 * Implement timestamping of chat logs.
--HG--
branch : trunk
2009-03-27 16:56:03 +01:00
XTZGZoReX 6f1195d9a8 * Fixed file open/close of chatLogfile.
--HG--
branch : trunk
2009-03-27 16:52:27 +01:00
megamage 1ac13728a7 [7545] Fixed exploration achievements for certian areas Author: DonTomika
[7546] move uptime table to Realm database, use realmid column. Author: Triply

--HG--
branch : trunk
2009-03-26 14:02:11 -06:00
XTZGZoReX 0952469d69 * Fix some conversion in DB logging.
--HG--
branch : trunk
2009-03-26 16:46:08 +01:00
megamage ebf53a4820 *Summon all creatures by summon properties.
--HG--
branch : trunk
2009-03-25 16:20:30 -06:00
XTZGZoReX 6f4ba8bb0d * Implement Log::outString that takes no arguments and just prints \n - on request from megamage (makes MaNGOS merging easier).
--HG--
branch : trunk
2009-03-25 15:55:00 +01:00
XTZGZoReX 82e966e5f2 * Added support for logging chats: Guild, raid, party, public, officer chat, addon messages, whispers, system/custom channels.
* Added config options to enable/disable them (ChatLogs.*), LogDB.Chat (enables/disables DB logging of chats), and ChatLogFile to specify the log file to use.

--HG--
branch : trunk
2009-03-25 14:25:15 +01:00
megamage 3c10cc0635 [7534] Fixed some problems in achievement messages broadcasting. Author: 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 17:43:16 -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
XTZGZoReX ede1f7dd07 * Some costmetic changes in Log class.
* Removed LOG_TYPE_PACKET and changed LOG_TYPE_CRASH from 10 to 9.

--HG--
branch : trunk
2009-03-24 14:34:50 +01:00
megamage 04b27302b0 *Add new log level "crash alarm" to record very dangerous errors.
--HG--
branch : trunk
2009-03-23 20:09:55 -06:00
XTZGZoReX 5197a1beb3 * Fixed loading of LogDB.* config values.
--HG--
branch : trunk
2009-03-22 13:40:18 +01:00
XTZGZoReX 69b1c1c219 * Fixed thread deadlock by disabling logging DB errors to DB... Heh.
--HG--
branch : trunk
2009-03-22 12:28:28 +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
megamage ddb7265018 *Merge. Warning: I do not know if bg fix is still good for wlk.
--HG--
branch : trunk
2009-03-21 22:40:06 -06:00
megamage 7de6113d90 [7509] Use defines instead explcit value for talent rank cound (in general and for pets) Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 14:55:10 -06:00
megamage de849cc508 Small code cleanup and partial merge with dev branch Author: tomrus88
--HG--
branch : trunk
2009-03-21 14:53:38 -06:00
raczman 6354da1eeb Added MySQL reconnect support, in case of mysql server dying while trinity's running - Thanks to Xeptor for that one.
--HG--
branch : trunk
2009-03-21 20:42:09 +01:00
XTZGZoReX f1b680826b * Minor fix for DB log levels.
--HG--
branch : trunk
2009-03-21 12:13:32 +01:00
XTZGZoReX 79d27da9ec * Fixed log levels.
--HG--
branch : trunk
2009-03-21 11:51:38 +01:00