broken AFK kickign system.
Re: broken AFK kickign system.
Did someone understand something?
-
- Former Server Admin
- Posts: 2311
- Joined: Sat Nov 12, 2011 5:09 am
Re: broken AFK kickign system.
I tried but I couldn't..Peter Brev wrote:Did someone understand something?
Aya :3
-
- Server Admin
- Posts: 243
- Joined: Fri Oct 19, 2012 5:13 pm
Re: broken AFK kickign system.
well basicaly i sed that after 5 rounds i THINK that they stoped gainign hours and admin stats BUT after map change for another 5 rounds there ranks go up, this can really rack up when theres only 3 ppl on (1 afk) and map gets rtved ofton. 2nd the afkers when there are alot fuck uup rtv and suld NOT count againt a person who haent rtved.Aya wrote:I tried but I couldn't..Peter Brev wrote:Did someone understand something?
Re: broken AFK kickign system.
I still can't get it.
-
- Server Admin
- Posts: 243
- Joined: Fri Oct 19, 2012 5:13 pm
Re: broken AFK kickign system.
ok in fucking shortest easest way i can think of i was on today and quckly had 11 in admin minutes next map he racked to 29 next map he racked to 36 every map change means you are rewarded for 5 rounds of AFK. i dont know how to explain it simpeler i can upload screens.Peter Brev wrote:I still can't get it.
http://steamcommunity.com/sharedfiles/f ... =200317797
http://steamcommunity.com/sharedfiles/f ... =200317842
http://steamcommunity.com/sharedfiles/f ... =200317866
http://steamcommunity.com/sharedfiles/f ... =200317893
i had screenshots of when he had 11 minutes but u seemed to of lost those while that is not alot that is within 30 mins. imagine what it racks up to when you got rtv happy peaple and hes afk for hours at end.
and to explain them fuckign with rtv simple explanation is imagine theres 8 players on only 3 are active and they all rtv now what do we do about the other 5 afk players that are not there to rtv.
-
- Site Admin
- Posts: 4390
- Joined: Fri Apr 09, 2010 3:20 pm
- Location: United States
Re: broken AFK kickign system.
I understood what you were saying before but thats just the way sourcemod is. The "OnPlayerPutInServer" function is ran everytime you join the server. This includes on map changes (when the map loads, its like u just joined the server), so you AFK value is set to "false" again.
The only way to fix this would be to have an external database or keyvalue file keep track of who was AFK on the previous map, and apply/continue that setting on the next map. This is sort of why models and effects settings dont stay on map changes. An external database would be needed for this also.
I'm sort of in the mood for coding something so ill see what i can do.
Edit: Updated plugins... should not count up at the start of each round if you are AFK. Also, as for the rtv issue, that's a default SM plugin, so there's nothing i can do about that at the moment.
The only way to fix this would be to have an external database or keyvalue file keep track of who was AFK on the previous map, and apply/continue that setting on the next map. This is sort of why models and effects settings dont stay on map changes. An external database would be needed for this also.
I'm sort of in the mood for coding something so ill see what i can do.
Edit: Updated plugins... should not count up at the start of each round if you are AFK. Also, as for the rtv issue, that's a default SM plugin, so there's nothing i can do about that at the moment.
-
- Server Admin
- Posts: 243
- Joined: Fri Oct 19, 2012 5:13 pm
Re: broken AFK kickign system.
yea i was explaining to those who dont becuase i guess my english still sux .ant_8490 wrote:I understood what you were saying before but thats just the way sourcemod is. The "OnPlayerPutInServer" function is ran everytime you join the server. This includes on map changes (when the map loads, its like u just joined the server), so you AFK value is set to "false" again.
The only way to fix this would be to have an external database or keyvalue file keep track of who was AFK on the previous map, and apply/continue that setting on the next map. This is sort of why models and effects settings dont stay on map changes. An external database would be needed for this also.
I'm sort of in the mood for coding something so ill see what i can do.
Edit: Updated plugins... should not count up at the start of each round if you are AFK. Also, as for the rtv issue, that's a default SM plugin, so there's nothing i can do about that at the moment.