Akkadius
055f1523c7
Comment defaults debugging
2015-01-16 00:44:28 -06:00
Akkadius
e69486d905
Converted 'is a GM' debug
2015-01-16 00:40:43 -06:00
Akkadius
cdc249dde3
Converted SyncWorldtime std::cout
2015-01-16 00:37:36 -06:00
Akkadius
829dd8ddaf
Correct log_settings checks
2015-01-16 00:15:34 -06:00
Akkadius
73b54ffabb
Implement log_settings for ProcessConsoleMessage
2015-01-16 00:14:49 -06:00
Akkadius
0b661a6347
Implement log_settings for ProcessLogWrite
2015-01-16 00:14:16 -06:00
Akkadius
2fb50fa5cc
Implement log_settings for ProcessGMSay
2015-01-16 00:13:56 -06:00
Akkadius
70fbf23d27
Rename LoadLogSettings to LoadLogSettingsDefaults
2015-01-16 00:07:30 -06:00
Akkadius
0d2c396680
zone LoadLogSysSettings
2015-01-16 00:06:12 -06:00
Akkadius
44b65d1ee5
Add Database::LoadLogSysSettings function
2015-01-15 23:49:20 -06:00
Akkadius
3a24372009
Added 2015_1_15_logsys_categories_table.sql
2015-01-15 23:10:45 -06:00
Akkadius
362de5084f
Add category processing to ProcessGMSay so we don't get a zone crash from feedback loop of GMSay outputting packets, then those packets going to GMSay. This would make a log inside of a log inside of a log, I call it, log inception
2015-01-15 22:44:27 -06:00
Akkadius
dbdfb23cc3
Add category to ProcessLogWrite
2015-01-15 22:38:24 -06:00
Akkadius
723b87bba4
Add category to ProcessConsoleMessage
2015-01-15 22:37:36 -06:00
Akkadius
1e10e088ad
Add category to ProcessGMSay
2015-01-15 22:35:58 -06:00
Akkadius
6eae464211
Some EQEmuLogSys changes
2015-01-15 22:17:37 -06:00
Akkadius
bdd170df6c
More moving around of internal EQEmuLogSys functions
2015-01-14 05:12:01 -06:00
Akkadius
99a0012bdd
Removal of rule based settings, moving to separate DB table
2015-01-13 15:13:12 -06:00
Akkadius
72b53ee2a5
EQEmuLogSys internal function consolidation
2015-01-13 15:11:01 -06:00
Akkadius
4bf2bfc8e3
Debug message function updates
2015-01-13 13:43:41 -06:00
Akkadius
b219d73163
_log replacements in various spots
2015-01-12 23:08:35 -06:00
Akkadius
733159923a
Convert 'COMMON' debugging _log to logger.LogDebugType
2015-01-12 23:01:01 -06:00
Akkadius
6d8f64da57
Convert 'TASKS' debugging _log to logger.LogDebugType
2015-01-12 22:58:13 -06:00
Akkadius
ae6bf5a227
Convert 'Skills' debugging _log to logger.LogDebugType
2015-01-12 22:57:38 -06:00
Akkadius
44b6e9aa3f
Convert 'AA' debugging _log to logger.LogDebugType
2015-01-12 22:57:04 -06:00
Akkadius
509bd2d652
Convert 'TRADESKILLS' debugging _log to logger.LogDebugType
2015-01-12 22:55:44 -06:00
Akkadius
53db4771f7
Convert 'DOORS' debugging _log to logger.LogDebugType
2015-01-12 22:54:16 -06:00
Akkadius
463b358992
Convert 'INVENTORY' debugging _log to logger.LogDebugType
2015-01-12 22:53:46 -06:00
Akkadius
eaf2da1171
Convert 'TRIBUTE' debugging _log to logger.LogDebugType
2015-01-12 22:53:17 -06:00
Akkadius
3693868acf
Convert 'SPAWNS' debugging _log to logger.LogDebugType
2015-01-12 22:52:46 -06:00
Akkadius
683ff1ea60
Convert 'SPELLS' debugging _log to logger.LogDebugType
2015-01-12 22:52:11 -06:00
Akkadius
3390164aea
Convert 'TRADING' debugging _log to logger.LogDebugType
2015-01-12 22:51:35 -06:00
Akkadius
49ecd69b34
Convert 'LAUNCHER' debugging _log to logger.LogDebugType
2015-01-12 22:50:09 -06:00
Akkadius
4c50025f13
Convert 'ZoneServer' debugging _log to logger.LogDebugType
2015-01-12 22:47:37 -06:00
Akkadius
40d32fc1e5
Convert 'UCS' debugging _log to logger.LogDebugType
2015-01-12 22:44:47 -06:00
Akkadius
f26f49c2a1
Convert 'QueryServ' debugging _log to logger.LogDebugType
2015-01-12 22:37:20 -06:00
Akkadius
c288ca5204
Convert 'Guilds' debugging _log to logger.LogDebugType
2015-01-12 22:32:44 -06:00
Akkadius
6c0e2631dc
Convert rules debugging _log to logger.LogDebugType
2015-01-12 22:29:56 -06:00
Akkadius
6e11baf308
Convert world debugging _log to logger.LogDebugType
2015-01-12 22:28:16 -06:00
Akkadius
bc02d7c31a
More netcode debugging _log to logger.LogDebugType
2015-01-12 22:20:11 -06:00
Akkadius
34f30b974e
More netcode debugging _log to logger.LogDebugType
2015-01-12 22:07:16 -06:00
Akkadius
ffdce868c1
Convert netcode debugging _log to logger.LogDebugType
2015-01-12 21:45:49 -06:00
Akkadius
4811631127
Convert _log from TASKS category
2015-01-12 21:19:19 -06:00
Akkadius
b1939aaa3e
Remove Save from LogTypes
2015-01-12 20:58:17 -06:00
Akkadius
9d355f0f99
Add zone callback for client messages so log messages can be piped to it
2015-01-12 20:11:23 -06:00
Akkadius
08a23265f8
Make some log functions less process specific in naming
2015-01-12 12:37:33 -06:00
Akkadius
fac1361d36
logger.LoadLogSettings() added after each platform executable registry
...
Added int return for platform executable
2015-01-12 05:15:31 -06:00
Akkadius
2e397b1383
static const char* LogCategoryName[EQEmuLogSys::LogCategory::MaxCategoryID]
...
enum LogCategory
2015-01-12 05:14:46 -06:00
Akkadius
489f24a80a
Preliminary addition of log settings map
2015-01-12 02:16:57 -06:00
Akkadius
3c53d907da
Fix double construction of EQEmuLogSys
2015-01-11 22:41:44 -06:00
Akkadius
855f7ac2a0
Quote fix
2015-01-11 00:20:43 -06:00
Akkadius
108d3110b6
RULE_BOOL(Logging, EnableConsoleLogging, true) /* Turns on or off ALL logging to console */
...
RULE_BOOL(Logging, EnableFileLogging, true) /* Turns on or off ALL forms of file logging */
2015-01-10 23:26:10 -06:00
Akkadius
2159a56b17
Add log test command #logtest
2015-01-10 23:25:50 -06:00
Akkadius
b1fbcc51e0
linux compile fix
2015-01-10 20:52:51 -06:00
Akkadius
ce0a5cf7b8
Add LogDebugType(DebugLevel debug_level, uint16 log_type, std::string message, ...)
2015-01-10 20:14:27 -06:00
Akkadius
17d9b9199c
Replace rest of EQEmuLog->write with EQEmuLogSys Log
2015-01-10 19:36:15 -06:00
Akkadius
167e11426f
Log Message reword for zone and world bootup failure
2015-01-10 19:32:07 -06:00
Akkadius
7e7c59967c
_log error convert to logger.Log(EQEmuLogSys::Error
2015-01-10 19:05:46 -06:00
Akkadius
b2a1597e73
More _log Client replacements
2015-01-10 18:52:27 -06:00
Akkadius
d459c144fe
replace mlog with logger.LogDebug
2015-01-10 18:38:04 -06:00
Akkadius
fc76e5c8ac
pathing _log to logger.LogDebug
2015-01-10 18:29:27 -06:00
Akkadius
7a9860fdd1
Added EQEmuLogSys logger; pointer to the rest of the projects
2015-01-10 18:12:58 -06:00
Akkadius
b7ade8bf1b
EQEmuLog::Dump preprocessor remove
2015-01-10 17:27:24 -06:00
Akkadius
26b550dd0d
More log replacements
2015-01-10 16:01:43 -06:00
Akkadius
18c837c398
Replaced various other log calls in zone
2015-01-10 15:59:32 -06:00
Akkadius
4bf74348a1
Replaced Error calls
2015-01-10 15:56:09 -06:00
Akkadius
a92233240c
Replaced Normal calls
2015-01-10 15:55:10 -06:00
Akkadius
fdbd76e4ad
Replaced Status log calls
2015-01-10 15:54:37 -06:00
Akkadius
b76e179d75
Fix spacing
2015-01-10 15:47:36 -06:00
Akkadius
6844645dfb
Replace LogFile->write(EQEmuLog::Error, with logger.logevents(EQEmuLogSys::Error
2015-01-10 15:44:35 -06:00
Akkadius
dadae1a71f
Replaced Debug messages: LogFile->write with logger.LogDebug
2015-01-10 15:26:38 -06:00
Akkadius
ebb2659630
Line changes
2015-01-10 15:08:30 -06:00
Akkadius
9e4ef74dd5
RULE_INT(Logging, DebugLogLevel, 0) /* Sets Debug Level, -1 = OFF, 0 = Low Level, 1 = Info, 2 = Extreme */
2015-01-10 14:59:32 -06:00
Akkadius
84741e4cb1
log_sys to logger
...
enum DebugLevel {
General = 0, /* 0 - Low-Level general debugging, useful info on single line */
Moderate, /* 1 - Informational based, used in functions, when particular things load */
Detail, /* 2 - Use this for extreme detail in logging, usually in extreme debugging in the stack or interprocess communication */
};
void EQEmuLogSys::LogDebug(DebugLevel debug_level, std::string message, ...)
2015-01-10 14:40:47 -06:00
Akkadius
b8ed29c600
Add RULE_CATEGORY(Logging)
...
RULE_BOOL(Logging, ConsoleLogCommands, false) /* Turns on or off console logs */
RULE_BOOL(Logging, LogFileCommands, false)
RULE_CATEGORY_END()
2015-01-10 14:37:33 -06:00
Akkadius
01ca81a177
Remove debugging and generalize the Log function
2015-01-10 13:35:02 -06:00
Akkadius
f4e33f6faa
Changed some console colors
2015-01-10 13:34:39 -06:00
Akkadius
5b4cf79b04
Create console colors type map from Console::Color LogColors
2015-01-10 03:56:52 -06:00
Akkadius
2aacc7323e
Backport logging from debug.cpp EQEmuLog::write back to EQEmuLogSys::WriteZoneLog
...
Logs being written to logs/zone/ currently
2015-01-10 03:44:49 -06:00
Akkadius
80d11d4ca9
Added eqemu_logsys.cpp/.h
2015-01-10 03:43:44 -06:00
Akkadius
732fa17afb
Merge branch 'master' of https://github.com/EQEmu/Server
...
Conflicts:
zone/groups.cpp
2015-01-08 19:50:48 -06:00
Akkadius
be381b4e56
Renamed EQEMuLog class to EQEmuLog
2015-01-08 19:46:28 -06:00
Akkadius
2e55c98e90
Merge branch 'master' of https://github.com/EQEmu/Server
2015-01-07 08:45:30 -06:00
Akkadius
66cc498421
Added colors to windows consoles, the logging system still needs to be overhauled but this crap code should make debugging easier until the rest of it is cleaned up
2015-01-07 08:45:04 -06:00
Akkadius
ac09636a73
Readability: embparser_api.cpp macro section A-Z sort
2015-01-04 07:01:16 -06:00
Akkadius
8491e3ce9b
Pro-active adjustment of quest::updatetaskactivity to include ignore_quest_update
...
quest::updatetaskactivity(task, activity, [count], [ignore_quest_update])
2015-01-04 06:58:30 -06:00
Akkadius
a56e9ccda6
Remove iostream from debug output
2015-01-04 02:55:38 -06:00
Akkadius
9419bc8d54
True fix for $client->UpdateTaskActivity(TaskID, ActivityID, Count, [ignore_quest_update])
2015-01-04 02:54:50 -06:00
Akkadius
a8d28cbed5
True optional fix for UpdateTaskActivity now that I've had time to take care of it
2015-01-02 17:51:55 -06:00
Akkadius
81dfffadf6
Updated $client->UpdateTaskActivity to have optional argument ignore_quest_update IE: Client::UpdateTaskActivity(THIS, TaskID, ActivityID, Count, [ignore_quest_update])
...
Also updated internal UpdateTaskActivity methods to optionally ignore quest based task updates to prevent feedback
2014-12-29 05:35:50 -06:00
Akkadius
2dadc9ff24
Change SetOwner to SetHateOwner refactor
2014-12-28 00:06:51 -06:00
Akkadius
4af3834715
Some more refactoring of hate_list
2014-12-27 23:52:44 -06:00
Akkadius
18f9a06f06
Re-Push Refactoring changes before without broken functionality
2014-12-27 23:44:15 -06:00
Akkadius
4f65066274
Reverting some hate stuff so things work again
2014-12-27 23:19:48 -06:00
Akkadius
8983953d7d
Remove debugging from hate changes
2014-12-27 20:25:20 -06:00
Akkadius
73fe229e25
More hate changes
2014-12-27 20:23:49 -06:00
Akkadius
21ce6efc73
Merge branch 'master' of https://github.com/EQEmu/Server
2014-12-27 18:25:00 -06:00
Akkadius
3a488e3a61
Changed hate counter to uint32 to prevent negative rollback, this most likely can will be an issue but more uncommon
...
Renamed and refactored most functions and variables in hate_list.h/cpp for readability
Refactored how hate works in some local functions mixing the use of hate variable and split it out into different status variables
hate_list.cpp/.h style cleanup
hate_list.h header function sort, comment erase
functions should clearly state their function
2014-12-27 18:24:42 -06:00
Akkadius
b63dbd50a8
Fix changelog.txt merge
2014-12-27 01:09:14 -06:00
Akkadius
d7b529d2af
Add option to automatic database upgrade script 5) Download latest Opcodes from Github
2014-12-27 01:07:58 -06:00