toppev / strikepractice-public

StrikePractice bug tracking and some free resources
2 stars 3 forks source link

[BUG] Brackets event kits #18

Closed d4uts closed 1 year ago

d4uts commented 1 year ago

Describe the bug VERSION 3.7.2-SNAPSHOT (latest at time of posting) Selecting a kit, in this case "OneHit" will always revert to nodebuff even when the permission is set to true. Some other donators will occasionally

To Reproduce Steps to reproduce the behavior:

  1. Host a brackets event through the selector or /hostevent brackets
  2. Select another kit other than Nodebuff with the permission node strikepractice.hostevent.brackets set to true.
  3. You can see that event kit is still nodebuff.

me testing the issue on a donator account: video: https://streamable.com/mk5bpb

my donator having the issue: https://imgur.com/a/ky7iitj

Expected behavior The event uses the selected kit from the user.

Screenshots Permission for the rank hosting the event https://i.imgur.com/9Da5PG8.png Inherited permission node from the previous rank https://i.imgur.com/fy9dfx8.png

Errors and console logs Event starting with debug mode enabled & an error https://pastebin.com/cKTkAMK3

Checklist

Versions:

Other plugins Please contact dauts#0844 for details related to plugins.

toppev commented 1 year ago

Does this happen when the event "auto-starts" due to enough players? There seems to be a bug in that case. Basically, when "brackets.auto-start" players join, it will start in "brackets.auto-start-after-seconds" second (the auto start is for daily scheduled events and partially a legacy feature before /hostevent and /events were added) I'll fix that but as a workaround, you can set

# in config.yml
brackets:
  auto-start: 999

If this is the case, this should now be fixed in devbuilds (available on Discord) and in next release

toppev commented 1 year ago

should be fixed nowadays