Commit Graph

3239 Commits (be6edefcfb6574c1d011809315bfc464c479844c)

Author SHA1 Message Date
Teravus Ovares f2b175ef08 * Added some inter-region comms glue for allowing sims to chat amongst themsevles about an agent behind the agent's back.
* Will be using this glue Tomorrow/today to tell other regions what the agent's draw distance is and what region they're actually in so the region can make decisions on what prim to send, if any.
2007-12-09 05:59:49 +00:00
Jeff Ames 65b9fa9a5f added more packet handling stubs 2007-12-09 00:07:03 +00:00
Brian McBee 890a7c2e80 Adding an explicit close() and dispose() in the hope that it might help with assetserver issues. 2007-12-08 23:47:41 +00:00
Brian McBee 383eccc543 hackish code to allow emptying of trash. This really should be done on the inventory server, and not from the region.
Also: it appeared to work the first try, so I have probably done something horribly wrong.
2007-12-08 20:41:37 +00:00
Brian McBee beca2373e1 Allow moving, deleting, and restoring objects in inventory.
Note: only tested in grid mode, and emptying trash is still not implemented.
2007-12-08 19:13:10 +00:00
Teravus Ovares e0e9237a89 * Added back the regionup code so people in nearby sims can see a downed sim coming back up. 2007-12-08 17:25:34 +00:00
Sean Dague 0855066968 This patch fixes mantis 105. Basically, it stops the index exception when
no root folder is found and it makes the user server wait longer for the
inventory server to do its work.

From Justin Casey (IBM)
2007-12-08 14:27:12 +00:00
Jeff Ames 5e08911400 set svn:eol-style 2007-12-08 10:04:06 +00:00
Teravus Ovares 5f516c9fb2 * All remoting calls are now using Serializable values
* There's still goofyness though, because other regions are denying child agent avatar.
* Still more debugging required.
2007-12-07 23:21:32 +00:00
MW 87b337ebf9 Enabled the TextureDownloadModule, so that hopefully I might get some feedback, as to if it makes the texture problem better or worse. As I plan/hope to work on texture/asset downloading this weekend. 2007-12-07 22:47:11 +00:00
MW a71f4c021b "Borrowed" the LLSD class from a older version of libsl, so that our LLSD decoding (used by CAPS) works again. 2007-12-07 22:29:16 +00:00
Sean Dague 0aa982c252 move to PacketQueue for throttling. This has been tested with a couple
of people, but is enough of a change that more should try it out.  This
removes 500 lines from ClientView.cs in the process.
2007-12-07 21:30:01 +00:00
Sean Dague 4221ec23f9 further screwing around with the PacketQueue data structure.
Nearly time to replace a chunk of ClientView with this.
2007-12-07 19:13:35 +00:00
Teravus Ovares 25ec01311d * Serialized data properly for the InterRegionSingleton InformRegionChild method
* This isn't really that big of a deal(worth lots of commits) doing this, however I'm doing it in small chunks because I'm multi-tasking.
2007-12-07 18:20:34 +00:00
MW e23290eff6 Avatar Appearance refactoring /changes. Added a AvatarAppearance class, each ScenePresence "has" a AvatarAppearance object. All the ScenePresences in a opensim related to one user (so a user's various ScenePresence's in all the regions in that instance) share the same AvatarAppearance object. This means that a user's avatar should appear correctly (to both that user and other users) no matter what border crossing or teleporting they have done.
Note: this mainly improves Standalone mode, as in grid mode the appearance data isn't passed between region servers. Although people should notice a improvement when moving between regions in the same instance.
2007-12-07 17:23:11 +00:00
Sean Dague 7f4d033490 This small patch means that the inventoryserver for grid mode now
retrieves items in the agent's root inventory folder.

From Justin Casey (IBM)
2007-12-07 15:59:26 +00:00
Teravus Ovares cbc8a27b34 * Added class sAgentCircuitData and unmarked AgentCircuitData as Serializable.
* Created converter constructors between sAgentCircuitData and AgentCircuitData
2007-12-07 15:56:16 +00:00
lbsa71 9414d6a1e1 * miniscule changes just to keep myself in synch 2007-12-07 13:49:33 +00:00
Jeff Ames 8297da56f2 updated libopenjpeg-libsl-2.1.2.0.dylib 2007-12-07 09:56:42 +00:00
MW 167846311a updated openjpeg-libsl.dll 2007-12-07 09:47:36 +00:00
Adam Johnson 3d938f76b7 Updates to LibSL revision 1498. Thanks Johan! 2007-12-07 08:54:31 +00:00
Teravus Ovares 57f666497b * Added hacked support for 'anyone can move' and 'anyone can copy'.
* BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar).
* Also, beware that any objects created under the old permission scheme may react oddly.  They may automatically allow anyone to modify them, (which you'll then have to un-set).  
* It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
2007-12-07 07:42:03 +00:00
Jeff Ames 6abe37e71d added timer_Script to OpenSim.ini.example 2007-12-07 02:14:17 +00:00
Jeff Ames a45118d35e added one more command to the console help. 2007-12-07 02:00:35 +00:00
Sean Dague 9326ee425b added a lock to prevent multiple Timer popping races
on the packet queues.
2007-12-06 21:59:31 +00:00
Sean Dague 1ad83bcf1b reversing the r2599 patch, as this started causing CreateThread errors for
me on Mono 1.2.4, which led to client crashes.  I think the Timer.Stop() 
wasn't doing what was desired on Mono.  The Queue refactoring should address
the readability issues lbsa71 was working on as soon as I get the merge together.
2007-12-06 20:13:02 +00:00
Jeff Ames 73599c0f25 removed obsolete Verbose() function 2007-12-06 18:17:44 +00:00
Jeff Ames a47176ee92 more minor cleanup. added some command descriptions to region server help. 2007-12-06 17:41:21 +00:00
lbsa71 395637acdd * now the throttle timer is stopped whilst processing Queue so that it won't fire twice
* started to refactored throttling method
* some code convention refactorings
2007-12-06 14:08:22 +00:00
MW 44caa7ae8e Fixed conversation bug in InventoryConfig 2007-12-06 10:29:53 +00:00
Adam Frisby 9e5f7fb415 * Removed lots of scurrilous uses of ASCII/UTF8.GetBytes for making packet strings. BAD PROGRAMMER BAD. Use Helpers.StringToField instead. >_> 2007-12-06 06:36:49 +00:00
Jeff Ames 1c593d9e19 minor cleanup of Scene.cs (parameter naming, function documentation stubs, duplicated UUID, you know...) 2007-12-06 04:01:56 +00:00
Jeff Ames 579c0ef61e added svn:ignore to stuff in OpenSim.DataStore.MSSQL 2007-12-06 03:02:17 +00:00
Jeff Ames 4bde56457f removed some duplicate hard-coded port numbers. changed ports to uint. 2007-12-06 01:41:41 +00:00
MW d2736437d4 Some refactoring of the RestObjectPoster (and related classes). 2007-12-05 19:02:57 +00:00
Sean Dague 4b77821275 From Justin Casey (IBM)
When using a local inventory service, this patch stops items held in the
root 'my inventory' folder from 'disappearing' on server restart.
They were actually still there, we just weren't retrieving them.
>From looking at the grid inventory server, the bug probably still exists
in there.
But I wanted to get this patch in first and consult with MW about the grid
fix (he may be planning to change the area extensively soon).
2007-12-05 19:00:29 +00:00
Sean Dague c5c0df74e6 Do not create a new asset on item metadata change
From Justin Casey (IBM)
2007-12-05 18:58:55 +00:00
Sean Dague 9c81b8a430 From Gary Chernega (IBM)
This patch adds x, y, and z offsets to the load-xml command.
If you had a prim at 100,100,20 thats where it would get loaded everytime. 
This patch lets you place it at an offset from 100,100,20.. as such:

        load-xml <filespec> -newUI 3 1 2

Loading the prim at 103, 101, 22
2007-12-05 18:45:05 +00:00
Teravus Ovares 71fd737a66 * Applied MSSQL Patch from akokko, Thanks! akokko
* This hasn't been tested in MSSQL mode, however it's been checked to make sure it doesn't cause any issues with mySQL/SQLlite
2007-12-05 15:53:58 +00:00
MW be93de1257 made one or two more methods in Scene virtual to allow overriding in sub classes. 2007-12-05 13:23:12 +00:00
Teravus Ovares bb824eadee * Refactored Permissions into ScenePresence as requested by MW
* Un-hackerized generating the client_flags 
* Now handling the ObjectPermissions Update packet 
* Warning: Backup your prim before updating.  If you fail to do so and something goes wrong then, All Yr prim are belong to us!
2007-12-05 06:44:32 +00:00
Jeff Ames a24b6fe924 fixed a few compiler warnings under mono (committed from a train, with adjohn and afrisby, enroute to a wine cave with the worst wine in the world) 2007-12-05 04:16:20 +00:00
Teravus Ovares 77dd997ef1 *disabled some confusing code regarding permissions 2007-12-04 23:58:44 +00:00
Jeff Ames f195725db4 keeping opensim safe for children -- made some namespace references less explicit 2007-12-04 22:14:53 +00:00
Jeff Ames 54c070608e made log messages for known unhandled packet types shorter and yellower. added handler stubs. 2007-12-04 21:44:10 +00:00
Sean Dague 2adcdd3d15 minor refactor so that I can now grok what happens for outgoing packets 2007-12-04 20:20:15 +00:00
lbsa71 c1fdba8a6f * Some more ApplyPhysics voodoo 2007-12-04 16:41:20 +00:00
Teravus Ovares a553e6f67c * Avatar picker works in grid mode now.
* To test, click the communicate button, then click the 'add' button and type a name.  You will get a list of closely matching avatar names.
* Before this'll work on your sim in grid mode, the UGA needs to be updated.  If it isn't updated, then you'll get a message on the sim console when searching like, 'got invalid queryid'.
2007-12-04 16:07:59 +00:00
lbsa71 bf8239c7fa * ApplyPhysics now creates the PhysActor as well. 2007-12-04 13:46:18 +00:00
lbsa71 90611ebf8d * took a stab at #54 2007-12-04 13:43:11 +00:00