Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder locks is broken #1111

Closed
NikkiLacrima opened this issue Oct 10, 2024 · 0 comments
Closed

Folder locks is broken #1111

NikkiLacrima opened this issue Oct 10, 2024 · 0 comments
Assignees

Comments

@NikkiLacrima
Copy link
Contributor

Follow up on #1040

Collar version 8.3

Setting and clearing a folder lock in RLV/# folders/Browse serveral times should set and clear that restriction, but that only works the first time.

What steps does someone need to take to reproduce the problem?

  • Open the RLVa/Restrictions window.
  • In collar RLV/# folders/Browse/ ... / Locks ... set and clear the same restriction several times.
  • Repeat with some other restriction.

Underlying issue is that oc_folders_locks uses link message RLV_CMD to set folder locks, and clears them by directly issuing llOwnerSay("@detachthis" ... ) . This clears the folder lock but oc_rlvsys still has it marked as applied and wont reapply it.
The solution is to use link message RLV_CMD both to set and clear locks and never directly issue llOwnerSay("@ commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants