View Single Post
muukis
Veteran Member
Join Date: Apr 2009
Old 09-15-2010 , 07:38   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #1051

Quote:
Originally Posted by matrixmark View Post
Hey Muukis,

Been using your plugin for a while with no major problems at all but for a while now I keep getting error messages.

I dont think they are causing any problems but its just annoying to see ANY errors lol even if they are harmless...

I have attached the log file for you to read over

Thanks for your time

Mark
Those errors seems legit, but solving them by adding more checks will not solve your main problem which is really causing these errors. Either your DB is getting slow or something else is killing the system. For example
Code:
L 09/12/2010 - 13:06:27: [SM] Native "GetClientAuthString" reported: Client 11 is not connected
L 09/12/2010 - 13:06:27: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 09/12/2010 - 13:06:27: [SM]   [0]  Line 10791, /home/groups/alliedmodders/forums/files/5/2/0/8/2/66015.attach::GetClientRankAuthString()
L 09/12/2010 - 13:06:27: [SM]   [1]  Line 2294, /home/groups/alliedmodders/forums/files/5/2/0/8/2/66015.attach::InsertPlayerDB()
... the InsertPlayerDB is called from CheckPlayerDB (async) and the connection of the client is checked by the calling function. If you are getting errors such as "Client X is not connected", your asyncronous call takes so much time that the player has left from the server or such. I don't believe this is a common problem, is it? I can add checks to everywhere, just to be safe, but I'd like to keep it simple and optimized so that the same checks are not done many times during a routine. I'll add a couple of checks at some critical points, but I don't think it'll fix everything for you. In fact, it can go worse on the other edge of the functionality (it's like a mat which you move to cover some stains at the floor and at the same time you'll uncover some other stains at the other end of the mat.)
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline