I play DAoC (Dark Age of Camelot) and it has no features to display Latency/Ping/ect...
What I am wanting to do is make a program to display these things, like fps and latency, in game, like what /fps does in d2....
I know how to get the user's fps and I know how to display it over the game itself, but how would I go about retrieving the person who is using the program's latency and packet loss. Does not need to be in code but C++ references are a bonus :)
Thanks for any and all help
-Mbane_Agahnim
Well, most likely DaOC sends a ping packet to ensure the connection is still alive. I suppose by measuring the time between them you could guestimmate a reasonable ping to display. Or you could just ping the server your connected to every minute.
how would one go about getting the IP of the server? Would a packet sniffer do it?
Most likely after starting up DAoC you would notice a large amount of traffic between your computer and one or two servers. Those will be the one(s) you want to ping.
Quote from: MoNksBaNe_Agahnim on March 24, 2004, 10:56 PM
how would one go about getting the IP of the server? Would a packet sniffer do it?
Anything from netstat to a packet logger can get you that information.
Quote from: LoRd[nK] on March 25, 2004, 01:02 AM
Quote from: MoNksBaNe_Agahnim on March 24, 2004, 10:56 PM
how would one go about getting the IP of the server? Would a packet sniffer do it?
Anything from netstat to a packet logger can get you that information.
You could even check the registry entry for which server was selected before collectin, assuming DaOC saves this information.