Console Messaging cleanup
Posted: Mon Jan 19, 2009 3:35 pm
This is a completely aesthetic request, so feel free to ignore it for a long time...
But is it possible to cause console output to not overwrite each others lines when multiple things are put out? Kinda like message queuing. As it is, it's nearly impossible to troubleshoot when things are happening the busier the server gets, because a zone load will have new client connection data and command info and movement updates and packet dumps (you get the idea) throughout and over each other.
Example, when you have zones set to always_loaded or city_zone, just during startup (but this similar behavior happens when fully running and players are zooming around everywhere):
Also, can you provide a LoginServer.ini or variables table setting to disable the Debug output (that is, all the hex crap) so we can better track what the console is doing in normal operation mode?
I realize logging and levels of logging are not implemented (or at least, I don't see how to use the log.ini) so if this is a later feature, then cool. If I can figure out how to turn all these cout's into Log() outputs, I'll give it a try... soon as I am done popping 450 zones and cleaning up all the data.
But is it possible to cause console output to not overwrite each others lines when multiple things are put out? Kinda like message queuing. As it is, it's nearly impossible to troubleshoot when things are happening the busier the server gets, because a zone load will have new client connection data and command info and movement updates and packet dumps (you get the idea) throughout and over each other.
Example, when you have zones set to always_loaded or city_zone, just during startup (but this similar behavior happens when fully running and players are zooming around everywhere):
Code: Select all
[Status] Loading opcodes..
[Status] Loading structs..
[Status] Loading command list..
[Status] Loaded 116 entity command lists.
[Status] Loaded 1451 NPC(s).
[Status] Loaded 367 Object(s).
[Status] Loaded 11 GroundSpawn(s).
[Status] Loaded 209 Widget(s).
[Status] Loaded 372 Sign(s).
[Status] Loading ground spawn items..
[Status] Loading loot data..
[Status] Loaded 0 loot tables.
[Status] Loaded 0 loot drops.
[Status] Loaded 0 spawn loot lists.
[Status] Loading Transporter Information..
[Status] Loaded 21 Teleporter(s)
[Status] Loaded global variables list..
[Status] Loaded visual states list..
[Status] Loading World Time..
[Status] Loading items.. (this might take a few minutes)
[Status] Loaded 275 Bag(s)
[Status] Loaded 1986 Food(s)
[Status] Loaded 11932 Weapon(s)
[Status] Loaded 28838 Armor/Shield Piece(s)
[Status] Loaded 0 Skill Item(s)
[Status] Loaded 9120 Regular Items
[Status] Loading spells..
[Status] Loaded 3681 Spell(s)
[Status] Loading LUA spells..
[Status] Loaded 27 LUA Spell(s)
[Status] Loading factions..
[Status] Loaded 202 Factions
[Status] Loading skills..
[Status] Loaded 129 Skills
[Status] Loading Quests..
[Status] Loaded 62 Quest(s)
[Status] Loading Merchant Information..
[Status] Loaded 0 Merchant List(s)
[Status] Loaded 0 Merchant Multiplier(s)
[Status] Loading Spawn Script Information..
[Status] Loading EQ time of day..
I'm counting how many times you've opened this...
Starting factory Reader
Starting factory Writer
World server listening on: tesseq.servegame.com:9200
World server listening on: 192.168.1.33:9200
Starting static zones...
Loading new Zone 'Darklight'
Loading new Zone 'Loaded GreaterFaydark'
Loading new Zone 'EastFreeport'
Loading new Zone 'Loaded BigBend'
Loading new Zone 'Loaded Stonestair'
Loading new Zone '0Loaded Loaded NPC(s), TempleSt'
Loading new Zone 'BeggarsCourt'
Loading new Zone 'Loaded Longshadow'
Loading new Zone 'ScaleYard'
Loading new Zone 'Loaded NorthFreeport'
Loading new Zone 'Loaded SouthFreeport'
Loaded Loaded 0Loading new Zone 'Loaded NPC(s), WestFreeport'
Loading new Zone 'Neriak'
Loading new Zone 'Loaded ElddarGrove'
Loading new Zone 'Loaded QeynosHarbor'
Loading new Zone 'NorthQeynos'
Loaded Loaded 08000Loading new Zone '0Loaded NPC(s), NPC(s), NPC(s), Object(
s), SouthQeynos NPC(s), 700'
NPC(s), NPC(s), Loading new Zone 'Loaded Nettleville'
Loading new Zone 'Loaded Starcrest'
Loading new Zone 'Loaded 205Graystone NPC(s), '
Loading new Zone 'Loaded Castleview'
Loading new Zone 'WillowWood'
Loading new Zone 'Loaded Baubbleshire00266'
NPC(s), Object(s), NPC(s), 0Loading new Zone ' NPC(s), Loaded Loaded Riverval
e116'
NPC(s), 0Loading new Zone 'Loaded NPC(s), 0QueensColony NPC(s), 0'
0 NPC(s), Object(s), Loading new Zone '260TimorousDeep Object(s), 0 Object(s),
Loaded 0'
Widget(s), 15 Object(s), Loading new Zone 'Loaded Object(s), 00OutpostOverlord
Object(s), NPC(s), '
82 NPC(s), Loaded 48 NPC(s), 128 Object(s), 78 NPC(s), 53 NPC(s), 0 Object(s), 0
Widget(s), 200 Object(s), Object(s), 69 NPC(s), 67 NPC(s), 9 Object(s), 0 NPC(
s), 00 Object(s), Object(s), 0 Object(s), 0 Widget(s), 23 Widget(s), 0 Widget(s
), 996 NPC(s), 000 Widget(s), Sign(s), NPC(s), 1100 Widget(s), Widget(s), Ob
ject(s), 29Connected to LoginServer: Object(s), eq2emulator.net:9100
195213025 NPC(s), Widget(s), Object(s), 25 Object(s), 54 Object(s), 0 Widget(s
), 0 Sign(s), 360 Widget(s), Widget(s), 46 Object(s), 70 Object(s), 12 Widget(s
), 0000 Object(s), Widget(s), Widget(s), Widget(s), 0 Sign(s), 34 Sign(s), 0
Sign(s), 1360 Sign(s), 0 Object(s), 0 GroundSpawn(s).
Object(s), 3400 Sign(s), Sign(s), Widget(s), 6 Widget(s), 164 Object(s), 120
Sign(s), 6 Widget(s), 13 Widget(s), 7 Widget(s), 00 Sign(s), GroundSpawn(s).
82 Sign(s), 0 Sign(s), 7 Widget(s), 4 Widget(s), 47 Sign(s), 0 Widget(s), 000 Si
gn(s), Sign(s), Sign(s), 0 GroundSpawn(s).
0 GroundSpawn(s).
00000 GroundSpawn(s).
0043104664350003800000 GroundSpawn(s).
56 Widget(s), Widget(s), GroundSpawn(s).
GroundSpawn(s).
Sign(s), Sign(s), Widget(s), GroundSpawn(s).
Sign(s), Sign(s), Sign(s), GroundSpawn(s).
GroundSpawn(s).
GroundSpawn(s).
Sign(s), GroundSpawn(s).
Sign(s), GroundSpawn(s).
GroundSpawn(s).
GroundSpawn(s).
Sign(s), 3800041004840Error loading cannot open SpawnScripts/NorthQeynos/QueenA
ntoniaBayle.lua: No such file or directory0 Sign(s), GroundSpawn(s).
GroundSpawn(s).
Sign(s), GroundSpawn(s).
Sign(s), GroundSpawn(s).
GroundSpawn(s).
GroundSpawn(s).
7 GroundSpawn(s).
7209 GroundSpawn(s).
GroundSpawn(s).
GroundSpawn(s).
GroundSpawn(s).
Error LUA Spawn Script 'SpawnScripts/NorthQeynos/QueenAntoniaBayle.lua'I realize logging and levels of logging are not implemented (or at least, I don't see how to use the log.ini) so if this is a later feature, then cool. If I can figure out how to turn all these cout's into Log() outputs, I'll give it a try... soon as I am done popping 450 zones and cleaning up all the data.