No sync response is misleading, and should be renamed, users think it's a desync error message when it's not
Any suggestions? Any message that is not displayed in normal ("all is good") situations can mislead someone into thinking it's an error. I'd prefer to teach players that if it's not an error its just a warning/hint.
Joined: 08 Jan 2007, 06:13 Location: Don't be silly. If there's no machine heaven, where do all the toasters go?
AF wrote:
I see people with US and UK flags get confused, its too easy to misread as a sync error.
Well insults to them.
AF wrote:
warning: delayed response from player XYZ
No.
very_bad_soldier wrote:
Quote:
warning: delayed response from player XYZ
much better than the original!
No.
tombom wrote:
"Player X is lagging"
No.
Argh wrote:
"Slow response from Player X" perhaps?
No.
I'm boggled at these ideas. There is already a 'delayed response' message. This is about the message that says no response. A suitable replacement has to have the meaning of "Player X is not responding". Wrong is worse than confusing.
Side note, maybe Spring shouldn't whine about missing up-to-date sync messages when it's still getting delayed sync messages.
The only things I'd honestly like to see in logging that I can't right now is:
1. I'd like to see debugging logs for Lua be possibly in a different file. It's a pain sometimes, hand-parsing through Infolog, looking for bug events.
2. I'd like to see cyclic logging of the performance metrics, using a parameter to determine how often we see it, or a trigger based on a param. For example: CPU is stalled? Let a Lua callin know, so that we can explore the game-state (which will, obviously, cause yet more lag, but this is for optimization purposes) if we really want that much detail.
I don't see much point in specific logging for AI: they can print their log via either infolog or use Lua (in which case, a seperate Lua debugging log would be doubly useful).
1. use sed, grep or awk 2. there is a chat command: /debuginfo profiling; which loggs the info you see when pressing B to infolog, so i gues it shoudl be easy for you to do a widget and issue that command whenever you need it (3.) all AIs have their own log, and AI Devs wont change that. languages like Java have nice logging systems, and as AIs are relatively independent parts, and it is easier for the devs to implement their own stuff... they can log to infolog, but they hardly use it.
Last edited by hoijui on 13 Nov 2009, 10:13, edited 1 time in total.
Joined: 08 Jan 2007, 06:13 Location: Don't be silly. If there's no machine heaven, where do all the toasters go?
log=io.open("lualog.txt"), then use log:write instead of Echo? What do you want for lua that you can't already do? I admit that trapping all errors in callins is more complex, but if that's what you want I can make a debugging shim to do it in a few minutes.
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum