Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script opengrid - sim info
#1
Brick 
SIM Info



Code:
default
{
    state_entry()
    {
        llSetTimerEvent( 5.0 );
        // llSay(0, "Grid Login Uri= "+osGetGridLoginUri());
    }

    timer()
    {
        list Stats = osGetRegionStats();
        string s = osGetSimulatorVersion() + "\n";
        s += (string)osGetSimulatorMemory() +" Memory by the OpenSim Instance\n";
        s += "Sim FPS: " + (string) llList2Float( Stats, STATS_SIM_FPS ) + "\n";
        s += "Physics FPS: " + (string) llList2Float( Stats, STATS_PHYSICS_FPS ) + "\n";
        s += "Time Dilation: " + (string) llList2Float( Stats, STATS_TIME_DILATION ) + "\n";
        s += "Root Agents: " + (string) llList2Integer( Stats, STATS_ROOT_AGENTS ) + "\n";
        s += "Child Agents: " + (string) llList2Integer( Stats, STATS_CHILD_AGENTS ) + "\n";
        s += "Total Prims: " + (string) llList2Integer( Stats, STATS_TOTAL_PRIMS ) + "\n";
        s += "Active Scripts: " + (string) llList2Integer( Stats, STATS_ACTIVE_SCRIPTS ) + "\n";
        s += "Script LPS: " + (string) llList2Float( Stats, STATS_SCRIPT_LPS );
        llSetText( s, <0.0,1.0,0.0>, 1.0 );
    }
}
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  script Opengrid - avatar key and name speaker trainz 1 689 12-14-2011, 05:21 AM
Last Post: Anarchist_Labs
Photo Script Opensim - Texture Carte Map trainz 1 681 12-14-2011, 05:18 AM
Last Post: Anarchist_Labs
Star Script OPENGRID - Paticle Fire Orange trainz 1 904 11-12-2011, 04:04 AM
Last Post: LordJames
  Script Opensim - Texture UUID trainz 0 638 11-05-2011, 08:59 PM
Last Post: trainz
Lightbulb Script Opensim - Door Rot90° trainz 0 587 11-05-2011, 08:26 PM
Last Post: trainz
Lightbulb Script opengrid - Door with password trainz 0 544 11-05-2011, 08:02 PM
Last Post: trainz
Bug script opengrid - Land info script trainz 0 563 11-05-2011, 07:54 PM
Last Post: trainz
  Script Opengrid - Group inviter trainz 0 616 11-05-2011, 07:41 PM
Last Post: trainz
Music Script Opengrid - Parcel Audio System trainz 0 449 11-05-2011, 07:30 PM
Last Post: trainz
Rainbow Script Opengrid - Teleport collision trainz 0 455 11-05-2011, 12:44 PM
Last Post: trainz



Users browsing this thread: 1 Guest(s)