nekiro / TFS-1.5-Downgrades

Alternative forgottenserver versions for older protocols support
72 stars 83 forks source link

Invite guests (Aleta sio) also gives permissions to open doors #97

Closed Hayvosh closed 2 years ago

Hayvosh commented 2 years ago

Protocol version 7.72

Describe the bug When someone is invited you your house as guest only (aleta sio), they also gain the permissions to open all doors and counters. This makes it impossible for people owning shop houses to invite anyone to their shop, as they will gain access to all doors and counters, making it possible to steal other items.

This is something only sub-owners is supposed to have.

To Reproduce Steps to reproduce the behavior:

  1. Go to player owned house or shop
  2. Use the invite guest spell (aleta sio)
  3. Add any other character to the guest list and save it.
  4. With the invited character, you can now open all doors even tho you just are a guest.

Expected behavior Invited guests are only supposed to gain access to areas alredy open (doors).

Hayvosh commented 2 years ago

Found the problem... error in spell