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: 196)

#2
Nice work, thank you Smile

#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.

#4
Sounds good!

#5
Works good Too.

#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...

#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.

#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.

#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.

#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



Possibly Related Threads…
Thread Author Replies Views Last Post
Rainbow [Release] Plugin ReservedSlot v1.3 frst_ 1 5,028 11-08-2018, 19:17
Last Post: frst_
Tongue [Release] MW3 Shop plugin Dude 56 51,540 03-25-2018, 05:18
Last Post: [email protected]
  [Release] Permission plugin Pozzuh 202 164,873 05-01-2017, 15:41
Last Post: W4R||The Hyper
  [Release] FIXED SPEED PLUGIN hillbilly 2 5,684 06-02-2016, 20:23
Last Post: clacki
  [Release] Bots Plugin For Users Casper 22 39,989 08-22-2015, 17:45
Last Post: SnapBacks
  [Release] God Plugin v5.0 [Ingame Rcon Tool] OzonE 464 337,793 06-27-2015, 15:38
Last Post: bluedot
  [Release] Anti Hardscope Plugin 8q4s8 26 27,767 06-20-2015, 22:44
Last Post: urj88419
  [Release] ProMod Plugin zxz0O0 875 765,468 03-25-2015, 22:02
Last Post: kris
  [Release] [Discontinued] Speed Plugin Pozzuh 164 122,850 10-06-2014, 12:56
Last Post: Nekochan
  [help]how create a ping plugin clacki 3 5,124 09-13-2014, 01:23
Last Post: clacki

Forum Jump:


Users browsing this thread:
1 Guest(s)

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