NiGHT757 / AFKManager

A simple AFK Manager plugin for CS2.
56 stars 10 forks source link

[BUG] Kicked by AFK if joining directly from SPEC #8

Closed crashzk closed 10 months ago

crashzk commented 10 months ago

I'm connecting to the server and going straight in to spec, but even though I'm moving between the players' cameras, typing in chat, etc., I'm kicked off the server for still being AFK.

NiGHT757 commented 10 months ago

I'm connecting to the server and going straight in to spec, but even though I'm moving between the players' cameras, typing in chat, etc., I'm kicked off the server for still being AFK.

The are no checks if the player is AFK at SPEC, they simply cannot stay at SPEC for x amount of time.

crashzk commented 10 months ago

I'm connecting to the server and going straight in to spec, but even though I'm moving between the players' cameras, typing in chat, etc., I'm kicked off the server for still being AFK.

The are no checks if the player is AFK at SPEC, they simply cannot stay at SPEC for x amount of time.

Ok, even though I have access to the flag then I will still get kicked, right? In this case, I am an administrator and I was kicked while on SPEC.

NiGHT757 commented 10 months ago

I'm connecting to the server and going straight in to spec, but even though I'm moving between the players' cameras, typing in chat, etc., I'm kicked off the server for still being AFK.

The are no checks if the player is AFK at SPEC, they simply cannot stay at SPEC for x amount of time.

Ok, even though I have access to the flag then I will still get kicked, right? In this case, I am an administrator and I was kicked while on SPEC.

Do you have "SpecSkipFlag" configured? If yes, flag doesn't work properly?

crashzk commented 10 months ago

I'm connecting to the server and going straight in to spec, but even though I'm moving between the players' cameras, typing in chat, etc., I'm kicked off the server for still being AFK.

The are no checks if the player is AFK at SPEC, they simply cannot stay at SPEC for x amount of time.

Ok, even though I have access to the flag then I will still get kicked, right? In this case, I am an administrator and I was kicked while on SPEC.

Do you have "SpecSkipFlag" configured? If yes, flag doesn't work properly?

I believe it could be that... It's configured like this:

  "SpecSkipFlag": "@css/skipspec",
  "SkipFlag": "@css/skipafk"

I'm using the CSSharp group admin system, so I don't need to configure these two cvars in the admin group itself, or change this cvar to @css/vip for example for it to work, correct?

NiGHT757 commented 10 months ago

I'm connecting to the server and going straight in to spec, but even though I'm moving between the players' cameras, typing in chat, etc., I'm kicked off the server for still being AFK.

The are no checks if the player is AFK at SPEC, they simply cannot stay at SPEC for x amount of time.

Ok, even though I have access to the flag then I will still get kicked, right? In this case, I am an administrator and I was kicked while on SPEC.

Do you have "SpecSkipFlag" configured? If yes, flag doesn't work properly?

I believe it could be that... It's configured like this:

  "SpecSkipFlag": "@css/skipspec",
  "SkipFlag": "@css/skipafk"

I'm using the CSSharp group admin system, so I don't need to configure these two cvars in the admin group itself, or change this cvar to @css/vip for example for it to work, correct?

If you need to skip these flags for check, you need to add them for every admin u want in admins.json file from CSS. Make sure admins have these flags from "SpecSkipFlag" and / or "SkipFlag".