Winded / RagdollMover

A tool for Garry's Mod to make ragdoll posing easier.
6 stars 4 forks source link

Hosting providers antiexploit is flagging the addons excessive use of rgmSyncClient #28

Closed dev-cipher closed 9 months ago

dev-cipher commented 10 months ago

Everytime the ragdoll mover is being used this gets spammed in the server console:

Choke limit reached for [264:rgmSyncClient]

Would it be possible to optimise the network variable usage of the addon?

penolakushari commented 10 months ago

Yeah, the client messages were made as a way to get proper nonphys bone positions once their manipulation was introduced, and I didn't have much of a good idea of what I was doing back then. I am currently working on optimizing the thing, and probably sending a message once another bone was selected could be better, through getting its relative position from parent bone and such, would need to experiment with how these will work. Though I feel like the tool still would be somewhat of a hazard to public servers

penolakushari commented 10 months ago

Although it also does use another function every tick that does sync variables from server to client, does that present an issue too?

dev-cipher commented 10 months ago

If it can sync the bone positions with the server once the client has saved that bone position that would be better on the networking side of things as well. Would be less network traffic for the server. Depends on which variables are being synced but that shouldn't present an issue. The anti-exploit is only flagging the rgmSyncCLient being called every tick. Would really appreciate it if it can be optimized in a way that prevents that. Its a really really great addon that my event team can use to setup ragdolls for events and such on the server :)

penolakushari commented 9 months ago

This will be up in the future update, already happened to implement and it seemed to work fine so far. Got some more stuff to add and polish before all of it would be ready though

dev-cipher commented 9 months ago

Aight cool. I look forward to the update!

penolakushari commented 9 months ago

https://github.com/Winded/RagdollMover/commit/967442da2d2be02dfdb76c6c66ba1af67f7b1959

Would need to do some testing before putting it up on workshop though