Jump to content

[SOLVED] llSetPrimMediaParams seems to have stopped.


Anna Nova
 Share

You are about to reply to a thread that has been inactive for 1533 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I have a script in my Off World visitor logger, that uses llSetPrimMediaParams to access a small database on my server.

It has worked fine for 3 years, but recently, not sure when it stopped, it doesn't work.  Any ideas why?

string offgridstore = "https://xxxxxxxxxx/";   //this is my server, redacted for forum question.
string ogsRead = "vislog3.php";
integer primFace = 0;
integer scanInterval = 60;
integer seq; // sequence number for unique URLs

displayURL (string URL)
{
        llSetPrimMediaParams(primFace,         
            [PRIM_MEDIA_AUTO_PLAY,TRUE,      // Show this page immediately
             PRIM_MEDIA_CURRENT_URL, URL,
             PRIM_MEDIA_HOME_URL, URL,     // The url if they hit 'home'
             PRIM_MEDIA_HEIGHT_PIXELS,512,   // Height/width of media texture will be
             PRIM_MEDIA_WIDTH_PIXELS,1024,   //   rounded up to nearest power of 2.
             PRIM_MEDIA_PERMS_INTERACT,PRIM_MEDIA_PERM_NONE,
             PRIM_MEDIA_PERMS_CONTROL,PRIM_MEDIA_PERM_NONE]
             );
}               

default
{
    state_entry()
    {
        float seed = llFrand(10.00);
        seq = (integer)(seed*1000000);
        llSay(0, "Vistor Logger Off Grid Starting..."+ (string)seq );
        llOwnerSay(offgridstore + ogsRead );
        displayURL( offgridstore + ogsRead + "/?r=" + (string)(++seq) );
        llSetTimerEvent(scanInterval);
    }
    
    timer()
    {
        displayURL( offgridstore + ogsRead + "/?r=" + (string)(++seq) );
    }
}

 

Edited by Anna Nova
typo
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1533 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...