Thread Rating:
  • 6 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Ping Warn Plugin v1.1
#11

For example, allow the Admin to decide the range, say from 0 - 500.

Thanks,
When you say "You could add a 'grace period' which ignores the checking for the player for 10 seconds after joining".

Please provide information on how to do this.

Thanks,
Reply

#12
(03-14-2012, 08:57)dthem_2000 Wrote: For example, allow the Admin to decide the range, say from 0 - 500.

Thanks,
When you say "You could add a 'grace period' which ignores the checking for the player for 10 seconds after joining".

Please provide information on how to do this.

Thanks,

I've updated the plugin which now includes grace checking and now allows you to set the maximum ping using text commands (I've tested it and it works). Check the main post for more details. I haven't added every command possible because I'm currently busy with another project.

If people are still getting the problem where empty slots are attempted to be kicked, I've got no idea, I can't replicate the problem because it doesn't happen for me. Might be a problem with the server addon and not my plugin.

[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#13
Imo adding these lines to code would solve that trouble. It did solve it in my case at least :p


Code:
if (warnDictionary[sc.XUID] == maxWarnings)
                    {
                        KickClient(sc);
                        warnDictionary.Remove(sc.XUID); // <<<<<
                        graceDictionary.Remove(sc.XUID); // <<<<<
                   }


and alsoe the warn count should be like this imo
so ppl get kicked only for 3 consetucive warnings
Code:
if (graceDictionary[sc.XUID].Subtract(DateTime.Now).TotalSeconds * -1 > maxGraceSeconds && sc.Ping >= maxPing)
                {
.
.
.
                else
                {
                    warnDictionary[sc.XUID] = 0;               // <<<<<<
                }
            }
        }
Reply

#14
As I am not familiar with how to write code for plugins, please put it in laymen's terms.

Thanks,
Reply

#15
(03-18-2012, 12:54)C4jk Wrote: Imo adding these lines to code would solve that trouble. It did solve it in my case at least :p

It would be cool if that could get added. Seeing the " 's ping is too high"... over and over is really annoying.

[Image: tanksignature.jpg]
Reply

#16
----------------- 1 --------------------
Could you make a version of plugin that only warns the players and not the server
no more ServerSay

----------------- 2 --------------------
Is this right?' you didn't specify, what section of sv_config.ini, I assumed it was PingPlugin looking at your code

[PingPlugin]
MaxPing=150
MaxWarnings=3
Interval=20
MaxGraceSeconds=10


Reply

#17
I recompiled your code and removed the 2 ServerSay lines of code I hope its Ok with you.

Ping Warn Plugin v1.1 (silent)

.zip   PingWarn.zip (Size: 7.62 KB / Downloads: 121)
Reply

#18
I just wanted to chime in on this plugin, I have a server thats pritty much full all day and night. I been testing this plugin for around 40 hours or so now, its doing some offaly weird things like kicking me for one and I host the server with the lowest ping, it seems to just kick anyone it wants for no reason. Anyway thats the conclusion Iv come to, so Iv taken it down from my server, I really would like a functional MAXPING plugin tho.

I Should mention im running the server with nukems addon plugin and rcon plugin as well as permision plugin and rules plugin.

Thanks very much for the efford in this plugin, its almost there.
Reply

#19
this plugins some times temp ban me
Reply

#20
I loaded this onto my server and I did not see a loading message in the server window...do you have one or no? Sad I just want to make sure this works..
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:
1 Guest(s)

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