Raised This Month: $32 Target: $400
 8% 

[ANY] Lerp Tracker (and fixer!)


Post New Thread Reply   
 
Thread Tools Display Modes
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 04-17-2011 , 00:34   Re: [ANY] Lerp Tracker (and fixer!)
Reply With Quote #21

Code:
L 04/17/2011 - 03:49:18: SourceMod error session started
L 04/17/2011 - 03:49:18: Info (map "l4d_airport01_greenhouse") (file "errors_20110417.log")
L 04/17/2011 - 03:49:18: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 03:49:18: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 03:49:18: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
L 04/17/2011 - 03:53:00: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 03:53:00: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 03:53:00: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
L 04/17/2011 - 03:53:24: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 03:53:24: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 03:53:24: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
L 04/17/2011 - 03:56:54: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 03:56:54: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 03:56:54: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
L 04/17/2011 - 03:57:11: Error log file session closed.
L 04/17/2011 - 03:57:43: SourceMod error session started
L 04/17/2011 - 03:57:43: Info (map "l4d_airport02_offices") (file "errors_20110417.log")
L 04/17/2011 - 03:57:43: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 03:57:43: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 03:57:43: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
L 04/17/2011 - 04:23:11: Error log file session closed.
L 04/17/2011 - 05:06:13: SourceMod error session started
L 04/17/2011 - 05:06:13: Info (map "l4d_airport05_runway") (file "errors_20110417.log")
L 04/17/2011 - 05:06:13: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 05:06:13: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 05:06:13: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
L 04/17/2011 - 05:22:09: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 05:22:09: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 05:22:09: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
L 04/17/2011 - 06:04:06: Error log file session closed.
L 04/17/2011 - 06:56:19: SourceMod error session started
L 04/17/2011 - 06:56:19: Info (map "l4d_hospital01_apartment") (file "errors_20110417.log")
L 04/17/2011 - 06:56:19: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 06:56:19: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 06:56:19: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
L 04/17/2011 - 06:59:44: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 06:59:44: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 06:59:44: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
L 04/17/2011 - 07:02:02: Error log file session closed.
L 04/17/2011 - 09:55:18: SourceMod error session started
L 04/17/2011 - 09:55:18: Info (map "l4d_hospital05_rooftop") (file "errors_20110417.log")
L 04/17/2011 - 09:55:18: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 09:55:18: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 09:55:18: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
__________________

Last edited by Ja-Forces; 04-17-2011 at 02:00.
Ja-Forces is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-17-2011 , 15:50   Re: [ANY] Lerp Tracker (and fixer!)
Reply With Quote #22

Quote:
Originally Posted by Ja-Forces View Post
Code:
L 04/17/2011 - 03:49:18: SourceMod error session started
L 04/17/2011 - 03:49:18: Info (map "l4d_airport01_greenhouse") (file "errors_20110417.log")
L 04/17/2011 - 03:49:18: [SM] Native "IsClientInGame" reported: Client index 19 is invalid
L 04/17/2011 - 03:49:18: [SM] Displaying call stack trace for plugin "lerptracker.smx":
L 04/17/2011 - 03:49:18: [SM]   [0]  Line 80, lerptracker.sp::Lerps_Cmd()
There is typo in that source code
https://bitbucket.org/ProdigySim/mis...lerptracker.sp

Code:
public Action:Lerps_Cmd(client, args)
{
	new lerpcnt;
	for(new rclient=1; client <= MaxClients; rclient++)
	{
		if(IsClientInGame(rclient) && !IsFakeClient(rclient))
		{
			ReplyToCommand(client, "%02d. %N Lerp: %.01f", ++lerpcnt, rclient, (GetCurrentLerp(rclient)*1000));
		}
	}
	return Plugin_Handled;
}
should be also rclient
Bacardi is offline
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 04-18-2011 , 01:08   Re: [ANY] Lerp Tracker (and fixer!)
Reply With Quote #23

How long has that been there. Holy crap.

E: fixed

Last edited by ProdigySim; 04-18-2011 at 01:12.
ProdigySim is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 04-18-2011 , 05:23   Re: [ANY] Lerp Tracker (and fixer!)
Reply With Quote #24

Typo in 0.5 too
Visual77 is offline
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 04-19-2011 , 01:56   Re: [ANY] Lerp Tracker (and fixer!)
Reply With Quote #25

Quote:
Originally Posted by Visual77 View Post
Typo in 0.5 too
I'll update the main post when I get a chance to test these changes. I'm still floating around on my netbook at this point.
ProdigySim is offline
c3v0r
Member
Join Date: Aug 2009
Old 04-19-2011 , 08:59   Re: [ANY] Lerp Tracker (and fixer!)
Reply With Quote #26

Quote:
Originally Posted by ProdigySim View Post
Edit: sm_max_interp sets a maximum lerp value--players above will be kicked. If you want to set a minimum, simply set your sv_client_min_interp_ratio to (DESIRED_MIN_LERP * sv_maxupdaterate).
No convenient min lerp kick feature? =p

And could you add a feature to turn on only notifications about changes to lerp?
Like for example:
Quote:
sm_announce_lerp - Announce players' lerp upon joining the game. (Default 1)
sm_announce_lerp_changes - Announce changes to players' lerp. (Default 1)
c3v0r is offline
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 04-19-2011 , 18:36   Re: [ANY] Lerp Tracker (and fixer!)
Reply With Quote #27

Quote:
Originally Posted by c3v0r View Post
No convenient min lerp kick feature? =p
Use math; win game.
Quote:
And could you add a feature to turn on only notifications about changes to lerp?
Like for example:
Probably a good idea. I'll probably just implement these as different values for sm_announcelerp (e.g. 1 = all, 2 = changes only...)
ProdigySim is offline
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 04-20-2011 , 15:46   Re: [ANY] Lerp Tracker (and fixer!)
Reply With Quote #28

Updated main post with 0.8.

If people *reallly really really* want a min lerp cvar I'll add it... But honestly I don't think people having too low of lerp is a big issue people are worried about. Plus you can stop low lerp with cvar changes.
ProdigySim is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 04-21-2011 , 20:39   Re: [ANY] Lerp Tracker (and fixer!)
Reply With Quote #29

I should try this plugin out as I have several a 40 slot dust2 servers.
Thanks ProdigySim
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!


nightrider is offline
haarlinsh
New Member
Join Date: Jun 2011
Old 06-02-2011 , 12:15   Re: [ANY] Lerp Tracker (and fixer!)
Reply With Quote #30

heu I can look like noob but i don't understand how can I change the setting for your plugin. I don't find any .cfg file.

It sometimes set lerp to 67 and usually to 100.

How can i set lerp to 67 or 37 instead of 100 to everyone ?

btw great plugin !

Last edited by haarlinsh; 06-02-2011 at 14:16.
haarlinsh is offline
Reply



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 19:13.


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