Commit Graph

4056 Commits (12bba3da4bb74ac3727763d2bda3fb3eadd4159b)

Author SHA1 Message Date
Jeff Ames bf8b5844f2 Formatting cleanup. Minor refactoring. 2008-03-18 14:51:42 +00:00
lbsa71 9c428d9935 * Applied Grumly57 patch for #781; Thanks, Grumly! 2008-03-18 13:39:29 +00:00
Justin Clarke Casey 0b7626b630 * Remove unused (and somewhat nonsensical) method in PhysicsActor
* Thanks for DrScofld for drawing attention to this
2008-03-18 11:37:34 +00:00
Justin Clarke Casey f81c491725 Patch from DrSchofld (IBM). In his own words
structs (such as LLUUID) are considered values by mono. comparing them against null makes no sense and the mono compiler will flag that as evaluating to always false --- except if "cleverly" disguised. the attached patch fixes such an occurrence in  OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/SensorRepeat.cs.

[yes, i'm on a crusade against comparing structs against null, go ask jradford from libsl ;-)]
2008-03-18 11:32:44 +00:00
Teravus Ovares 443c66b432 Since we don't yet have a reliable way to release the lock that prevents a user from logging in a second time if they're already registered as logged in;
* If a user logs in and they are noted as agentOnline.  Set agentOnline = false and send a 'you're already logged in' message to the user asking them to wait 5 minutes.  These 5 minutes are not enforced (because there's no foolproof interlock release yet without the grid operator getting a support call for every little sim crash).  When the user gets the message, they can log-in immediately after it, but the user can expect weird results if they don't wait 5 minutes and log-in to the region they were in previously.
2008-03-18 06:03:50 +00:00
Teravus Ovares 42857fe4e9 * Added the ability to type the partial name of a region in the start location box and go to that region if it's there. If no close match was found, it sends you home. This is tested on mySQL. There's untested code on grids that are based on sqlite and MSSQL. The SQL statements *should* be right, but your results may very.
* Ex, if you want to go to Wright Plaza, you simply need to type Wright Plaza in the start location in the client when you log-in.
2008-03-18 05:44:25 +00:00
Jeff Ames 47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Jeff Ames 175dc285ff Added copyright messages. Set svn:eol-style. Minor cleanup. 2008-03-18 03:51:59 +00:00
Jeff Ames 9f7639fd6d Formatting cleanup. 2008-03-18 03:41:05 +00:00
Teravus Ovares 4e30f862af Building on Joha's update...
* Server now listens to the client's start location request for 'home' or 'last' and sends the user to the home location or the last location.
2008-03-18 03:09:38 +00:00
Johan Berntsson 040a887b9c Last position will be stored in the DB on logout, and the avatar can continue from the same position in the next login (only with MySQL at the moment) 2008-03-18 01:38:07 +00:00
Justin Clarke Casey bbddc0dbe7 * Move missing texture request forward so that we don't actually ask the AssetCache for it if we know it's missing. 2008-03-17 21:44:54 +00:00
Justin Clarke Casey 872184fa2a * Inserting code to prepare to fix trash emptying and the edit texture inventory (again)
* Can't just do this fix since it stops subfolders working (though it appears subfolder renaming may be fubar at the moment)
2008-03-17 21:34:58 +00:00
Jeff Ames 79209c4297 Merged changes in Prebuild trunk up to r258 into OpenSim's Prebuild.
Hopefully this should make merging upstream easier.
Building with NAnt should still work, but Visual Studio is untested.
2008-03-17 20:55:21 +00:00
Justin Clarke Casey 9122762dc8 * More almost completely unproductive log message fiddling 2008-03-17 19:13:15 +00:00
Justin Clarke Casey 37c32e1154 * Make it more obvious if local user services are being used
* Tell the log whether the sim is started in standalone or grid mode
2008-03-17 19:08:23 +00:00
Justin Clarke Casey d137d4b907 * DEV: Remove client's CAPS handlers object when they log out 2008-03-17 18:16:36 +00:00
Jeff Ames a8aeec29da Fix a few mono compiler warnings. Minor cleanup. 2008-03-17 17:39:42 +00:00
Justin Clarke Casey cd1978b424 * Reduce the annoyingness of clients that continually request unfound textures (probably for some good reason) by dropping all subsequent requests after the first reply.
* Print out a console message every 20 tries rather than every single one.
* This weakens the problem but does not eliminate it
2008-03-17 17:30:01 +00:00
Jeff Ames 7d1dcf3e68 Replaced some magic PCode numbers with enum values. 2008-03-17 17:23:49 +00:00
Jeff Ames 825c89e7ac Replaced some Console.WriteLine calls with writes to log. 2008-03-17 17:10:53 +00:00
Justin Clarke Casey 5160733ba1 * Remove uninformative exception traces from remoting errors
* Indulge in my fetish for console message conformity
2008-03-17 16:55:12 +00:00
Sean Dague dba37a8722 From: Alan M Webb <awebb@vnet.ibm.com>
Here's a diff of the changes I have made in support of the following LSL
script functions. 

llSetScriptState
llGetScriptState
llCSV2List
llListRandomize
llList2ListStrided
llListFindList
llResetOtherScript
llGetScriptName

It was necessary to modify ExecutorBase in support of the ScriptState
implementations.

I also modified SceneObjectPart and SceneObjectPart.Inventory to
corrects a quoting mismatch in the commentary that through off live
parsing of the files.

I also simplified the State definition at the start of BuiltinCommands.
2008-03-17 15:11:36 +00:00
Teravus Ovares 76bf1f3654 * Fixed prim creation in basic physics mode. ( BasicPhysics returns null probably a lot more then it should? ) 2008-03-16 18:55:56 +00:00
Jeff Ames 7e5dc7ef67 Update svn:ignore 2008-03-16 07:02:31 +00:00
Jeff Ames 8a9d20facd Update svn properties. 2008-03-16 06:59:31 +00:00
Charles Krinke f7c5867723 Thank you kindly, Grumly57 for:
Added MSSQLDataStore.cs to OpenSim.Framework.Data.MSSQL and changed it 
to reflect the actual capabilites of MySQLDataStore.cs
2008-03-15 20:53:39 +00:00
MW 58ce8f3818 added some os helper functions for the texture drawing module. see http://opensimulator.org/wiki/OSSL_TextureDrawing for function prototypes and example script. Will expand that page later. 2008-03-15 13:52:57 +00:00
MW c04899b60a Part 2 of fixing inventory for client 1.19.1 (RC), inventory items should now show up.
Most likely still some problems and most like needs some more work (and still a couple of things to finish off).
2008-03-15 12:53:03 +00:00
MW 70e55205a1 Part 1 of making inventory work again in the 1.19.1 (RC) client. Implemented the FetchInventoryDescendents CAPS handler. But currently returning empty folder details.
So this commit doesn't actually fix inventory in that client, it just stops the "loading" message being displayed forever next to a folder, and instead shows empty folders.
Next part will be to fill in the details of the items in the folders.
2008-03-15 11:48:27 +00:00
Adam Frisby 4746c26824 * Fix for Justincc's bug report #768 - Terrain looks rather phallic. 2008-03-14 19:50:11 +00:00
Justin Clarke Casey 1641e4ecb1 * Remove stupid bug I just introduced where delinking would only delink one prim at a time.
* Teaches me not to say stuff like 'this is now working'
2008-03-14 18:51:51 +00:00
Justin Clarke Casey 9341c71135 * Minor - error message should be a warning. Spelling 2008-03-14 18:30:28 +00:00
Justin Clarke Casey 87067bff1e * The rest of the fix necessary for mantis #766 - terse updates broken
* Even very rapid linking/delinking should now behave normally.  Terse updates still occur as before
* Hopefully this ends the recent linking problems - please let us know if there are more
2008-03-14 18:21:21 +00:00
Sean Dague 01faa86c1a Fix Mantis 636 2008-03-14 18:09:20 +00:00
Justin Clarke Casey dc84f350a7 * As yet incomplete fix for mantis #766 - terse updates broken
* Currently, terse updates are back, and extremely rapid linking and delinking will only break occasionally
* More work to do here
2008-03-14 16:28:33 +00:00
Teravus Ovares ce9c2ecac8 * You can leave godmode if you want now.
* Fixed a compile error.
2008-03-14 15:52:32 +00:00
lbsa71 24aedf52c6 * Added null root part guard
* Normalized some UUID handling
* Compacted a few Contains/Add into Set
2008-03-14 15:28:34 +00:00
MW 7ab08f2ac4 Attempt to fix mantis #741, could not replicate it myself. But the error was suggesting that the SceneObjectPart was null, so added a null check, to make sure the sceneobject to be attached is found before attempting the attachment. 2008-03-14 15:23:33 +00:00
Sean Dague 923cc9f62f addressing the request for msbuild support from mantis 723 2008-03-14 14:54:50 +00:00
MW a5f5be8a0c attempt to try to fix mantis issue # 613, which seems to be a threading issue. Queue is only threadsafe if its a public static member, which in this case it wasn't. And we were locking it during both enqueues and dequeues. So have added those locks to a syncObject. But it still needs testing on a high load region, as that seems to be when the exception happened. 2008-03-14 14:40:31 +00:00
Jeff Ames 3778840f36 Update svn properties. 2008-03-14 14:20:05 +00:00
Adam Frisby 53e8d91c06 * Fixed 'flatten area' brush, so it now has a 'force' instead of instantly flattening the selected area.
* Noise, and Noise-Area brushes now use Perlin noise, more closely simulating the method LL uses officially.
* TerrainModule has been cleaned up slightly.
* TerrainUtil class has several new functions related to seeded noise generation.
* Extracted ITerrainEffect, ITerrainFloodEffect, ITerrainLoader, ITerrainPaintableEffect, TerrainChannel to seperate files.
2008-03-14 13:37:39 +00:00
Teravus Ovares ae9a98ceb1 * Added proper handling of llSetStatus(STATUS_PHYSICS,BOOL) 2008-03-14 06:20:50 +00:00
Teravus Ovares abacfba287 * Preliminary work with the ODEPlugin to collect collision data. 2008-03-14 05:22:52 +00:00
Jeff Ames 94c39c793a Update svn properties. 2008-03-14 00:41:09 +00:00
Sean Dague 4e588c715d some hackery with the VectorRenderModule to let you pass in a canvas
size.  Helps make the fonts crisp when using vector renderer as a
text board.
2008-03-13 20:47:36 +00:00
lbsa71 cb28cc686b * Added cautionary README.txt 2008-03-13 20:00:41 +00:00
lbsa71 8b6d29ff2e * SimpleApp is dead, long live OpenSim.Region.Examples.SimpleModule
* This module more or less crashes every region in the instance if you enable it by moving it from local /bin to global /bin
* But hey, it crashes in lots of interesting ways.
2008-03-13 19:55:18 +00:00
Justin Clarke Casey 12cb0d15f8 * Put back a comment I just inexplicably zapped 2008-03-13 18:42:57 +00:00