Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Waiting for better ping plugin  (Read 2438 times)

Offline Zottel

  • Newbie
  • *
  • Posts: 3
Waiting for better ping plugin
« on: November 29, 2014, 12:41:08 PM »


hi hi

I have an idea, but I do not know how to write it. I'm not so good in python.

So i hope you can help me there.

my idea!!

Pingcheck!!

interval 30sec

maxping 500

1.check // check all player in game // there is one with high ping, then

is maxping or higher => force client in spec

                              => client.pm -ping to high pls try to reduce it

                              => console.say -<player> was force in spec -reason to high ping

                              => self -> 2.check  //  20sec later

is not maxping        => do nothing let them play :)

2.check   // ckeck the player who was detected in the 1.check with high ping

is maxping or higher => force in spec // if he again in game

                              => client.pm -ping still to high pls try to reduce it or you will be kicked

                              => console.say -<player> was force to spec // if he still in spec say nothing

                              => self ->get.kick  //  20sec later

is not maxping         => let them play // do nothing // return to 1.check // interval // or so

get.kick  // check him again // is ping still to high or not

is maxping or higher  => client.kick reason ci

                               => console.say -<player>> was kicked reason ci

is not maxping         => let them play // do nothing // return to 1.check // interval // or so

 

that is it.  so pls can you help me with that

sry for my bad english :)
and i hope you understand what i will say  :)

 


Rate this page +1 at Google Search

anything