<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>I think you have to substitute <-5,-5,0> with new LLVector3( -5, -5, 0 ) as the compiler don't support constant vectors (yet)<BR>
 <BR>
/Stefan<BR><BR><BR><BR><BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
Date: Mon, 29 Oct 2007 17:21:55 -0700<BR>From: mic.bowman@intel.com<BR>To: opensim-dev@lists.berlios.de<BR>Subject: [Opensim-dev] script errors?<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<DIV><FONT face=Arial size=2><SPAN class=EC_595260900-30102007>i'm fairly sure that i'm doing something stupid, but for the life of me i can't figure out what... i'm trying to compile the following script (i've also tried to copy out the C# version that gets compiled with similar results)...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_595260900-30102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_595260900-30102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_595260900-30102007><FONT face="Times New Roman" size=3>default<BR>{<BR>    touch_start(integer i)<BR>    {<BR>        llSay(0,"Moving");<BR>        llSetPos(llGetPos() + <-5,-5,0>); <BR>    }<BR>}</FONT><BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_595260900-30102007>Linux client. OpenSim running off the trunk version as of today (2204 i believe). script created with "new script" from the inventory. on save (not attached to an object) the console window on the client records a "compile error" message (no chat message). on the console of the opensim server (running standalone) there is a message about "error displaying error in world: ...null reference exception in chatmodule.cs line 122". </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_595260900-30102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_595260900-30102007>so.. why the compiler error (first) and why the chat null ref?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_595260900-30102007></SPAN></FONT><FONT face=Arial size=2><SPAN class=EC_595260900-30102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_595260900-30102007>--mic</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_595260900-30102007> </DIV></SPAN></FONT></BLOCKQUOTE></body>
</html>