JasXSL / GoThongs

An SL game with thongs and lechery!
http://jasx.org/#index/9
MIT License
9 stars 10 forks source link

GoThongs HUD does not remove OnAttach Folder when detached #402

Open PowerOfVoid opened 3 years ago

PowerOfVoid commented 3 years ago

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

To Reproduce Steps to reproduce the behavior:

  1. Verify that the GoThongs HUD is not being worn.
  2. Create or locate an RLV folder at #RLV/JasX/onAttach/GoThongs or #RLV/JasX/onAttach/GoT
  3. Add some wearable stuff to that folder, or verify that it contains wearable stuff
  4. Verify that you are not wearing any of that stuff
  5. Wear the GoThongs HUD
  6. Observe that the contents of that RLV folder are now worn
  7. Wait a few seconds just to be sure
  8. Remove the GoThongs HUD
  9. Observe that you are still wearing the stuff in that folder
  10. Wait a few seconds just to be sure

Expected behavior The GoThongs HUD should remove its onAttach folder when it is removed

Settings:

PowerOfVoid commented 3 years ago

The pertinent package appears to be got/classes/packages/got Evts.lsl:

attach(key id){
        if(id == NULL_KEY){
            llOwnerSay("@detachall:JasX/onAttach/GoThongs=force");
            llOwnerSay("@detachall:JasX/onAttach/GoT=force");

            llRegionSayTo(llGetOwner(), 1, "jasx.onattach GoThongs, 0");
            llRegionSayTo(llGetOwner(), 1, "jasx.onattach GoT, 0");
        }
    }

And I have no idea why it isn't working. My HUD contains the same code (I checked).