Sign in to follow this  
Followers 0
Frank 791

i need help with an anti-camp lua

hello, I hope you can help me find a lua please, that allows me to detect players who are camping (that are in a specific area and if they do not move # meters from the area in # sec receive kill) but that this function does not affect the players who are inactive, someone will know of some file that allows me to do this? Thank you very much in advance

Share this post


Link to post
Share on other sites

Tiddy-bits:

14 hours ago, Frank 791 said:

hello, I hope you can help me find a lua please, that allows me to detect players who are camping (that are in a specific area and if they do not move # meters from the area in # sec receive kill) but that this function does not affect the players who are inactive, someone will know of some file that allows me to do this? Thank you very much in advance

What do you mean by inactive? I assume you mean that people who are AFK and just sitting in their spawn point won't be killed?

Share this post


Link to post
Share on other sites
19 hours ago, Frank 791 said:

hola, espero que me ayudes a encontrar un lua por favor, que me permite detectar jugadores que están acampando (que están en una zona específica y si no se mueven a metros de la zona en s recibir muerte) pero que esta función no afecta a los jugadores que están inactivos, alguien sabrá de algún archivo que me permita hacer esto? Muchas gracias de antemano

 

I think Sapp has something for that. 

Share this post


Link to post
Share on other sites
9 hours ago, Enclusion said:

¿A qué te refieres con inactivo? ¿Supongo que quiere decir que las personas que están AFK y que solo están sentadas en su punto de generación no serán asesinadas?

exactly, that the AFK's are not detected as campers, I found a function of killcamp in SAPP but that does not work because at least in the race, many enter alone to camp without killing people or let themselves be killed and continue with the camp on the server

Share this post


Link to post
Share on other sites

If you want to remove AFKs, use the afk_kick command.

 

AFKs aren't going to be detected as campers because they aren't technically camping. This is because camping implies some sort of strategical advantage to standing in one spot. Doing absolutely nothing, however, isn't very strategic to either you or your team.

 

Basically, the whole point of the anti-camp script is to prevent players who are utilizing an aspect of the game not desired by the host. However, you aren't utilizing said aspect if you aren't killing. In fact, people who normally complain about camping probably won't accuse you of camping if you stand in one spot without gaining kills. They'd instead accuse you of being AFK (if you aren't moving) or they'd just kill you since you're basically free k/d.

 

And there are some aspects where you may want to not move a lot. For example, if it's CTF and both teams have the flag, you may stand in one spot for a period of time rather than move around the map, exposing yourself.

 

tl;dr - It's intentional, because being AFK is not the same as camping. Use afk_kick instead.

Sunstriker7 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
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.