Jump to content

Deep Semaphore

Resident
  • Posts

    33
  • Joined

  • Last visited

Everything posted by Deep Semaphore

  1. Hello, We are currently looking for LSL and PHP developers for our virtual learning environment development efforts. Please get in touch with us so that we can discuss this opportunity in further details. Send me an IM and we can take it from there. Deep Semaphore
  2. May the metaverse continue to thrive, all platforms coexist peacefully :) For more information, go here: http://rezmelacomp.wordpress.com/ EDIT: For a quick video explaining RezMela, check these clips: https://www.youtube.com/watch?v=0xVEQajPTBo https://www.youtube.com/watch?v=y7NxJs_HteA Best wishes
  3. Yes Rolig, you are right. I also missed a llRez statement in this code. I tried playing with it ... for about 10 mins ... then gave up. Was just trying to find out what Philip Rosedale was thinking when he built it.
  4. Hello, I tried but could not get it to work. Anyone wants to try? The code is available here: http://www.foxsan.com/scripts/tag/lego/ above site says: A fun toy and made by Philip Linden! Hours of very fun, and pleasure. Click and drag the block to position. Block will snap into position when near other blocks. Click and quickly release to make a new block above the old. vector pos; vector found_pos; vector start_touch_pos; vector diff; vector scale; string name_detected; vector PULSE_COLOR = <1,1,1>; float GRAB_ALPHA = 0.5; float INC = 2.0; // Grid spacing for snap, scale float MAX_INC = 2.5; // Biggest dimension list colors = [<1,0,0>, <0,1,0>, <0,0,1>, <0,1,1>, <1,0,1>, <1,1,0>]; //list tones = ["piano_1", "piano_3", "piano_5"]; vector color; integer color_index = 0; integer CHANNEL = 3442; integer pulse = FALSE; integer inhibit = FALSE; float INHIBIT_DELAY = 2.0; float DECAY_FACTOR = 0.5; send_pulse() { // Change color briefly and transmit a neural 'pulse' inhibit = TRUE; llSetTimerEvent(INHIBIT_DELAY); //integer tone = llRound(llFrand((float)(llGetListLength(tones) - 1))); //llTriggerSound(llList2String(tones, tone), 1.0); llSetColor(PULSE_COLOR, ALL_SIDES); llSetObjectName("Magic Block P"); llWhisper(CHANNEL, "pulse"); } vector vec_round(vector vec, float inc) { // Rounds vector components to the nearest units of inc vec *= 1.0/inc; vec.x = ((float)llRound(vec.x)); vec.y = ((float)llRound(vec.y)); vec.z = ((float)llRound(vec.z)); vec *= inc; return vec; } set_pos() { // // On finding a neighbor, snap relative to neighbor // pos = llGetPos(); llSetColor(color*0.5, ALL_SIDES); diff = pos - found_pos; diff = vec_round(diff, INC/2.0); diff += found_pos; llSetPos(diff); llTriggerSound("on", 1.0); llSetColor(color, ALL_SIDES); } vector new_color() { integer num_colors = llGetListLength(colors); color_index++; if (color_index >= num_colors) color_index = 0; return llList2Vector(colors, color_index); } snap() { // Issues the sensor to look for nearby blocks to snap to float range = 3.0; llSensor("Magic Block", "", PASSIVE | SCRIPTED, range, 2.0*PI); } default { state_entry() { scale = llGetScale(); color = new_color(); llSetColor(color, ALL_SIDES); llSetStatus(STATUS_BLOCK_GRAB, FALSE); llSetBuoyancy(1.0); llListen(CHANNEL, "", "", "pulse"); } on_rez(integer param) { found_pos = llGetPos(); set_pos(); snap(); } timer() { llSetObjectName("Magic Block"); llSetTimerEvent(0.0); inhibit = FALSE; llSetColor(color, ALL_SIDES); } changed(integer change) { if (change == CHANGED_SCALE) { scale = llGetScale(); scale = vec_round(scale, INC); if (scale.x == 0.0) scale.x = INC; if (scale.y == 0.0) scale.y = INC; if (scale.z == 0.0) scale.z = INC; if (scale.x > MAX_INC) scale.x = MAX_INC; if (scale.y > MAX_INC) scale.y = MAX_INC; if (scale.z > MAX_INC) scale.z = MAX_INC; llSay(0, "new scale = " + (string)scale); llSetScale(scale); // Choose a new color for the block snap(); } } touch_start(integer total_number) { start_touch_pos = llGetPos(); llSetAlpha(GRAB_ALPHA, ALL_SIDES); llTriggerSound("on", 1.0); llResetTime(); llSetStatus(STATUS_PHYSICS, FALSE); } touch_end(integer total_number) { llSetStatus(STATUS_PHYSICS, FALSE); llSetAlpha(1.0, ALL_SIDES); vector moved = llGetPos() - start_touch_pos; if (llGetTime() < 0.3) { // Cycle colors on short click llSetPos(start_touch_pos); llTriggerSound("color", 1.0); color = new_color(); llSetColor(color, ALL_SIDES); } else if (llVecMag(moved) < (INC/10.0)) { llSetPos(start_touch_pos); send_pulse(); } else { // Try to find a block to stick to! llSetColor(color, ALL_SIDES); snap(); } llSetRot(<0,0,0,1>); } listen(integer channel, string name, key id, string message) { // Received neural pulse, so sense sender's distance if (!inhibit) { pulse = TRUE; llSensor("Magic Block P", id, PASSIVE | SCRIPTED, 10.0, 2.0*PI); } } no_sensor() { pulse = FALSE; } sensor(integer num_detected) { if (!pulse) { // // Rotate/snap to nearest box // // Issue scale request to this box // found_pos = llDetectedPos(0); set_pos(); } else { // // Gauge distance to nearest box, decide whether to 'fire' // pulse = FALSE; pos = llGetPos(); found_pos = llDetectedPos(0); diff = pos - found_pos; // probability of neural firing is related to distance float distance = llVecMag(diff); if (distance > 0.0) { if (distance < INC) //if (llFrand(1.0) < ((INC/(distance*distance))*DECAY_FACTOR)) { send_pulse(); } } } } }**Only uploaded images may be used in postings**://www.foxsan.com/scripts/wp-content/plugins/addmarx/sharebookmarx.png" border="0" /> Tags: lego, magic, movement, philip, snap, snapping, uuid
  5. Thanks Charlotte, yes the solution you proposed works. I installed Flash 64 bit manually. This is what I posted on another list just a few mins back Found a solution. It appears that the Flash Player that Adobe installs is a 32 bit player ... that can run well in Chrome, IE etc... even if they are on a 64 bit OS. But if you manually install the 64 bit version I obtained here ... http://download.cnet.com/Adobe-Flash-Player-11-Beta-64-bit/3000-2378_4-75454063.html streaming work
  6. Thank Thinkerer, Here are my specs Windows 7 Pro, 64 bit Service Pack 1 Gfx card: Nvidia Quadro 1000 M Intel Core i7-2760 QM CPU 2.4 GHz RAM: 8.00 GB Everything renders fine .... 124 FPS without shadows, 24 FPS with every graphics setting maxed out I have friends who also bought a recent laptop from HP ... and they are having similar issues ...., video streaming on a prim does not work, for e.g. the youtube site can be accessed .... but where you are supposed to see a video you have the usual links to install flash which of course when clicked leads to the 'frame cannot be loaded' . Any help deeply appreciated.
  7. This just happened to me as well. I cannot fix the issue. Tried everything the previous post suggested. Last year, I remember a few people trying out Second Life and face exactly the same 'video play back' problem. I could not help them thinking that there was something wrong with their machine/install etc... because it was working on mine. Now with a new laptop, I am facing the same problem ... Please HELP
  8. Hey there, was wondering whether anyone has some ideas to share about the best way to find the region coordinates of the center of the surface of a prim (cube, cuboid, pyramid, other regular shaped prims) Thanks
  9. Thanks Thinkerer, Your pointers are really helpful. Am bookmarking them.
  10. Thanks, Kwakkelde there is indeed a heating issue going on, and my CPU is maxed out too ... sticking to Firestorm for now, am almost glad the last official viewer sucked so bad. When I run Phoenix Firestrom in the v3 mode, I really enjoy things, am discovering for the fist time shadows with reasonable frame rates and I LOVE it.
  11. Hello, I am having very strange issues with the latest official Second Life viewer 3.2.8.2 It is freezing after 5 mins or so, then comes back and freezes again .... then after getting a few normal windows 'application not responding' messages, I just have to close it manually. Let me know if anyone else is experiencing this, or may be suggest a few things I can try. Background iinfo: I normally used the official viewer running about 40 FPS on average with draw dist kept min, even had cache on a separate partition with no issues whatsoever. Wondering what is new in this latest build that is so disruptive. Problem is that I have to train clients and I have taught them the UI for the latest SL official viewers. Otherwise, I would have stuck to Firestorm ... which is giving me shadows at 40 FPS with no problems whatsoever, not even hanging etc... but the only issue is a different interface that I have to teach folks who do not want to be exposed to many things. Thanks
  12. Hello, Here's what I am trying to achieve. I have a linked object. I want to be able to click anywhere on the linked object and have the root prim move to the clicked point. Caveat: I cannot use llBreakLinks functions etc... or llCreateLink because this will require permission requests and so on which will destroy usability. If you have a solution and you want payment for it, don't hesitate to let me know personally. I am happy to hear ideas or views on the thread about this problem. Regards
  13. Hey this is really a good thread. Yes there is a lot of games in Second Life. I just tried to contribute by making available a game board, Gameboard Revival, that is really just a way to bring some of the better know classic games into Second Life (the usual chess, checkers, chinese checkers etc... two way, three way, four way, circular chess etc... all in one application. it's one application and you get a menu to choose which game you want to play. I am hoping to make another tool kit available that will allow anyone to create their own game board within half an hour ... been on my todolist, need to jack up priority a bit.
  14. Thanks Rolig, I did not know what exactly preloading does, now I do.
  15. Hello, I made a 3D board game but while making it I came across one annoying issue when implementing the sounds. I find that even sounds are preloaded, the first time they are played often they do not play. To fix this issue, I first forced a sound play for all sounds involved in the game so that when they are really required they would work fine. Has anyone else come across this? Let me how to fix this ... I remember this behavior since a few years back ... but this is still there. btw this is the game am working on.
  16. Just wanted to thank folks who gave me some feedback. We ran out of pre-release copies at this time. Thanks again.
  17. I am so sorry, I just checked and I see that limit set was hit. I have added a few more free ones. If you try soon, it might work. Thanks for your interest.
  18. Hello, Am looking for new testers for the following functional product. You can get it from here ( 0L) https://marketplace.secondlife.com/p/Gameboard-Revival/2075782 Or contact Deep Semaphore inworld for a copy. In particular want to find out how much stress the board will put on a sim if many boards are deployed with players interacting with all of them, and of course examine User interface isses ... Thank you for your time. Deep Semaphore
  19. Say I have a new product, and I want to inform Second Life folks. Where can I post the clip with no fear of being accused of spamming? Thanks
  20. I was trying to find out about event currently ongoing but the numbers are much less than I expected. In particular was trying to search for "show and tell" events ... could not find any.
  21. I think the option to do an automatic invite based on contact list would have been good. It's like for any social network, you get choose if you want to add people from your existing contact list ...
  22. When I first started in SL years ago, there was a cool community around ... then things died out. Now am trying to get back in ...but find it extremely difficult to find new active people. Can you share your thoughts about this?
  23. I already have a list of friends associated with my Second Life account. A bit strange I need to add friends all over again? Is this what we need to do??
  24. This information used to be available. Wondering why it is no longer.
×
×
  • Create New...