[Opensim-dev] script errors?

Bowman, Mic mic.bowman at intel.com
Tue Oct 30 15:22:36 UTC 2007


Same error (with both upper case and lower case 'LL'). Tried to compile
just llSay(0,"Hello") in touch_start and that failed as well. 
 
I can see the scripts being compiled & put in the ScriptEngines
directory and the code generated looks fine. Somewhere between the
translation to C# and the final compilation it blows up. 
 
I'm a bit concerned about the null ref in the server & will try to track
that down first. 
 
--mic
 
________________________________

From: opensim-dev-bounces at lists.berlios.de
[mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Stefan
Andersson
Sent: Monday, October 29, 2007 10:31 PM
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] script errors?


I think you have to substitute <-5,-5,0> with new LLVector3( -5, -5, 0 )
as the compiler don't support constant vectors (yet)
 
/Stefan






________________________________

	Date: Mon, 29 Oct 2007 17:21:55 -0700
	From: mic.bowman at intel.com
	To: opensim-dev at lists.berlios.de
	Subject: [Opensim-dev] script errors?
	
	
	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)...
	 
	 
	default
	{
	    touch_start(integer i)
	    {
	        llSay(0,"Moving");
	        llSetPos(llGetPos() + <-5,-5,0>); 
	    }
	}
	
	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". 
	 
	so.. why the compiler error (first) and why the chat null ref?
	 
	--mic
	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20071030/6991fcf1/attachment-0001.html>


More information about the Opensim-dev mailing list