Difference between revisions of "Talk:Chatbot"

From Second Life Wiki
Jump to navigation Jump to search
((316, 48) : ERROR Syntax Error reported)
(Aug 10 2007 09:37:04 (Second Life Release) has no Syntax Error)
Line 6: Line 6:


<pre>(316, 48) : ERROR Syntax Error
<pre>(316, 48) : ERROR Syntax Error
Second Life 1.18.2 (0) Aug 10 2007 09:34:24 (Second Life Release)
Second Life 1.18.2 (0) Aug 10 2007 09:34:24 (Second Life Release)</pre>
</pre> ... kindly reported by e-mail
 
-- kindly reported by e-mail
 
I suspect we're facing some difficulty in perfecting the accuracy of the copy/ paste of a thousand lines of script.
 
The Second Life client app that works for me says it was released to me just ~3 minutes later:
Help > About Second Life is "Second Life 1.18.2 (0) Aug 10 2007 09:37:04 (Second Life Release)"
 
Here I see:
 
<pre>Compile successful, saving...
Save complete.</pre>
 
...
 
"Line 316, Column 0" in world is:
<pre>return [llRequestAgentData(llList2Key(ps, 0), llList2Integer(ps, 1))];</pre>
 
Hard to understand how that syntax can be wrong while the previous syntax is correct.
 
...
 
I've stored a copy of this script as Chatbot-lsl-20070913.txt at
http://members.aol.com/ppaatt/indexed/secondlife/
 
My integrity checks on the script here are:
 
<pre>$ ls -l Chatbot-lsl.txt
-rw-r--r--@ 1 pat  staff  22876 13 Sep 20:02 Chatbot-lsl.txt
$ openssl md5 Chatbot-lsl.txt
MD5(Chatbot-lsl.txt)= 9373258278a20329c7ba39353454059c
$ </pre>
 
Does that copy work for you?
 
-- [[User:Ppaatt Lynagh|Ppaatt Lynagh]] 20:12, 13 September 2007 (PDT)


== Wishes ==
== Wishes ==

Revision as of 19:12, 13 September 2007

Bugs

This Chatbot script works for some of us ... how about you? If not, why not?

(316, 48) : ERROR Syntax Error

(316, 48) : ERROR Syntax Error
Second Life 1.18.2 (0) Aug 10 2007 09:34:24 (Second Life Release)

-- kindly reported by e-mail

I suspect we're facing some difficulty in perfecting the accuracy of the copy/ paste of a thousand lines of script.

The Second Life client app that works for me says it was released to me just ~3 minutes later: Help > About Second Life is "Second Life 1.18.2 (0) Aug 10 2007 09:37:04 (Second Life Release)"

Here I see:

Compile successful, saving...
Save complete.

...

"Line 316, Column 0" in world is:

return [llRequestAgentData(llList2Key(ps, 0), llList2Integer(ps, 1))];

Hard to understand how that syntax can be wrong while the previous syntax is correct.

...

I've stored a copy of this script as Chatbot-lsl-20070913.txt at http://members.aol.com/ppaatt/indexed/secondlife/

My integrity checks on the script here are:

$ ls -l Chatbot-lsl.txt
-rw-r--r--@ 1 pat  staff  22876 13 Sep 20:02 Chatbot-lsl.txt
$ openssl md5 Chatbot-lsl.txt 
MD5(Chatbot-lsl.txt)= 9373258278a20329c7ba39353454059c
$ 

Does that copy work for you?

-- Ppaatt Lynagh 20:12, 13 September 2007 (PDT)

Wishes

We could/ should soon add ...

  • llGetFreeMemory in the demo
  • discover the time of day -- say if World > Force Sun > Region Default would show sunrise, noon, sunset, midnight, or what
  • move to owner and stop moving
  • parsing of prefix monadic + - arithmetic operators, for scalar and vectors and rotations
  • parsing of infix dyadic + - * / % arithmetic operators with precedence, on pairs of values of the same type, on vector/ rotation pairs, on rotation/ vector pairs

Also the Chatbot and Hello Avatar examples should learn from each other, e.g.:

llSetStatus(STATUS_PHYSICS, FALSE); llSleep(0.1);
llSetLocalRot(llRotBetween(<1, 0, 0>, llGetSunDirection())); // turn the East face to the Sun