Welcome to Open Carnage

A resource for modders and technology enthusiasts; have a wander to see why we're worth the time! EST. 2012

bigblue

Auto Kick Ping

I have ping_kick set in the sapp init file - this works ok and helps a lot in reducing lag on the server, but unfortunately some regular players with slightly higher pings are being kicked. I wondered is there any way that I can allow certain players to join my server whose ping is above the ping kick level ? Maybe by way of events somehow.. or would it need a script to accomplish this ?

 

Cheers

Share this post


Link to post
Share on other sites

Members of Open Carnage never see off-site ads.

You could disable SAPP's ping kicking, give players level 0 admin access, and then write an event in events.txt to handle ping kicking (event_alive will do the trick).

event_alive $lvl<0 $ping>300 'k $n "High ping ($ping)"'

I think ping kicking might also ignore players with level 0 admin access, too, so try just doing that, first, before messing with events. I can't remember though.

Tucker933 likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.