Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Core Ping plugin [updated to v1.0.2]
#1
Lightbulb 
Hi, I create a lightweight plugin that checks players delays.
Plugin uses 0.01% during the operation of the CPU on a single client.

Version 1.0.2

The advantages of plug-in:
Quote:
  • efficient, fast, lightweight, stable, does not load the server
  • the ability to configure
  • auto-generating the configuration file if not exist
  • work at intervals
  • drop clients from server (no ban)
  • two algorithms: drop a player for too high ping and for ping jumps

Cons:
Quote:
  • without notification settings in other languages (English only)
  • errors in English (my fault - poor knowledge)
  • without being able to verify the delay by the player

Requirements:
Quote:required version of Server Addon >= 1.3

Config file:
Quote:Config file is in .\plugins\core\cfg\ping.cfg

Any problems and suggestions please post in the topic.

The next version:
Quote:
  • To correct errors in English
  • The introduction of the notification file (multilingualism)
  • Protection against misconfiguration plugin

In the future:
Quote:
  • Improving plugin performance
  • The more clear code
  • Construction of the plugin as a child (more control)
  • Calling information about ping, at the request of the player

I don't test it on Linux server!!!

Updates:
Quote:Last update time: GTM+1 17.04.2012 00:20
v1.0.1
  • Fixed serious error
v1.0.2
  • Fixed plugin crash


Attached Files
.zip   CorePing v1.0.2.zip (Size: 5.92 KB / Downloads: 165)
Reply

#2
Nice work, thank you Smile
Reply

#3
(04-17-2012, 00:54)Fth17 Wrote: Nice work, thank you Smile

Thx but it is not end :p btw download the last version of plugin!
The more functionality of the application the greater the chance of errors.
Reply

#4
Sounds good!
Reply

#5
Works good Too.
Reply

#6
Hi can someone explain this part,
# !Do not change this value if you do not know what you do!
# Change this value to set difference in latency on your server, default: 50
# If the value is too low, players will be kicked out immediately
# If the value is too high, this algorithm will not work
Maxjping = 50;

What is the latency command doing? Also is the maxjping command suppose to be if someones ping jumps by the amount u put they get kicked? How do the two relate to each other? Thanks...
Reply

#7
(04-17-2012, 09:43)eycel Wrote: Hi can someone explain this part,
# !Do not change this value if you do not know what you do!
# Change this value to set difference in latency on your server, default: 50
# If the value is too low, players will be kicked out immediately
# If the value is too high, this algorithm will not work
Maxjping = 50;

What is the latency command doing? Also is the maxjping command suppose to be if someones ping jumps by the amount u put they get kicked? How do the two relate to each other? Thanks...

OK, when max ping is 250 and minimum is 40 (minimum for lan).
Client connect to server but his ping is not stable, oscillates between 100 - 250.
The standard Maxping algorithm will not catch this exception (my MaxPing catch but MaxJPing is better algorithm for catch Jumping Ping).
If the client has a greater difference than specified, he will be dropped from server.

In summary:
If your server is for lan game (dedicated 1) set to minimum 10
If Your server is for Internet game (dedicated 2) set to minimum 20 but default is 50.
Please test the settings on your servers, because each server has a different working environment.
The more functionality of the application the greater the chance of errors.
Reply

#8
(04-17-2012, 12:40)Nerus Wrote:
(04-17-2012, 09:43)eycel Wrote: Hi can someone explain this part,
# !Do not change this value if you do not know what you do!
# Change this value to set difference in latency on your server, default: 50
# If the value is too low, players will be kicked out immediately
# If the value is too high, this algorithm will not work
Maxjping = 50;

What is the latency command doing? Also is the maxjping command suppose to be if someones ping jumps by the amount u put they get kicked? How do the two relate to each other? Thanks...

OK, when max ping is 250 and minimum is 40 (minimum for lan).
Client connect to server but his ping is not stable, oscillates between 100 - 250.
The standard Maxping algorithm will not catch this exception (my MaxPing catch but MaxJPing is better algorithm for catch Jumping Ping).
If the client has a greater difference than specified, he will be dropped from server.

