Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About NeevaBecketEmagan

  • Rank

Recent Profile Visitors

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

  1. I know that I'm a little late here, but for those that are having the undefined index error: change 'HTTP_X_ANS_VERIFY_HASH' for 'X-ANS-Verify-Hash' and if you get new type of errors, just try this: $headers = apache_request_headers(); $myDDHash = $headers['X-ANS-Verify-Hash']; The rest remains the same. I got this problem now while I was writing my PHP file for the ANS.
  2. Sorry for the big delay to respond The XML-RPC works with my hosting, so I solved it using this method for now. But I'll try to contact support and see what happens. Many thanks for the answers
  3. Hi I'm working in an object that need to receive commands from the php webserver. My host is GoDaddy, and I think that it is my problem I tried several tutorials but none worked. If I use the port 12046 I got the error 'connection refused', because the hosting allows only port 80 (or 443 for https). But if I use port 80 I get a "connection timed out" error and no data is sent to the object. The php code I'm using is: <?php $url = 'http://sim10405.agni.lindenlab.com:80/cap/700042c9-349e-a548-4e03-ef8834226135';//the URL of your object goes here echo "Request answered<br>"; $Data = CallLSLScript($url, "C001"); die($Data); function CallLSLScript($URL, $Data, $Timeout = 10) { echo "callscript: ".$URL."<br>"; //Parse the URL into Server, Path and Port $Host = str_ireplace("http://", "", $URL); $Path = explode("/", $Host, 2); $Host = $Path[0]; $Path = $Path[1]; $PrtSplit = explode(":", $Host); $Host = $PrtSplit[0]; $Port = $PrtSplit[1]; //Open Connection $Socket = fsockopen($Host, $Port, $Dummy1, $Dummy2, $Timeout); echo "<br>socket: ".$Socket."<br>"; if ($Socket) { //Send Header and Data fputs($Socket, "GET /$Path HTTP/1.1\r\n"); fputs($Socket, "Host: $Host\r\n"); fputs($Socket, "Content-type: application/x-www-form-urlencoded\r\n"); fputs($Socket, "User-Agent: Opera/9.01 (Windows NT 5.1; U; en)\r\n"); fputs($Socket, "Accept-Language: de-DE,de;q=0.9,en;q=0.8\r\n"); fputs($Socket, "Content-length: ".strlen($Data)."\r\n"); fputs($Socket, "Connection: close\r\n\r\n"); fputs($Socket, $Data); //Receive Data while(!feof($Socket)) {$res .= fgets($Socket, 128);} fclose($Socket); echo "sent<br>"; } //return the data to the bowser echo $res;} ?> How I can solve it? I can't chance the host company, nor use other port than 80. Have anyone used GoDaddy for it and was successfull? The LSL script is this one: string url; key urlRequestId; setup() { llReleaseURL(url); url = ""; urlRequestId = llRequestURL(); } default { state_entry() { setup(); } on_rez(integer n) { setup(); } changed(integer c) { if (c & (CHANGED_REGION | CHANGED_REGION_START | CHANGED_TELEPORT) ) { setup(); } if (c & CHANGED_REGION_START){ llInstantMessage(llGetOwner(),"Region restart"); } } touch_start(integer total_number) { llOwnerSay("My URL is: "+url); } http_request(key id, string method, string body) { if (method == URL_REQUEST_GRANTED) { url = body; llOwnerSay("My URL is: "+url); } else if (method == URL_REQUEST_DENIED) { llOwnerSay("Something went wrong, no url. " + body); } else if (method == "POST") { llOwnerSay("Received from server: "+body); list param_values = llParseString2List(body,["|"],[]); key send_to = llList2Key(param_values,1); string seed = llList2String(param_values,2); llGiveInventory(llGetOwner(),seed); llHTTPResponse(id,200,"Seed sent!"); } else { llHTTPResponse(id,405,"Method unsupported"); } } }
  4. Thank you a lot, Chic. I readed her posts and found the solution. I was in the track (setting different rotation to the armature in Blender), but I haven't found the right axis rotation that need to be made. I made a test without renaming the bones and it worked. The specific information I found in this post: https://plus.google.com/u/0/+VbinniaRadek/posts/HeJTq7f7YCb Now I can go back to my unicorn \o/ And sleep without nightmares
  5. Well, I'm trying to make some animations here, and so far I didn't get any result :/ I have the Bento and the old model in DAE format (downloaded from the Wiki). When I make an animation in Blender and export to BHV, the bone orientation is messed up. I tried to change the rotation of the armature (I have this problem when I make models for Unity with Blender), checked the option "Root Translation Only". No way to make it work. I tired several solutions I've found, including some scripts, but everything gives an error. I'm using the latest version of Blender and, no, Avastar isn't an option (I don't have money). Tried it with Maya, same bone mess problem. Then I went to DAZStudio, importeds the old CR2 file for the old skeleton, made an animation, exported with the "Second Life Compatibility" checked, and it worked. So I tried to import the Bento model into DAZ. I made a mesh that resembles an skeleton, and created the bones with the Figure Setup (I have the 4.9 PRO, so I have the CCTools). But I don't know yet where I made a mistake, because it doesn't work as well. Only the old CR2 imported into DAZStudio can make animations. I'm stuck here for three days now trying to make a simple tail animation for an avatar -_-
  6. I'm trying to import the Bento inside DAZ Studio. I made the rig but, when I export the animation to Second Life, the bones are all messed up (the same is occurring to me with Blender, Maya, but not with the CR2 from the old skeleton). I'll try a little more here, to find what I'm doing wrong. If I got a model of Bento in DAZ Studio that works, I'll release it here in the forum.
  7. Ok, I'm back. I've spent all the afternoon searching for it. Blender doesn't export the BVH in the way Second Life requires, and none of the solutions I've found worked. Scripts for Blender, third-part applications, everything give an error with the latest version of Blender. So, I gave up with Blender, downloaded the Poser files from here, imported it into DAZStudio 4.9, and made a test animation. The BVH exporter of DAZ even has a "Compatible with Second Life" option. And it worked nicely. But with the old skeleton. Now I'll create the model for the Bento skeleton.
  8. Following this topic because I'm fighting with this thing now. I made a model (a unicorn cosplay with tail), rigged and animated it in Blender. The animation in Blender works very well, but when I export the animation to Second Life, the animation is messed up. And it occurs with any bone, even with the "old" ones. I tried to animate the avatar leg, and it messed too I'm using the lastest Blender version (2.78a, from Steam) I started to work with animations today, let's see what I can find. I remember I had some fights to make Blender models works right with Unity (game engine) and I see that I will do it again. Blender doesn't likes me There is a video of what happens with my model: Note: I'm not using Avastar and I don't want to use it.
  • Create New...