Difference between revisions of "Talk:Chatbot"
Huney Jewell (talk | contribs) (Compile also failed when trying source Chatbot-lsl-20070913.txt) |
|||
Line 51: | Line 51: | ||
--[[User:Huney Jewell|Huney Jewell]] 21:32, 13 September 2007 (PDT) | --[[User:Huney Jewell|Huney Jewell]] 21:32, 13 September 2007 (PDT) | ||
_____________________________________________________________________________________ | |||
Ppaatt, thanks for the response | |||
Your volunteer status is noted and appeciated. | |||
I tried commenting out blocks of code before/after but still got the same error. It is not that line that is the problem, rather elsewhere. | |||
Maybe the unix/windows CR/LF issue? | |||
I also tried the saved version you mentioned, but also had problems. | |||
Could I suggest making a box with the script in it available somewhere in SL? | |||
Regards | |||
== Wishes == | == Wishes == |
Revision as of 00:22, 14 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)
A: Sorry, Ppaatt, no. I get
(316, 48) : ERROR Syntax Error
even when using the source @ aol.com. But as I don't use Linux, I couldn't check integrety.
--Huney Jewell 21:32, 13 September 2007 (PDT)
_____________________________________________________________________________________
Ppaatt, thanks for the response
Your volunteer status is noted and appeciated.
I tried commenting out blocks of code before/after but still got the same error. It is not that line that is the problem, rather elsewhere.
Maybe the unix/windows CR/LF issue?
I also tried the saved version you mentioned, but also had problems.
Could I suggest making a box with the script in it available somewhere in SL?
Regards
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