Commit Graph

4694 Commits (7352bd7b992c36026876b4d1fb3e63f02aa984ec)

Author SHA1 Message Date
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
Jeff Ames efeba85662 Change a couple Windows directory separators in SVN module to be platform agnostic. 2008-05-28 00:35:10 +00:00
Jeff Ames eed2f7ac18 Update svn properties. Fix inconsistent newlines. 2008-05-28 00:26:00 +00:00
Justin Clarke Casey fdf4de419f * Include prims.xml file in archive 2008-05-27 23:29:59 +00:00
Justin Clarke Casey e116c94482 * Add .jp2 extension to archived textures 2008-05-27 23:20:53 +00:00
Justin Clarke Casey 69fdd0d3e8 * Write prim archives out as v7 tar files temporarily for testing purposes - not even gzipping yet!
* Using hacked up code to create the correct tar archive headers - this stuff should really go away again before too long
* No user functionality yet
2008-05-27 22:49:34 +00:00
Sean Dague 46d91df2a8 another take on the whole string cleansing, by adding specific poison
keywords in foo.bar strings.  Add items to the poison array to block them.
2008-05-27 22:25:14 +00:00
Adam Frisby 7a77a069dd * Added new InstallPlugin interface to ITerrainModule.
* This is to allow other region modules to install Terrain Effects.
2008-05-27 21:06:48 +00:00
Teravus Ovares 1487699045 * Revert last commit as it opens sim owners up to all sorts of nasty scripts.
* If the regex that we're using isn't good enough, we really need to make it better.
2008-05-27 19:07:57 +00:00
Sean Dague e436120d60 comment out the x.y security check in the script engine because it's so aggressive
it blocks string = "http://osgrid.org", amoung other things.
2008-05-27 18:40:49 +00:00
Charles Krinke e2e692c583 Thank you kindly, Melanie for a patch that adds:
GetSerializationData() and CreateFromData() methods
2008-05-27 14:36:23 +00:00
Justin Clarke Casey 64821ac0a1 * Implement asynchronous assets request for archiving
* No user functionality yet
2008-05-27 14:21:32 +00:00
Charles Krinke 2cea74181a Thank you very much, Xantor for a patch that:
If a request is made for an asset which is not in the cache yet, 
but has already been requested by something else, queue up the 
callbacks on that requester instead of swamping the asset server 
with multiple requests for the same asset.
2008-05-27 13:40:00 +00:00
Dr Scofield 1d3d739da4 fixes a CTB when IRCBridgeModule is not configured. 2008-05-27 13:16:44 +00:00
Dr Scofield 34f1741866 cleaning up: coding style guidelines violation in RestPlugin.cs.
adding support for enabled = true|false for IRCBridgeModule
2008-05-27 12:24:29 +00:00
Dr Scofield 077c6b816b updating URL for LSL status. 2008-05-27 08:42:48 +00:00
Dr Scofield a2f8f58f7d I'm dropping the ISimChat interface as that has now been
replaced by EventManager events. 

also, i've added instructions to README.txt about running 
runprebuild.sh and on how to report bugs.

plus some minor fixes (dropping m_log statement left over 
from debugging llOwnerSay, nicer catch of exception in 
IRCBridgeModule
2008-05-27 08:21:59 +00:00
Adam Frisby 392375d34b * Assigns a random UUID to a region if the Sim UUID is null. 2008-05-26 22:11:56 +00:00
Adam Frisby 77281ed85c * Potential fix for Mantis#167, 332 - MySQL Thread collision. 2008-05-26 21:53:32 +00:00
Adam Frisby de06c85259 * Patch from jhurliman - Implements a binary search in the LLRAW exporter which dramatically speeds up exports. 2008-05-26 21:39:01 +00:00
Charles Krinke ed717ec181 Thank you kindly, Melanie for a patch for script reset
that creates the event handler chain ready to hook by script engines
2008-05-26 16:16:48 +00:00
Dr Scofield 30a9469757 disabling m_log again. 2008-05-26 15:53:04 +00:00
Dr Scofield 1bb1d5d9b0 This cleans up a merge mess from the earlier checkin and implements llOwnerSay()
via the newly created Scene.SimBroadcast() call.
2008-05-26 15:37:31 +00:00
Dr Scofield 42cdf3c240 Adding OnChatBroadcast event logic to EventManager providing
a clean interface for Sim broadcasts. Added SimBroadcast support to 
ChatModule.

Removing all code from IRCBridgeModule dealing with agent/client directly.

Cleaning up ChatModule.

Polishing IRC messages, adding support for "/me" (both directions).
2008-05-26 11:56:04 +00:00
Justin Clarke Casey bf7c557f57 * Minor: method documentation fiddling in SceneObjectGroup 2008-05-26 02:17:03 +00:00