Raised This Month: $12 Target: $400
 3% 

Very Basic Player Tracker (Updated 7/15/10)


Post New Thread Reply   
 
Thread Tools Display Modes
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 10-11-2010 , 23:20   Re: Very Basic Player Tracker (Updated 7/15/10)
Reply With Quote #41

I said "shortly", I didn't say tonight or anything. I'm testing this locally to see if someone who habitually complains about "lag" (and I summarily ignore) notices any difference. I'd rather fix it once, you know?
__________________
msleeper is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 10-12-2010 , 17:36   Re: Very Basic Player Tracker (Updated 7/15/10)
Reply With Quote #42

Okay here's a version to test. Could the people who were seeing lag install this and let me know if you are still seeing problems? If everyone is seeing things resolved, I'll go ahead and release this.

(Plugin removed, see my post below.)
__________________

Last edited by msleeper; 10-14-2010 at 01:20.
msleeper is offline
Kigen
BANNED
Join Date: Feb 2008
Old 10-13-2010 , 10:24   Re: Very Basic Player Tracker (Updated 7/15/10)
Reply With Quote #43

Code:
// Connection error logging
public SQL_GetDatabase(Handle:owner, Handle:hndl, const String:error[], any:data)
{
    new String:Error[1024];

    if ( hndl == INVALID_HANDLE )
    {
        LogToFile(Logfile, "Failed to connect to database: %s", Error);
        SetFailState("Failed to connect to the database");
    }
Should be:

Code:
// Connection error logging
public SQL_GetDatabase(Handle:owner, Handle:hndl, const String:error[], any:data)
{
	if ( hndl == INVALID_HANDLE )
	{
		LogToFile(Logfile, "Failed to connect to database: %s", error);
		SetFailState("Failed to connect to the database");
	}
As the error message is given from the call of the function.
Kigen is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 10-13-2010 , 15:27   Re: Very Basic Player Tracker (Updated 7/15/10)
Reply With Quote #44

Got it, thanks.
__________________
msleeper is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 10-13-2010 , 21:31   Re: Very Basic Player Tracker (Updated 7/15/10)
Reply With Quote #45

Been crashing my server, I only am running it on one. The others are fine.
__________________

DontWannaName is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 10-13-2010 , 22:11   Re: Very Basic Player Tracker (Updated 7/15/10)
Reply With Quote #46

Um. Can anyone else confirm that?

EDIT
Here's an update with Kigen's fix, let me know if this still crashes for you.
Attached Files
File Type: sp Get Plugin or Get Source (tracker.sp - 454 views - 7.2 KB)
__________________

Last edited by msleeper; 10-14-2010 at 01:20.
msleeper is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 10-14-2010 , 02:15   Re: Very Basic Player Tracker (Updated 7/15/10)
Reply With Quote #47

Im scared now, can anyone else test it?
__________________

DontWannaName is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 10-14-2010 , 16:00   Re: Very Basic Player Tracker (Updated 7/15/10)
Reply With Quote #48

Yeah can't test it as I don't want to lose server traffic
__________________


bouncer is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 10-16-2010 , 02:56   Re: Very Basic Player Tracker (Updated 7/15/10)
Reply With Quote #49

I tested it with a half full server tonight and had no crashes.
__________________
msleeper is offline
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 10-26-2010 , 19:41   Re: Very Basic Player Tracker (Updated 7/15/10)
Reply With Quote #50

I'm not sure if this plugin logs properly.. I've set the seconds to 10 to log it in the database, but after 1 minute, it still hasn't added a few players.

EDIT, the plugin added above seems to fix the issue.
__________________

Last edited by Skyrider; 10-26-2010 at 20:53.
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode