When I run following lsl script, In Opensim server stop and display InvalidCastExeption in OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api
default <http://wiki.secondlife.com/index.php?title=default> { state_entry <http://wiki.secondlife.com/index.php?title=state_entry>() { list <http://wiki.secondlife.com/index.php?title=list> my_list = ["a", "0xFF", "0xFF.FF", "1.0e3", 1, 2.0, <1,2,3>, <1,2,3,4>, llGetOwner <http://wiki.secondlife.com/index.php?title=llGetOwner>()]; integer <http://wiki.secondlife.com/index.php?title=integer> i = 0; integer <http://wiki.secondlife.com/index.php?title=integer> end = llGetListLength <http://wiki.secondlife.com/index.php?title=llGetListLength>(my_list); for <http://wiki.secondlife.com/index.php?title=for> (; i<end; ++i) { llOwnerSay <http://wiki.secondlife.com/index.php?title=llOwnerSay>("string=" + llList2String <http://wiki.secondlife.com/index.php?title=llList2String>(my_list,i) + "\n integer=" + (string <http://wiki.secondlife.com/index.php?title=string>)llList2Integer <http://wiki.secondlife.com/index.php?title=llList2Integer>(my_list,i) + " OR " +(string <http://wiki.secondlife.com/index.php?title=string>)((integer <http://wiki.secondlife.com/index.php?title=integer>)llList2String <http://wiki.secondlife.com/index.php?title=llList2String>(my_list,i)) + "\n float=" + (string <http://wiki.secondlife.com/index.php?title=string>)llList2Float <http://wiki.secondlife.com/index.php?title=llList2Float>(my_list,i) + " OR " +(string <http://wiki.secondlife.com/index.php?title=string>)((float <http://wiki.secondlife.com/index.php?title=float>)llList2String <http://wiki.secondlife.com/index.php?title=llList2String>(my_list,i)) + "\n vector=" + (string <http://wiki.secondlife.com/index.php?title=string>)llList2Vector <http://wiki.secondlife.com/index.php?title=llList2Vector>(my_list,i) + " OR " +(string <http://wiki.secondlife.com/index.php?title=string>)((vector <http://wiki.secondlife.com/index.php?title=vector>)llList2String <http://wiki.secondlife.com/index.php?title=llList2String>(my_list,i)) + "\n rot=" + (string <http://wiki.secondlife.com/index.php?title=string>)llList2Rot <http://wiki.secondlife.com/index.php?title=llList2Rot>(my_list,i) + " OR " +(string <http://wiki.secondlife.com/index.php?title=string>)((rotation <http://wiki.secondlife.com/index.php?title=rotation>)llList2String <http://wiki.secondlife.com/index.php?title=llList2String>(my_list,i)) + "\n key=" + (string <http://wiki.secondlife.com/index.php?title=string>)llList2Key <http://wiki.secondlife.com/index.php?title=llList2Key>(my_list,i) + " OR " +(string <http://wiki.secondlife.com/index.php?title=string>)((key <http://wiki.secondlife.com/index.php?title=key>)llList2String <http://wiki.secondlife.com/index.php?title=llList2String>(my_list,i)) ); } } } -- Dinuka Thilanga
_______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users
