#(somtoday) Ratelimit

19 messages · Page 1 of 1 (latest)

thorn smelt
gusty solarBOT
#

(somtoday) Ratelimit

gusty solarBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

eager hearth
#

!ddebug

#

!debug

upper plinthBOT
# eager hearth !debug
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

thorn smelt
violet whale
#

This is 2 errors concerning ddiscordbot, and 1 about trying to work with 2 locations from different worlds.

#

!c ratelimit

upper plinthBOT
# violet whale !c ratelimit
Group

queue

Syntax

ratelimit [<object>] [<duration>]

Short Description

Limits the rate that queues may process a script at.

Description

Limits the rate that queues may process a script at.
If another queue tries to run the same script faster than the duration, that second queue will be stopped.

Note that the rate limiting is tracked based on two unique factors: the object input, and the specific script line.
That is to say: if you have a 'ratelimit <player> 10s', and then a few lines down a 'ratelimit <player> 10s',
those are two separate rate limiters.
Additionally, if you have a 'ratelimit <player> 10s' and two different play...

thorn smelt
#

It's not about the error, but more on how to make the ratelimit individual

violet whale
#

Please provide a debug as instructed. Be sure to set your debug key to true in your script before you record a debug.

desert agate
#

Look at the meta/examples - where the ratelimit is matters, because the script only stops (gets rate limited) once it reaches the ratelimit

#

I.e. your ratelimit needs to be above the stuff you want to rate limit

#

But should also resolve these errors ^, can provide a debug if you need help with that

#

Otheriwse -

obsidian gullBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@thorn smelt