-
Posts
39,100 -
Joined
-
Last visited
-
Days Won
190
Content Type
Forums
Blogs
Knowledge Base
Everything posted by Love Zhaoying
-
llGetagentlist - specific avatars only?
Love Zhaoying replied to MalkinAmistery's topic in LSL Scripting
Suggest that if the notecard has only one purpose..and only 1 script is reading from it: - Put a UUID on each line, by itself (assume you don't need names, just UUID) - You have to call llGetNotecardLine() with notecard name and line # (starts with 0) to start reading the notecard. - Each time dataserver() is read, if string is non-blank then add to your list and call llGetNotecardLine() for next line - "done" reading notecard is either if data read=EOF constant or if you start out the process with a call to llGetNumberOfNotecardLines() (which also triggers dataserver event(). http://wiki.secondlife.com/wiki/LlGetNotecardLine- 14 replies
-
- llgetagentlist
- notecard
-
(and 1 more)
Tagged with:
-
Surely, you jest!
-
Crazy boys grow up to be surly bastards!
-
What are you doing today!? :D
Love Zhaoying replied to Kasumi Ravenheart's topic in General Discussion Forum
-
llGetagentlist - specific avatars only?
Love Zhaoying replied to MalkinAmistery's topic in LSL Scripting
No brackets for haystack, if “haystack” is a list variable. Just pointing it out in case OP focuses on this instead of your example code!- 14 replies
-
- 1
-
-
- llgetagentlist
- notecard
-
(and 1 more)
Tagged with:
-
- 185 replies
-
- 1
-
-
Unless they have hairy butts..
-
We were all born as naked, wooden prims!
-
If everything else fails..try being a furry. You may like it!
-
It’s ok..wouldn’t matter if your desired Data isn’t contained in the response due to space. Point of why I suggested it is that converting the whole response to a list probably uses a lot of memory. You’ll get some pointers from others also, I don’t want to hog the responses.
-
Instead of converting to a list, why not just search for a string constant in the response, then if found parse everything past that?
-
Have you considered googling for existing LSL scripts to see how they do it?
-
Even a broken clock is right twice a day!
-
This feels like a long-shot, but make sure you have "compile as Mono" checked. It doesn't sound to me like that small script + 16384 bytes of data should cause a stack-heap error. Non-Mono ("LSO") scripts only allow 16384 total memory.
-
It goes in the parameter list which you have left empty. You don’t need to “define” the constant. You would pass it as example: [HTTP_BODY_MAXLENGTH, 16384]. The parameters list is “key/Value” pairs. http://wiki.secondlife.com/wiki/LlHTTPRequest
-
P.S. Once you get the script to compile with llSetText (see my reply above), you may find this thread on llHTTPRequest() useful:
-
You are trying to pass a list variable “mine” as the first llSetText() parameter. That needs to be a string parameter. If you know which string element of “mine” to get, you could use llList2String() to get the list entry. http://wiki.secondlife.com/wiki/LlSetText
-
Saying, “Eat me! Eat me!”
-
Thanks for this! I always go to blog.secondlife.com !
-
Since I didn’t know this when I originally went from mainland to private sim, and kept my Premium (though now I’m back to mainland)..you can guarantee that I am NOT alone in this. So, many other sim owners probably also pay Premium fee to LL.
-
Got it. Funny. A private island at full price is so expensive, you’d think LL would try to squeeze the relatively small Premium fee out of sim owners too! *Edit* Since I didn’t know this when I originally went from mainland to private sim, and kept my Premium (though now I’m back to mainland)..you can guarantee that I am NOT alone in this. So, many other sim owners probably also pay Premium fee to LL.
-
If you can see a d*ck for “sims and sims and sims”, your draw distance is too high.
- 32 replies
-
- 1
-
-
- adult
- abandoned land
-
(and 1 more)
Tagged with: