danielkrupinski / Osiris

Cross-platform game hack for Counter-Strike 2 with Panorama-based GUI.
MIT License
3.32k stars 962 forks source link

SUGGESTION Anti AFK #333

Closed wieisstimpee closed 5 years ago

wieisstimpee commented 5 years ago

will rotate circles in order to prevent getting kicked for inactivity.

sirxsniper commented 5 years ago

Up for it !

danielkrupinski commented 5 years ago

Do you know after what time of inactivity server kicks you?

chovss commented 5 years ago

From my experience moving your mouse doesn't prevent you from being kicked only character movements

wieisstimpee commented 5 years ago

Do you know after what time of inactivity server kicks you?

unsure, but i would say about every 5 minutes or so?

wieisstimpee commented 5 years ago

From my experience moving your mouse doesn't prevent you from being kicked only character movements

i mean if he can make the mouse move would moving back and forward be much harder?

danielkrupinski commented 5 years ago

I've checked how server decides to kick player and it looks like server does not take into account:

Instead it counts time since last cmd->buttons change and kicks player if duration is too long.

wieisstimpee commented 5 years ago

I've checked how server decides to kick player and it looks like server does not take into account:

  • player view angles change
  • player position change
  • player mouse movement

Instead it counts time since last cmd->buttons change and kicks player if duration is too long.

Do you think you'll be able to create a anti-afk for that or will that be too hard?

danielkrupinski commented 5 years ago

Added, but not tested.

wieisstimpee commented 5 years ago

@danielkrupinski Thanks, will test it out now! On another note, I saw you added something that had to do with AntiAim are you planning on adding the actual feature or are you working on that? I saw a lot of suggestions about that.

WeasselDW commented 5 years ago

Please close