Akkadius
3d74035e24
Merge remote-tracking branch 'remotes/origin/master' into logging_changes
...
Conflicts:
zone/command.cpp
zone/command.h
zone/inventory.cpp
2015-01-21 16:40:46 -06:00
Akkadius
ef312b7b48
Remove Duplicative MySQL Error:
2015-01-20 01:38:43 -06:00
Akkadius
951f98a63e
Re-Implement GMSay colors: http://i.imgur.com/tQbuKUM.jpg
2015-01-20 00:53:52 -06:00
Akkadius
a04aecae0e
Remove Duplicative MySQL Error: Error in Zone::LoadTickItems: %s (%s)
2015-01-19 05:25:56 -06:00
Akkadius
800378d944
Remove Duplicative MySQL Error: Error in Zone::LoadNPCEmotes: %s (%s)
2015-01-19 05:25:53 -06:00
Akkadius
e74666fa3b
Remove Duplicative MySQL Error: Error in Zone::LoadAdventureFlavor: %s (%s)
2015-01-19 05:25:44 -06:00
Akkadius
17d51b3ff4
Remove Duplicative MySQL Error: Error in Zone::LoadAlternateCurrencies: %s (%s)
2015-01-19 05:25:37 -06:00
Akkadius
6bf5b5a7fb
Remove Duplicative MySQL Error: Error in Zone::LoadVeteranRewards: %s (%s)
2015-01-19 05:25:33 -06:00
Akkadius
8e5541acce
Remove Duplicative MySQL Error: Error in Zone::LoadLDoNTrapEntries: %s (%s)
2015-01-19 05:25:26 -06:00
Akkadius
5645d21082
Remove Duplicative MySQL Error: Error in Zone::LoadLDoNTraps: %s (%s)
2015-01-19 05:25:23 -06:00
Akkadius
ca27159223
Remove Duplicative MySQL Error: Error in LoadNewMerchantData query '%s' %s
2015-01-19 05:25:18 -06:00
Akkadius
c81eb674bb
Remove Duplicative MySQL Error: Error in LoadTempMerchantData query '%s' %s
2015-01-19 05:25:09 -06:00
Akkadius
0d9b6703a6
Rename debug.h to global_define.h, update cmakelists and such
2015-01-19 04:12:09 -06:00
Akkadius
fa83809130
Removal of client_logs.h from #includes
2015-01-19 03:40:09 -06:00
Akkadius
d7d1f9757b
Removal of client_logs.cpp/.h
2015-01-19 03:37:12 -06:00
Akkadius
467b359d0c
Moved all EQEmuLogSys:: enum references used in Log.Out to a namespace 'Logs' for shortening of syntax
2015-01-18 02:20:16 -06:00
Akkadius
c025765283
Renamed DoLog to Out as the aggregate logging function for simplicity of use and shortened syntax of Log.Out
2015-01-18 02:00:15 -06:00
Akkadius
1c048cb1d1
Renamed DebugCategory to DoLog as the aggregate logging function for simplicity of use and shortened syntax of Log.DoLog
2015-01-18 01:54:09 -06:00
Akkadius
ec7fd9b4e7
Consolidate 'LogType' Normal logs over to 'LogCategory'
2015-01-18 01:32:18 -06:00
Akkadius
e691735a2d
Consolidate 'LogType' Error logs over to 'LogCategory'
2015-01-18 01:30:25 -06:00
Akkadius
e9f8d5fa6d
Port Status messages from Type to Category
2015-01-18 01:27:52 -06:00
Akkadius
7dbde36b03
Rename reference logger to Log
2015-01-18 00:41:18 -06:00
Akkadius
58d0b86a67
Consolidate EQEmuLogsys::Debug General calls into DebugCategory
2015-01-18 00:00:03 -06:00
Akkadius
bdd170df6c
More moving around of internal EQEmuLogSys functions
2015-01-14 05:12:01 -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
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
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
01ca81a177
Remove debugging and generalize the Log function
2015-01-10 13:35:02 -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
Michael Cook (mackal)
5b78acc45e
Make the AI stopping a little less silly on zone shutdown
2015-01-10 02:34:38 -05:00
Akkadius
be381b4e56
Renamed EQEMuLog class to EQEmuLog
2015-01-08 19:46:28 -06:00
Kinglykrab
a4febbb648
Modified #reloadworld. Example: #reloadworld 1 - repops globally and reloads quests globally. #reloadworld or #reloadworld 0 - reloads quests globally.
2014-12-22 04:47:51 -05:00
Akkadius
c646a6c43a
zone.cpp & .h include header cleanup
2014-12-15 19:14:41 -06:00
Michael Cook (mackal)
395be050a3
Switch random function to std::mt19937
...
Added class EQEmu::Random
Functions:
EQEmu::Random::Int(int low, int high)
EQEmu::Random::Real(double low, double high)
EQEmu::Random::Roll(int required)
EQEmu::Random::Roll(double required)
EQEmu::Random::Reseed()
For zone, you will access the random object through the zone object
ex.
zone->random.Int(0, 100);
Int returns a random int between low and high
Real returns a random double between low and high
Roll(int) returns true if Int(0, 99) < required is true
Roll(double) returns true if Real(0.0, 1.0) <= required is true
2014-12-01 18:13:12 -05:00
akkadius
ad9c0df552
#include and forward declaration cleanup of
...
client.cpp net.cpp questmgr.cpp zone.cpp zone.h
2014-11-29 03:12:34 -06:00
Akkadius
111fb84041
Moved zonedatabase functions out of corpse.cpp
...
Conversion portion mostly complete
Some header readability cleanup
Some function renaming
Struct renaming
Many variable renaming
MySQL error log for all of QueryDatabase
Corpse table renaming
Corpse table field renaming
Most corpse database functions redone
2014-11-22 17:55:48 -06:00
KimLS
c506e33018
Fixed merge
2014-11-18 21:12:48 -08:00
JJ
2e8d7b09af
Temp merchant items could duplicate slots also...
2014-11-16 19:04:15 -05:00
JJ
9c22de9eb2
Not an error if there isn't merchant data to load...
2014-11-12 19:50:53 -05:00
Trevius
b4e4d94061
Fixed dynamic merchant list loading. Allows any merchant to be used in any zone.
2014-11-06 21:41:51 -06:00
JJ
acab4dd443
Fix for duplicate merchant items when same merchant types are in same spawngroup.
2014-11-01 13:37:06 -04:00
KimLS
15cec40ed5
Fix for issue #270 , fix for temp merchant lists not loading correctly, fix for ah redundant getadventurestats code.
2014-10-13 15:59:11 -07:00
JJ
ea4c23efcf
Establish default order for merchantlist items.
...
Allow merchants to use 80th slot.
2014-10-09 23:11:18 -04:00
Paul Coene
f5fa07c8db
Update zone.cpp
2014-09-29 16:38:18 -04:00
akkadius
54c89d69f6
Merge remote-tracking branch 'remotes/origin/master' into blob_conversion
...
Conflicts:
common/database.cpp
common/mysql_request_result.h
common/shareddb.cpp
2014-09-07 04:11:09 -05:00
Akkadius
e50cf5c4be
- Ported inspect_messages to character_inspect_messages
...
- Ported character leadership abilities to character_leadership_abilities
- Removed player profile debug printing
- Refactored total time entitled on account to load from the sum of time_played from all characters in character_data
2014-09-06 21:50:29 -05:00