Pryaxis/TShock

Players can turn campfires on and off even if the campfire is in a protected region

ZakFahey opened this issue · 4 comments

  • TShock version: a fork - https://github.com/Killia0/TShock. I have not yet tested it on a vanilla build of TShock, but I assume that it would happen similarly
  • TShock build number (if known): N/A

Reproduction steps (if applicable)?

  1. Place a campfire inside a protected region
  2. As a non-privileged user, try to switch the campfire on or off

Any stack traces or error messages (if known)?

No

Any screenshots?

N/A

Any log messages from files that end in .log or .txt? What are the last 100 log messages from the server console?

Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
reload

This is the logs I captured, but the player "t e s t" was not setting the campfire. I didn't see any logs that were logged that were actually relevant to the problem.

What plugins and what versions of those plugins are you running?

For all plugins, I have the latest version

  • The internal Penguin Games plugins
  • BindTools
  • EssentialsPlus
  • FakeProvider
  • Configurations
  • GhostPlayers
  • InvSee
  • RegionVision
  • SmartRegions
  • SSCManager
  • TUI
  • WorldEdit (Anzhelika fork)

If I didn't provide any logs this issue, please close my issue immediately. I'm sorry for the inconvenience.

Can you try leave the server and re-join to see if it's actually toggled?

Yes, it stays toggled when you leave and rejoin the server.

Unable to reproduce. I tested the spawn and a protected region, and both were rejected as expected. Are you sure the region is protected and the player has no privilege?

@ZakFahey please test it on this server program before creating an issue on this repository... make a issue on the FORK