Jump to content

elmanytas Ferrentino

  • Posts

  • Joined

  • Last visited

Everything posted by elmanytas Ferrentino

  1. Hi I developed an inworld computer with code here: https://github.com/elmanytas/osl-computer/ It creates an OpenStack instance and show the console in a prim's face. I will give a speech about osl computer in https://t3chfest.uc3m.es/2017/ to people that want to know what is a Virtual Reality. I will talk them about Second Life and OpenSim but I need more Open Source stuff to compare with like Wonderland, realXtend or Qwaq Forums. The question is, do you know other Open Source software that could help you to create a Virtual World? Thank you
  2. I found the way to create it but now I have another problem: https://community.secondlife.com/t5/LSL-Scripting/After-Ready-Player-One-create-a-working-computer-inworld/td-p/3047306 I want to create a world like the Ready Player One world in Second Life / OpenSim and I need this computer to play old games in world. Thank you very much.
  3. Hi After a lot of research I found the way to create a virtual computer in world: use the OpenStack api to create a instance ,get the console url and set the url to a media face. But I have a problem. In python I do: In python I do this: r = requests.post("http://openstack-vcenter:5000/v3/auth/tokens", data=data, headers=headers) token_id = r.headers["X-Subject-Token"]and I have the header I need in token_id. In lsl I do this: key http_request_id; default { state_entry() { llSay(0, "Script running"); } touch_end(integer num_detected) { http_request_id = llHTTPRequest("http://openstack-vcenter:5000/v3/auth/tokens", [HTTP_METHOD, "POST", HTTP_MIMETYPE, "application/json"], data); } http_response(key request_id, integer status, list metadata, string body) { if (request_id != http_request_id) return;// exit if unknown vector COLOR_BLUE = <0.0, 0.0, 1.0>; float OPAQUE = 1.0; string header = llGetHTTPHeader(request_id, "x-subject-token"); llSetText("header: " + header + "\nbody: " + body, COLOR_BLUE, OPAQUE); } } And the var header is empty! What I am doing wrong? Thank you.
  4. Hi Is there any way to create a working computer in SL? The way I was thought is: 1.- object receives a touch event 2.- object gives a hud to avatar 3.- object creates an instance in a cloud provider. The instance/container has a vnc server preinstalled and creates a unique url to access the desktop. 4.- object sarts the viewer with the url 5.- avatar can interact with the computer
  5. Hi I'm looking for the way to allow to play media content only to sl users in a group. Is there a common way to do this? I have thought this way: 1.- prim receives a touch event 2.- prim checks the user is in a group 3.- prim ask for a temporal uri to a media server with a rest api that I will implement 4.- prim plays media content with the temporal uri Thank you
  • Create New...