Jump to content

Grey Warbaum

Resident
  • Posts

    12
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, I would be glad to help you make the script you need. Add me ingame or message me here.
  2. Aren't you also missing an i in your for loop? Shouldn't: for (; i< n; i++) Be: for (i; i< n; i++)
  3. Hey mate, I'd be happy to help you script this, need a little more information on what exactly you're looking for though. What do you mean by "ghost moving script"?
  4. Hey guys, so I'm having an issue where every mesh I upload is missing textures (Yes, I clicked Include Textures). Each of them were exported from 3DS Max as .dae files, I didn't mess with any of the settings when exporting because I don't know what most of them change, though I checked through them to make sure there wasn't a checkbox somewhere for textures. When I render them in 3DS they look fine.. Any help would be greatly appreciated. Thanks!
  5. Hey mate, I'd be happy to script you such a counter.
  6. I don't know of one in the marketplace but I would happily script it for you.
  7. You just completely cleared up all of the things I was confused about. Thank you again for all your help!
  8. I really appreciate the help. Just having trouble figuring out how to do the PHP part of it.. Trying to return entries from a database to my object.
  9. That's a huge help, thank you! Don't know why I never saw that page before. Half my issue is solved now, I just need to know how to actually get my PHP script to send the information to my object in SL. Also, if I want the message sent to multiple objects, am I going to need to store each ones URL in the php script?
  10. Hey guys! So basically, I'm creating a server that communicates through HTTP Requests with my PHP script on my website. It works fine for sending data from my object in-world to my server, and returning what the script outputs through the Body of http_response. What I have yet to figure out how to do, is send information form my PHP script, to my object in-world, without calling an HTTPRequest in the object first. Also, I noticed there are two different forms of: llHTTPRequest() / http_response and llHTTPResponse() / http_request. Currently I'm just using the first set, in what cases is http_request / llHTTPResponse used? Here's an example of my LSL and PHP scripts: string url = "mysiteurl/databaseinterface.php"; list params = [HTTP_METHOD, "POST", HTTP_MIMETYPE, "application/x-www-form-urlencoded"]; default { state_entry() { request_and_release(); llHTTPRequest(url, params, "action=connect"); } http_response(key request_id, integer status, list metadata, string body) { if(body == "Connected to Database.") { llSay(0, body); } } } <?php $action=$_POST['action']; $avatarname = $_POST['avatarname']; if($action == 'connect') // Test Connection { echo('Connected to Database.'); } ?> Edit: These are obviously not my full scripts, I just put these snippets in here so you could see my general syntax/flow. Thanks!
×
×
  • Create New...