Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update m_fLastMovement when player sent message #880

Closed

Conversation

JUNESYNGOTOFLEX
Copy link

No description provided.

@Vaqtincha
Copy link
Contributor

saying is not movement 😄

@JUNESYNGOTOFLEX
Copy link
Author

saying is not movement 😄

if it is used for mp_autokick, shouldn't chatting mean that the player is in the game?

@Vaqtincha
Copy link
Contributor

@JUNESYNGOTOFLEX The (bad) player will launch a script or autoclicker and flood the chat (every n seconds) and the game will not kick him. Do you really need this?

@JUNESYNGOTOFLEX
Copy link
Author

@Vaqtincha I think you're right, it's still better to implement it through the 3rd party, on some mods it is necessary

@Vaqtincha
Copy link
Contributor

@JUNESYNGOTOFLEX you can check m_flLastTalk

@justgo97
Copy link

@JUNESYNGOTOFLEX The (bad) player will launch a script or autoclicker and flood the chat (every n seconds) and the game will not kick him. Do you really need this?

By the same logic a bad player can make script to trigger something to reset m_fLastMovement
I think editing this line https://github.com/s1lentq/ReGameDLL_CS/blob/b53ebb203794446b6ccb35d0ca975b6eef3de93d/regamedll/dlls/player.cpp#L4563 to take into account m_flLastTalk would be ideal, it would be annoying to get kicked while writing a long essay about whatever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants