As I said earlier. I spent almost three weeks working on this same issue. Without taking the server tick-rate and client cmdrate into account you will never get an accurate ping.
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.