Commit Graph

5068 Commits (b2febd03f0c6a4e286e022b96683771aa09405bf)

Author SHA1 Message Date
Justin Clarke Casey 83f390e421 * Refactor: Change multiple requests for a module interface to use a stored reference instead. 2008-05-30 18:01:28 +00:00
Justin Clarke Casey 4f237f3ae3 * Crudely migrate SceneXmlLoader into the Serializer module 2008-05-30 17:52:14 +00:00
Charles Krinke 84b4158205 Mantis#1422. Thank you kindly, Xantor for your llLoopSound()
patch and I apologize for my confusion with the interim 
patch earlier.
2008-05-30 16:37:17 +00:00
Justin Clarke Casey 6265ea371e * Stop the IRC module throwing a nre on shutdown if it isn't actually being used 2008-05-30 16:16:03 +00:00
Justin Clarke Casey ea4982e453 * Successfully pick out prims.xml file from archive 2008-05-30 16:08:28 +00:00
Charles Krinke 48d0084e53 Mantis#1422. Thank you kindly, Xantor for a patch that :
- volume doesn't change with a new llLoopSound(same sound, new volume);
- SendFullUpdateToClients sends 0's in all sound related fields when 
there's no sound on the prim, thereby improving the amount of data being 
sent out on these prims (fixes zeropack)
- Removed some code duplication between llStartSound, llLoopSound and llParticleSystem() calls
2008-05-30 15:34:54 +00:00
Justin Clarke Casey f26eeab3d4 * Read all files from tar archive
* No reload functionality implemented yet
2008-05-30 15:18:40 +00:00
Dr Scofield 9590e671e6 while investigating why IRCBridgeModule.Close() was having no effect, i
noticed that Scene.Close() will only call Close on non-shared region
modules. i've now added code to SceneManager.Close() to collect all
shared region module from each scene before calling Scene.Close()
on it and then, once, all Scenes are closed, go through the list of
collected shared region modules and close them as well. SceneManager.Close()
is only called when we initiate a shutdown --- i've verified that a
Scene restart does not trigger the shutdown of shared modules :-)

also, this adds a couple of bug fixes to the IRCBridgeModule (which
after all didn't take kindly to being closed) as well as a check to
InterregionModule's Close() call.

finally, this fixes the RestPlugin's XmlWriter so that it no longer
includes the "xsd=..." and "xsi=..." junk.
2008-05-30 12:29:30 +00:00
Teravus Ovares 1a47ff8094 * This is Melanie's XEngine script engine. I've not tested this real well, however, it's confirmed to compile and OpenSimulator to run successfully without this script engine active. 2008-05-30 12:27:06 +00:00
Teravus Ovares 334d05db05 * Fixed a dangling event hook that I added.
* Added a Non-finite avatar position reset.    This will either handle the <0,0,0> avatar gracefully, or send the avatar to 127,127,127 if that also doesn't work.  ( I've only been able to reproduce this error once on my development workstation )
2008-05-30 11:25:21 +00:00
Jeff Ames 0462510956 Update svn properties. Formatting cleanup. 2008-05-30 08:35:57 +00:00
Dr Scofield 5b0d47dddb thanks krtaylor for a
Patch to cleanup some incorrect parsing, boundry conditions 
	and error checking in the llGetNotecardLine and 
	llGetNumberOfNotecardLines functions.
2008-05-30 07:38:45 +00:00
Teravus Ovares d2aa2be788 * Added helper method to the Sun module to Get the Linden hour based on the math in the sun module. This populates the sun phase slider on the terrain tab in the estate tools according to the current sun phase. Display purposes only for now. Need to go the other way for setting the sun phase based on the linden hour in the estate tools. 2008-05-30 05:25:50 +00:00
Teravus Ovares cdfb1f3623 * Updated sun module to only send sun updates to root agents. Because it was sending updates to both root and child agents, you'll still get sun jitter until this revision is adopted by every region nearby. 2008-05-30 00:48:57 +00:00
Teravus Ovares 9cefda83d6 * Caches UUIDName requests
* Looks up UUIDNames for script time and colliders in a separate thread.
* Hopefully this'll allow you to look at top scripts on a region that has a lot of scripts without crashing your client thread.
2008-05-29 23:36:37 +00:00
Teravus Ovares 45c6523904 * Fixes a few taper/top-sheer situations that were previously having issues. 2008-05-29 20:50:38 +00:00
Teravus Ovares 918f887c0c * Applying Dahlia's interim path curve patch. it adds initial support for some tori/ring parameters. Thanks Dahlia!
* Some situations do not match the client's render of the tori, we know and are working on it.   This is an initial support patch, so expect it to not be exact.
* Some tapers are acting slightly odd.  Will fix.
2008-05-29 20:20:50 +00:00
Charles Krinke e2361548cb Mantis#1416. Thank you very much, Melanie for a patch that:
Createa a method to find out if a prim inventory contains scripts
2008-05-29 19:09:21 +00:00
Teravus Ovares 61c7130341 * Ruling out another potential cause of zombie-ism 2008-05-29 16:36:11 +00:00
Teravus Ovares 83bd85ce7f * Fix string literal with URL + LLcommand();
* Added 'detected around: value' when a x.Y detect occurs to help debug.
* Fixed object text is too long to store to the database (wikilith)
2008-05-29 16:21:41 +00:00
Dr Scofield d7ec686691 this is a snapshot of the OSHttpServer work-in-progress. it's an initial skeleton,
far from complete, just want to check in early and often.
2008-05-29 15:46:54 +00:00
Sean Dague 22c7845e0c attempting to get to the bottom of unresponsive grids servers by
adding back in a few messages on exceptions.
2008-05-29 15:01:26 +00:00
Charles Krinke a84456c239 Mantis#1411. Thank you kindly for Dataserver.cs and a patch
that adds function stub to request region info by name and
adds llRequestSimulatorData() and the dataserver event
2008-05-29 13:55:02 +00:00
Dr Scofield c2925dcd40 cleaning up returned XML REST doclet (no more xsi, xsd) 2008-05-29 13:55:01 +00:00
Charles Krinke 91b75eda85 Mantis#852. Thank you kindly, cmickeyb for a patch that:
There appears to be a problem with the mapping of scripts when an llHTTPRequest completes. 
CheckHttpRequests() looks for a function that maps to the localID associated with the http 
request. However, the only context in which it looks is that of the first region. That is,
m_CmdManager.m_ScriptEngine.m_ScriptManager is the same no matter where the script executed 
that initiated the llHTTPRequest. Since scripts appear to be loaded into a region specific 
scriptmanager on startup, the event handler is only found for requests coming from the first region.
2008-05-29 13:42:29 +00:00
Teravus Ovares 3e0244c633 * Added a child agent check to the ChildAgentData Update to make sure that you're a child agent before applying the changes from the grid comms. Doing this to rule it out as a source of a few bugs such as the Zombie bug and the Express Train to 0,0,0 bug. 2008-05-29 02:14:27 +00:00
Adam Frisby 3c47fd2cb2 * Fixed a slight issue with the LLRAW exporter.
* Linden uses a neutral height channel of 128.0 on their multiplier. OpenSim was using a neutral of 127.0 - this has been changed to 128.0, this may cause files exported to the .RAW format to look slightly different when loaded back in - it is highly recommended to use the R32 format instead which avoids these sorts of issues.
* Made a tweak to the Terrain Plugin loading process.
2008-05-28 23:52:24 +00:00
mingchen 1d38510bd2 *Added a Few External Checks relating to scripts including the seperation of runscript into 3 different situations (Rez, start stop) 2008-05-28 23:20:01 +00:00
Sean Dague b0be8075cd From: Kurt Taylor <krtaylor@us.ibm.com>
Attached is an initial implementation of llGetNotecardLine and
llGetNumberOfNotecardLines. I decided to go ahead an send these out for
comment while I continue to work on the second part of the proper
implementation. These functions work and return the values requested, as
initially defined in the code, but should be properly implemented to return
the requested information via a dataserver event.  This
event will be added and these functions fixed and included in a second
patch shortly.
2008-05-28 21:43:41 +00:00
Sean Dague 858ddfa605 update the nhibernate inventory item base definition 2008-05-28 19:40:42 +00:00
Sean Dague 11d83cb737 actually user the database_connect string for mysql.
This means you can run all the OpenSim grid services without
needing a mysql_connection.ini
2008-05-28 18:12:32 +00:00
Sean Dague 89c164fbc1 let Grid Servers specify a connect string in their configuration. 2008-05-28 17:59:46 +00:00
Justin Clarke Casey a8b8bacf28 * Minor: Another small log adjustment 2008-05-28 17:56:00 +00:00
Justin Clarke Casey 45b26d4540 * Minor: Log message clean up in archiver code 2008-05-28 17:54:12 +00:00
Justin Clarke Casey fb91a1aa49 * Put in stubs for "load-oar" command, including ultra-primitive temporary tar loading code
* Currently as a test, this will successfully load only the first file of an opensim archive and do absolutely nothing with it
2008-05-28 17:49:34 +00:00
Sean Dague c4868b0eda spring cleaning, remove a bit of db4o grid server
code that was still in tree.
2008-05-28 17:35:34 +00:00
Justin Clarke Casey 51a43b30a2 * Put textures into a separate assets/ directory in the opensim archive
* Fix nre where the asset couldn't be found
* Not ready yet
2008-05-28 16:37:43 +00:00
Sean Dague 7ddf183da4 remove terrain bloat, only keep last terrain revision
for mysql.  For active terraformers this should return
a lot of database space.
2008-05-28 15:02:04 +00:00
Sean Dague a28a6e9aaa remove an erroneous line to fetch the terrain table in a way that
isn't actually used.
2008-05-28 14:57:24 +00:00
Sean Dague 65237d0136 fix http://opensimulator.org/mantis/view.php?id=1001 2008-05-28 14:47:33 +00:00
Charles Krinke 06147d0492 Mantis#1406. Thank you kindly, Xantor for a patch that:
llLoopSound sends out one packet to clients in view, so it doesn't work anymore 
when clients enter later on, or the prim is modified in any way.
Solution: Stored sound data on prim, send full update instead.
llStartSound and llLoopSound now accept both LLUUIDs to a sound as well as object 
inventory sound names. llStopSound clears prim data and sends full update.
2008-05-28 14:03:08 +00:00
Charles Krinke de43c2db57 Mantis#1398. Thank you kindly, cmickeyb for a patch that:
small patch to encode and send the outbound_body parameter 
in an http request. this enables post messages to send a body
2008-05-28 13:56:15 +00:00
Teravus Ovares 715fbecd79 * Implements duplicate packet tracking. This virtually eliminates object duplication causing 2-3 duplicates depending on the UDP connection quality. This also eliminates duplicated chat, etc.
* It's verbose currently since this is new.  You'll see: [CLIENT]: Warning Duplicate packet detected X Dropping.  After this is sufficiently tested we'll remove that m_log.info line.
2008-05-28 08:40:22 +00:00
Jeff Ames 5752c1f5c2 Formatting cleanup. 2008-05-28 03:44:49 +00:00
Charles Krinke e34f537a1a Thank you kindly, Melanie for a patch that:
When renaming items in task inventory, they become useless. Fix attached
2008-05-28 02:47:24 +00:00
Charles Krinke 82e3698f59 Thank you very much, ChrisIndigo for a patch that:
If a script updates an object to the same position or rotation offset, 
the object triggers an update and storage of the object. This become 
more prevalent in sensor and timer events which may be firing frequently.
2008-05-28 02:10:16 +00:00
mingchen 00751ab6f1 *Hiding the warnings about scanning assemblies when initialising 2008-05-28 02:07:43 +00:00
Charles Krinke 6d51eef9ce Thank you, Grumly57 kindly for:
This patch proposes a new function : osOpenRemoteDataChannel(key channeID) 
that allow to open an XMLRPC channel for remote_data event. The difference 
is that the channelID can be customized instead of being randomly generated.
2008-05-28 02:06:56 +00:00
Charles Krinke 5f2b8fd5e1 Thank you kindly, Melanie for a patch that adds a two-stage
check. It seems there may be a race. For me, this patch, 
just as it is here, fixes it.
2008-05-28 02:00:43 +00:00
Teravus Ovares fb1c7e62d2 * Resolves comment removal in string literals in the LSL2CSConverter 2008-05-28 01:47:33 +00:00