Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008602opensim[REGION] Scripting Enginepublic2019-10-19 07:142019-10-19 11:52
Reporterdjphil 
Assigned Todjphil 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformPCOSWindowsOS Version10
Product Version0.9.0.1 
Target VersionFixed in Version 
Summary0008602: [FEATURE REQUEST] osGetProfileServerURI
DescriptionLike osGetGridGatekeeperURI, osGetGridHomeURI and osGetGridLoginURI

It would be nice to have osGetProfileServerURI

Of course we can already get it with xml request but it's tedious.
It would be much simpler with this new feature.

Thank you in advance.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
Script Engine
Environment.NET / Windows64
Mono VersionNone
ViewerFirestorm
Attached Files

- Relationships

-  Notes
(0035737)
UbitUmarov (administrator)
2019-10-19 07:33

Sorry no use for that on scripts.
Those only relevant for the respective internal sub systems.
(0035738)
djphil (reporter)
2019-10-19 07:36

Error, there is ...

For example, to display Profile Picture or FirstLife Picture with json rpc method avatar_properties_request
(0035739)
djphil (reporter)
2019-10-19 07:39
edited on: 2019-10-19 07:39

Returned values are:

[05:03] Object: 6) 0 = jsonrpc
[05:03] Object: 6) 1 = 2.0
[05:03] Object: 6) 2 = id
[05:03] Object: 6) 3 = 525e545f-e7e5-4141-a4d1-48ea39f072a7
[05:03] Object: 6) 4 = result
[05:03] Object: 6) 5 = {"
    "UserId" : "3d3e42e9-9307-2ac7-11b6-c35c46794fa8",
    "WebUrl":"http://my.osgrid.org/?name=dj.phil", [^]
    "WantToMask":67,
    "SkillsMask":59,
    "Language":"lsl, php, html, css, javascript",
    "ImageId":"628835c4-60af-47cd-bb6b-02a86cabbb0c",
    "AboutText":"Musique - Informatique - WebDesign - 3D",
    "FirstLifeImageId":"c4675d39-514f-4407-b84d-a5a491e6eebb",
    "FirstLifeText":"Musique - Informatique - WebDesign - 3D"
}


(0035740)
UbitUmarov (administrator)
2019-10-19 07:48

you are asking to expose region<->grid URLs corresponding to protocols that may change.
(0035741)
djphil (reporter)
2019-10-19 07:51
edited on: 2019-10-19 07:56

Well he is already ...

Actually i get ProfilServerURI like this:

string request = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>
    <methodCall>
        <methodName>get_server_urls</methodName>
        <params>
            <param>
                <value>
                    <struct>
                        <member>
                            <name>userID</name>
                            <value>
                                <string>" + uuid + "</string>
                            </value>
                        </member>
                    </struct>
                </value>
            </param>
        </params>
    </methodCall>
";

and response is:

<?xml version="1.0" encoding="utf-8"?>
<methodResponse>
    <params>
        <param>
            <value>
                <struct>
                    <member>
                        <name>SRV_ProfileServerURI</name>
                        <value><string>http://services.osgrid.org:80/</string></value> [^]
                    
</member>
                    <member>
                        <name>SRV_AssetServerURI</name>
                        <value><string>http://assets.osgrid.org:80/</string></value> [^]
                    
</member>
                    <member>
                        <name>SRV_IMServerURI</name>
                        <value><string>http://hg.osgrid.org:80/</string></value> [^]
                    
</member>
                    <member>
                        <name>SRV_InventoryServerURI</name>
                        <value><string>http://inventory.osgrid.org:80/</string></value> [^]
                    
</member>
                    <member>
                        <name>SRV_FriendsServerURI</name>
                        <value><string>http://hg.osgrid.org:80/</string></value> [^]
                    
</member>
                    <member>
                        <name>SRV_GatekeeperURI</name>
                        <value><string/></value>
                    </member>
                    <member>
                        <name>SRV_HomeURI</name>
                        <value><string>http://hg.osgrid.org:80/</string></value> [^]
                    
</member>
                </struct>
            </value>
        </param>
    </params>
</methodResponse>

As you can see, many other things are exposed ...

(0035742)
UbitUmarov (administrator)
2019-10-19 08:05

already answered on my first post here
(0035743)
djphil (reporter)
2019-10-19 08:08

Shame ... but i understand ;)
(0035744)
melanie (administrator)
2019-10-19 11:52

That request is only valid if the grid is HG enabled. On a grid that is not HG enabled, those URLs are not discoverable.

- Issue History
Date Modified Username Field Change
2019-10-19 07:14 djphil New Issue
2019-10-19 07:33 UbitUmarov Note Added: 0035737
2019-10-19 07:36 djphil Note Added: 0035738
2019-10-19 07:39 djphil Note Added: 0035739
2019-10-19 07:39 djphil Note Edited: 0035739 View Revisions
2019-10-19 07:48 UbitUmarov Note Added: 0035740
2019-10-19 07:51 djphil Note Added: 0035741
2019-10-19 07:56 djphil Note Edited: 0035741 View Revisions
2019-10-19 08:05 UbitUmarov Note Added: 0035742
2019-10-19 08:08 djphil Note Added: 0035743
2019-10-19 08:08 djphil Status new => resolved
2019-10-19 08:08 djphil Resolution open => fixed
2019-10-19 08:08 djphil Assigned To => djphil
2019-10-19 11:52 melanie Note Added: 0035744


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker