Commit Graph

1624 Commits (97c1b84463e28d047f3ce9c1e5ba2fb3ea32bc80)

Author SHA1 Message Date
Sean Dague a5a408c444 pluging away, setting up storage manager 2007-12-14 18:01:51 +00:00
Sean Dague 7d53c736f6 start to pull in config for OpenSim export 2007-12-14 17:51:18 +00:00
Sean Dague 368333e52c make a change to make it possible to get access to the DefaultConfig
from other places.
2007-12-14 17:50:02 +00:00
Teravus Ovares a0d1496475 * Fixed a cause of an ODE 'invalid operation for locked space ' 2007-12-14 17:32:13 +00:00
Sean Dague 65a002fc3a stubbing in OpenSimExport program. This does nothing
yet except compiles a shell
2007-12-14 16:29:06 +00:00
Charles Krinke 9ca70e029a Again, thanks to Alondria for: adding llGetTime, llResetTime, and llGetAndResetTime.
Also for fixing Rot/Vector Regex from being too greedy by removing bug in the 
LSL->C# converter that was causing the vector and rotation parser.
2007-12-14 16:10:56 +00:00
lbsa71 9ed2b26232 * Just making Create public 2007-12-14 15:29:51 +00:00
MW 678254235a Another addition to Inventory debug output. 2007-12-14 12:23:54 +00:00
MW edb1c732fa more inventory debugging output added to region server. 2007-12-14 12:06:29 +00:00
MW 1173a14fbf Added some extra debug console output to Inventory Server and region OGS1 inventory requests. 2007-12-14 11:45:27 +00:00
lbsa71 0a4a5bbcef * ARequest changed name to AssetRequest and moved to own file.
* The AssetServerBase is now responsible for dequeueing, the server implementations merely recieves ProcessRequest( AssetRequest req )
* Catchall added around queue processing thread so thread won't abort on exceptions.
2007-12-14 08:47:15 +00:00
Teravus Ovares 79935881aa * Patch from Justincc that swaps out LLUUIDs for Guid on the inventory REST calls 2007-12-14 07:55:33 +00:00
Jeff Ames c65b2a38d8 Added copyright notice.
Added script (add-copyright.sh) to make doing this relatively painless.
2007-12-14 02:53:15 +00:00
Teravus Ovares fef8c77a8a patch from justincc for Mantis #163 - Opening a script in inventory longer than 1500characters can cause looping crash. 2007-12-14 00:54:12 +00:00
Teravus Ovares 7fdfeb5830 * Added Active(physical) object count to the SimStatsReporter 2007-12-14 00:49:40 +00:00
Sean Dague f773733fcb From Michael Osias (IBM)
This patch makes some enhancements to the llRemoteData functions.  The
module is now a shared module, and allows remote data channels to be
created among multiple regions in the same sim.  The port is controlled
from the remoteDataPort property under the [Network] section in
OpenSim.ini.  If this setting is not present or = 0, the module is
disabled and no port is opened.  llRemoteData commands have not effect
when module is disabled.
2007-12-13 19:50:21 +00:00
Jeff Ames fd09b22552 Enabled the sit_ground animation. The sit state is not properly set, but it looks okay, and doesn't seem to break anything. Just move around to stand up. 2007-12-13 19:44:47 +00:00
Jeff Ames 8338e4999f Added placeholder for sitting on ground support. Doesn't work yet. 2007-12-13 18:59:39 +00:00
Jeff Ames 8d995a5a5d Minor cleanup 2007-12-13 18:45:32 +00:00
lbsa71 1cf4278862 * Debugging Shape
* Adding namesetting to Create
2007-12-13 14:47:44 +00:00
Jeff Ames 83ca8bd178 Fix for #176 (... doesn't appear in chat bubbles). This also gets the viewer to handle starting/stopping of the typing animation. 2007-12-13 07:10:32 +00:00
Sean Dague 7625438ade From Michael Osias (IBM)
This patch implements the llHttpRequest function via a region module,
HttpScriptsRequest.  There were bits and peices in LSLLong_cmd_handler,
which I moved into the region module, and just check for completed
requests and dispatch the http_response callback event instead.

works for me as of r2674
2007-12-12 22:14:43 +00:00
Charles Krinke a0a189aed2 Thanks to Alondria for:
llResetScript() is now functional. With this patch, Kan-script 0000003 should run.
Noted the llListen(0,"","","") errored due to "" != UUID - patched to set to 
NULL_KEY which then works to listen to everything.
2007-12-12 22:07:40 +00:00
Sean Dague 100fb6a0b1 remove another partial class, and map another class back to a real file 2007-12-12 20:45:39 +00:00
Teravus Ovares 5e6483f209 * In our quest for sim heartbeat stats, we're a touch closer to accurate object count on sim stats.
* Fixed a rare, but possible NullReferenceException
2007-12-12 18:03:37 +00:00
Charles Krinke 47b091f663 Thanks to Alondria for: Adding vector->string and rotation->string,
float * vector, vector * float, vector / float, vector + vector,
vector - vector, vector * vector, vector % vector and changing
x, y, z, (and r) parts of vector and rotation to be lower case 
(similar to LL's LSL vectors/rots). With these changes we should 
expect to run kan-ed#1, kan-ed#2 and most of kan-ed#3.
2007-12-12 17:18:15 +00:00
MW 8a2a6ad761 couple of small fixes. 2007-12-12 17:15:37 +00:00
Teravus Ovares da7fd71fa2 * Fixed a catch error. 2007-12-12 14:13:19 +00:00
Teravus Ovares 331db2336c * Added Object count to sim stats (it's incorrect, however, it'll be fixed) 2007-12-12 14:07:26 +00:00
Teravus Ovares 6a4a10f0a1 * Fixed agent counts on the Simulator stats pane 2007-12-12 13:52:30 +00:00
Teravus Ovares 2fd2e0285c * Killed hard coded heart after stats update
* Did some voodoo math on the sim FPS to make the values 0-50
2007-12-12 13:36:53 +00:00
Teravus Ovares 081f4403ea * Added some simstats to fill the simulator pane of the Statistics monitor.
* I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
2007-12-12 06:58:55 +00:00
Teravus Ovares 83f727bb7c * Patch from justincc to fix Inconsistent automatic mysql table creation - see bug 169 2007-12-12 01:23:15 +00:00
Teravus Ovares e32150b1db * Temporarily sisabled neighbour cache for regions in the SceneCommunicationService
* This will fix the grid mode (not seeing regions) issue
2007-12-12 01:10:54 +00:00
Teravus Ovares 9abe4b2ebf * Start listening for client connections immediately after a region initializes during initial instance startup. (as opposed to waiting for 'all of the regions' to initialize first)
* Removed hackish timer based client notification about regions up (no longer needed)
* Added a comment about an inventory based login failure that causes me lots of greif testing and debugging.  Comment includes *why* it's failing.
2007-12-12 00:38:57 +00:00
Sean Dague c7f5a94763 put in a try block to catch the ForEach loop dying. 2007-12-11 22:20:22 +00:00
Sean Dague 6b5db310cd debug to catch any users of the stop interface 2007-12-11 21:57:11 +00:00
Sean Dague 2e38e534d9 consolidate client view exit paths, this seems to
cause a different synchronization issue in other
shutdown routines, though I'm not sure why
2007-12-11 21:47:18 +00:00
Teravus Ovares d67009a78b * Added some locking to help race conditions in the neighbors lists 2007-12-11 21:43:17 +00:00
Sean Dague 1fd62bc1af force a flush before client shutdown, so no important packets are lost 2007-12-11 20:32:22 +00:00
Sean Dague 696fb65199 minor restructure of ClientView.cs to get all the attributes
and properties to the top of the class definition.
2007-12-11 19:04:08 +00:00
Jeff Ames bb408af14d Fix possible array indexing exception in inventory server 2007-12-11 18:45:07 +00:00
MW 60c96ab687 Couple of more small changes 2007-12-11 18:29:19 +00:00
Jeff Ames 77841fe35e Minor cleanup/refactoring of ScenePresence.
Changes flying animation to hover when not moving (as per Teravus's suggestion).
2007-12-11 18:03:25 +00:00
MW 909fcd554f A few minor changes/additions/fixes. 2007-12-11 16:05:53 +00:00
lbsa71 ffd60baa48 * The 'Create' functions should be called to factor up a new, otherwise empty, but with the Id and 1-to-1 child fields instantiated and randomized.
* Added two shape constants that
2007-12-11 13:30:08 +00:00
Brian McBee 16903ec488 Implementing updateinventoryfolder: Should now be able to rename folders in inventory 2007-12-11 03:51:32 +00:00
Sean Dague b7178ec241 refactor SunModule a bit to make more sensible 2007-12-11 03:15:13 +00:00
Jeff Ames 712efda9b9 added copyright notices 2007-12-11 01:26:06 +00:00
Sean Dague e0c43df52a default day's to a more sensible 24 hrs instead of 0.5. You
can still change this in the config file if you want something
different.
2007-12-10 22:33:49 +00:00
Sean Dague ce1ed11aba enable autocreation of mysql inventory tables again. I think
I stopped the looping issue on continous upgrade with this as well.
2007-12-10 22:12:52 +00:00
Charles Krinke 22acc23755 Great Salutations to Alondria for providing implementations for:
llFrand, llSetColor, llGetColor, llSetTexture, llGetTexture,
llSetAlpha, llGetAlpha, llRotateTexture, llScaleTexture,
llOffsetTexture, llGetTextureOffset, llGetTextureScale, llGetTextureRot.
With these changes the "kan-ed" script #2 should be working.
2007-12-10 21:38:01 +00:00
Teravus Ovares 2349dc2e27 * Added comments to many methods in the listed files. 2007-12-10 21:12:38 +00:00
Teravus Ovares eac9bc6889 * More refactoring to prepare for draw distance based agent sim notification. 2007-12-10 19:16:50 +00:00
MW baea4b793d Changed how TextureDownloadModule is initialised, due to some weird behaviour from the module loaded which was resulting in a lot of unused TextureDownloadModule objects being created (and each starting up a thread). 2007-12-10 15:36:33 +00:00
Jeff Ames 40fd37f95a Refactored animation handling in ScenePresence. Now maintains a list of current animations.
* Fixes weirdness when typing and sitting at the same time
* Should fix bug #32 (getting stuck in edit appearance pose)
* Crouchwalk and possibly jump may need more looking into
2007-12-10 15:08:44 +00:00
MW 611327e104 more work on texture downloading.
Refractored the TextureDownloadModule (but currently to make debugging easier, it is running as a non shared module, so this results in a instance of this module being created for each region (and a extra thread per region), this will be changed back soon.
Removed the old texture handling/sending code from AssetCache.
A few other small changes/fixes.
2007-12-10 13:27:23 +00:00
Jeff Ames 081a66d570 added musings on llInstantMessage 2007-12-10 05:58:30 +00:00
Jeff Ames af6eb67999 saved OpenSim source code from the giant rampaging unterminated copyright notice of doom 2007-12-10 05:25:16 +00:00
Jeff Ames 49312de1c8 totally gratuitous svn:eol-style setting 2007-12-10 04:54:02 +00:00
Jeff Ames e278d07220 refactored ChatModule a bit.
misc cleanup and code convention fixes.
2007-12-10 02:29:42 +00:00
Teravus Ovares e595f82489 * Hooked up the GridComm event ChildDataUpdate to the scene.
* Added List<RegionInfo> m_neighbours to Scene 
* Hooked up the OnRegionUp event to m_neighbours list 
* Modified RegionInfo to have a bool commFailTF value so that we can skip neighbors that fail.  (when the region comes up, this gets reset to false and the region will try again.
* Added SetChildAgentThrottle(byte[]) to IClientAPI 
* Several other insignificant changes related to passing child pertanant agent data from sim to sim.
2007-12-10 00:46:56 +00:00
Charles Krinke be5d8811be Added a call to m_host.SendFullUpdateToAllClients().
Thank you to Alondria for suggesting this solution
to getting kan-ed#2 to work with the llSetScale call.
2007-12-09 23:48:27 +00:00
Charles Krinke fbaa8bc9bd Some progress on 4 of the llParticleSystem members
that needed to be cast to libsecondlife.LLColor.
2007-12-09 23:04:11 +00:00
Charles Krinke 2742be6675 "list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. Thanks to ChrisD/Gromit for pointing these out. 2007-12-09 21:52:01 +00:00
Sean Dague 934c54de5a From Justin Casey (IBM)
This corrects an off by one mistake in my previous patch - with this patch
the user root inventory folder should once again be correctly returned
under sqlite.
This was done correctly for mysql and mssql, my only (feeble) defence is
that with sqlite the code was a little different and I was eliminating
clauses rather than slightly modifying them.
2007-12-09 21:48:29 +00:00
Jeff Ames 696f5e27a9 removed old debugging code from IM and chat modules 2007-12-09 18:07:14 +00:00
Teravus Ovares 1074e5adc8 * Added more info to ChildAgentDataUpdate
* Added (at sdauge's suggestion) byte[] GetThrottlesPacked(float multiplier)
2007-12-09 18:05:08 +00:00
Sean Dague cace0e055c change PacketQueue to take the byte[] throttle instead
of the Packet to set the throttles
2007-12-09 14:47:18 +00:00
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
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 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 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 e01c128c8f * Added ApplyPhysics helper on group. 2007-12-04 11:11:13 +00:00
Adam Frisby 01db4cd71d * More console message fixes
* Tagged Verbose("msg",...) as obsolete. Please use Verbose("AREA","msg",...) instead.
2007-12-04 10:22:09 +00:00
Adam Frisby 91c1e8a734 * Fixed a whole bunch of console messages. 2007-12-04 10:13:13 +00:00
Jeff Ames 398ee5f229 fixed exception and login failure in SimpleApp. (still doesn't work like it used to, though) 2007-12-04 09:57:45 +00:00
Adam Frisby be7ae3dd3e * Removed 12 compiler warnings. 2007-12-04 08:18:09 +00:00
Adam Frisby e820159fb5 * Fixed compile issue. 2007-12-04 07:56:23 +00:00
Adam Frisby 7d5f032203 * Added SSL Support to HttpListener
* Added SSL Option to User Server to allow logins to be done via SSL.
* Added sane handling for when Remote Admin Plugin configuration is not found
* Added some performance boosts to an area of libTerrain which was highlighted in profiling.
2007-12-04 05:47:51 +00:00
Teravus Ovares 90b66f8509 * Flying with ODE and got that sinking feeling? This should help 2007-12-04 05:31:47 +00:00
Jeff Ames 21c35d5703 set svn:eol-style 2007-12-04 04:59:27 +00:00
Teravus Ovares 4f05347246 * Split out the ODEPlugin Nested classes. 2007-12-04 02:51:09 +00:00
Sean Dague 14d0a2ac74 further encapsulation of function in PacketQueue and PacketThrottle 2007-12-03 21:47:28 +00:00
Sean Dague 8f58a9a107 From Justin Casey (IBM)
While exploring what it would take to get the 'new script' button working,
I encountered the fact, some way down in the rabbit hole, that if a user
renamed an item in their inventory and logged out (without a restart of
the simulator), on log in the new name was not preserved.

As far as I can see, this was because any updates which didn't occur
inside a transaction were ignored by opensim.  This patch pays attention
to those changes.  It generates a new asset when an item is updated and
changes the user's inventory properties appropriately.  I believe this
behaviour is in line with the copy-on-write semantics used in the Second
Life protocol - perhaps it could be optimized if we knew for sure that the
only copy of the object was in the user's inventory.

This also means that if you rename an item (e.g. a script) before you drag
it into an object's inventory, the inventory will receive the item's most
recent name and description.
2007-12-03 20:06:01 +00:00
Teravus Ovares 5061808afc * Now using interpolation to expand the 256x256 heightfield data to 512x512 before it's passed to ODE. 2007-12-03 19:21:26 +00:00
Sean Dague c29105aa3e This is a simple patch which just renames an IClientAPI method to
SendInventoryItemCreateUpdate() in order to reflect the actual packet it
sends (UpdateCreateInventoryItem).

From Justin Casey (IBM)
2007-12-03 17:24:27 +00:00
MW 690e517240 Added a flag to load-xml console command, that will generate new uuids for the loaded Sceneobjects (as per mantis request #53).
To use append "-newUID" to the end of the command, so new format is : "load-xml <filename> -newUID". 
If you don't add the "-newUID", then the uuids in the xml file will be kept.
2007-12-03 14:57:39 +00:00
MW 4eba3373dc Fixed bug in Appearance update in AvatarFactoryModule. 2007-12-03 14:37:20 +00:00
Teravus Ovares 0ec208a200 * Resize terrain heightmap info going to ODE to double the resolution.
* Using the nearest neighbor method, interpolation coming soon.
2007-12-03 13:11:15 +00:00
MW 285fa3fe9e Some refactoring 2007-12-03 10:36:32 +00:00
MW 9f5e1efc2d Added another .ini file error catch to the RemoteAdminPlugin Initialise method. 2007-12-03 09:58:25 +00:00
MW 634a22185d Applied patch from mantis issue #110 (with one or two tiny changes) , thanks mpallari/_SomeOne_ 2007-12-03 09:50:33 +00:00
Adam Frisby c4afb81f47 * Removed VS added directory. 2007-12-03 07:38:06 +00:00
Adam Frisby 1d5e19e476 * Added a XMLRPC Restart command to RemoteAdminPlugin 2007-12-03 07:28:04 +00:00
Jeff Ames 4c0ddacc16 minor meaningless changes 2007-12-03 07:26:27 +00:00
Adam Frisby c8faccb396 * Added XMLRPC Broadcast Alert method.
* Renamed a few console messages to match the new "RADMIN" tag for remote-admin stuff.
2007-12-03 07:14:58 +00:00
Jeff Ames 27a731ae1a set svn:eol-style 2007-12-03 07:10:08 +00:00
Adam Frisby 981c97502a * Moved XMLRPC Controller to a Application Plugin. Requires testing. 2007-12-03 07:06:46 +00:00
Adam Frisby 4b95eb589b * Applied a few commits left on my laptop to OpenSimController. 2007-12-03 06:29:36 +00:00
MW 555afddbad Just for Cfk! 2007-12-02 21:44:14 +00:00
MW ac77c32453 Attempt to fix mantis issue #82, taking prims into inventory and then rezzing them in another region. 2007-12-02 20:43:21 +00:00
MW 5ae8759de1 Added some error handling (and console output) to BaseHttpServer.
a few other bits of refactoring.
2007-12-02 18:49:42 +00:00
MW cac98171e5 Very partial Avatar Appearance (ie, clothes/body parts) "storage". In standalone mode it will mean that when you log off and log back on ,as long as the region server hasn't been restarted , your avatar will start with wearing the clothes that it wore on log off. In grid mode its even more limited in that wearing/removing clothes/body parts are only stored in the region server instance you are one. so if you are in a different region to your login region (which are on different region server instances), and then change clothes, those changes won't be remembered. So as said, its very limited but is a small step towards having proper appearance persist.
Just need to store this data out to a database.
2007-12-02 14:56:23 +00:00
MW 86ae8e97cd Fixes a bug that my last commit introduced. 2007-12-02 14:12:56 +00:00
MW 80609c2b15 Some refactoring , mainly on Inventory code. 2007-12-02 13:59:15 +00:00
MW b92df4aaaf New Inventory folder should now be stored to the inventory server/database. This also seems to fix the problem of Body parts not being persisted properly. 2007-12-02 10:21:17 +00:00
MW 0a2425432a Rezzing multiple copies of a inventory prim should now work. 2007-12-01 21:52:10 +00:00
Jeff Ames 2852cd9d73 attempt to fix sitting-related bugs #3 and #67 2007-12-01 21:45:43 +00:00
MW 96ac8f00c7 Due to popular demand, a rezzed prim should no longer delete the original inventory item. (hasn't been tested to make sure no conflicts happen if that new rezzed object is then taken back into inventory but don't think there will be any) 2007-12-01 21:16:42 +00:00
MW 5c866bc6ff as a Test, attempted to disable mysql inventory table auto creation. 2007-12-01 21:03:10 +00:00
MW 4dee53c7fb Attempt to fix mantis issue # 73 2007-12-01 20:57:14 +00:00
MW 6c9e588acb On login, if a set of inventory folders doesn't exist for the user then a new set is created in the inventory database. Most likely still better to use some other script to populate the inventory database instead of relaying on this. 2007-12-01 19:57:23 +00:00
MW 5df851761a Initial working Grid Inventory server. Only been tested on a very small grid, so likely to have problems on a larger grid with more people?
To use , both the user server and Inventory server need to be running this latest revision. (older regions should be able to still be used, just the user won't have inventory on them). Also and HERE IS THE BIG BREAK ISSUE, currently, so that the initial inventory details for a user are added to the inventory db , you need to recreate the accounts using the user server "create user" feature. It should be quite easy to manual populate the inventory database instead but I someone else will need to look into that) Also I've only tested using SQLite as the database provider, there is a Mysql inventory provider but I don't know if it works (SQLite is set as default, so you will need to change it in the inventory server config.xml)
2007-12-01 18:49:17 +00:00
MW fff468dcfe Attempt to fix mantis issue # 65, seems like it is a race condition between two regions trying to add a user to the AssetTransactionManager at the same time. So have placed a lock around the Dictionary add. 2007-12-01 16:40:26 +00:00
MW 495cf040be Attempted fix for mantis issue# 66 2007-12-01 15:20:49 +00:00
MW c28f505caa small bit of refactoring 2007-12-01 14:31:21 +00:00
MW 7bc28e0571 the fix, so that trunk works again 2007-12-01 14:25:46 +00:00
MW 27f182ac54 Part 1 of a commit. This revision will not compile, part 2 will be added in a couple of minutes that should fix that.
Some work towards persisting Avatar Appearance (what is being worn).
Added OnAvatarNowWearing event to IClientAPI that is triggered by AgentIsNowWearing packets.
stub code to subscribe to this event in AvatarFactoryModule. 
Todo: code needs to be added to AvatarFactoryModule to save the uuids to a database and then read them back when that modules TryGetIntialAvatarAppearance() method is called.
Done some changes to Scene to make it easier to subclass it: including changed some private fields to protected and made some methods virtual.
2007-12-01 14:20:37 +00:00
Sean Dague e36ddb0e8c mod packetqueue to use the throttle class container 2007-11-30 21:51:13 +00:00
Sean Dague 174a3d2ca1 the packet throttle stuff is duped enough that a
seperate container for this probably makes the limits easier to
understand
2007-11-30 21:29:21 +00:00
Sean Dague 9c07a98831 starting to fill out PacketQueue, refactoring as I go. This
doesn't link into the rest of the code yet, and won't until it
is complete.
2007-11-30 21:09:49 +00:00
Teravus Ovares b287015028 * Fixed a bug in my 'user already logged in' fix that could cause a null reference exception. 2007-11-30 21:01:03 +00:00
Sean Dague b167507e32 Patch for mantis 0000015: Textures don't display in the object
properties window

From Justin Casey (IBM)
2007-11-30 20:16:40 +00:00
Teravus Ovares 95c68a316a *Refactored the initial raytracer so it doesn't use the Parent reference.
*Fixed a 'statement out of order' error in the setting of the permissions that are sent to the client.
2007-11-30 16:29:23 +00:00
Sean Dague d2fe290bb6 return of the inv-lib-root patch from Justin Casey (IBM)
Should fix libsl login ability.  No long breaks my login
to test environment.
2007-11-30 15:27:56 +00:00
MW 0b2934a1b1 added support for a console command script to be ran every 20 minutes (will make that time changable in a future commit), to use add a entry under the Startup section of opensim.ini , with: timer_Script = "<filename>" (the filename being the console "script" you want to be ran every 20 minutes). This hasn't been tested very much so.. 2007-11-30 15:10:47 +00:00
MW c1d66a8564 small change to OnSceneGroupMove event (in SceneEvents.cs) 2007-11-30 12:10:12 +00:00
lbsa71 6e22faf73e * Refactored away permissions and physics flag duplications 2007-11-30 09:42:36 +00:00
lbsa71 0d5d111619 * Made RegionUp virtual 2007-11-30 08:54:42 +00:00
lbsa71 d2b1b54f49 * Removed permissions flag appliance from Xml deserialization
* Various code convention compliance
2007-11-30 08:08:14 +00:00
Teravus Ovares 31cec30aa0 * Extended our semi-stupid implementation of in world object permissions to show a user's client that it can't edit a prim if it doesn't have permission.
* Permissions is due for a big revamp. The current way it's done is a hack at best.
2007-11-30 04:54:15 +00:00
Teravus Ovares 3ab3392def * This extends my first hack to clear out the useragent table for that specific user.
* This helps people who have multiple records in their useragent table.
* This update should be looked at..  because really what it should be doing is initiating a grid wide logoff.
2007-11-30 02:14:29 +00:00
Teravus Ovares 57e6b51639 * Here's the issue, on log-off, the routine sets up a null useragent member and then tries to save it to the database.. where it was going wrong, is the database had a check to do *nothing* when it got a null useragent. I made it delete the userAgent row. This should be a good enough fix to solve the problem. It still needs to be looked at by a DB guy 2007-11-30 02:01:12 +00:00
Teravus Ovares 5eb091ceee * Temporary fix for 'User already online' issue in standalone mode.
* Revert this once we get a working logoff.
2007-11-30 01:20:31 +00:00
Sean Dague d3ab5ad506 revert r2510, this seems to break normal logins, at least from
Linux clients.
2007-11-29 20:20:11 +00:00
Sean Dague af9eb87ad1 return an appropriate inv_lib_root, which the libsl folks have
identified as the reason libsl can't currently connect to OpenSim.

Patch from Justin Casey (IBM)
2007-11-29 17:14:06 +00:00
Sean Dague 641e541967 add a few more parens to make sure that throttling condition
is really happening the way we want it to.
2007-11-29 16:32:19 +00:00
lbsa71 7704bb6f63 * Fixed neighbour range bug
* Various refactorings
2007-11-29 15:27:57 +00:00
Teravus Ovares 4bd38fc65a * Thanks to _SomeOne_, Server side permissions on object editing. Be aware, that if you're editing an object on your client that you're not allowed to, it'll appear that it's moving to you, but won't actually be moving on the sim. 2007-11-29 15:24:31 +00:00
Teravus Ovares 0619451ea6 *Added more information about the sim that you're connecting to in remoting during the sim, regionup message.
*Added the main cause for the remoting error to the console display.
*This will make it easier to debug future remoting issues.
2007-11-29 14:08:34 +00:00
Teravus Ovares 4738fead21 * Added a 50 second restart notify timer that gets reset when new regions come up to give servers that host a lot of sims a long time to start listening. 2007-11-29 07:25:58 +00:00
Jeff Ames 6d7ce67db1 fixed duplicate login in standalone mode (mostly untested in grid mode) 2007-11-29 07:22:11 +00:00
lbsa71 a32bb91675 * minor refactorings 2007-11-29 06:07:48 +00:00
lbsa71 d05b121dff * Locking on local scope variable does not make sense - every thread will have its own
* Locking on value, then changing it does not make sense - lock will happen on old reference
* Taking a local copy of the shared resource then locking on the copy does not make sense - lock will happen on copy
2007-11-29 06:06:42 +00:00
Brian McBee b0c5693c02 Changed to doing only 1 request to the grid server from main map. Hopefully we are not requesting too much in one gulp. 2007-11-29 02:30:11 +00:00
Teravus Ovares 81ba94fde8 * Fixed about 7 issues with restarting sims and resolved interRegion comms issues. This includes the issue that MW described this morning.
There's a lot of little nit picky changes that make a world of difference.
2007-11-29 02:07:19 +00:00
Jeff Ames 2364e6779b set svn:eol-style 2007-11-29 01:57:59 +00:00
Sean Dague 40dc1ac3b0 I believe this turns throttling back on. I had expected
that the Queue would come in by reference, but it didn't
appear to be.
2007-11-28 18:39:07 +00:00
Sean Dague 5fb81ab881 merged ClientView into a non partial class. Will
make it easier to start breaking this up into 
more discreet functional classes
2007-11-28 13:33:57 +00:00
MW ac77c50ba9 Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications).
Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
2007-11-28 12:36:09 +00:00
Teravus Ovares c021bfe191 * Disambiguation in the 'sim is restarting message' that tells you 'which' sim is restarting in the area. 2007-11-28 06:31:27 +00:00
Teravus Ovares b7d596a6af * Restaring the sim works fine in grid mode now. Sims announce themselves to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up.
* Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
2007-11-28 06:18:07 +00:00
Sean Dague f3895c1e01 build ThrottleCheck function to clear up bits of the throttle
code.

Fix typo on throttling Task packets incorrectly
2007-11-27 21:27:32 +00:00
Sean Dague f4e91bc7d9 moved out nested class to it's own file 2007-11-27 20:50:45 +00:00
Sean Dague cebdd069f4 some variable renames to help me read the throttle code 2007-11-27 20:37:17 +00:00
MW b916d5b112 Fixed bug, where the clients in a region weren't told to kill a user's avatar when that user teleported to a different region. 2007-11-27 15:44:39 +00:00
Sean Dague 70d547c1a5 Remove unused function, one less warning 2007-11-27 15:39:35 +00:00
Teravus Ovares 082f2baebe Fixed an event in the events chain in inter-region communications.
As a consequence, restarting sims in the same process instance now shows them when they come back up in grid mode and standalone mode.
2007-11-27 13:46:52 +00:00
Brian McBee 959084f885 MainMap workaround. Map still does not fill in automatically, but one click on map should return a decent portion of it. 2007-11-26 16:40:08 +00:00
Brian McBee 232613638f Attempt to handle MYSQL error fetching assets 2007-11-26 16:39:00 +00:00
Adam Frisby 011ad46960 * Disabled primitive count updates on Parcels for the moment, until we can move parcels into a module. 2007-11-26 15:06:51 +00:00
Teravus Ovares 175b6115f1 * Restarting regions with the estate tools works in sandbox mode. I'm still working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either. 2007-11-26 05:02:18 +00:00
Brian McBee c710525b48 Added Region name to the terrain texture description that gets sent to the asset server 2007-11-25 22:27:42 +00:00
Brian McBee 35472b3666 Added new configuration item to User Server: X and Y of region to send user to if their logon region is down. Known good region, sort of. 2007-11-25 21:21:44 +00:00
Brian McBee 7720be5a39 Rez new prims ON the ground, not halfway buried. Mantis 33. 2007-11-25 17:53:16 +00:00
Teravus Ovares d263a044b1 * Added the ability to restart your individual sims from within them using the estate tools.
* The sims properly restart, however they don't yet notify the existing avatars that they are up.  To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
2007-11-25 04:52:14 +00:00
Brian McBee 21ce2b0979 Ignore nullreferenceexception in removeclient. The avatar is already gone. 2007-11-25 04:33:18 +00:00
Brian McBee 6ed34cc27e fixed order of map block requests to grid server. flipped map texture, as it was upside down. 2007-11-25 03:14:43 +00:00
Adam Frisby 0951f895ef * Removed references to "new LLUUID()", replaced with LLUUID.Zero. 2007-11-24 10:36:54 +00:00
Adam Frisby 39a3784b43 * Added some bounds checks to the sendLandUpdate packet to deal with agents coming in from foreign regions.
* Updated bounds-check of getLandObject to check for >= 256 rather than > 256.
2007-11-24 10:05:42 +00:00
Teravus Ovares 18e1e62f26 * Changed reference to NullReferenceException to System.NullReferenceException for Linux 2007-11-24 04:12:55 +00:00
Brian McBee 892f942523 Test storing terrain texture to grid assetserver on startup. Needed for main map functionality. 2007-11-24 03:55:35 +00:00
Teravus Ovares 944b118c62 * Added a way for the Region master user to kick individual users from their sim with a custom message. Their client says, "You've been logged off of secondlife, <Your custom message here> and logs them off.
* Added a way for the Region master user to kick *ALL* users from *ALL* their regions in the estate with a custom message.
2007-11-24 03:28:42 +00:00
Brian McBee 2f4f83e343 Make remoting errors because of missing adjacent regions a little more user and console friendly 2007-11-24 02:22:05 +00:00
Teravus Ovares 52714c339e * Hanling RequestGodlikePowers. On Request.. sends the sim owner's client the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets.... 2007-11-24 01:38:36 +00:00
mingchen 3ce6116e4a *Shared Modules have feelings too! -- Shared Region Modules that are found in DLLs are now correctly loaded automagically. 2007-11-24 01:31:42 +00:00
Teravus Ovares d7ec786244 * Added a nice 'The Region is going down.' message to the user when the sim owner issues 'shutdown' on the console. 2007-11-24 00:19:48 +00:00
mingchen 51d4d88985 *Fixed bug causing parcel prim counts to stop updating. 2007-11-23 20:17:49 +00:00
mingchen e7edd02019 *Fixed bug that resulted in most land settings being sent to the client. Media settings/parcel name are now correctly sent. 2007-11-23 19:07:41 +00:00
lbsa71 7ef1f887ea * the export-map now takes 'CurrentOrFirst' Scene, not necessarily the CurrentScene (as that is not set initially, and hence the command was a bit unintuitive) 2007-11-23 19:00:25 +00:00
lbsa71 fb2588b409 * Refactored NumPackets calculation 2007-11-23 13:21:39 +00:00
Teravus Ovares 1ecd803e87 * added some functions for use in raytracing. They're kind of crappy now, so they only display 'guesses' on the console when you rez a prim.
* any math gurus who'd like to improve rezzing need only to make the raytracer in SceneObjectPart work :D
2007-11-23 05:56:35 +00:00
Brian McBee 4af84b0bb2 Fixed Terrain rescale command 2007-11-23 03:45:53 +00:00
Teravus Ovares 2db19b7d65 * Added more comments
* Tweaked the esoteric throttler parameters again.
2007-11-22 23:56:44 +00:00
Teravus Ovares 01cd8014da * Added another code path to skip the packet throttle queues when there's no need to queue the packet up. 2007-11-22 23:14:38 +00:00
Teravus Ovares f97aeab916 * Quelled a Log format exception in the logging routines.
* Tweaked some esoteric throttle settings
* Removed AgentThrottle from the unsupported packet list.
2007-11-22 21:40:53 +00:00
Teravus Ovares 999eec603e Created a client driven packet throttler. The sim now respects the client's network throttle settings but does sanity checks to avoid too little(nothing gets sent) or too much(the sim crashes) data.
* Consider this experimental..   however, it looks very promising.
2007-11-22 19:01:53 +00:00
lbsa71 ae5999c3d5 * removed erroneous comments 2007-11-22 15:43:28 +00:00
Teravus Ovares e69c810486 * Added code to capture the draw distance setting from the client.
* Added a support function to InnerScene to calculate the distance between two vectors.
2007-11-22 01:32:13 +00:00
MW e5a0049c16 Fixed bug that can lead to infinitive loops 2007-11-21 12:00:28 +00:00
Teravus Ovares 7cb38712d5 * Did some initial work for prim crossing. Just glue so far.
* Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler.   This flag gets purposely disabled in grid mode.  This flag also has the consequence that you can see the prim in neighboring regions without going into them.  Be warned, this causes tons of dropped packets.
2007-11-21 02:17:24 +00:00
Sean Dague 7b09800d5b fix for mantis #2 from Justin Casey (IBM) 2007-11-20 21:25:27 +00:00
Sean Dague ee8512ee20 patch for llDie from Kurt Taylor (IBM) 2007-11-20 21:19:45 +00:00
Brian McBee 5d786056fb per chi11ken: adding check for out-of-bounds avatars in POS 2007-11-20 05:59:35 +00:00
Brian McBee c8293d908d New improved POS! With slippery avatars and extra calculations. 2007-11-20 05:40:50 +00:00
Jeff Ames 83ed435d01 fixed potential reference invalidation and array out of bounds exception in basicphysics 2007-11-20 05:09:30 +00:00
Jeff Ames 3aa73ae1c7 fixed array range out of bounds exception and reference invalidation under load in POS 2007-11-20 05:05:27 +00:00
Brian McBee c6619b6f7d Reverting my POS changes. I need to think this through a bit more. 2007-11-20 04:54:19 +00:00
Teravus Ovares 5a71d03b7a *Huge* structural changes in ODE/OdePrim to get all of the calls in threadlocked code. ODEPrim was almost completely re-written.
Copy/Space test needed.
2007-11-20 04:38:08 +00:00
Brian McBee db3858c13a POS physics. tweaking stair-climbing which broke with my last change 2007-11-20 04:28:31 +00:00
Brian McBee 26909477fc POS physics: removed "stickiness" from avatars so they can slide along surfaces instead of sticking to them. 2007-11-20 04:04:07 +00:00
Brian McBee 61bc26226f Turned on more verbosity to try to debug assetserver failures 2007-11-20 03:47:47 +00:00
Sean Dague ec5186c98a there is no real reason to write this value back to estate settings,
and it is the most often tickled part of this race condition.
2007-11-19 23:00:08 +00:00
Sean Dague 98f82105a0 put in changes to only keep the last terrain revision. The current
unbounded model causes performance and filesystem filling grief.
Before enabling this again, we need a reasonable bounding model.
2007-11-19 22:59:28 +00:00
Teravus Ovares 79e9d4faf9 Tweaked for a possibility of 10 elements. 2007-11-19 16:12:53 +00:00
Teravus Ovares 4eb4082e27 * Added noisy debug information on the Verbose console to help debugging oddly placed prim. 2007-11-19 15:59:05 +00:00
Teravus Ovares 4afe393ce4 * Space allocation fix for prim outside region. >256 & <0. 2007-11-19 15:37:50 +00:00
Sean Dague 2fdca28dd4 hopefully resolve mantis issue #10 by locking correcty around terrain methods 2007-11-19 15:07:04 +00:00
Teravus Ovares 2910f1b949 Fixed - outside of bounds error. 2007-11-19 12:28:00 +00:00
lbsa71 ce3a87daa5 * Changed namespace 2007-11-19 11:20:36 +00:00
Jeff Ames a1391d0848 fixed POS rotation with certain angles 2007-11-19 05:28:00 +00:00
Jeff Ames c261812e39 added rotation support to POS 2007-11-19 04:46:05 +00:00
Teravus Ovares aaab1448f7 * Split space array structure into a two dimentional array instead of a single one. Once again. Should help debugging space/copy issues. 2007-11-19 04:15:18 +00:00
Teravus Ovares 72525d3015 Added medium debug information to Verbose mode of the console about Prim/space movements. Should help make sense of the copy prim bug. Use for Pastebin. :D 2007-11-19 03:06:17 +00:00
Teravus Ovares 694bab9513 * Copy/SpaceBorder Fix attempt number 3, hopefully the last 2007-11-18 20:45:47 +00:00
Teravus Ovares 3bb4cd51fd * 2nd attempt to fix the Spaceborder/copy bug 2007-11-18 20:24:51 +00:00
Adam Frisby b1b9f79a04 * Supressed the "not a module assembly" warning for verbosity reasons. 2007-11-18 18:26:51 +00:00
Jeff Ames c40cfb01aa flying in POS should be a bit smoother 2007-11-18 18:20:02 +00:00
Teravus Ovares 7672237bcd * Tentative Bug fix for OptikSL's intermittant Copy prim error. 2007-11-18 17:25:12 +00:00
Teravus Ovares 615b40b68b * Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset. 2007-11-18 15:54:05 +00:00
Jeff Ames 924026d01c cleaned up some mono compiler warnings 2007-11-18 15:14:37 +00:00
Jeff Ames d10c79d421 first stab at implementation of CopyInventoryItem 2007-11-18 13:50:46 +00:00
Teravus Ovares 46ccfa1741 * Found several cases where prim set physical were not subscribing to physics events. 2007-11-18 13:37:02 +00:00
MW f71fa731f5 Made the background (ie empty space) colour of the exported map image blue. 2007-11-18 12:18:56 +00:00
MW 87b07c19ef Added "export-map <filename>" console command to the region server that will export a jpg image of the world map covering a 20 X 20 regions area centred on the current active region (ie the one set with change-region). While this should work in grid mode (if using the grid asset server and if my last commit did fix the world map), you might need to call the "export-map" command then wait a little while (60 seconds?) and then call it again so that you make sure the region has got all the texture assets from the asset server. 2007-11-18 12:04:21 +00:00
MW 7f99644864 Attempt to get World Map working in Grid mode, will need to be using the grid asset server for it to work correctly and has only been quickly tested in a three region grid.
Moved PermissionManager creation out of the Scene constructor and instead a PermissionManager is passed to the constructor as a param. So that we could create and use custom permissionsManagers.
Added AllowMovement property to ScenePresence which can be used to stop movement of avatars (for example in a custom region that wanted avatars always in one place).
Added PermissionManager call when copying objects, although currently the call will always return true so that it allows copying in places like Wright Plaza. 
A few other changes/fixes.
2007-11-18 11:11:44 +00:00
Dalien Talbot 2cd00f46b9 For every problem there's a solution that is simple, neat and wrong.
Looks like it has nothing to do with childregions - reverting and will 
try to debug after the sleep. Sorry for the noise :)
2007-11-18 07:58:04 +00:00
Dalien Talbot 0d8a2cccfd Looks like we're requesting the mapblocks for every agent - including
childagents. The infrastructure is not robust enough to handle it at 
this time - so ignore all the MapBlock requests for childagents.
2007-11-18 07:40:30 +00:00
Dalien Talbot f7b5c6550b Second try at having a bandaid for the multiple logins crash 2007-11-18 07:16:17 +00:00
Dalien Talbot 8ebf75ec24 Revert the previous commit - indeed this needs to be fixed in a
different place...
2007-11-18 07:07:50 +00:00
Dalien Talbot aa57b386b7 Trap the error during the logout with connections to multiple sims on
the same box (error in closecircuit) - temp band-aid, should have a 
better fix.
2007-11-18 06:33:15 +00:00
Dalien Talbot 6866dc5297 Additional debugging output to see for what coordinates is the worldmap
requested (crash is gone, but tons of worldmap requests)
2007-11-18 06:16:39 +00:00
Dalien Talbot baa4e82107 Prevent the region crash in gridmode on bringing up the map 2007-11-18 05:28:28 +00:00
Dalien Talbot 793813a6a6 Added handler for MapNameRequest - OnMapNameRequest 2007-11-18 04:00:04 +00:00
dan miller 8c5add18a2 improved avatar logic -- walk up low steps now, sorta 2007-11-17 23:28:44 +00:00
dan miller 7c18c69668 minor POS tweak for speed 2007-11-17 22:43:05 +00:00
Teravus Ovares 54df1a57d7 * Fix Null comparison for Mono 2007-11-17 21:00:35 +00:00
Teravus Ovares 8a57dd207f * Fixed space related SimCrasher ODE error when a prim disables itself because it's out of bounds and user moves it back into the space. 2007-11-17 20:34:56 +00:00
Teravus Ovares 5460ba79dc * fixed goofy documentation error 2007-11-17 19:15:57 +00:00
Teravus Ovares 6cd3980b18 * Added decoding of the AgentThrottleBlock of the AgentThrottle packet. It's still unhandled, and useful data can be sent to the packet throttler :D 2007-11-17 19:06:51 +00:00
MW a4a1ff3d9b Added ClickAction property to SceneObjectPart (and the relevant changes in IClientAPI so its used), so that the default click action (ie touch, sit, etc) can be set on a prim. Note: Sill need to handle the incoming packets that set this, from the client. 2007-11-17 12:03:20 +00:00
dan miller d71b28c731 Out of a fog of alcohol and adenovirus, I present - POS!
EXTREMELY basic collision detection; walk on prims
don't rotate anything
do not feed or annoy POS
YMMV
2007-11-17 09:59:07 +00:00
Jeff Ames 6ad471abc0 set svn:eol-style 2007-11-17 08:39:59 +00:00
Jeff Ames a473289738 minor cleanup of some dodgy bits 2007-11-17 08:14:17 +00:00
Jeff Ames ba9b317122 added some POS gravity 2007-11-17 06:25:41 +00:00
Jeff Ames 946db5461c catch exceptions when loading malformed xml files 2007-11-17 05:53:12 +00:00
Teravus Ovares df507605cd * ODEPlugin Thinned the avatar out to average SL thin-ness. There's more work to be done on this, however, avatar will have a lot less difficulty getting into tight spaces/prim cuts 2007-11-17 05:16:36 +00:00
Teravus Ovares 3041747bcd * ODEPlugin - fixed issue where resizing prim causes the prim's collision box to no longer be matching the client's view of where it should be. 2007-11-17 03:48:13 +00:00
Teravus Ovares 5fd2fa687e * Resolved the situation where prim is loaded from storage and when pushed never stops. 2007-11-16 22:13:13 +00:00
mingchen eb2f626561 *Added the TimeDilation property to Scene 2007-11-16 22:02:16 +00:00
Teravus Ovares b2243079ea * Trying a space/collision optimization technique in ODE. Let me know if you see a difference. 2007-11-16 18:30:25 +00:00
MW 483377adae More cleaning up when deleting regions from a instance. NOTE: IGridServices.DeregisterRegion() method needs implementing for grid mode. 2007-11-16 13:39:11 +00:00
Jeff Ames 76a67f45c6 fixed some AssemblyInfo files 2007-11-16 10:35:52 +00:00
Jeff Ames e3998230cc added dummy POS physics plugin 2007-11-16 10:25:27 +00:00
Teravus Ovares b63076c303 * ODE step two on the way to separate dynamic space allocation ( One more to go ) 2007-11-16 08:53:37 +00:00
Teravus Ovares 9020ec5af9 * Fixed object edit movements causing full object updates instead of terse object updates since unlinking. 2007-11-16 08:52:03 +00:00
lbsa71 3aed77bd2c *** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM OpenSim.ini.example **
* Now moved region storage from region to application, so we have one storage per application, instead of one per region.
* Changed so that the region store providers use connectionstrings, not filenames
* Removed various unfit fields and properties (call me Darwin)
2007-11-15 19:53:10 +00:00
Sean Dague 886f8b5548 make Stopped a bit sloppier which should help address any float round off issues 2007-11-15 19:11:25 +00:00