FGCon2021
  1. #1

    Hotkeyed Option Bug

    I used OptionsManager.registerOption2 to create an option TIME_ROUNDS.
    When I try to use this option via the hotkeys, I get the error Option (TIME) not registered. It seems to have an issue with underscores in options names.
    bmos' extensions
    he/him | Discord Tag: wil.thieme#3396

  2. #2
    Do you get the same error when you type in "\option TIME_ROUNDS <option>"? That should be what the option drag should be doing.

    JPG

  3. #3
    Quote Originally Posted by Moon Wizard View Post
    Do you get the same error when you type in "\option TIME_ROUNDS <option>"?
    Yes, same error:
    Code:
    Option (TIME) not registered
    when I run "/option TIME_ROUNDS slow"

    I have changed the option in that extension to TIMEROUNDS, so it's not a problem for me anymore. Regardless, I thought I should let you know.
    bmos' extensions
    he/him | Discord Tag: wil.thieme#3396

  4. #4
    Just looked; and the option command handler is parsing "words"; which is only alphanumeric and +-' characters.

    I can try adding _ and period to the "word" characters for that particular parse scenario.

    Regards,
    JPG

  5. #5
    It won't be available until the next CoreRPG update.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Joshua Stream Pre

Log in

Log in