Commit Graph

5596 Commits (531f6c01eb8e137016e4e9a20438a107cd7b4f7f)

Author SHA1 Message Date
Charles Krinke 0d07cf9ddd Mantis#1469. Thank you kindly, Mikem for a patch that addresses:
Currently LSL code such as below does not compile on OpenSim, but compiles fine in Second Life:
list mylist = [];
mylist += [1, 2, 3];
mylist += "four";
list newlist = mylist + 5.0;
The problem is that the LSL_Types.list class does not have an operator for adding a string to a list.
I am including a patch which implements adding a string, integer or float to a list.
I am also including tests. The file LSL_TypesTestList.cs belongs in 
OpenSim/Tests/OpenSim/Region/ScriptEngine/Common/.
2008-06-09 01:06:59 +00:00
Teravus Ovares 6ecb7c05b3 * Fixed it so you can do a lot more llDetected* methods in many additional situations and have it work.
* script Collision reporting works now in DotNetEngine
2008-06-08 22:53:52 +00:00
Teravus Ovares c53892aa90 * Added compiler pre-processor, #if SPAM to SensorRepeat... so if you really want to see, "[AsyncLSL]: GetSensorList missing localID" and SetSensorEvent, then you can #define SPAM 2008-06-08 21:15:44 +00:00
mingchen 00769429f0 *Updated prebuild.xml for support with monodevelop 2008-06-08 20:26:39 +00:00
Teravus Ovares 524998ba3e * Fixes llDetectedKey. 2008-06-08 19:54:49 +00:00
Charles Krinke aca872499f Added a "if(entity != null)" before the call to
UpdateEntityMovement() to try to preclude the 
occaisional System.NullReferenceException in scene.
2008-06-08 17:36:41 +00:00
Charles Krinke de11c09794 Mantis#1498. Thank you Melanie for an XEngine patch that addresses:
The attatched patch makes the changed() event fire properly and 
lets scripts run properly. 
NOTE: All existing state files must be deleted:
rm ScriptEngines/*/*.state
2008-06-08 14:51:59 +00:00
Charles Krinke 4ea9183b66 Mantis#1499. Thank you kindly, DMiles for a patch that:
was incorrectly sending the command along with the args to the CommandDelegate
help was getting lost on top of normal help & help was getting missed except 
in an exact match (and only returning the first)
2008-06-08 00:34:00 +00:00
Charles Krinke 0e5f2b3293 Mantis#1496. Thank you kindly, Melanie for a patch that:
Adds full implementation of all llDetected* functions for sensors, 
collisions and touches. Adds changed(CHANGED_REGION_RESTART) event 
to allow restarting of eye-candy functionality not currently 
persisted with the prim.
2008-06-07 22:37:48 +00:00
Charles Krinke 6ce9a8ecdd Mantis#1495. Thank you kindly, Kinoc for:
0001495: [PATCH] Adds an API for for plugins to create 
new Console commands and Help
2008-06-07 22:02:28 +00:00
mingchen cde42cdbfd Potential Fix #1 for 0001392: Shift+Drag now causes an unhandled 'Object reference not set to an instance of object' exception 2008-06-07 17:48:45 +00:00
Adam Johnson 990225a4ba Patch for mantis#1493: Several patches to xengine. Thanks Melanie! 2008-06-07 17:43:07 +00:00
Charles Krinke 2b83aa931c Mantis#1476. Thank you kindly, Melanie for a patch that:
0001476: [PATCH] Allow larger script state files to be loaded
The previous limitation on load file size was too small for 
larger script projects
2008-06-07 15:46:43 +00:00
Charles Krinke 80079e14e3 Mantis#1475. Thank you kindly, Kinoc for a patch that:
This patch brings the Yield Prolog in sync with the YP r669.
Biggest item is support for functions asserta and assertz , 
providing dynamic databases.
2008-06-07 15:43:16 +00:00
mingchen 5ab5991676 *Fixing another object counting bug 2008-06-07 00:24:43 +00:00
mingchen 0fe363ba65 *Made Object Counting correct with linked objects and turned the previously protected functions that only return object counts to public so it can be easily used by outside classes. 2008-06-06 23:20:02 +00:00
Teravus Ovares bd2361ae33 * llSetPrimitiveParams PRIM_FLEXIBLE is now supported. 2008-06-06 22:44:48 +00:00
Teravus Ovares 8c507b633b * Added Light control from script in LLSetPrimitiveParams. 2008-06-06 22:28:52 +00:00
Teravus Ovares ed41ba8a3d * Added a configuration option for allowing god script lsl methods.. such as llSetObjectPermMask. By default it's off. 2008-06-06 21:39:42 +00:00
Sean Dague 6a66caa02e revert 5028, as this approach to 1 nick per avatar isn't going to work,
however, I think I understand now how to make it work.  I just don't want
to have this broken for people this weekend.
2008-06-06 20:42:12 +00:00
Sean Dague 2cfdfaeaa5 experimental IRC changes, because it's friday, and I'm curious if this
will work.
2008-06-06 20:21:25 +00:00
Teravus Ovares be44969927 * Adds semi broken PRIM_FLEXIBLE support for prim. It's semi-broken because it won't do the setting of the prim flexi from not-flexi, however, it'll tweak the parameters of an already existing flexi prim. 2008-06-06 19:58:39 +00:00
Teravus Ovares e099d5b013 * How tall are you? Certainly not 127 meters! 2008-06-06 14:33:01 +00:00
Teravus Ovares 37373dbde2 * true and not true or - not true and not true and. 2008-06-06 13:33:45 +00:00
Teravus Ovares 7137b13498 * This limits avatar to the heightfield height if they teleport or cross a border to a position below it. After teleporting, you can go under the terrain if you like as usual. 2008-06-06 13:24:40 +00:00
Teravus Ovares c892ddcd20 * This wraps the autopilot request to the client's sit response. An interesting, but successful way to do it.
* This also takes care of a few error situations that were previously never seen.
2008-06-06 12:51:20 +00:00
Teravus Ovares 3cbc01ee88 * Fixes incorrect message server startup prompt 2008-06-06 08:05:09 +00:00
Teravus Ovares e9a444917a Fixes scale property with regards to the physics engine. 2008-06-06 08:03:12 +00:00
Johan Berntsson 9002329a7d Fixed a build problem with r5019 (Mikems patch) 2008-06-06 05:28:26 +00:00
Jeff Ames fbd37c420f Minor formatting cleanup. 2008-06-06 01:19:15 +00:00
Charles Krinke 67e06fa3f6 Mantis#1333. Thank you kindly, Mikem for a patch to
sync online documentation with source code every continuous build run.
2008-06-06 01:03:37 +00:00
mingchen de0bd2b5a0 MSSQL Inventory Fix. Patch by Kyle and Chris from G2 2008-06-06 00:56:51 +00:00
Jeff Ames 2818dd800e Update svn properties. 2008-06-06 00:25:43 +00:00
Charles Krinke 16707b741e Mantis#1451. Thank you kindly, mikem for additional
tests for LSL types and strings.
2008-06-05 23:36:59 +00:00
Charles Krinke f9a67ab5f0 Mantis#1460. Thank you, CMickeyb for a patch that addresses:
I'm getting an unhandled exception in openxmlrpcchannel during simulator initialization.
I have two objects in different regions that open remote data channels in the state_entry event. 
It appears that the state_entry call is executing before the postinitialize method is called in 
xmlrpcmodule (the exception occurs because m_openChannels is not initialized).
2008-06-05 20:18:15 +00:00
Charles Krinke d66de83938 Mantis#1459. Thank you kindly, CMickeyb for a patch that:
the function that reports errors in event handling is not computing the 
line numbers correctly for windows paths (and probably linux paths). 
As a result, the conversion to int throws an exception.
note... i'm not sure why we extract the line number, convert it to an int, 
then convert it back to a string... but hey... :-)
2008-06-05 19:30:35 +00:00
lbsa71 901b9365ba * Applied 9085B_[5004]_xengine_abort_regression.patch from #1437
Thank you, Melanie. And Thank you ckrinke. Bigups!
2008-06-05 14:31:07 +00:00
Charles Krinke 3b764dd34f Mantis#1438. Thank you kindly, Melanie for a patch that:
This patch implements the llLoopSound patch from Xantor for the XEngine
2008-06-05 14:22:53 +00:00
Charles Krinke dab3a53920 Mantis#1437. Patch 3 of 4. Thank you kindly, Melanie for:
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:18:53 +00:00
Charles Krinke bbabd68c7c Mantis#1437. Patch 2 of 4. Thank you kindly, Melanie for:
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:17:22 +00:00
Charles Krinke e3c14e9b24 Mantis#1437. Patch one of four. Thank you kindly, Melanie for:
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:15:15 +00:00
Charles Krinke e2d87b04e3 Mantis#1455. Thank you kindly, Mikem for a patch that addresses
the client thread terminating when creating a new script.
2008-06-05 14:03:08 +00:00
Charles Krinke c289c2b6d4 Mantis#1450. Thank you kindly, Boscata for a patch that addresses:
I have detected a bug of conversion data type in OpenSim.Data.MSSQL.MSSQLInventoryData.addInventoryItem(InventoryItemBase item)
in the GroupOwned field.
My sollution is to change the flield to bit in the table. In the 
readInventoryItem(IDataReader reader) change too item.Flags = 
(uint) reader["flags"]; to item.Flags = Convert.ToUInt32(reader["flags"]);
Now Inventory runs fine.
2008-06-05 13:57:58 +00:00
Charles Krinke 3a4b54adaa Mantis#1451. Thank you kindly, Mikem for a patch that addresses:
LSL scripts in which a float type is cast to a string or a string type 
is cast to a float do not compile. When the script is translated from 
LSL to C#, the LSL float type is translated into double. There is no 
string <-> double cast in C#, so compilation fails.
There is a LSLFloat type, however it seems unfinished and is not used.
I am attaching a patch that implements the LSLFloat type. I have also 
added two methods to the LSLString type to facilitate float <-> string casts.
2008-06-05 13:54:20 +00:00
Teravus Ovares e12baa5eb3 * This sends collision events to the script engine.
* Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher...  so llDetected functions don't work with collision events at the moment....
2008-06-05 13:24:59 +00:00
Teravus Ovares 622cd3db8b * Don't create ghost prim when rezzing objects from inventory 2008-06-05 10:44:46 +00:00
Jeff Ames 3b9fb61bde Update svn properties. 2008-06-05 05:43:22 +00:00
Justin Clarke Casey 78d7d6edb0 * minor: Yet another minor logging message tweak following on from the last commit 2008-06-05 02:12:44 +00:00
Justin Clarke Casey 7f10e5f338 * minor: Increase verbosity of "new user request denied" incoming session warning for debugging purposes 2008-06-05 01:55:45 +00:00
Justin Clarke Casey 677e2ca330 * refactor: rename now inaccurate textureUuids to assetUuids
* 5000 commits in this repository!
2008-06-05 01:29:52 +00:00