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

Add packets-per-second measuring to DME #44

Open
hashsploit opened this issue Dec 31, 2020 · 0 comments
Open

Add packets-per-second measuring to DME #44

hashsploit opened this issue Dec 31, 2020 · 0 comments
Labels
enhancement New feature or request low-priority Low priority request Lua Related to the Lua plugin API

Comments

@hashsploit
Copy link
Owner

Add a feature to Clank's DME server to measure the packets-per-second between players in a game world.

This would be useful as it can be used to check for "frame limit disabling" (PCSX2) or cheating via packet manipulation. This value should be exposed to the Lua plugin API along with other player information. The following values should be considered in a Lua plugin that handles packets-per-second moderation:

  • pps_lower_limit - The lower bound of normal packets-per-second expected. (this will probably be 0 unless the client is expected to never have hick-ups).
  • pps_upper_limit - The upper bound of normal packets-per-second expected. (this might be different per title and should be a high value at first for example 100 and then lowered slowly each test until it leaves enough room for some expected latency).
  • pps_maximum - The absolute hard maximum number of packets a client may send. (this might be used to kick a player and log a WARN message to the console for sys admins to review).

Anything outside the pps_lower_limit and pps_higher_limit bounds should be considered abnormal client behavior, however this also depends on client latency. We want to try to avoid flagging players who are lagging because of poor internet connectivity. Where the pps_maximum value is set to a high value that is triggered only when we are certain the player is modifying the game's normal functionality.

@hashsploit hashsploit added enhancement New feature or request low-priority Low priority request Lua Related to the Lua plugin API labels Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-priority Low priority request Lua Related to the Lua plugin API
Projects
None yet
Development

No branches or pull requests

1 participant