Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-8426] Feature Request: llGetEnv() parameters "last_region_start" & "next_region_stop". #16032

Open
4 tasks
sl-service-account opened this issue Feb 9, 2015 · 0 comments

Comments

@sl-service-account
Copy link

sl-service-account commented Feb 9, 2015

Information

Please add the following two parameters to the llGetEnv() http://wiki.secondlife.com/wiki/LlGetEnv function:

"last_region_start" - returns an integer that is the unix time of the last region start time.
"next_region_stop" - returns an integer that is the unix time of the time the region will be going down. -1 if the region is not in countdown mode.

Benefits include:

  • Scripted apps can know how long a region has been running.

    Handy for land owners and for region performance diagnosis.

  • Scripted apps can know when a region is going to go down.

    This can be handy for teleport apps that can teleport their users to other preset locations especially if they have the viewer minimized or are AFK.
    Can also be handy for apps that can make preparations prior to the region stopping, such as game apps that can save their settings or state or block game starting. This is especially true with skill games.

    Thanks for any consideration.

    This is partly a refiling of SCR-285 since it is old and was never acknowledged.
    Also see https://jira.secondlife.com/browse/SCR-334 for more llGetEnv() parameter requests.

Links

Related

Original Jira Fields
Field Value
Issue BUG-8426
Summary Feature Request: llGetEnv() parameters "last_region_start" & "next_region_stop".
Type New Feature Request
Priority Unset
Status Accepted
Resolution Accepted
Reporter Lucia Nightfire (lucia.nightfire)
Created at 2015-02-09T07:05:21Z
Updated at 2023-04-26T15:04:40Z
{
  'Business Unit': ['Platform'],
  'How would you like the feature to work?': 'Please add the following two parameters to the llGetEnv() function:\r\n\r\n"last_region_start" - returns an integer that is the unix time of the last region start time.\r\n"next_region_stop" - returns an integer that is the unix time of the time the region will be going down. -1 if the region is not in countdown mode.\r\n\r\nBenefits include:\r\n\r\n- Scripted apps can know how long a region has been running.\r\nHandy for land owners and for region performance diagnosis.\r\n\r\n- Scripted apps can know when a region is going to go down.\r\nThis can be handy for teleport apps that can teleport their users to other preset locations especially if they have the viewer minimized or are AFK.\r\nCan also be handy for apps that can make preparations prior to the region stopping, such as game apps that can save their settings or state or block game starting. This is especially true with skill games.\r\n\r\nThanks for any consideration.\r\n\r\nThis is partly a refiling of SCR-285 since it is old and was never acknowledged.\r\n',
  'Severity': 'Unset',
  'Target Viewer Version': 'viewer-development',
  'Why is this feature important to you? How would it benefit the community?': '?',
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant