Commit Graph

6869 Commits (fbafaab34227d70e54a57980e8b4e13e8af6c37b)

Author SHA1 Message Date
Justin Clarke Casey 42e54537aa * From inspecting OSGrid WP logs, it appears one particular client is failing because they are giving an illegal initial position to ScenePresence.MakeRootAgent()
* If we detected an illegal position (x, y outside region bounds or z < 0), then print out the illegal position and substitute an emergency <128, 128, 128> instead
2008-06-11 01:31:39 +00:00
Justin Clarke Casey ce9d0799ae * Add 'show info' command to all servers, which prints the directory in which the server was started
* This is potentially useful if you're using screen on a region console without knowing where it was originally started from
2008-06-11 00:41:07 +00:00
Justin Clarke Casey c2054d225e * minor: Reduce statistic log snapshots to every 20 minutes to get more information 2008-06-10 23:47:33 +00:00
Justin Clarke Casey 928b32054c * minor: Report cache figures in rounded up KB instead of with decimal places in show stats
* trade easier readability for pointless accuracy
2008-06-10 23:42:42 +00:00
Justin Clarke Casey 3794f25ebd * minor: Properly clear the pushed asset cache statistics where the clear-assets command is used on the region console
* stop waiting for garbage collection when GC total memory used is requested, in case the periodic request of this lags the sim
2008-06-10 23:35:04 +00:00
Justin Clarke Casey 686f16cedd * If a server has statistics, print these out to the log every hour to get some idea of how these evolve
* When returning GC.GetTotalMemory(), force collection first in order to get more accurate figures
2008-06-10 23:19:38 +00:00
Sean Dague be400d1bd0 I'm going to need the Version property to manage
migrating from the old to the new system.  Silly legacy
code.
2008-06-10 23:17:18 +00:00
Sean Dague 68cda63761 update of migration code to be more sane on version
tracking, and support sub types that we'll need for
nhibernate.
2008-06-10 22:57:20 +00:00
Jeff Ames fb9a338bc4 Update svn properties. 2008-06-10 22:54:19 +00:00
Charles Krinke 9b43668bf3 Mantis#1529. Thank you kindly, Grumly57 for a patch to
xengine to:
Replaces "presence.Name" => "presence.ControllingClient.Name" to return avatar's name.
2008-06-10 22:41:39 +00:00
Justin Clarke Casey 184a288b4d * Add memory currently allocated to OpenSim to 'show stats' statistics
* This is the GC.GetTotalMemory() method, which I'm guessing does not include memory used by the VM (hence the memory usage reported in top on linux would be much higher)
2008-06-10 18:10:57 +00:00
Charles Krinke 53cc63e243 Mantis#1501. Thank you kindly, Nebadon, for a patch that
addresses the 'terrain fill 0' error.
2008-06-10 16:02:18 +00:00
Jeff Ames 5910a49da6 Update svn properties. Formatting cleanup. 2008-06-10 08:35:46 +00:00
Teravus Ovares 8a93358405 * This completes ObjectDuplicateOnRay.
* In English, that means that Copy Selection works now, including Copy Centers and Copy Rotates.
2008-06-10 00:18:00 +00:00
Sean Dague c62f081380 actually create and populate the migrations table correctly. 2008-06-09 22:20:28 +00:00
Sean Dague 69fb4ee208 migrations seem to not break anything at this point.
Tomorrow I'll start trying to integrate them into sqlite
to see if this works right for table migration.
2008-06-09 22:01:21 +00:00
Sean Dague 504ab4477d move Migration support into OpenSim.Data, because it
really turned out to be small enough to not need it's own
assembly
2008-06-09 21:40:16 +00:00
Sean Dague 2e2dde71f2 fill out some more migration facilities 2008-06-09 19:37:13 +00:00
Sean Dague c30e9ff0f1 more work in progress migration code, still a while before
this becomes useful
2008-06-09 19:11:49 +00:00
Sean Dague 283cc90566 start in on the shell for a generic database versioning module. My
intent is to create an easier way to manage database table versions
like the model used for ruby on rails migrations.
2008-06-09 18:24:07 +00:00
mingchen db151bcec7 *Fixed bug that caused failure when System.Console.Readline returns null (no stdin)
*Fixed bug that would crash the simulator if there were two physics/meshing engines loaded with the same name.
2008-06-09 15:20:08 +00:00
mingchen c3292a9afa *Patched CreateItemsTable.sql (MSSQL). Patch by Kyle and Chris from G2. 2008-06-09 14:48:28 +00:00
Jeff Ames dfb63b5623 Update svn properties. Formatting cleanup. 2008-06-09 08:46:33 +00:00
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