In summary:
If your server is for lan game (dedicated 1) set to minimum 10
If Your server is for Internet game (dedicated 2) set to minimum 20 but default is 50.
Please test the settings on your servers, because each server has a different working environment.

I pritty much know this, I do alot of networking, what im not understanding is what the latency command is for, its set at 50 by default, what does the latency command do? This one, Change this value to set difference in latency on your server, default: 50.
Reply

#9
(04-17-2012, 19:49)eycel Wrote:
(04-17-2012, 12:40)Nerus Wrote:
(04-17-2012, 09:43)eycel Wrote: Hi can someone explain this part,
# !Do not change this value if you do not know what you do!
# Change this value to set difference in latency on your server, default: 50
# If the value is too low, players will be kicked out immediately
# If the value is too high, this algorithm will not work
Maxjping = 50;

What is the latency command doing? Also is the maxjping command suppose to be if someones ping jumps by the amount u put they get kicked? How do the two relate to each other? Thanks...

OK, when max ping is 250 and minimum is 40 (minimum for lan).
Client connect to server but his ping is not stable, oscillates between 100 - 250.
The standard Maxping algorithm will not catch this exception (my MaxPing catch but MaxJPing is better algorithm for catch Jumping Ping).
If the client has a greater difference than specified, he will be dropped from server.

In summary:
If your server is for lan game (dedicated 1) set to minimum 10
If Your server is for Internet game (dedicated 2) set to minimum 20 but default is 50.
Please test the settings on your servers, because each server has a different working environment.

I pritty much know this, I do alot of networking, what im not understanding is what the latency command is for, its set at 50 by default, what does the latency command do? This one, Change this value to set difference in latency on your server, default: 50.

The maximum stroke limit ping, if you have a flaky connection, eg you have a ping of between 100 - 250 (where maxping algorithm does not detect this because the range is from 0 to 250), the pitch between 100 and 200 is noticeable and the client has a lag
Ping algorithm checks whether the client is stable or not.
Is the maximum possible difference between the player's ping spikes
The more functionality of the application the greater the chance of errors.
Reply

#10
(04-17-2012, 21:00)Nerus Wrote:
(04-17-2012, 19:49)eycel Wrote:
(04-17-2012, 12:40)Nerus Wrote:
(04-17-2012, 09:43)eycel Wrote: Hi can someone explain this part,
# !Do not change this value if you do not know what you do!
# Change this value to set difference in latency on your server, default: 50
# If the value is too low, players will be kicked out immediately
# If the value is too high, this algorithm will not work
Maxjping = 50;

What is the latency command doing? Also is the maxjping command suppose to be if someones ping jumps by the amount u put they get kicked? How do the two relate to each other? Thanks...

OK, when max ping is 250 and minimum is 40 (minimum for lan).
Client connect to server but his ping is not stable, oscillates between 100 - 250.
The standard Maxping algorithm will not catch this exception (my MaxPing catch but MaxJPing is better algorithm for catch Jumping Ping).
If the client has a greater difference than specified, he will be dropped from server.

In summary:
If your server is for lan game (dedicated 1) set to minimum 10
If Your server is for Internet game (dedicated 2) set to minimum 20 but default is 50.
Please test the settings on your servers, because each server has a different working environment.

I pritty much know this, I do alot of networking, what im not understanding is what the latency command is for, its set at 50 by default, what does the latency command do? This one, Change this value to set difference in latency on your server, default: 50.

The maximum stroke limit ping, if you have a flaky connection, eg you have a ping of between 100 - 250 (where maxping algorithm does not detect this because the range is from 0 to 250), the pitch between 100 and 200 is noticeable and the client has a lag
Ping algorithm checks whether the client is stable or not.
Is the maximum possible difference between the player's ping spikes

Ok im not getting the info i need,
the way your desribing latency command is what im thinking the maxjping is, IF i set maxjping to say 400, any player ping that spikes beyong 400, say 100 ping to 500 ping will be kicked, where does the latency command come in to play? What should I set the latency comand to if I Want a maxjping set to 400
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 4,161 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,744 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 41,513 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,667 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 5,176 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 62,265 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 18,634 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,711 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 33,266 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 3,063 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
6 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.