Author
Message
drk
Newbie poster
Joined: 20 Feb 2011 Posts: 370
Moving afks at start I propose to add a script to move afks in 1 minute of the game to specs.
Old Milka's script made a checking during all game.
I propose to make new and run it only once to switch all '0 exp' to specs.
Small (bad) case is that it could switch also active players that just joined.
I think that 1 minute is enough for a player to un-lag after the start, spawn and get some exp.
Posted: Thu Oct 12, 2017 5:33 pm
drk
Newbie poster
Joined: 20 Feb 2011 Posts: 370
Added an AFK script.
The main points:
- Checks in 1 minute after the start of the game;
- Runs only once per map;
- Moves only INACTIVE clients and clients with EXP=0;
- Does not touch spectators
Tell me if something goes wrong
Posted: Thu Oct 12, 2017 8:34 pm
Marbello
Newbie poster
Joined: 19 Sep 2008 Posts: 42
Finally!
Is there not also a way to move people that go afk during a match?
Posted: Fri Oct 13, 2017 8:34 pm
drk
Newbie poster
Joined: 20 Feb 2011 Posts: 370
Marbello wrote: Finally!
Is there not also a way to move people that go afk during a match?
Easy. But I think that's not worth it.
A lot of people alt-tab for a while and then come back. It could be bad.
Posted: Fri Oct 13, 2017 11:16 pm
Marbello
Newbie poster
Joined: 19 Sep 2008 Posts: 42
Toxic regularly goes afk for the remaining of a match.
Sometimes people, even me, get lost while alt-tabbing.
What about an exp comparison just every 7 minutes? No damage to be done!
Posted: Sat Oct 14, 2017 1:34 pm
drk
Newbie poster
Joined: 20 Feb 2011 Posts: 370
Marbello wrote: What about an exp comparison just every 7 minutes? No damage to be done!
That is what old Milka's script doing.
Posted: Sat Oct 14, 2017 2:35 pm
Groentjuh
Site Admin
Joined: 20 Oct 2006 Posts: 618 Location: World > Europe > Benelux > The Netherlands > The hague
Milka's script did far more than that. It also compared for example the client's coordinates, and I believe kills and deaths.
_________________
Posted: Sat Oct 14, 2017 7:24 pm
Dingfire
Newbie poster
Joined: 04 May 2015 Posts: 155 Location: Belgium
People like toxic play for a while and then go AFK, I don't agree with basing this script on exp
Posted: Mon Oct 16, 2017 11:10 am
drk
Newbie poster
Joined: 20 Feb 2011 Posts: 370
Dingfire wrote: People like toxic play for a while and then go AFK, I don't agree with basing this script on exp
Don't you agree to move toxic to specs in this case?
Posted: Mon Oct 16, 2017 12:29 pm
djinghis
Newbie poster
Joined: 25 Sep 2014 Posts: 554
Dingfire wrote: People like toxic play for a while and then go AFK, I don't agree with basing this script on exp
I don't know the script but wouldn't it purely be based on exp points?, unless its got some strange coordinates check - but that doesn't necessarily mean afk as you can stand in the one place and repair/build or mine..
Posted: Tue Oct 17, 2017 1:03 am
Groentjuh
Site Admin
Joined: 20 Oct 2006 Posts: 618 Location: World > Europe > Benelux > The Netherlands > The hague
There is a lot of data python scripts can use.
For example: xp, x-, y-, z-coordinates, direction he is looking, weapon-accuracy data, data from chat(, so when he last send something).
If you use all that data, you cannot move, turn, shoot, get shoot, call votes and chat/chatteam. I cannot think of much useful you can do, while not doing that in Savage. Perhaps 'scouting'/observing while dead?
_________________
Posted: Tue Oct 17, 2017 7:08 am
Marbello
Newbie poster
Joined: 19 Sep 2008 Posts: 42
Will a script that checks 7+ variables (x,y,z,xp,direction,accuracy,chat..) of every player not impact server performance negatively? It appears to me that drk's and milka's solutions present the two extremes of the use-cost spectrum. Eventually we can find a balance!
Posted: Tue Oct 17, 2017 10:58 am
djinghis
Newbie poster
Joined: 25 Sep 2014 Posts: 554
yeah, sounds like a laggy method to me.
Posted: Tue Oct 17, 2017 12:09 pm
drk
Newbie poster
Joined: 20 Feb 2011 Posts: 370
Marbello wrote: Will a script that checks 7+ variables (x,y,z,xp,direction,accuracy,chat..) of every player not impact server performance negatively? It appears to me that drk's and milka's solutions present the two extremes of the use-cost spectrum. Eventually we can find a balance!
If you really need it I'd make simply to compare exp + x,y pos (in case of the dead body afk) once per 5 mins. That's enough, imo.
Posted: Tue Oct 17, 2017 7:48 pm
Marbello
Newbie poster
Joined: 19 Sep 2008 Posts: 42
drk wrote: Marbello wrote: Will a script that checks 7+ variables (x,y,z,xp,direction,accuracy,chat..) of every player not impact server performance negatively? It appears to me that drk's and milka's solutions present the two extremes of the use-cost spectrum. Eventually we can find a balance!
If you really need it I'd make simply to compare exp + x,y pos (in case of the dead body afk) once per 5 mins. That's enough, imo.
I'd be absolutely loving it. Trying to move afk's during a match to spec is very annoying as the other team often F2's. But well, we've been all in their shoes .
Posted: Wed Oct 18, 2017 6:24 am
Display posts from previous: All Posts 1 Day 7 Days 2 Weeks 1 Month 3 Months 6 Months 1 Year Sort by: Post Time Post Subject Author Ascending Descending