Jump to content

HORRIBLE LAG (Players Spamming PNPC commands)

Closed 1.6.1 1.6.11

Vergbergler
Vergbergler

Posted

Players on my server have found out they can cause HORRIBLE LAG on the server by spamming PNPC GUI buttons such as "Gather Berries".

I've reduced the searching range to 40m but it still lags the server when abused.

Could we get a cooldown or waiting period between bot requests per player?
Could you cooldown time be configurable through the config file as well?

For example:
Player is spamming "Gather Berries" but they can only send the command once every 5 seconds.

walkinrey

Posted

thank you for the feedback
can you share your config? i need to see which commands affect your server's performance
also there should be some logs about these lags in the console, can you share them also

walkinrey

Posted

thank you for the feedback
can you share your config? i need to see which commands affect your server's performance
also there should be some logs about these lags in the console, can you share them also

Vergbergler

Posted

None of your commands are broken. It's when players are using them over and over very quickly is causing the problem.

walkinrey

Posted

what function they are spamming? auto-farm, auto-pickup?

Vergbergler

Posted

All of them seem to do it. The users are clicking the GUI buttons really fast. I tested it with auto-pickup mushrooms.

I've attached my current config if you would like to take a look.

PersonalNPC.json

walkinrey

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.6.11

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.