Jump to content

Darkie Minotaur

Resident
  • Posts

    1,663
  • Joined

  • Last visited

Everything posted by Darkie Minotaur

  1. It looks ok as a proof of concept. There is nothing to release - releasing an URL only matters in cases where you request an rL for your object, so you can send a request to it (often called "HTTP in"). You do HTTP out and thus don't need an URL for your object (and don't request one). I know that it is just a proof of concept, but you may consider the following: Use PDO insted of just the mysql_* commands - it comes with a number of advantages If UUID is the primary index of your table (which would make sense, since you want every ava to be in it just once), you could use INSERT IGNORE to prevent getting an error each time an ava already is in the table without doing the SELECT first. For all string data you're sendind to the webserver, you should do an llEscapeURL - it will keep you from looking for some strange errors
  2. You need to be a bit more specific. If you want to make a page and display it through parcel media or media on a prim, it's just a regular web page. If you want to use HTTP to send data to a script, it's up to you how you format that data.
  3. One frequent issue with shred hosting plans is, thatrequests from a certain source get blocked if the number or frequency of requests run against certain limits that the hosting provider established. You may try to file a ticket there as well.
  4. Just to state the obvious: Are you sure it's not a server issue? 403 usually indicates anything from file permission, over .htaccess settings to problems with the application pooling. Have you tested to rule such server issues out?
  5. With LSL, you can only check, if the toucher's currently active group is the same as the one the touched object is assigned to by using llDetectedGroup or llSameGroup. Anything beyond that would require a bot.
  6. The pipe | is frequrntly used - since it is not allowed in many contexts of SL related strings. Of course, you could use a swquence off odd strings to make it even more save.
  7. Du musst den Ping-Aufruf in der Konsole stippen.Ich gehe mal aus, du nutzt Windows. Dazu kannst du z.B. auf Start klicken (also das Windows Start) - dann geht ja ein Menue auf - bei dn letzten Windows-Versionen ist unten ein Suchfeld - tippe dort cmd.exe ein und starte es - die Konsole oeffnet sich.
  8. There almost always are alternatives to exchanging E-Mails - but that depends on the concrete situation.
  9. I'm not sure I have understood everyting you want - but I'm pretty sure it can be done. I don't know about the products that are out there - but if you can't find something like that, get in touch with a scripter do make wht you want (you can contact e, if you want). But actually, this is not the place to look for scripts - you should go to Inworld Employment or Wanted
  10. An automatic message comes from a script (leaving bots aside for the moment) - a script always lives inside an object - so if a script sends an IM or says something in a private chat to an ava, it will always come from the object it lives in. You could change the name of the object to the wearer's name (e.g. in the case of a HUD), but the receiver wouldn't be able to answer to it directly.
  11. It's possible - as Cerisse said - and there are scripts out there that do this. The IM or RegonSayTo part is actully the simplest part. Slightly more tricky is the question: In which intervals do you want to re-greet the avas. You may want to have a look at Rolig's Couter-Greeter - with some tweaks it should do what you're asking for.
  12. If you're a programmer, you'll find most of what you need here - tutorials, sampe code to study and - most importanly - a documentation of LSL.
  13. On very rare occations it happens - it's usually when the sim has some hickup. As for my applications, I've had no real problems using state == 200 and else to detect problems.
  14. I don't know if the systems you mentioned - but it isn't all too hard to implement something like you want. It won't, however fit in seamlesly with Hippo or pxi - at least I would assume so. Most likely, you would have to import the avas in your messaging system - or you'd have to have your own system.I have built such devices on several occations, though.
  15. You would simply have to apply it faca for face. llSetAlpha works for one or for all sides at a time You could use llSetLinkPrimitiveParamsFast, setting PRIM_COLOR several times. Here is a simple example that switches alpha on face 0 and 1 integer gfOn;default { touch_end(integer num_detected) { llSetLinkPrimitiveParamsFast(LINK_THIS, [PRIM_COLOR, 0, llGetColor(0), gfOn, PRIM_COLOR, 1, llGetColor(1), gfOn] ); gfOn = !gfOn; }}
  16. A hash function is not a crytographic function - a lot of data is usually lost when hashing a value. You may rey by brute force - but there is no reverse function.
  17. I use such a mechanism quite frequently. Usually, I send a lifesign like every hour or 30 minutes - and if the last lifesign registred in tzhe database is older than x seconds, I delete the object from the database. But in this case, returning the uuid and checking is a nice idea.
  18. I might be cracking nuts with sledgehammers here, but without knowing more, I would register each object with an outworld database - if one gets rezzed and tries to register, but fail because there is one in the database already for this region, it commits suicide
  19. Do you want the voters to be able to vote once a day (let's say, one ava votes on Monday at 10 p.m., then they should be able to vote again on Tuesday at 0:01 a.m.) or 24 hours after they have voted? About how many people do think would vote?
  20. Do you mean by script= You can't script an ava. You can put a script in an attachement that say the key of the owner when touched using llGetOwner(). Do you mean through the menu that pops up un a right click? In Firestorm, if you open the Profile, the keyx is shown under the name.
  21. An event like touch cannot be triggered from within other code. Events are what drive a language like LSL. I don't fully understand, what you want to happen there
  22. If the prims are linked, you can either use a script with llSetLinkPrimitiveParams in the contoller, or you have a script in both prims, with the controller sending a message to the lid using llMessageLinked and a script in the lid that uses Link message
  23. Yes, the response body used to be truncated at 2048 bytes - but some time ago LL actually implemented the functionality of the HTTP_BODY_MAXLENGTH in HTTPRequest. Now you can set the accepted length of the response body to up to 16384 bytes (Mono) as the OP stated.
  24. First of all: This isn't a forum to ask for scripts, but for getting help or discussing scripting issues. If you are looking for a script, go to Wanted Now, if you want to write such a script but don't know how to go about writing this script, you should tell us, what such a script should do.
  25. I don't really have an answer, but I tested your examples: The first test failed for me as well. If I use the IP for a sim instead of the IP for linden lab, this script ceates a socket just fine the second script works like a scharm (with regulat http - I haven't tryed https) My conclusion from that is: You have a problem on your side - which could have many reasons - the most common being that the port is not open for outgoing connections - but I gather, that you've been working on that.
×
×
  • Create New...