project-fika / Fika-Plugin

Client-side changes to make multiplayer work
Other
90 stars 43 forks source link

[BUG] SPT message snow command applies for everyone but the person who issued the command. #78

Open bushtail opened 1 week ago

bushtail commented 1 week ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Be person A.
  2. Open friends list.
  3. Send message "itsonlysnowalan" to SPT.
  4. Play the 1-raid buffer.

Expected behavior Snow to be applied on raids person A hosts, and not on raids persons B or C host.

Screenshots Snow is not applied on raids hosted by person A. Snow is applied on raids hosted by persons B or C.

Log files Unfortunately the log files do not exist after a few alt+f4s and crashes. Server isn't mine, so I am unable to get any server logs.

Desktop (please complete the following information):

Additional context This issue was fixed upon restart. Entering the command again does not revert changes, though I remember this being the case with regular SPT as well.

bushtail commented 1 week ago

Thinking back this might have been a server issue.

ArchangelWTF commented 1 week ago

Having looked over the code in the SPT server I think I can answer this.

Due to the nature of SPT being more meant for singleplayer use "itsonlysnowalan" will trigger for everyone, so basically whoever just cleared a raid and whoever then goes next into raid will get snow.