Page 9 of 9
Re: Scripts Library
Posted: Tue Jul 19, 2016 2:56 pm
by Selby Evans
I have tried to use hypergates in the past. Some did work in Kitely, but were unreliable. Maria Korolov may have more information--she has had a number of hypergates on her place and has tried to get them to work. I have not checked the current status.
Check here:
http://www.hyperica.com/2014/07/hyperica/
Re: Scripts Library
Posted: Tue Jul 19, 2016 3:49 pm
by Graham Mills
Worked OK for me in all three modes with Firestorm 4.7.7 (48706). As Dot said elsewhere, the hypergrid teleport may require a couple of touches (I got a "destination no longer exists"-type error first time). I haven't checked it with any other viewers. The script can be converted to a gate by changing touch_start to collision_start but, of course, it's very basic in many ways compared to other teleport devices out there.
Re: Scripts Library
Posted: Tue Jul 19, 2016 7:22 pm
by Freda Frostbite
I actually tried going to Hyperica last night for this very purpose and could not get there. I could get to Hyperica north or central, but then could not get from there to Hyperica, so I suspect something is up with that region. For now, I am giving up on Hypergates and using the opensimworld beacon instead. MUCH more reliable. I have noted that gates do not work consistently in any of the places that have them installed. A few even have signs to that affect.
MP3 playlist jukebox using osSetParcelMediaURL with timer
Posted: Sat Mar 25, 2017 11:57 am
by CaitanyaRupa Navarathna
Okay adding an MP3 Jukebox - plays a playlist of MP3 hosted on the internet
Code: Select all
// this script will let you play a list of MP3s that are hosted on the web
// it was created by mutual work with others on opensim - not sure who started it but it has evolved and so is full perm - please share it and don't hoard - it's BAD KARMA!
// first you copy and paste the names of the files into the list songs (make sure you have quotes surrounding each filename for example "file.mp3"
list songs = ["file1.mp3","file2.mp3","file3.mp3","file4.mp3","file5.mp3","file6.mp3","file7.mp3"];
list songlengths = [123,234,150,245,332,332,281];
// time needs to be in seconds - so if song is 2 minutes 30 seconds then that is 2 (minutes) X 60 (seconds per minute) + 30 (seconds) = 150
// times should match sequence of filenames they match
string path = "http://myurlhere/folder/folder/etc/";
// add your URL to the string path = "http://myurlhere/folder/folder/etc/"
integer currentsong = 0;
default
{
on_rez(integer start_param)
{
// Restarts the script every time the object is rezzed
llResetScript();
}
state_entry()
{
integer currentsong = 0;
llSetTimerEvent(0.01);
}
timer()
{
osSetParcelMediaURL(path + llList2String(songs, currentsong));
llSetTimerEvent(llList2Float(songlengths, currentsong));
currentsong = currentsong + 1;
if (currentsong > 6)
//count the number of files and subtract 1 - counting starts at 0 - so 0,1,2,etc - add this to the currrentsong > #of songs minus 1
{
currentsong = 0;
}
}
}