Justin Clarke Casey
f512502e51
From: Kurt Taylor <krtaylor@us.ibm.com>
...
"a patch to add a deprecated call to throw an LSL deprecated specific exception, and the associated code cleanup in the functions."
Thanks!
2008-04-09 15:28:51 +00:00
Sean Dague
5861084e0b
make this a class
2008-04-09 15:20:26 +00:00
Sean Dague
f8cb4f993d
check in an OSUUID wrapper as potential replacement
...
for LLUUID in most of our code. Like LLUUID, this is
basically just a box type on the .NET Guid.
2008-04-09 14:38:23 +00:00
Sean Dague
0919df5cdc
checking in a chunk of work because I think I'm tackling
...
the UUID issue
2008-04-09 14:15:54 +00:00
Sean Dague
93d7c8bd31
oops, broke compile. This fixes it
2008-04-09 13:45:32 +00:00
Sean Dague
ff2184136d
match file to classname
2008-04-09 13:44:28 +00:00
Sean Dague
750291447e
changing around types a bit to make stuff more readable for
...
me.
2008-04-09 13:43:35 +00:00
Sean Dague
ea16221c1b
NHibernate Inventory getting close, except for some of the
...
complex folder queries.
2008-04-09 02:08:07 +00:00
Sean Dague
034255ac24
add a sample script for migrating from old inventory
2008-04-09 00:04:27 +00:00
Sean Dague
960d57090f
fix up Inventory hbm definitions to work. Adding indexes in
...
NHibernate is quite nice (though there will still need to be a
db creator bit carved out later).
2008-04-08 23:44:52 +00:00
Sean Dague
cb436ffe70
add comment for version field based on what Teravus said :)
2008-04-08 23:37:02 +00:00
Sean Dague
2aeeb4fe5f
move the mappings to .hbm.xml so NHibernate actually
...
sees them
2008-04-08 23:35:22 +00:00
Sean Dague
6d6af55108
added the folder mappings
2008-04-08 23:34:51 +00:00
Sean Dague
a6d27e0929
further refactor and rename of InventoryFolderBase properties
...
to reflect what they really are.
2008-04-08 23:26:31 +00:00
Sean Dague
8c82117207
added migration script for SqliteAssets
2008-04-08 23:04:16 +00:00
Sean Dague
d2744f5140
added Readme for migrations
2008-04-08 22:59:16 +00:00
Justin Clarke Casey
f5b254e0bf
* Minor: Show summary count of connected agents in 'show users' region console output
2008-04-08 20:54:18 +00:00
Justin Clarke Casey
8eab365e21
* Adjust some inventory lookup failure messages to reduce confusion as to what just went wrong
2008-04-08 20:31:36 +00:00
Justin Clarke Casey
f8faf18c66
* Following A_Biondi's suggestion, going to try returning a version number of 1 instead of 0 for the folder requested in a InventoryDescendentsPacket
...
* Can't hurt - it doesn't appear to cause any problems in a quick test.
2008-04-08 20:11:35 +00:00
Justin Clarke Casey
90422db35a
* Update code to use patched libsecondlife.dll which removes the problem where the AssetType enum was 'Primitive' rather than 'Object'
...
* The libsecondlife patch was also applied to libsecondlife itself in r1714
* Many, many thanks to Dr Schofield (IBM) for his help on this :)
2008-04-08 14:39:29 +00:00
Sean Dague
214bd204b1
LLUUID mapper actually appears to work now with
...
NHibernate for Assets.
2008-04-08 13:49:10 +00:00
Teravus Ovares
95e31c9f02
* Added stretchable ellipsoid support with configurable LOD. It's actually a split facet icosahedral geodesic sphere that's scaled.
...
* In other words, you can stretch spheres into oblong shapes now and watch them roll around like a football would.
* Still can't cut, twist or profile cut spheres yet.
2008-04-08 05:03:43 +00:00
Sean Dague
61daaa57a9
added mapping for InventoryItemBase
2008-04-08 03:09:56 +00:00
Sean Dague
32b8dd70d6
attempt to introduce custom LLUUIDString type for
...
NHibernate
2008-04-08 02:50:44 +00:00
Teravus Ovares
d0f7784101
* Adds poor support for ellipsis in the Meshmerizer. This will get better.. notice the huge nasty facets! Regular spheres still work as they did.
2008-04-08 01:29:45 +00:00
Sean Dague
a02b3fe015
refactor of InventoryCollection for good measure
2008-04-07 23:34:41 +00:00
Sean Dague
5ee75998ce
more refactoring, this time on InventoryFolderBase
...
* wrap attributes in properties
* clean up names a little bit
* clean up name styles
2008-04-07 23:27:05 +00:00
Sean Dague
f436815107
Refactor InventoryItemBase to do the following:
...
* wrap fields as Properties
* rename some fields/properties to more sensible names
* set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Sean Dague
bb2f163bf7
needed to add 4 characters to support the dashes
2008-04-07 23:03:09 +00:00
Teravus Ovares
e409892a9c
* Updated ODE.NET bindings to the ODE library.
...
* Fixed some Tapers with Cylinders in the Meshmerizer
2008-04-07 22:11:41 +00:00
Justin Clarke Casey
da9eeffc9e
* Objects which have their name or description changed while within inventory will now retain those details when rezzed to a scene
2008-04-07 21:33:25 +00:00
Sean Dague
c774cd1169
remove the debug files, these must have been added by accident
2008-04-07 21:08:40 +00:00
Justin Clarke Casey
033f0138c8
* Preserve original creator's name when an object is given
2008-04-07 21:03:03 +00:00
Sean Dague
79222a0b45
break out the 5 classes that were
...
InventoryItemBase into seperate .cs files 1 per class
2008-04-07 18:28:48 +00:00
Sean Dague
98b5276068
added swag #1 on Inventory NHibernate implementation. There
...
is no hbm.xml mapping yet, so this isn't going to do anything,
plus I'm sure I didn't get the list interfaces right. However
it now compiles, so worth getting into the tree.
2008-04-07 18:02:58 +00:00
Sean Dague
c5804cbb3a
fix bad indentation
2008-04-07 17:58:20 +00:00
Justin Clarke Casey
0e7c4046d3
* Nasty hack to reduce the incidence of spurious exceptions where a user deletes a newly rezzed object before the persistence thread gets to it from its queue.
...
* This should greatly reduce but not eliminate the problem - elimination probably requires a redesign of the prim persistence processes
2008-04-07 17:28:02 +00:00
Justin Clarke Casey
c5a5555d4f
* Minor: log message correction
2008-04-07 16:46:49 +00:00
Justin Clarke Casey
2caea75aa8
* Okay you can put down your pitchforks - this patch should fix rezzing of items (with inventory) on Windows
...
* Now properly dealing with prims which don't contain items - thanks to thomas for the patch which gave insight into this situation
* Also, an xml exception no longer crahes the client session
* Leaving in debugging lines in case there are further problems
* Not yet tested on Linux, though I'm just about to.
2008-04-07 16:30:29 +00:00
Sean Dague
2b23734a16
add some error messages for abuse of our IInventoryData interface
...
(i.e. using add to update, or update to add).
2008-04-07 15:01:00 +00:00
Jeff Ames
8833a72388
Update svn properties.
2008-04-07 14:19:08 +00:00
Charles Krinke
927003de33
Thank you kindly Diva & KMeisthax for adding the beginnings
...
of search capability to OpenSim in the form of a configurable
module.
2008-04-07 13:50:05 +00:00
Teravus Ovares
072b5faa34
* I XmlIgnored the TaskInventory Property as a temporary measure. Taking things and rezzing them works again. (though, I suggest waiting on taking things until justincc has an opportunity to look at the TaskInventory property causing the XML Serialization to overrun.) It's MinOccurs is 0 in the XML Schema, so it should work fine when he adds it back.
2008-04-07 11:21:44 +00:00
Jeff Ames
ac73033231
Remove some dead code.
2008-04-07 02:34:31 +00:00
Justin Clarke Casey
dfe5e9d4eb
* EXPERIMENTAL ROUGH DRAFT: First rough implementation of avatar to avatar item giving
...
* Now you can drag an object from your inventory and give it to another avatar
* !!! Use at your own risk !!! Many things are unimplemented as of yet, including permissions (the person receiving your item can probably do absolutely everything with it)
* Also, items for the receiving end up in their root folder rather than the objects folder
2008-04-07 01:46:00 +00:00
Jeff Ames
7149c8b0c6
Update svn properties.
2008-04-06 14:11:44 +00:00
Adam Frisby
0a0a3992cc
* Whoops, forgot to include all the new terrain file loaders and things.
...
* Added MapImageModule for handling world-map
* Added new DefaultTerrainGenerator.cs
* Added BMP loader
* Added GIF loader
* Added PNG loader
* Added TIFF loader
2008-04-06 14:04:59 +00:00
Adam Frisby
996309a6e1
* Various terrain engine fixes
...
* Includes patch #894 fixes for terrain load-tile
* Large number of other terrain fixes and new commands included.
2008-04-06 13:48:28 +00:00
Teravus Ovares
899f00b83d
* Fixed up some documentation
...
* Should help the sinking feeling when new avatar arrive in the scene.
2008-04-06 06:42:54 +00:00
Teravus Ovares
0340531ff0
* Implemented AgentPause and AgentResume. AgentPause extends the timeout for a client at the server by 3x. AgentResume restores the timeout to the normal amount.
...
* The linden client still doesn't like it when you have an image select box open for more then 100 or so seconds.
2008-04-06 02:05:19 +00:00
Teravus Ovares
9d299926dc
* Lowered the default throttle settings. They were way too high at 1.5MB/s!
...
* This will definitely help the missing prim problem (probably eliminate it entirely)!
* This will help the broken up land block problem (probably eliminate it entirely)!
* Warning, change the default throttle settings at your own risk ( and don't commit the throttle settings! )
2008-04-05 11:06:28 +00:00
Teravus Ovares
dbbb115c26
* The simulator now checks the parcel at the position that you get put by the grid server to see if you set it's landing point to a specified landing point. If you did, and the landing point isn't LLVector3.Zero, it puts you at the configured landing point.
...
* Currently the grid server sticks you at 128x128x128.. so that means it'll use whatever parcel is at that location to get this information. This allows greater customization of where people log-into and teleport-to if done right.
2008-04-05 09:47:05 +00:00
Justin Clarke Casey
57afbdbdbd
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Patch to remove commented NotImpemented calls from within implemented script functions
2008-04-04 19:09:56 +00:00
Sean Dague
f010d398cf
make AssetBase use Properties instead of fields. This probably
...
breaks compatibility on grid ops because native serialization is
used here.
2008-04-04 18:14:00 +00:00
Justin Clarke Casey
f5ed635750
* Make objects appear in 1.19.1.4 inventory again
...
* You will probably need to clear your client's cache before this will take effect
* The problem was that the underlying libsecondlife.AssetType was returning "primitive" rather than "object". This fix is in lieu of correcting/updating our libsecondlife.dll
2008-04-04 17:43:29 +00:00
Justin Clarke Casey
cdff09d0bb
* Removing debugging goo for mantis 854 since the fix is reported to work.
2008-04-04 15:02:20 +00:00
Sean Dague
ae490c7d6f
From: Dr Scofield <hud@zurich.ibm.com>
...
ansgar and i have done a bit of clean up for the "create user" and "create
region" XmlRpc methods in RemoteController (contributed earlier by ansgar),
this add a bit of consistency checking, more error checking and also
documentation of the expected XmlRpc parameters.
2008-04-04 11:48:27 +00:00
Teravus Ovares
27876795f4
* Fixed up some documentation regarding the inventory descendants method XML. Cleaned up an error report. Noted at the top, why the two unused caps path variables must stay.
2008-04-04 08:33:29 +00:00
Teravus Ovares
42e4284277
* Fixes CAPS InventoryDescendants and the notorious 'LLSDParseException:expected </llsd>' error.
...
* Objects folder still exhibits strange behavior.
2008-04-04 08:07:49 +00:00
Teravus Ovares
75b192a2a0
* Fixing permissions on items returned via CAPS based inventory
2008-04-04 05:50:46 +00:00
Teravus Ovares
7bc0b7b6c1
* Fixes Region/Estate panel in current Linden Official client.
...
* Sets the default estate parentID to 1.. which means that all regions are treated like private estates in the client as opposed to Linden Mainland. (no space server hiccup message). If that message annoys you and you want to get rid of it, set your parentEstateID to 1.
2008-04-03 22:59:38 +00:00
Sean Dague
5e32d86b87
move NullStorage => OpenSim.Data.Null to be consistant with
...
where other data storage assemblies are.
2008-04-03 21:07:03 +00:00
Sean Dague
cd4348738a
Check in the remaining bits to do Asset store via NHibernate. Still
...
need to work out auto table creation in a reasonable way. Tommorrow
I'll work on getting the NHibernate bits in place to be able to put this
into the main tree.
2008-04-03 20:59:20 +00:00
Jeff Ames
4f174fbf57
Update svn properties.
2008-04-03 18:25:01 +00:00
Justin Clarke Casey
b9b99ee87c
* Attempted resolution for mantis 854
...
* Also adds more temporary debugging goo in case the fix didn't work
2008-04-03 17:13:45 +00:00
Justin Clarke Casey
042cd57e94
* From: Dr Scofield <hud@zurich.ibm.com>
...
* This patch removes voice code into a region module. This required the implementation of events and other code to allow region modules to register their own caps handlers, and should allow different voice module implementations.
* CAVEAT: This does not provide complete voice support, it merely provides the hooks so that it can be plugged in.
2008-04-03 15:44:20 +00:00
Justin Clarke Casey
4394c747f5
* Minor: fix doc glitch
2008-04-03 15:30:52 +00:00
Justin Clarke Casey
5fe4a39927
* Adding request time limiting strategy for texture requests, though this isn't useable yet
2008-04-03 15:28:50 +00:00
Justin Clarke Casey
6ef4f1bdae
* Resolve mantis 849
...
* Scripts in prims within linksets can now be properly edited using the 'edit linked parts' linden ui option
2008-04-03 13:33:46 +00:00
Sean Dague
fe14d65f07
point in time update of NHibernate Asset Mapping code
2008-04-03 12:29:25 +00:00
Teravus Ovares
2d33bf854f
* ODEPlugin: put a limit on the minimum size a prim can be ( scale <=0 ).
2008-04-03 04:02:46 +00:00
Sean Dague
341664eabc
from krtaylor
...
Fixe for Mantis 821
2008-04-02 18:58:57 +00:00
Sean Dague
1379d1bef8
remove really odd utf character at the front of this class
2008-04-02 18:20:48 +00:00
Sean Dague
fbc6c16fd7
starting to stub out NHibernate data source. This isn't in
...
prebuild yet so it's currently dead code in tree, and shouldn't
bother anyone. Once this does *something* I'll add it into the
main build. However it seemed like a good idea to commit work
as I go for people interested in it.
2008-04-02 18:12:33 +00:00
Justin Clarke Casey
272fbef65f
Minor: just some method comments
2008-04-02 17:34:53 +00:00
Justin Clarke Casey
f27f861072
* Attempt to resolve mantis 873 by placing caps removal operations in a critical section
2008-04-02 16:46:58 +00:00
Sean Dague
30ea28c3b1
fix ups to include OpenSim.Framework explicit includes (they
...
were implicitly included before). Everything builds again.
Now off to testing.
2008-04-02 16:00:40 +00:00
Sean Dague
849592391a
move signing file
2008-04-02 15:41:30 +00:00
Sean Dague
86cf07f1c4
changing more references to OpenSim.Data
2008-04-02 15:38:44 +00:00
Sean Dague
f52c8f3970
attempt to fix up all refernces to new directory structure
2008-04-02 15:36:01 +00:00
Sean Dague
c52c68f314
whole lot more moving
2008-04-02 15:24:31 +00:00
Sean Dague
35420b21a3
reorganizing namespaces to put all the Data stuff into it's own namespace
...
/ dir structure. This is coming in over a few changesets so consider trunk
broken for the next 30 minutes as these get pulled together.
2008-04-02 15:22:39 +00:00
Justin Clarke Casey
1038c244cf
* Add some temporary task inventory item inflation debug messages to investigate mantis 854
2008-04-02 15:16:32 +00:00
Sean Dague
b28ef3ca14
refactor, make the file name the class name
2008-04-02 14:49:35 +00:00
lbsa71
f210cf0195
* Added AvatarAppearance.sql for MSSQL
2008-04-02 13:06:52 +00:00
lbsa71
667ebc8ea2
* Reworked Data Framework so that MSSQL works
...
* Introduced uint as field type
* Removed what should be superfluous Guid handling
* Introduced stub MySQLDataReader if we need to fix the Guid handling anyway
2008-04-02 13:06:18 +00:00
MW
0e789a9a01
Set default terrain to complete flat terrain (at 26 height). Even flat terrain as default seems better than the messed up terrain I was getting.
2008-04-02 11:03:44 +00:00
Teravus Ovares
b790a16e98
* Updating the version of the ODE library. (big update). The Mac library needs to be updated still.
...
* Adding some XMPP stuff that's incomplete.
2008-04-02 01:03:31 +00:00
Justin Clarke Casey
7ec3bb71e6
* Remove the quit command from the inventory console which was actually adding a new inventory instead
2008-04-01 17:11:00 +00:00
Justin Clarke Casey
96ecb62197
* Fix for mantis #678
...
* Shift copied prims should now keep the script in both prims over region startups
2008-04-01 17:06:33 +00:00
MW
cdf27ece5f
few more minor changes, needs prebuild to be ran.
2008-04-01 13:34:33 +00:00
MW
f43e077150
a few small changes
2008-04-01 13:09:29 +00:00
Sean Dague
731dcbad5b
sadly, had to modify line by Ter because it caused mono cil compiler
...
to spin off into a seemingly infinite loop.
2008-04-01 13:04:29 +00:00
Teravus Ovares
a0a0229fdf
* Set Svn Properties eol-style: |337
2008-03-31 23:54:49 +00:00
Adam Frisby
15a1565bf8
* Fix for terrain issue whereby loading or manipulating a terrain item from the console would not cause the terrain to be saved to the Scene. (Mantis #845 )
2008-03-31 21:05:22 +00:00
Justin Clarke Casey
106fd2f616
* From: Dr Scofield <hud@zurich.ibm.com>
...
* (and Ansgar/Ansi)
* Fleshes out the voice stubs to better interact with the viewer CAPS requests - no actual voice support yet!
* In his own words
"the attached patch enhances the existing voice support by returning a proper voice account user and password and is preparing the config file so that we can specify a SIP server (not yet working). currently the SIP is hardcoded. the next step is to refactor voice support into a region module. working on that. "
2008-03-31 18:41:24 +00:00
Justin Clarke Casey
93303072dd
* Minor: If a user exists but has no inventory in standalone, automatically create new inventory folders
...
* This mirrors the grid behaviour
2008-03-31 18:29:08 +00:00
Justin Clarke Casey
48fc4ee059
* Log exceptions which make it up to the top of the http request frame, rather than having them disappear off into the ether
2008-03-31 17:34:32 +00:00
Justin Clarke Casey
af3118eccd
* Fix problem where inventory code throws a swallowed exception on grid mode if the avatar has never logged in before
2008-03-31 17:08:58 +00:00
Justin Clarke Casey
5f04cebb25
* Fix for mantis 131, 796
...
* Take copy now actually takes a copy into inventory rather than the original
2008-03-31 16:12:24 +00:00
Jeff Ames
e18d046d76
Fixed typo in AvatarFactoryModule.cs
2008-03-31 16:06:12 +00:00
Justin Clarke Casey
d53dd8a7cc
* Minor change on region grid asset client to change two store log messages to one
2008-03-31 14:19:40 +00:00
Jeff Ames
8af0c9a1af
Update svn properties.
2008-03-31 03:29:34 +00:00
lbsa71
f52886f8f5
* Added competely untested MSSQLMapper
...
* Added the new mapper to the mapper factory
* Made choice of mapper configurable
* This means, in hteory, that we can persist avatar appearance on MSSQL as well
2008-03-30 21:04:45 +00:00
Teravus Ovares
8aa4308097
* Minor cleanup
2008-03-30 19:58:14 +00:00
Adam Frisby
c502416548
* Quick fix. Re-enabled some code which registers the Terrain Module's Commander with the scene (whoops).
2008-03-30 09:07:57 +00:00
Adam Frisby
fadd19f314
**Big ass update warning**
...
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>".
* Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax.
* New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class.
* Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-30 09:03:38 +00:00
Teravus Ovares
fd2caf5f16
This update has good news and bad news, first the bad.
...
* This update breaks inter-region communications, sorry.
* You will need to run prebuild.
Next, the good;
* This update solves the unexpected binary element when Linux simulators inform windows simulators and vice versa. So Linux Simulators and Windows simulators are 100% compatible again.
* This update introduces an Integer in the prim crossing method to tell the receiving simulator which XML method to use to load the prim that crossed the border. If the receiving prim doesn't support the method, the prim crossing fails and no prims are lost.
That being said, it's best to update all your simulators to this revision at once.
2008-03-30 08:01:47 +00:00
Justin Clarke Casey
2fddd775f4
* Stop the grid inventory service sending all folder and item details twice
...
* This change will have no functional impact - we were already filtering out the dupes on the other end.
2008-03-30 00:45:04 +00:00
Justin Clarke Casey
a6999f8a5d
* Refactor: Remove unused inventory methods, some of which weren't properly implemented anyway.
2008-03-29 23:07:48 +00:00
Justin Clarke Casey
7722a87b69
* Tidy up 'show users' display
2008-03-29 22:57:09 +00:00
Justin Clarke Casey
a90fbb308d
* Minor log message fix per mantis 829
2008-03-29 22:44:14 +00:00
Justin Clarke Casey
9acec3506f
* CODE: Add phat warning to RootFolders http request since it no longer does what it used to do (not that the name was actually accurate in the first place)
2008-03-29 22:27:55 +00:00
Justin Clarke Casey
875211b262
* Various 1.19.0.5 grid inventory request fixes. These will only take affect once the region and the grid servers have upgraded to this revision
...
* You may also need to clear your cache before seeing any effect.
* These fixes may or may not affect inventory on the RC client.
* These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly
* Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal
with situations where we receive child folders from the inventory service before their parent is received.
2008-03-29 22:18:44 +00:00
alondria
0e0445573e
Patches llAvatarOnSitTarget to return NULL_KEY opposed to a blank string. Should fix Mantis 838
2008-03-29 19:49:07 +00:00
MW
7fcffa3a3a
Re-enabled terrain texture generation for the world map. Adam can clean up/ sort it out when he gets time.
...
Most likely doesn't really work in grid mode as the generated textures are marked as temporary and I don't think they are updated to the asset server. We have to either live with these textures being sent to the asset server, and manually clean them out from time to time or wait until there is some asset management system in place.
Also currently the texture is only generated at region startup, it is not updated after terraforming.
2008-03-29 17:18:47 +00:00
Jeff Ames
86128ba4d4
Fix compiler warnings in BulletXPlugin.
2008-03-29 04:30:19 +00:00
Jeff Ames
bf7ef8c41a
Set svn:eol-style.
2008-03-29 04:25:52 +00:00
lbsa71
7f11079f57
* Refactored out common http handler operations
2008-03-28 21:43:46 +00:00
lbsa71
ca718b6f8d
* Introduced common abstract UserDataBase provider
...
* Weeded out multiple AvatarPickerAvatar classes
2008-03-28 19:58:45 +00:00
Justin Clarke Casey
0a47a75b88
* Send full inventory folder skeleton to standalone client logins rather than just the root child folders
...
* This may resolve some current problems with non root child folders on standalone installations.
* A fix for the same problem in grid mode will come soon.
2008-03-28 19:35:01 +00:00
Justin Clarke Casey
35dec2e53a
* Refactor: Eliminate RequestUsersRoot() redundant method
2008-03-28 17:37:55 +00:00
Justin Clarke Casey
c8f79eb9b4
* Refactor: Rename CreateInventoryData() to GetInventorySkeleton()
...
* Replace the unused default GetInventorySkeleton() impleemntation with an abstract declaration - less confusing this way imho
* Add some comments
2008-03-28 16:39:38 +00:00
Justin Clarke Casey
512e52be4c
* Remove pointless boolean on AgentInventory.CreateRootFolder()
2008-03-28 16:27:29 +00:00
MW
a13d68d98c
fixes mantis #778 and shoots himself for making such a mistake to begin with, but also blames Tedd for the way the script functions have wrapper methods that call the same named method in a different class, is it my fault if in two such functions, I forget to add "m_LSL_Functions." and instead cause a recursive loop until the stack overflows.
2008-03-28 15:32:46 +00:00
lbsa71
0e16488ca8
* Introduced base abstract provider class for GridData
2008-03-28 15:05:06 +00:00
MW
ac27d9250d
attempt to fix mantis # 779.
2008-03-28 14:59:52 +00:00
lbsa71
8c901e9347
* Introduced common abstract AssetDataBase implementing IAssetProvider
...
* changed the semantics of SQLiteBase to SQLiteUtils
* Added abstract placeholder files for the other db providers
2008-03-28 14:54:20 +00:00
MW
830626999c
Applied patch from mantis# 825, thanks A_Biondi
2008-03-28 14:47:51 +00:00
lbsa71
ed74b8af5f
* removed redundant constructor
2008-03-28 14:26:28 +00:00
lbsa71
88a14c9a76
* fixed pk_violation on rename for MSSQLInventoryData
...
("le fix le plus ugly for le problem trés dumb")
2008-03-28 14:19:17 +00:00
Sean Dague
2eda6a1296
From: Michael Osias <mosias@us.ibm.com>
...
This patch implements llMessageLinked.
I had to make a change to llGetLinkNumber to return m_host.LinkNum + 1 for
link sets of more than 1 prim, or 0 for a single object, since according
to:
http://rpgstats.com/wiki/index.php?title=LlMessageLinked
linksets with 2 or more prims start the link numbering at 1, but a single
prims link number is 0.
2008-03-28 12:47:03 +00:00
Justin Clarke Casey
0609970f2e
* Correct asset type of Lost and Found folder - this might stop it appearing twice
...
* Other minor corrections to initial inventory contents
* These will only take affect for new users
2008-03-27 18:26:01 +00:00
Justin Clarke Casey
14ee78b3af
* Tweaking master uuid exception to make it clearer what just went wrong (user server timeout)
...
* Increasing GetUserProfile requests only to 6 seconds from 3
* Not completely sure what effect this will have, though probably not much
* At some point one will have to accept that if the grid servers are taking many many seconds to respond, running using that grid will not be viable.
* Perhaps there should be a big warning up front if grid request times are slower than n seconds.
2008-03-26 18:06:29 +00:00
Justin Clarke Casey
c538ea5024
* Increase timeout for initial simulator login from 16 to 30 seconds
...
* Comments, capitalization
2008-03-26 17:21:46 +00:00
Justin Clarke Casey
bcd68fb6c4
* More log messages in the region registration process for debug purposes. Some of these may be temporary
2008-03-26 12:44:43 +00:00
Justin Clarke Casey
c00e56d3ee
* Increase information in simulator_login log messages
2008-03-26 12:34:02 +00:00
Justin Clarke Casey
35b1cae593
* Start printing the region simulator_login exception to the log
2008-03-26 12:28:59 +00:00
Johan Berntsson
7fe243e3d4
Committed patch from Lulurun to fix Mantis 817. Thanks Lulurun
2008-03-26 02:49:35 +00:00
Johan Berntsson
7f5e1546e2
Removing redundant code
2008-03-26 02:12:28 +00:00
Justin Clarke Casey
ad6783ff40
* Massaging CAPS setup/teardown log messages
...
* Leaving quite a few debug messages in for now to help deal with bugs arising
2008-03-25 22:04:41 +00:00
Justin Clarke Casey
ad808579a2
* Print out the exception stacks of resolution failures, temporarily
2008-03-25 20:05:02 +00:00
Justin Clarke Casey
ed9cdbe99f
* Temporary hack to swallow neighbour contact problems on startup (in response to osgrid issues)
...
* Not sure what the effect will be, but can't be any worse than the current constant sim crashes.
2008-03-25 19:39:41 +00:00
MW
13a077674c
checking that these two files are commented out
2008-03-25 19:03:23 +00:00
MW
c2ea7b99e1
Moved Avatar appearance Factory to its own project so that the reference to MySQLDatabaseMapper could be removed from Region.Environment.
...
Added a using OpenSim.Framework.Data statement to MySQLDatabaseMapper , to try to fix the build problem that has been reported on the mailing list.
2008-03-25 18:48:07 +00:00
Justin Clarke Casey
8c74cf7758
* Tear down CAPS and http handlers when an agent leaves a region (via crossing, teleport or logout)
2008-03-25 18:47:14 +00:00
Teravus Ovares
e74892ee44
* Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. )
...
( Remove ray caster Verbosity )
2008-03-25 17:31:40 +00:00
Teravus Ovares
e11e6dc308
* Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. )
2008-03-25 17:28:09 +00:00
Justin Clarke Casey
2517fe7acd
* Remove old CAPS http listeners when a client logs out from a scene
...
* Not yet removing listeners when a client leaves a region without logging out
2008-03-25 17:08:20 +00:00
Teravus Ovares
3d1b4f8578
* On Ray casting. Now returning the face normal of the collision face.
2008-03-25 16:09:43 +00:00
lbsa71
ba2de258f4
* Refactored out circular reference in Region.Environment <-> Framework.Data.Base
...
We REALLY need to get the db layer sorted soon...
2008-03-25 14:27:39 +00:00
Teravus Ovares
301c25950d
* Committing some voice related caps with hard coded responses so more debugging can occur.
2008-03-25 05:56:27 +00:00
Jeff Ames
9d1b42c39a
Comment out unused private methods.
2008-03-25 03:49:08 +00:00
Jeff Ames
a8d9a58dd2
Fix a couple more warnings.
2008-03-25 03:43:24 +00:00
Jeff Ames
a7556af7de
Fix a few compiler warnings.
2008-03-25 03:37:48 +00:00
Teravus Ovares
a21112ccee
* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.
...
* It doesn't generate at_target events, because they don't exist yet in the script engine.
* The Tau is different, however, compatible with scripts I tested.
* Not perfect... but pretty good.
2008-03-25 03:36:31 +00:00
Jeff Ames
d2b1a8aa1e
Minor formatting / svn properties cleanup.
2008-03-25 01:45:23 +00:00
Teravus Ovares
dd6e6e7bdf
* Added llApplyImpulse in the local frame.
2008-03-24 22:48:34 +00:00
alondria
15a22e993d
Implements llGetInventoryPermMask()
2008-03-24 21:56:52 +00:00
Teravus Ovares
dd6a9ffbc7
* OBB: Flipped the -y face normal so ray casting against the -y face correctly results in the point of collision.
2008-03-24 21:48:33 +00:00
Justin Clarke Casey
e3949280b1
* Inflate my commits with yet another snippet of documentation... (j/k)
2008-03-24 21:28:45 +00:00
Justin Clarke Casey
3a5521d204
* Put in tiny doc snippet while I remember
2008-03-24 21:27:14 +00:00
Justin Clarke Casey
f14c102c7a
* Clean up Scene.AddCapsHandler(). There was a race condition warning, but I don't think this is now relevant...
...
* Remove some now extraneous CAPS related messages
2008-03-24 21:21:05 +00:00
alondria
2b4915ef27
Modified llGetInventoryName() so it indexes inventory in the same manner the LL grid does. (Thanks Teravus for pointing this out.)
2008-03-24 21:19:01 +00:00
Justin Clarke Casey
3aa843cea8
* Remove a spammy comment I meant to remove from the last commit
2008-03-24 20:25:48 +00:00
Justin Clarke Casey
6489746a6b
* Make standalone non-home region caps work again.
...
* When I removed the hard coding for the http port last night, I foolishly assumed standalone would be okay :)
2008-03-24 20:22:58 +00:00
alondria
3be815b206
Implements llGetInventoryName() - the order is based upon inventory key, which probably doesn't match 100% with LL's grid.
2008-03-24 19:58:53 +00:00
Justin Clarke Casey
45b9114df7
From: Michael Osias <mosias@us.ibm.com>
...
Fixes mantis 771 - multiple uses of llListen cause duplicate events
Thanks Michael!
2008-03-24 19:44:25 +00:00
alondria
9117dfc858
Implements llGetInventoryNumber()
2008-03-24 19:29:35 +00:00
alondria
8a39d04f6d
Implements llGetInventoryType()
2008-03-24 19:11:56 +00:00
alondria
3423ed4739
Implements llGetInventoryCreator()
2008-03-24 19:05:44 +00:00
Justin Clarke Casey
ca7c954a61
* Fix build break in last revision. Thanks to paulieFemto for pointing it out.
2008-03-24 18:45:21 +00:00
Justin Clarke Casey
185dbb06af
* Picky comment change
2008-03-24 18:26:43 +00:00
Justin Clarke Casey
1a970d8f2d
* Create null limit strategy
2008-03-24 18:25:50 +00:00
Justin Clarke Casey
8c0955321a
* Refactor: Genericise request limit strategies and move to OpenSim.Framework.Communications.Limit
2008-03-24 18:21:06 +00:00
Johan Berntsson
56dfa4e6da
Fixed a small XmlRpcCommand bug
2008-03-24 03:03:21 +00:00
Johan Berntsson
39f340e687
XmlRpcCommand refactoring
2008-03-24 01:37:00 +00:00
Johan Berntsson
12a32b0608
Added a plugin loader in GridServer
2008-03-24 01:21:01 +00:00
Justin Clarke Casey
ca6e557075
* minor: check in the rest of a comment I forgot to finish off in the last revision
2008-03-23 21:32:30 +00:00
Justin Clarke Casey
da531fa9e1
* Start passing around a region server's http port in RegionInfo.
...
* This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default
(9000) port.
* If you are running a region server, this may only work properly once your grid server upgrades to this revision
* PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision. However if it does, the instability will persist until
the grid and region (and possibly all the region's neighbours) have upgraded to this revision.
* This revision also adds extra login related messages, both for success and failure conditions
2008-03-23 21:21:39 +00:00
alondria
68d016517d
Implements llGetParcelPrimOwners()
2008-03-23 18:15:08 +00:00
Teravus Ovares
f82227a186
* Added a little more stability for getting the object list from the parcel box. (previously it crashed my simulator)
...
* Found and gracefully handled a few situations where null references occur. (m_rootPart again!)
2008-03-23 07:10:04 +00:00
Teravus Ovares
dc850df50a
* Implements Oriented Bounding Box raytracing.
...
* It's not perfect, but it's good enough. (rarely erroneously returns a backface collision)
* After updating to this revision, rez a prim on another prim and watch it appear where you'd expect it to appear.
2008-03-23 06:24:59 +00:00
alondria
5deca3f0c5
Implements (I hope): llRemoveFromLandBanList, llRemoveFromLandPassList, llAddToLandBanList, llAddToLandPassList, llResetLandPassList, llResetLandBanList
2008-03-23 06:08:52 +00:00
Jeff Ames
0d43aaa337
Fix llParseString2List bug when separator is longer than 1 character.
2008-03-23 00:39:35 +00:00
Jeff Ames
9a2b289e32
Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. Thanks daTwitch!
2008-03-22 23:52:48 +00:00
Jeff Ames
37121bcf72
Update svn properties.
2008-03-22 23:39:07 +00:00
mingchen
71ca162821
*Moved LandManagement into its own region module (spiffy!)
2008-03-22 23:10:22 +00:00
alondria
5ebef6410e
Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume().
2008-03-22 23:02:41 +00:00
Justin Clarke Casey
74023aa97c
* Miscellaneous comment before I found out that mantis 807 probably isn't an issue worth fixing.
2008-03-22 22:17:35 +00:00
Justin Clarke Casey
170e1a8a09
* Make master UUID exception a bit more useful by telling us which uuid it was trying to look up
2008-03-22 21:19:45 +00:00
Justin Clarke Casey
61ae75f364
* Catch the occasional resolution exception that comes out of SceneCommunicationService.EnableChildAgents so we can see what hostname is failing
2008-03-22 20:44:15 +00:00
Justin Clarke Casey
6ce79a0f78
* Downgrade 'texture not found' message to DEBUG and stop putting out 'already dispatched' message completely temporarily
...
* I believe that if the Linden client has not started to receive a texture after 15 seconds, it re-requests it.
* My hypothesis is that the texture packets are often still in the texture queue (esp. if the client has just cleared its cache), so another load of packets get added...
* If this is the cause, resolution is going to be rather complicated.
2008-03-22 19:15:01 +00:00
Justin Clarke Casey
936f961a53
* Reducing spam on console so we only notify once if we're dropping repeated requests for missing textures
...
* Also minor logic change so that we actually do retry missing texture requests (we weren't before)
2008-03-22 18:30:54 +00:00
Justin Clarke Casey
625e8f7700
* Minor log message change
2008-03-22 17:56:05 +00:00
Justin Clarke Casey
e211a3b00b
* Tell the user what the new terrain commands format is if they try to execute a deprecated one
...
* As per CharlieO's suggestion in #806 . Thanks!
2008-03-22 10:09:09 +00:00
Teravus Ovares
7854f6f4a2
* Committing some math to discover the Oriented Bounding Box and decomposing it into planes and normals.
...
* No obvious functionality difference as the Ray-cast code is incomplete for OBB right now.
2008-03-22 03:40:38 +00:00
Charles Krinke
2f3bb3b836
Remove a couple more compiler warnings by commenting unused variables.
...
This takes us down to 15 compiler warnings on a VS2005 C# build.
2008-03-21 23:31:32 +00:00
alondria
6ac21141c6
Adds in +, -, and / operators for Rotations (and fixes Mantis 671)
2008-03-21 21:31:18 +00:00
alondria
d3515bf22e
Woops - forgot to call m_host.AddScriptLPS(1) in llGetObjectDetails....
2008-03-21 20:20:39 +00:00
Justin Clarke Casey
be83ac37f9
* Small adjust to last commit's logging so we only print out one warning when we start dropping requests
2008-03-21 20:19:43 +00:00
alondria
181c5ab7d7
Implements llGetObjectDetails()
2008-03-21 20:04:52 +00:00
Justin Clarke Casey
45ea156804
* If a client session requests the same texture more than n times (currently n=5), we now drop the subsequent requests
...
* This may improve region memory usage
* This is a short-term response to a problem whereby some clients keep requesting the same texture even after we've sent it
* This treats the symptom rather than the cause.
* n can be adjusted by changing the constant at the top of UserTextureDownloadService if necessary
2008-03-21 19:16:29 +00:00
alondria
d76c6ee140
Implements llKey2Name().
2008-03-21 18:45:09 +00:00
Charles Krinke
1e452dacf4
Comment out an unused 'str' and add a WriteLine to use
...
an "Exception e" with e.ToString() to eliminate 2 warnings.
2008-03-21 17:06:31 +00:00
Charles Krinke
21e5e65bb7
Comment out "m_randomizeWater" and "ms" until we use them later.
2008-03-21 16:52:55 +00:00
alondria
5c41051fda
Implemented llOverMyLand() and correct llGetOwnerKey() to properly return the information for the argument key, opposed to the object the script is in.
2008-03-21 15:34:51 +00:00
Teravus Ovares
0cb05c1952
* Updated ray tracing code. It's now good enough to use when the XYZ vector components of the scale have a difference of less then 4.5 meters.
...
* When a new prim is created and raytracing is called for, raytrace from the camera position to the ground in the direction of the Norm(RayEnd - RayStart).
* If we got a hit based on our camera, create the new prim at the edge of the prim we hit.
* Don't raytrace if the difference between any component of the vector exceeds 4.5meters.
2008-03-21 05:54:56 +00:00
Adam Frisby
803670e6ea
* Removed more encoding faults.
2008-03-21 02:36:34 +00:00
Adam Frisby
fd8aa566b5
* Removed a bad encoder.
2008-03-21 02:32:56 +00:00
Adam Frisby
7286bd60b0
* Converted a large number of ASCII encodings to UTF8.
...
* We should not be using ASCII anywhere except for legacy compatibility reasons.
* A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT
* This should fix Mantis#799 - Japanese Profile Text does not work.
2008-03-21 02:26:00 +00:00
Teravus Ovares
dc79146d01
* Fix for #499 : linked primsets don't rotate properly when using a door script that works OK on SL
...
* Fix for #693 : llSetRot malfunction in linked prims causing instance of invisible prim
2008-03-21 00:52:41 +00:00
Justin Clarke Casey
c1beb85315
* First draft resolution of mantis 777, 734, 389 - scripts do not save in non-home regions
...
* Should work in multi-region standalone and grid modes
* This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc)
* We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master
* Current limitation is that this will only work if your http_listener_port is 9000
* This is a very early code cut (lots of bad practice, hard coding and inefficiency). However, I wanted to get this out there for feedback and my own sanity. Next few patches will clean up the mess.
2008-03-20 20:04:45 +00:00
MW
f61ea1998e
Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the packetpool, which somewhere through time got lost/reverted
2008-03-20 15:33:08 +00:00
Justin Clarke Casey
20473af892
Another poxy patch which consists mainly of logging changes (some already commented out) to find out what CAPS is doing
2008-03-20 13:03:26 +00:00
Jeff Ames
84289cfb4b
Fix server crash when setting prims physical under basic physics.
2008-03-19 19:33:38 +00:00
Justin Clarke Casey
2b78c40d89
* Adding log debugging messages and making others more explicit
...
* This reveals that the problem with saving scripts in a non-home region in multi-region configurations is due to a CAPS setup issue
* For some reason the client is still using the CAPS on the region it just came from, causing the ScenePresence lookup to fail (since the presence is now, correctly, a child agent).
2008-03-19 19:25:10 +00:00
Teravus Ovares
8d5bcc9da1
* Fix for if 782: Locked prims may still be moved by click+drag.
...
* Remember, your admin user and estate managers can move locked objects that are not owned by them. That functionality differs from the Linden way of thinking and it's by design! It is not a bug! Create a non-god user and use that as your normal account.
2008-03-19 18:32:25 +00:00
Justin Clarke Casey
f747687c8f
* Patch to add llSetLinkPrimitiveParams stub
...
* Thanks krtaylor
2008-03-19 17:28:21 +00:00
Jeff Ames
3f2ea4f647
Thanks Ahzzmandius for fix for overflow in user profile About box or First Life About box when using non-ASCII encodings (bug #769 ).
2008-03-19 15:12:48 +00:00
Justin Clarke Casey
93d05b8b1f
* Print a warning every 20 times a client requests a texture that it should already have received
...
* The warning will be
[USER TEXTURE DOWNLOAD SERVICE]: Received {0} requests for already dispatched texture {1} from client {2}
This is to see whether the texture packet queue memory leak is caused by clients continually re-requesting textures they should already have
2008-03-19 14:38:58 +00:00
Justin Clarke Casey
16cd6cd82e
* Documentation patch from krtaylor. Thanks!
2008-03-19 10:47:40 +00:00
Jeff Ames
a0e1be3280
Fixed some comparisons of LLUUIDs to null.
...
Thanks to DrSchofld for pointing this out.
2008-03-19 09:36:13 +00:00
Justin Clarke Casey
d135dad051
* Add a large amount of extra locking to m_parts in SceneObjectGroup
...
* Should help stop any InvalidOperationExceptions caused by concurrent read/write
* The extra locking should be okay, but I'm really surprised we've got away without mucho crashes due to this...
2008-03-18 20:42:01 +00:00
Justin Clarke Casey
f77ab46184
* Stop (which currently removes) all scripts in an object when that object is deleted from the region
2008-03-18 20:11:35 +00:00
Justin Clarke Casey
78e24380c8
* Stop grid inventory network failures crashing the client session
...
* Now the operation will just fail and post a message to the log instead, which may be mysterious to the client but isn't so brutal
2008-03-18 19:52:07 +00:00
Justin Clarke Casey
18f9f1410d
* Just inserting some exploratory comments into inventory code
2008-03-18 18:19:44 +00:00
Jeff Ames
e5b9144282
Formatting cleanup.
2008-03-18 15:30:38 +00:00
Adam Frisby
aad69b9018
* Applying Mantis Patch #518.2 - State not persisted in MySQL DataStore
2008-03-18 14:54:44 +00:00
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
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
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
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
Justin Clarke Casey
429ecb8508
Just a few comments
2008-03-13 18:31:05 +00:00
Sean Dague
1ad041707a
this is a believed fix for some of the MySQL races. Testing would
...
be appreciated.
2008-03-13 17:42:07 +00:00
Justin Clarke Casey
67a59b62e3
* Very minor comment change to reflect the fact that eliminating spurious delink prim updates is low priority
2008-03-13 12:35:59 +00:00
Sean Dague
e7076d3d15
remove the rex based voice chat. No current client implements this,
...
and a seperate voice server approach compatible with SLVoice is needed here.
2008-03-13 12:29:56 +00:00
Justin Clarke Casey
297887e1fc
* Change opensim.ini.example guidance on asset_database setting to be "local" or "grid"
...
* See OpenSim.ini.example for more details
* The old sqlite/mssql settings were redundant and effectively ignored anyway. Hence, there's no need for you to change your current settings, which will still work
* In fact, asset_database should probably be moved to [Network] since it's meaningless for standalone installations
2008-03-13 01:01:28 +00:00
Justin Clarke Casey
a4304fb9e6
* Fix Mantis 761 (linking and delinking prims rapidly caused prims to 'disappear')
...
* Root cause was that if two updates occurred in the same second of time, the second one was never sent
* Linking/delinking appears to be okay now
2008-03-13 00:22:38 +00:00
Sean Dague
31cdb1afb0
there was a single instance where the log4net object was not
...
static readonly. I suspect this was the cause of mantis #500 .
2008-03-12 21:09:56 +00:00
Justin Clarke Casey
bbb9a21eb5
* Fix mantis 757.
...
* DelinkFromGroup was removing the parts from the delinked group, which later upset the update thread when it tried to do a queued update for that object
* Temporary fix is to stop deleting the parts, though it would be good later to stop sending out the now spurious updates
* This fix actually reveals another bug, where rapid linking and delinking will cause the non root prims to disappear (though they're actually still there if you relog). This is the next bug to tackle.
2008-03-12 18:59:50 +00:00
Justin Clarke Casey
b9ef6ed047
* Don't abort (and keep failing) the update if one Entity gives us an exception when we try to update it
...
* This doesn't remove bug 757, but does largely remove the worst consequences
2008-03-12 18:11:08 +00:00
Justin Clarke Casey
c310f2ab24
* Since remoting exceptions occur quite often in some cases (e.g. when a neighbouring region is down), put out only the source and message of the RemotingException (not the stack trace) to the console.
...
* It doesn't appear that the remoting stack trace yields any useful information anyway
2008-03-12 17:37:00 +00:00
Justin Clarke Casey
42123770de
* Add comments and slight corrections to ClientView.AgentTextureCached
...
* Reduce 'asset not found' console debug spam
2008-03-12 17:02:08 +00:00
MW
fc551ef127
Applied patch from mantis #749 , Grass now stays to set type when moved. thanks Grumly57.
2008-03-12 15:53:04 +00:00
MW
2fea38a5f2
Applied patch from mantis #610 , fixed invalid filenames with dump_assets_to_file set to true. thanks tyre.
2008-03-12 15:45:56 +00:00
Adam Frisby
be6d8f6d9a
* Switched Noise 'Flood Area' brush to use Perlin rather than random noise.
...
* Fixed a bug with the Smooth Area brush.
2008-03-12 13:49:38 +00:00
Adam Frisby
d626125825
* Fix for Smooth Area Flood Brush, now doesn't flood the entire sim.
2008-03-12 13:03:44 +00:00
Adam Frisby
1277f68f43
* Fix for SQLiteAssetData - We now ignore duplicate assets. We shouldn't support replacing a asset with a fixed UUID as this leads to potential collisions and revisioning issues when proxying down the road.
2008-03-12 12:59:09 +00:00
Jeff Ames
43148ffc23
Update svn properties.
2008-03-12 12:22:43 +00:00
Adam Frisby
935e67a783
* Updated Terrain Module
...
* Terrain Area-of-Effect brushes now should work properly.
* Updated the scale / effect of various brushes. Small & Medium brushes should now actually do something.
2008-03-12 11:47:34 +00:00
lbsa71
95e4d1ae5e
* made some privates protected
2008-03-12 11:18:43 +00:00
lbsa71
e2dfd919bc
* made GridManager class public
2008-03-12 11:11:52 +00:00
Adam Frisby
8e27656fcc
* Refactored some terrain brushes to move out some common functions into TerrainUtil class. More needs doing.
...
* Adjusted strength of brushes to Math.Pow(2,size), this should in theory work closer to how it was before.
2008-03-12 11:02:30 +00:00
lbsa71
df104e6f84
* Renamed Main.cs to GridServerBase.cs
2008-03-12 10:16:28 +00:00
lbsa71
3f45cfc591
* Refactored out exe bit out of Grid Server for great justice
2008-03-12 10:13:19 +00:00
lbsa71
f1b8712da3
* Refactored some internals in Grid Server Main
2008-03-12 09:50:12 +00:00
lbsa71
d873a043dd
* Refactored out creation of LoginResponse
...
* Refactored out ErrorResponse
2008-03-12 09:37:39 +00:00
lbsa71
47ed69c933
* Extracted RegionProfileData from Request
...
* Introduced ValidateNewRegion and ValidateOverwrite
2008-03-12 09:17:23 +00:00
lbsa71
da854b9691
* minor refactoring
2008-03-12 08:44:36 +00:00
Sean Dague
163a7cb6c8
better fix for 551, not sure why I missed this earlier
2008-03-12 02:48:08 +00:00
Jeff Ames
6da664edbe
Refactor out some duplicate code.
2008-03-11 22:15:28 +00:00
Sean Dague
6340fa0aab
Ensure resolution of mantis 113
2008-03-11 21:37:35 +00:00
Sean Dague
0159aa7048
get rid of artificial InventoryLock object in favor of
...
locking on the DataSet. This doesn't change any functionality
and leaves us with one less object.
2008-03-11 21:23:06 +00:00
Sean Dague
ed4710eda0
added early readme
2008-03-11 20:43:08 +00:00
Sean Dague
2827339345
Attempted fix for http://opensimulator.org/mantis/view.php?id=551
2008-03-11 20:38:55 +00:00
Sean Dague
1dfa382e44
moving everything into OpenSim.TestSuite namespace
2008-03-11 20:15:07 +00:00
Justin Clarke Casey
e7e157d95e
* Temporarily disabling sending of ImageNotInDatabasePacket when a texture isn't found, since this appears to be crashing Linden client 1.19.0(5)
2008-03-11 18:41:22 +00:00
Justin Clarke Casey
4ed96d9929
* Very temporarily put AgentCachedTexturePackets onto the wind rather than the texture queue
...
* This is in order to identify whether it is these which are somehow causing the massive texture packet bloat,
* since this is the only other packet put on to that queue other than the TextureSender ones
2008-03-11 18:37:06 +00:00
Sean Dague
fa79433d2e
clone off pCampBot to OpenSim.TestSuite, as I'm going to be
...
making enough breaking changes that I'd rather not mess up
people currently using pCampBot effectively.
2008-03-11 18:06:25 +00:00
Justin Clarke Casey
956f7cb4f9
* Very minor error message change in GridAssetClient
2008-03-11 17:55:49 +00:00
Adam Frisby
11ba471bcc
* Applying patch #754 - Fix for Vector Magnitude operation. Thanks cmickeyb!
2008-03-11 16:19:01 +00:00
Adam Frisby
b40957b57c
* Applying patch from Mantis #607 - Grid Server crash. Thanks Diva.
2008-03-11 15:48:50 +00:00
Johan Berntsson
f0bfb87979
Eliminated several compiler warning messages
2008-03-11 04:40:39 +00:00
Johan Berntsson
bec947cde3
The plugin loader can now handle plugin dependencies without hardcoding
2008-03-11 03:10:21 +00:00
Sean Dague
e128819b20
this fixes up the exponentially growing startup times caused
...
by not deleting the landaccesslist. If this triggers an
sqlite error on .NET, we'll need to track that down seperatly.
2008-03-11 00:22:56 +00:00
Teravus Ovares
f46fcbb9d2
* Added Linear Acceleration reporting to the ODEPlugin.
...
* Added support for LSL llGetOmega (Rotational/Angular Velocity)- ODEPlugin is the only physics plugin that reports it.
2008-03-10 14:14:44 +00:00
Teravus Ovares
d0123a796b
ODEPlugin
...
* Added osSetPrimFloatOnWater(BOOL) to make Physical prim float at the water level.
* osSetPrimFloatOnWater(TRUE); or osSetPrimFloatOnWater(FALSE);
* By default, prim do not float at the water level.
* More work is needed on the floating, but it's a start.
2008-03-10 05:56:58 +00:00
Teravus Ovares
8bea3dbdb9
* Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.
...
* Added WaterLevel support to the ODEPlugin. More on this later.
2008-03-10 05:23:43 +00:00
Teravus Ovares
8bba8e232c
* Fixed a few things and enabling Physical Prim border crossings again.
...
* Everyone try to push a physical prim across a region border now.
2008-03-09 20:29:59 +00:00
Adam Frisby
f89e7107bb
* Fix for hydraulic erosion brush. Still not working as planned, but getting closer. Bugs may be due to the water distribution pattern.
2008-03-09 19:22:21 +00:00
Teravus Ovares
7cae577094
ODE Plugin
...
* More cleanup
* Less noise
2008-03-09 17:50:24 +00:00
Jeff Ames
9bc6ee576e
Update svn properties.
2008-03-09 16:51:34 +00:00
Adam Frisby
42e1a6ee95
* Fix to the OlsenSphere brush to make it more powerful.
...
* W.I.P: Hydraulic Erosion (Spherical) paintbrush - code is all there, but some work is required on the initial parameters to get it to function correctly. Replaces the smooth brush when `newbrushes` is switched on.
2008-03-09 16:50:09 +00:00
Teravus Ovares
5b6eba968b
* Fixed the Link + Duplicate + Unlink both = 'ODE Invalid Argument in Collision Space Crash'
...
* Added: Console comment: [PHYSICS]: The scene reused a disposed PhysActor! *waves finger*, Don't be evil.
2008-03-09 16:32:44 +00:00
Teravus Ovares
081b2ac34e
* Cleaned up some locking on the ODEPlugin to make it more developer friendly
...
* Expect the occasional deadlock?
2008-03-09 15:43:01 +00:00
Jeff Ames
7981c45750
Update svn properties.
2008-03-09 15:08:03 +00:00
Adam Frisby
b46b152954
* New terrainmodule paint brush "Olsen Erosion"
...
* Implements the Optimised Erosion routine defined by Jacob Olsen in the paper 'Procedural Terrain Generation' (http://www.oddlabs.com/download/terrain_generation.pdf )
* Replaces the 'flatten' brush when 'newbrushes' is enabled.
2008-03-09 15:00:52 +00:00
Teravus Ovares
13a4d13d67
* Added a hack-ish routine to add the State column to the primshapes table if it wasn't already there.
...
* Started OpenSim on SQLite to a mass of red 'unable to load prim' messages.
* If you are getting this message, after this update, when you start OpenSimulator, you'll get it one more time and then it'll work again.
2008-03-09 14:27:44 +00:00
Teravus Ovares
7a9e572e8a
Linux Compile error if Color is compared against null. Documentation for System.Drawing.Color says it returns a Color with all Components as 0 if the String passed isn't a known color, so the null check has been commented out
2008-03-09 13:04:58 +00:00
Jeff Ames
3e47389f9a
Update svn properties.
2008-03-09 06:39:15 +00:00
Adam Frisby
1011bbf39d
* Small optimisation on Weathering paint brush.
...
* Added "script terrain newbrushes <true|false>" to enable experimental terraforming brushes. Presently the 'revert' brush is replaced with the Weathering brush, when enabled.
2008-03-08 23:28:29 +00:00
Adam Frisby
f88324d6cd
* Applying Mantis #737 - Fix for Terragen loader. Thanks Jonc.
2008-03-08 23:21:35 +00:00
Charles Krinke
39684496eb
Remove two warnings with unused variables.
2008-03-08 23:12:25 +00:00
Adam Frisby
6ecc1066b1
* Added Thermal Weathering paint brush to Terrain Module.
2008-03-08 22:53:10 +00:00
Charles Krinke
8d2d69dc88
Thank you kindly Grumly57 for a patch to solve:
...
Grass type is not persisted. Try to rez some grass several time to have different random grass types around, then immediately move a couple of them. Or restart the sim and logon again. You'll see all grass types reverted to a dull default one :-)
2008-03-08 22:52:17 +00:00
Charles Krinke
ff75ba99a9
Thank you very much, Ldviopeng for :
...
Patch to implement the following LSL functions:
llGetObjectPermMask()
llSetObjectPermMask()
2008-03-08 22:26:25 +00:00
MW
52d867e600
Added new drawing command "PenColour", with format "PenColour <colourname>;" colour name can be any of the predefined .net System.Drawing.Color names.
2008-03-08 22:06:24 +00:00
Adam Frisby
6eeb25ee33
* Slight tweak for the above.
2008-03-08 21:51:01 +00:00
Adam Frisby
54359ab17b
* By popular demand, implemented "script terrain fill <val>"
2008-03-08 21:49:26 +00:00
MW
d340820826
Added Frist basic version on the VectorRenderModule, that allows scripts to do some basic drawing onto textures. Currently the method the scripts have to use is most likely not the most user friendly, but this should improve soon. And hope to allow SVG files (either loaded from a web site, or even script created) to be used. I will add a page to the wiki tomorrow, until then http://www.pastebin.ca/934425 is a example c# script that can be used to get a bit of a idea.
...
Also added osSetDynamicTextureDataBlend and osSetDynamicTextureURLBlend that will allow the various textures to be blended together, but currently there are still a few bugs in them. So not ready for use yet.
2008-03-08 20:54:34 +00:00
Adam Frisby
8f6f85e530
* Implemented 'Revert' channel in Terrain Module.
...
* Added Revert Area, flood brush.
* Added Revert Sphere, paint brush.
2008-03-08 19:11:22 +00:00
Charles Krinke
3151e302ca
Thank you kindly, Ldviopeng for:
...
Patch to implement the following LSL / OS functions
llParcelPrimCount(60%)
osSetParcelMediaURL
2008-03-08 18:06:10 +00:00
Adam Frisby
e41b45d107
* Made a change to the loading mechanism to fix it's operation.
2008-03-08 01:58:59 +00:00
Adam Frisby
b4c315dcec
* Default terrain is now a little more interesting than a flat 0m plane.
2008-03-08 01:55:34 +00:00
Jeff Ames
bc02d14b6b
More spelling corrections in the spirit of r3771.
2008-03-07 14:55:26 +00:00
Justin Clarke Casey
d48e992aa8
* Increase inventory description columns from 64 characters to 128
...
As per the suggestions in Mantis 687 (thanks Sakai) to resolve an exception
* This won't apply to any existing inventory tables you have, but shouldn't
cause any issues with old tables either
2008-03-07 14:40:18 +00:00
lbsa71
f76bc24de7
* Applied patch #719 from lvoidpeng.
...
* Implements llGetOwnerKey
Thanks, lvoidpeng!
2008-03-07 14:26:27 +00:00
Justin Clarke Casey
479379ee28
* Minor spelling corrections as per mantis 712
2008-03-07 14:17:22 +00:00
Justin Clarke Casey
9aeff3fb86
* Temporary resolution for mantis #711
...
* Trying to store items other than textures, sounds and scripts in a prim's inventory should no longer cause an exception.
* Temporary solution is to ignore storage requests for these assets - actually implementing this requires changes to TaskInventoryItem, at least
2008-03-07 12:39:06 +00:00
Justin Clarke Casey
759a0bcba0
Make Local back end services warn/error messages explicitly say they are from standalone services
2008-03-07 12:03:48 +00:00
Johan Berntsson
b99455d23d
Fix to solve mantis 717 problem. Makes sure the region DB schema is up to date and consistent
2008-03-07 08:10:52 +00:00
Adam Frisby
c9eb051936
* Fix for exception in landmanager crash.
2008-03-06 23:14:24 +00:00
Adam Frisby
a360116502
* Disabled ancient TerrainEngine.
...
* Enabled new TerrainModule. (The king is dead, long live the king!)
* Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format.
* MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.
2008-03-06 15:49:53 +00:00
Teravus Ovares
0cb4e401ad
* Killed 4 more warnings (at 16 now)
2008-03-06 09:41:34 +00:00
Adam Frisby
1410210b84
* Four more warnings, etc etc.
2008-03-05 22:00:41 +00:00
Adam Frisby
810d2126ea
* Three more warnings are a-gone.
2008-03-05 21:56:14 +00:00
Adam Frisby
4d9ed39444
* Four more warnings bite the dust.
2008-03-05 21:50:58 +00:00
Adam Frisby
14b37533aa
* Removed more compiler warnings, dead code, etc.
2008-03-05 21:47:19 +00:00
Sean Dague
4ea52b2105
Change SceneObjectPart.LocalID to .LocalId to be case matching
...
with SceneObjectGroup.LocalId (and hence reduce confusion).
2008-03-05 18:57:13 +00:00
Adam Frisby
f64611862a
* New Terrain Module (disabled, search for 'usingTerrainModule = false' to reenable)
...
* *Much* faster terraforming (woot!)
* New "Brushes" design, so you can create custom terraforming brushes then apply those inplace of the standard tools. (ie an Erode Brush for example)
* New specialised "Flood Brushes" to do large area effects, ie, raise-area, now takes a bitmap rather than repeats the ordinary raise brush a thousand times.
* New modular file Load/Save systems -- write importers/exporters for multiple formats without having to hard code the whole thing in.
* Coming soon - effects system, ie the old Erosion functions, etc. for one-shot effects.
2008-03-05 00:52:35 +00:00
Sean Dague
92e54bdd17
this is probably just a band aid, but should at least
...
help figure out where my last crash came from by being
extra careful arround Add for scene object group.
2008-03-04 18:49:44 +00:00
Teravus Ovares
18324773d2
* One line fix to get everything working again. Essentially set the originRegionID = RegionID in RegionInfo.cs on line 375
2008-03-04 14:39:51 +00:00
Jeff Ames
d2806090ae
Cleaned up a couple compiler warnings.
2008-03-04 10:12:39 +00:00
Johan Berntsson
c78eebfdfc
Fixed a region split synchronization bug
2008-03-04 09:39:58 +00:00
Johan Berntsson
fe56c18795
Fixed SQL update error
2008-03-04 07:54:35 +00:00
Johan Berntsson
279e0061c5
Merged 3Di code that provides scene and avatar serialization, and plugin support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim.
2008-03-04 05:31:54 +00:00
Jeff Ames
cd6f4a57e7
Added copyright heaaders. Minor cleanup.
2008-03-04 04:11:37 +00:00
Teravus Ovares
d015356902
* Applied patch 708 from devalnor. Thanks devalnor!
...
* ODE: Added support for larger box stacks. (they're slow, but they work)
* ODEPlugin no longer tries to 'catch up' with the simulator frame rate if it gets behind. Catching up was causing a lot of problems with larger box stacks and other things that stall the simulator (like saving prim in the datastore)
2008-03-03 16:52:25 +00:00
Adam Frisby
358a4963d3
* More compiler warning nukage.
2008-03-03 09:56:30 +00:00
Adam Frisby
415fc22e5e
* Removed a bunch of compiler warnings.
2008-03-03 09:54:39 +00:00
Teravus Ovares
794deeeb85
* Fixed about Text in the profile in grid mode.
2008-03-03 09:30:59 +00:00
Jeff Ames
d50eb9d2b3
Updated svn properties.
2008-03-03 09:29:21 +00:00
Jeff Ames
a88f93389c
Fixed typo.
2008-03-03 09:27:44 +00:00
Adam Frisby
38568aa75f
* Oops, fixed.
2008-03-03 09:17:15 +00:00
Adam Frisby
c5d1f87cd2
* Removed and sorted using clauses in a number of files.
...
* Cleaned up ITerrainChannel
* Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Paint Brushes
* Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Fill Brushes
* Implemented Export functionality for RAW32 terrain loader
* Implemented Import/Export for SLRAW terrain loader
* Implemented Export for JPEG terrain loader
2008-03-03 08:35:59 +00:00
Teravus Ovares
fe49c96ee0
* Applying Ahzz's profile patch. Thanks Ahzz!
...
* Fixed a few bugs in the patch that are sim crashers.
* There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
2008-03-03 08:30:36 +00:00
lbsa71
c953e51c11
* Doh, forgot one license header
2008-03-03 08:19:54 +00:00
lbsa71
7d40a0afb8
* Changed the license headers. The Data Framework is now all OpenSim. Yay! *toots*
2008-03-03 08:15:14 +00:00
lbsa71
84959bf530
* Renamed the Data Framework namespaces
2008-03-03 07:59:31 +00:00
lbsa71
d97e4d97e9
* renamed the key file (baby steps here)
...
* ignored the generated files
2008-03-03 07:53:26 +00:00
lbsa71
b3b1f74485
* Started the ardous task to rename the TribalMedia.Framework.Data to OpenSim.Framework.Data.Base
...
It's you !!
How are you gentlemen !!
2008-03-03 07:48:35 +00:00
Charles Krinke
cff3c20ee5
Thank you very much, Ahzzmandius for:
...
converts Parse calls to TryParse
Replaces string.empty and lluuid.zero calls on user load to use real
values from DB (related to user profile save/load work. Finer grained patching)
2008-03-02 22:36:47 +00:00
Charles Krinke
7794fc3766
Change handler001 through handler009 to more
...
appropriate names consisten with their use.
All done with all 94 handlers from handler001
through handler094. Hopefully we can move
forward without numbered handlers.
2008-03-02 22:28:48 +00:00
Charles Krinke
dd8e728abd
Thank you kindly, Ahzzmandius for adding
...
owner_uuid support to the MSSQL data driver.
2008-03-02 20:33:46 +00:00
Charles Krinke
30ebd15926
Update names of handler010 through handler019
...
to more appropriate names consistent with use.
2008-03-02 20:29:59 +00:00
Teravus Ovares
9991955014
Applying Ahzzmandius' second patch from bug 701.
...
ClientView triggers OnClose event before flushing packetqueue.
Thank sAhzzmandius!
2008-03-02 19:48:26 +00:00
Teravus Ovares
e808bf04a5
* Temporarily commented out the parcel banlist clearing query that was being called in an ad-hoc fashion and causing an access violation error. This means that in SQLite when subdividing parcels you'll have to go to the parcel and clear out the banlist with the client instead of having it done for you immediately when you split the parcel.
...
* A database guy really needs to look at the land stuff. :D
2008-03-02 18:56:23 +00:00
Teravus Ovares
0a5c48b1c8
* This is a very icky implementation of physical linkset prim using fixed joints. This will change quite drastically, however it's fun to play with.
...
* To play with this you must link your prim before setting it physical, otherwise they won't link in the physics engine properly. This will also be fixed.
* Currently the linked prim are extremely unstable because I have yet to implement combining of forces with the same normal. This will also be fixed. In fact, the whole PhysicsActor, ODEPrim relationship will be reworked to consider groups from the get-go.
* This implementation is better then it crashing your sim, so I'm commiting it for now.
2008-03-02 09:31:39 +00:00
Charles Krinke
d6039b40a4
Rename handler020 through handler029 with more
...
appropriate names consistent with their use.
2008-03-02 03:50:33 +00:00
Charles Krinke
7a0e1a8c34
Rename handler030 through handler038 with more
...
appropriate names consisten with their use.
2008-03-02 02:47:34 +00:00
Charles Krinke
18a058eb84
Rename handler040 through handler049 with more
...
appropriate names consistent with their user.
2008-03-02 02:30:28 +00:00
Charles Krinke
21f3661077
Rename handler050 through handler059 with more
...
appropriate names consistent with their use.
2008-03-02 02:06:31 +00:00
Charles Krinke
c9e8d83fc9
Rename handler060 through handler069 with more
...
appropriate names consistent with their use.
2008-03-02 01:43:52 +00:00
Charles Krinke
fdff8c3fa5
Rename handler070 through handler079 with more
...
appropriate names consistent with their use.
2008-03-02 00:07:28 +00:00
Charles Krinke
20c98b6203
Rename handler080 through handler089 with more
...
appropriate names consistent with their use.
2008-03-01 22:47:48 +00:00
Charles Krinke
b0fbe96ca4
Beginning to change all handler000 through handler094
...
to more meaningful names starting from the end and
working backwards.
handler094 -> handlerRequestAsset
handler093 -> handlerPacketStats
handler092 -> handlerGodKickUser
handler091 -> handlerUpdatePrimGroupRotation
handler090 -> handlerUpdatePrimRotation
Others to come shortly.
2008-03-01 20:37:27 +00:00
Charles Krinke
56697133d4
Thank you very much, Kinoc for:
...
* Impelements llInstantMessage
* Reimplements llOwnerSay as llInstantMessage(llGetOWner(),msg).
* Try's to better identify the "True Name" of objects in llDetectedName
by checking for avatar name, scene Object Part name and entity name.
* Uses similar logic in the llSensor and llSensorRepeat functions.
2008-03-01 00:59:23 +00:00
Sean Dague
c009e2e095
From: Mike Pitman <pitman@us.ibm.com>
...
Below is a patch for the smooth tool.
I factored out the essential computations and placed it in a
channel method to work similar to raise and lower.
It now performs about the same rate as raise and lower.
2008-02-29 20:36:14 +00:00
Jeff Ames
6d774339d9
More compiler warning cleanup.
...
Removed verbose flag, since it doesn't do anything any more.
2008-02-29 10:51:40 +00:00
Jeff Ames
de80a23c1a
Cleaned up a couple compiler warnings.
2008-02-29 10:35:03 +00:00
Teravus Ovares
fa7322eac9
* Fixed Cylinder mass formula using diameter instead of radius.
2008-02-29 06:55:31 +00:00
Teravus Ovares
fe1f15f4ec
* killed a 'new mass' debug line.
2008-02-29 05:50:40 +00:00
Teravus Ovares
e333eaf4b6
* ODEPlugin
...
** Added more realistic calculations of mass for the rest of the supported prim shapes+holes+cuts+tapers. Previously they were the generic height * width * length. Spheres roll (Angular velocity) more realistically, etc.
2008-02-29 05:46:24 +00:00
Sean Dague
de1024adf7
From: Alan M Webb <awebb@vnet.ibm.com>
...
This patch is intended to implement the following functions:
llIntegerToBase64
llBase64ToInteger
llParseStringKeepNulls
None of these functions are dependent upon state elsewhere in the SIM,
so they are appropriately self-contained. I've tested them out of
context, and from a script attached to an object in my test region.
2008-02-28 21:25:28 +00:00
Teravus Ovares
1afe38b319
* Added a way for the friends module to definitively know if an avatar's root agent is on the instance and if so, which region the avatar's root agent is in.
2008-02-28 05:20:23 +00:00
Teravus Ovares
41c369de82
* OnSignificantClientMovement was never being called. So we got no land updates (fixed)
2008-02-28 04:18:50 +00:00
MW
70ad5604cd
disabled AssetDownloadModule and re-enabled the asset download code in the asset cache, until it can be seen if the module was the cause of some new problems that seem like they might be related to assets. I'll look into this more tomorrow.
2008-02-27 22:47:33 +00:00
MW
2c65c2da90
small fix in the showstate data in AssetCache to reflect that now some functions are no longer in AssetCache
2008-02-27 21:32:01 +00:00
MW
e978d00914
After seeing sdague do his happy dance over trunk working "the best he has ever seen". I'm not sure I should be doing this commit, but oh well.
...
So anyway, it moves the Asset downloading (packet sending) to a module (AssetDownloadModule).
So now at last, AssetCache should be just dealing with fetching assets from the asset server and caching them.
2008-02-27 21:11:01 +00:00
Teravus Ovares
34073607a2
* Turned Friends Module into a shared module (to comply with Scene.AddXmlRPCHandler being shared).
...
* Fixed a null ref issue in Scene.Close()
2008-02-27 17:41:42 +00:00
MW
aac7c1dda5
another attempt at fixing asset lockups
2008-02-27 16:20:45 +00:00
Jeff Ames
f218e7e090
Update svn properties.
2008-02-27 15:57:00 +00:00
MW
a9ae5ab840
Hopefully fixed the bug that was causing a lot of the freezing. Which was happening due to locks in the AssetCache and Texturedownload module. Where the thread from the Asset thread would be take a lock on a list in the asset cache and then try to call the Callback into the texturedownload module and hit a lock in there which was held by a ClientView thread- which at the same time would be trying to request another texture from the cache and be hitting the lock in there held by the IClientAPI. The result each thread waiting for the other one to release a lock. And as one of those was the ClientView process packet thread. No more packets from that client could be processed. For now I've made a copy of the list in AssetCache so that it can release the lock. I'm doing more work on assets (moving the client asset downloading to a module ), so will hopefully change this into a better method once I've cleaned over things up a bit.
2008-02-27 14:40:30 +00:00
MW
0b7f10efed
UserService.ClearAgent call is no longer made when a childagent connection is being closed.
...
DisableSimulatorPacket now skips the packet throttles
2008-02-27 11:52:02 +00:00
Adam Frisby
906404a14a
* Committing file loaders - forgot yesterday.
2008-02-27 09:35:48 +00:00
Sean Dague
8d31fc2cd0
require -loginuri on pCampBot
2008-02-26 21:10:57 +00:00
Sean Dague
b8e6d6e245
give pCampBot a -h, -help option
2008-02-26 20:26:48 +00:00
Sean Dague
3bbe09883e
make trunk compile again. I think Adam forgot to check in some files
2008-02-26 18:37:42 +00:00
Adam Frisby
5dc5214c5e
* Implemented - Terragen File Format Loader for new Terrain Module.
2008-02-26 16:18:57 +00:00
Jeff Ames
74940c7b1d
Update svn properties.
2008-02-26 15:36:17 +00:00
Adam Frisby
f8a6ef2d50
* Hooked up replacment TerrainModule, raising land will now be weird as both modules are technically active. Beta software, yada yada yada. Will disable one of them by the end of the day.
2008-02-26 15:21:47 +00:00
Adam Frisby
eae7be1e36
* Reimplementing Terrain as Region Modules
...
* New method involves interfaces for
** Terrain Paint Brushes (ie raise brush, lower brush, etc)
** Terrain Flood Brushes (ie raise area, lower area, etc)
** Terrain Effects (ie erosion, etc) [= W.I.P, not committed]
* Provided sample implementation for Raise Paint and Raise Area brushes.
2008-02-26 14:51:13 +00:00
Adam Frisby
9f5586890a
* Another slight tweak to the Voice Chat engine - crash caused by switching to shared module fixed.
2008-02-26 13:25:06 +00:00
Adam Frisby
a2c639d668
* Small voice chat fix
2008-02-26 11:32:46 +00:00
Adam Frisby
e7b785f9a0
* Updated Voice Chat Server, added support for voice to cross region boundaries providing they are all located on the same simulator.
2008-02-26 11:17:52 +00:00
Adam Frisby
577cc7358a
* Fixed a null assignment in voice server.
2008-02-26 10:59:47 +00:00
Adam Frisby
9d2ed9307c
* Converted VoiceChatServer into a shared region module - now only one instance is required for the entire simulator, rather than one per region.
2008-02-26 10:58:24 +00:00
Adam Frisby
16d63d9fb8
* Added support for RealXtend Voice Chat as a Region Module to OpenSim Trunk. Enabled via [VoiceChat] enabled=true in OpenSim.ini
2008-02-26 10:46:59 +00:00
Teravus Ovares
bf82148152
* Added base thread pool based presence informing to the message server.
...
* Not ready yet for use.
2008-02-26 09:16:31 +00:00
Teravus Ovares
cb828c9824
* More Message server stuff. Still not ready.
2008-02-26 08:31:00 +00:00
Justin Clarke Casey
65862aacea
* Start sending "ImageNotFound" packet back to the client if we can't find an image
...
* This might stop some client's constant requests for unfound textures, which is a candidate for the memory leak
* If a texture is not found then the "Image not found" texture will now be displayed clientside
* If it works, this should resolve mantis 676
* Non texture image requests do not receive this packet yet
* This will require a prebuild
2008-02-25 23:26:35 +00:00
Tedd Hansen
dbb205c181
Moved AsyncCommandManager into separate classes under "plugins".
2008-02-25 20:10:17 +00:00
Tedd Hansen
366e607608
eol
2008-02-25 19:53:11 +00:00
Tedd Hansen
ce9c74a83c
Step 1 in reorganizing AsyncCommandManager
2008-02-25 19:45:34 +00:00
Tedd Hansen
5739e13f5b
Initial patch for llSensor*
...
llSensor, llSensorRepeat, llSensorRemove, llDetectedName, llDetectedKey, llDetectedOwner, llDetectedType, llDetectedPos, llDetectedVel, llDetectedRot
Thank you very much kinoc! :)
2008-02-25 19:34:38 +00:00
Justin Clarke Casey
84c86c7bdd
* Resolve Mantis 667 by not passing on textures with no actual data onto TextureSender
2008-02-25 19:10:02 +00:00
lbsa71
5b3897a4af
* Caught HttpListenerException and swallowed if with output
...
* Moved Flush into Close since it's always done in that order.
* Minor renamings
* Reversed if for clarity
2008-02-25 15:36:24 +00:00
Jeff Ames
cda8b013ec
Updated paths in classaudit script.
2008-02-25 11:53:21 +00:00
Tedd Hansen
66cc8f99f6
I'm the stupidest stupid in the whole world. :)
...
Fixed a bug in new Prim where I actually ADDED new values to old values instead of directly assigning them... Now that was a waste of time! :P
2008-02-25 11:29:24 +00:00
Teravus Ovares
b831a91852
* Message Server Linkages (still not ready for use so don't start it yet)
2008-02-25 06:33:14 +00:00
Jeff Ames
61200b469c
Update svn properties.
2008-02-25 01:59:14 +00:00
Tedd Hansen
909796f615
Added limits to Prim.Position.X/Y/Z (0-255) so that your prims won't wander off into eternity
2008-02-24 17:46:28 +00:00
Tedd Hansen
4f4dfa8e82
Fixed startup logo size to match a Win CMD window.
...
Fixed bugs in new OOP commands.
Prim.Rotation.X += 45;
Prim.Position.X += 10;
Now how do I find the prim I asked to += 10 every 1 second???
2008-02-24 17:29:59 +00:00
Tedd Hansen
f10d895105
Ok, so NOW scripts work. New patch to break them coming soon.
2008-02-24 17:01:20 +00:00
Tedd Hansen
8af64c979f
By now you all have learned that when I'm committing scripting usually doesn't work, so no big surprise. :)
...
Modified baseclass for compiled script to incorp new OSSL commands class and renamed it to follow standards and all that. Scripts may work again. :)
2008-02-24 16:41:56 +00:00
Tedd Hansen
952c8de189
Forgot to change what class compiled scripts must inherit from to get their commands :)
2008-02-24 16:23:02 +00:00
Tedd Hansen
08131614c9
Implemented object oriented Prim.Position, Prim.Rotation and Prim.Text.
...
Example:
Prim.Position.X += 10;
2008-02-24 16:16:00 +00:00
Tedd Hansen
b533517037
eol
2008-02-24 15:55:04 +00:00
Tedd Hansen
2cd85e15dc
Changed so "BuiltIn_Commands" given to scripts is easily extendable. Added new OSSL_BuilIn_Commands class where we can start adding our own modular commands.
2008-02-24 15:45:20 +00:00
Teravus Ovares
95def8c636
* Adds unit test glue to the OdePlugin.
...
* Adds one unit test. CreateAndDropPhysicalCube.
* More unit tests will be done
* Let me know if this breaks Linux build..
2008-02-24 04:06:01 +00:00
lbsa71
e626288059
* deleted .user file
2008-02-23 20:20:08 +00:00
Jeff Ames
8d57f2e30a
Update svn properties.
2008-02-23 13:50:31 +00:00
Teravus Ovares
bbb8b66908
* Made Physics updates a teensy bit more responsive. A previous CPU optimization of mine slowed the speed of updates using the 'poll' method in certain circumstances.
2008-02-23 12:46:23 +00:00
Teravus Ovares
db264013d4
* One more fix to the selected feature
...
* Don't act immediately on a physical prim unless it's moving.
* This helps when you're trying to make a box stack and you select the bottom most box.
2008-02-23 12:26:37 +00:00
Teravus Ovares
27508c1ad8
* Added Support within the ODEPlugin for Selected. Which means that;
...
* When you select a physical prim, it stops while you've got it selected.
* When you move or alter a prim in some manner, it doesn't become collidable until you de-select it
* When you select a prim, it doesn't become temporarily 'phantom' until you make some change to it while it's selected. (this prevents accidental selections in prim floor from causing it to go phantom on you(but don't move it or you'll fall))
* There's one major difference, and that's a physical object won't stop if you don't have permission to edit it. This prevents people who don't have edit permissions on a prim from stopping it while it's moving.
2008-02-23 11:42:55 +00:00
Tedd Hansen
5eff68e6bb
Fix for error message during startup (shared thread started processing region queue before queue objects were fully operational)
2008-02-22 23:45:17 +00:00
Tedd Hansen
c485d56512
Trying to fix SVN update error: 2/2
2008-02-22 23:29:46 +00:00
Tedd Hansen
a4ad602e1d
Trying to fix SVN update error: 1/2
2008-02-22 23:29:12 +00:00
Tedd Hansen
840bf28be6
Removed LaunchSLClient from Prebuild - it can be added to solution on manually by whoever is working on it. :)
2008-02-22 23:21:22 +00:00
Justin Clarke Casey
f95ad65189
* Improve alignment of packet queue stats headigns
...
* Correct asset cache stats table heading
* Correct spelling mistake in AssetCache (thanks ChrisD!)
2008-02-22 23:15:00 +00:00
Justin Clarke Casey
fed46ba6a7
* Winnow the debug and info messages associated with stat fetching
...
* As such, only a request for a non cached asset, the response and failures show up now.
* I know lbsa71 only put these in not long ago, so if they are really still required, I think we should think whether we can move the default log4net level off 'Debug'
2008-02-22 22:54:50 +00:00
Tedd Hansen
46cfc475aa
ScriptEngine works again (startup-nully-error gone)
2008-02-22 22:53:19 +00:00
Tedd Hansen
f06a6573bb
One more: Async LSL command thread is also shared now.
2008-02-22 22:24:12 +00:00
Teravus Ovares
9b675a6888
* Converted the last of the events to the private delegate instance method to avoid race conditions.
2008-02-22 21:18:08 +00:00
Justin Clarke Casey
b483faddf2
* Downgrade texture exception to a warning.
2008-02-22 21:13:23 +00:00
Tedd Hansen
0fc6b2a429
Bugfixes - Scripting works again
2008-02-22 20:58:25 +00:00
Justin Clarke Casey
3994a96783
* Oops! Add missing interface
2008-02-22 20:56:28 +00:00
Justin Clarke Casey
30eea2618d
* Implement packet queue statistics
...
* This will show the packets waiting in each queue for each client logged into a region server
* These are displayed using 'show stats' on the region command line
* This is in pursuit of a memory leak.
* This will require a prebuild
2008-02-22 20:50:30 +00:00
Tedd Hansen
e741dcde6a
Some misplaced code made scripts never start :)
2008-02-22 20:06:44 +00:00
Tedd Hansen
0fb4374c1a
Better timing of MaintenanceThread's tasks (uses less CPU)
...
Updated OpenSim.ini.example
2008-02-22 19:46:13 +00:00
Teravus Ovares
582964800c
* Moved all events except gridcomms and regioncomms over to Event Delegate instances to prevent event race conditions
2008-02-22 19:44:46 +00:00
Teravus Ovares
ddffcb4673
* Moved the EventManager over to delegate instances to prevent race conditions.
2008-02-22 19:08:24 +00:00
MW
b842ab3927
fixed it so that the different types of trees now work (show up in the clients), problem is that we don't seem to be persisting PrimitiveBaseShape.State in the datastore, so after restart of server, they all turn back into pine trees.
2008-02-22 18:27:08 +00:00
Tedd Hansen
42bcd76b36
Bugfixes - wasn't counting threads right++
2008-02-22 16:15:08 +00:00
Tedd Hansen
879a260498
Minor annoying Exception-bug fixed
2008-02-22 14:53:26 +00:00
Tedd Hansen
a43bb10000
Execution threads are now shared between regions too. Default thread count regardless of number of regions is now 3. This will save you around 33 threads for a normal 3x3 region server.
...
But, this is totally completely untested. So it probably won't work for another patch or five.
2008-02-22 14:09:38 +00:00
Tedd Hansen
3bb0fe098f
Maintenance thread in charge of loading/unloading of scripts. 1 thread less per region.
...
Total so far: 2 threads less per region
Note: Currently causes delay in load/unload of scripts
2008-02-22 13:23:45 +00:00
Tedd Hansen
9f7366210a
Now last commit will compile too... The features just keep on coming!
2008-02-22 13:15:01 +00:00
Tedd Hansen
a040008cb9
From this commit and a few hours into the future ScriptEngine will be unstable:
...
* Speeding up ScriptEngine shutdown
* Sharing threads so that minimum total thread count for any amount of regions will be 2. (1 maintenance, 1 script execution)
You can choose more script exec threads if you want of course.
In this commit: Sharing maintenance thread between all regions.
2008-02-22 12:50:24 +00:00
Teravus Ovares
ff12395a3d
* Relative large ClientView refactoring of packet Events into .Net recommended format.
2008-02-22 11:30:34 +00:00
Tedd Hansen
f75e418211
Fixes to ScriptEngine thread cleanup on destructor
2008-02-21 23:43:58 +00:00
Teravus Ovares
d4905812bc
* Fixed an issue where the client thread was aborted before the UDP server sends a message back to ClientView to close it a second time. (yes we call close twice because there are times when the client closes with a logout and disconnects immediately which causes the UDP server to send a close request to the client thread)
...
* This update might make things better, it might expose another issue.
2008-02-21 20:22:25 +00:00
Jeff Ames
0103c43697
Update svn properties.
2008-02-21 15:14:39 +00:00
Teravus Ovares
640ad259d4
* A few additional null checks in the Physics Scene and PhysicsActor so we don't try to enumerate dead null ODECharacter objects when things get *really* slow.
2008-02-21 14:51:39 +00:00
Tedd Hansen
89665faeaf
ScriptEngine changes in locking. Another step in direction of shared threads.
2008-02-21 11:28:34 +00:00
Tedd Hansen
7102ac7769
"threads" command now works. I've added manual tracking of threads (only if compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
2008-02-21 10:43:24 +00:00
Jeff Ames
4a621d106c
Remove a couple compiler warnings.
2008-02-21 00:50:09 +00:00
Justin Clarke Casey
0eeb56c61d
* Properly guard against the possibility that CopyInventoryItem doesn't get an asset back from the cache
2008-02-20 23:31:33 +00:00
Justin Clarke Casey
b0c5ef0b68
* Eliminate AssetCache.CopyAsset()
...
* Resolve a bad logic bug in AssetCache.GetAsset()
* This may make some asset related things work better (possibly getting main map images will now be improved).
2008-02-20 23:21:51 +00:00
Tedd Hansen
5f7a02fce9
Treads command lists threads, but not thread name (yet)
2008-02-20 21:09:23 +00:00
Justin Clarke Casey
7d7ad4dff2
* Only count download requests for assets which are not already waiting for data from the asset server
...
* This should stop the constant increase in the download requests statistics
* If you see stat numbers for download requests which are far from what you'd expect, please report
2008-02-20 20:23:03 +00:00
Tedd Hansen
684059afdf
div+
...
threads console command will list all threads. This + yesterdays naming threads patch will give a good overview of what threads we have running.
2008-02-20 20:22:15 +00:00
Teravus Ovares
740ce20d9d
* Found the land bug, yay
2008-02-20 20:07:12 +00:00
Justin Clarke Casey
f3190810d3
* Properly guard removal of asset request lists on AssetCache.AssetNotFound (my own bug)
2008-02-20 19:13:59 +00:00
Justin Clarke Casey
53d5aeec24
* Remove unused texture dictionaries from AssetCache
...
* Add documentation to AssetCache
2008-02-20 19:02:04 +00:00
Jeff Ames
a8cfbbe963
Minor cleanup.
2008-02-20 18:38:20 +00:00
Justin Clarke Casey
c66b5a9e71
Report command string on ConsoleBase.RunCommand exception
2008-02-20 17:54:14 +00:00
Teravus Ovares
07774473af
* Fixed a long standing race condition in physics events. Could this be the source of the null on multicast_void: error?
2008-02-20 17:50:19 +00:00
Tedd Hansen
416d752829
llSetTimerEvent updated to use ticks instead of DateTime for internal timing.
2008-02-20 17:35:28 +00:00
Justin Clarke Casey
877713999c
* Report 'asset not found' situations back to UserTextureDownloadService
...
* This fixes some of the 'runaway downloads' problem but not all of it
* Also fix up logging messages so texture requests are reported as such rather than as assets
2008-02-20 17:34:10 +00:00
Tedd Hansen
96edcea3ae
llSetTimerEvent was setting seconds as milliseconds causing major problems in timed scripts...
2008-02-20 17:14:01 +00:00
lbsa71
4c6e5a5090
* re-enabled AssetNotFound code
...
* turned script asset fetching asynchronous
2008-02-20 13:11:19 +00:00
MW
4c2e304ce6
Fixed big bug in AgentAssetTransactions, now don't seem to be getting any AbortXfer packets. And the "saving data" message in the client on logout seems to have gone. (So that message was all my fault.)
2008-02-20 11:25:36 +00:00
MW
37b989a8c6
some changes to the initialising of AgentAssetTransactionModule to see if they help with the xfer/grey avatar problems.
2008-02-20 11:10:23 +00:00
lbsa71
fec87ad3d7
* just added a readonly and a comment
2008-02-20 10:10:19 +00:00
MW
e7a709068a
small change
2008-02-20 10:07:54 +00:00
Teravus Ovares
ac60382599
* Added a few more packets to ClientView. Added tendons to the Skeletal Groups Module, made it shared to save on threads.
2008-02-20 09:45:26 +00:00
lbsa71
9be5f9d6cc
* Fixed xml loading bug (the xml was scheduled for update before added to a scene)
...
* Fixed ClickAction situation on the same note (properties shouldn't cause big changes)
* Added some more debug output to AssetCache
2008-02-20 09:38:45 +00:00
lbsa71
bf42637ee8
* Caught 'OPTIONS' verb in BaseHttpServer that would otherwise explode.
...
(There are actually other non-content requests too, but I didn't know what we wanted to do with them)
2008-02-20 08:04:12 +00:00
Teravus Ovares
b77c48e75e
* Cleanup of some memory consuming items on ScenePresence.Close().
...
* Untangled a tangly shutdown loop for the ScenePresence.
* Suggested to the Garbage Collector that this may be a good time to >.>, <.< *gasp* collect the memory.
2008-02-20 01:17:21 +00:00
Teravus Ovares
932a132116
* Made a quickupdate method to run through only entities that have scheduled themselves for updates looking for changes. This runs 10 times a second.
...
* Set the massively slow UpdateEntities method to run every 2 seconds instead of 10 times a second. This method runs through *all* of the entities can calls the virtual update().
* Documented some of the code in the scene.Update method.
2008-02-20 00:08:04 +00:00
Justin Clarke Casey
ca78c3ef0d
Doc correction
2008-02-19 23:44:22 +00:00
Justin Clarke Casey
48e085c774
* Add documentation
...
* The reason why pending downloads tick ever upwards is because missing assets are never signalled to the TextureSender
* Rectifying this is not straightfoward, but this will constitute the next patch.
* This does not explain the memory leak.
2008-02-19 23:42:30 +00:00
Justin Clarke Casey
9a8c19d67b
Putting in eyecatcher lines on OpenSim start as we had previously. This makes it easier to pick out a restart of OpenSim in an appended log file
2008-02-19 20:59:21 +00:00
Justin Clarke Casey
b331e96e25
Remove "Loading inventory" messages from item inventory loads
2008-02-19 20:21:25 +00:00
Sean Dague
530cc24884
From: Michael Osias <mosias@us.ibm.com>
...
This patch implements the llSendRemoteData command and fixes mantis 552,
and possibly 586.
2008-02-19 19:16:21 +00:00
Teravus Ovares
cfc9ee4265
* Adds limited support for each hollow type for the supported prim., Cube with a triangle hollow, Cube with a cylinder hollow, cylinder with a triangle hollow, etc.
...
* More work needs to be done here as several of the profileshape/hollow combinations are rotationally offset from where they render in the client.
2008-02-19 16:01:14 +00:00
Tedd Hansen
47c909ca0a
Playing "Name that thread". Adding names and isbackground=true to all threads so it will be easier to debug.
2008-02-19 12:02:53 +00:00
Teravus Ovares
62f608b152
*rawfile fix.
2008-02-19 08:57:43 +00:00
Teravus Ovares
e789a6bc9b
* This patch adds Prism support to the Meshmerizer. Prism is one of the object types in the drop down on the object tab. Positive tapers are slightly incorrect(prim sinks into ground a tiny bit). Everything else that's supported works as expected. Hollow, cut, negative tapers, top shear.
2008-02-19 08:49:38 +00:00
Teravus Ovares
01cf9d8b7e
* Committing Ahzz's patch number 620.
...
* Description SQLITE Inventory Table locks. *Provided by Openlfiegrid.com
* Provides missing inventory table locks in SQLite.
2008-02-19 00:08:28 +00:00
Dalien Talbot
75fe826d57
A bit more prominent sign of start up completion :-) thanks HashBox for the ASCII!
2008-02-18 23:31:48 +00:00
Teravus Ovares
d0b218f667
Committing ahzz's patch #619 - Description:
...
Patch provided by Openlifegrid.com
Adds locks around clientCircuits and clientCircuits_reverse Adds existance check on adding to clientCircuits for clients resending UseCircuit packet.
Adds locks around Clientmanager.m_clients for add/remove/tryGet calls
2008-02-18 21:24:34 +00:00
Teravus Ovares
056f3dca2c
* Probably fixed the corner freeze bug. On uninitialized avatar, ODEPlugin was trying to set the height of avatar to 127m, which you can imagine is a bit /wrong\
2008-02-18 20:39:16 +00:00
Justin Clarke Casey
359f84ee43
* Output XmlRpc error message if user server gets a fault response from the region server on login
...
* This will make it more obvious if one accidentally starts one's region server in standalone rather than grid mode but then tries to login to a grid (as I am wont to do)
* We are now sending back a fault code (-32601) if no xmlrpc method is found rather than an ordinary message
2008-02-18 18:48:55 +00:00
Teravus Ovares
5944d5e7f6
* Fixed a land manager exception or two with Math.Max(255,Math.Min(0,val))
...
* Trapped a few more into little self contained boxes with padlocks on them.
2008-02-18 18:22:50 +00:00
Justin Clarke Casey
b37b71b273
* Make RegionProfileData.RequestSimProfileData static
...
* Minor documentation bits
2008-02-18 17:31:05 +00:00
Teravus Ovares
e292d43b96
* Since default loglevel is debug, I'm commenting out the resending x packet lines instead. If you want to see them, uncomment the lines, alternatively open up the simulator statistics in the client to get a 'bytes unacked' which is the same information, just compressed so it doesn't lag the simulator and make it harder to pick out useful debug information from the console.
2008-02-18 17:30:55 +00:00
Teravus Ovares
4e3547cd12
* Putting the resending x packet into debug mode only. Set your loglevel to debug to see them or pull up the simulator statistics in the client to see the 'un acked packet bytes'.
2008-02-18 17:24:53 +00:00
Justin Clarke Casey
500d259c25
* Do not allow a user to be created if one with the same name already exists
2008-02-18 15:50:18 +00:00
Sean Dague
28c808446d
a new attempt at converting to the right types
2008-02-18 15:34:03 +00:00
Sean Dague
5314f397b2
Attempt to fix casting issue introduced by RegionSize constant. I think this
...
should actually all be uints, but this will hopefully let people log in again.
2008-02-18 15:25:47 +00:00
Justin Clarke Casey
ad40ee7307
* Allow create user on standalone even if authentication is off, in case the creator wants to see a starting region for a user
...
* This also resolves mantis 601
2008-02-18 15:23:18 +00:00
Tedd Hansen
c62328950a
More exception checks and crash hints
...
If no scriptengine is specified then don't try to load any.
2008-02-18 14:21:51 +00:00
Sean Dague
f47bcb0f98
bring back some script engine debugging, hoping this will help track down the randoms segfaults
2008-02-18 14:17:09 +00:00
Justin Clarke Casey
1cbef0b908
Patch from Michael Osias IBM (jimbo2120)
...
In his own words:
If a prim becomes a listener or remote channel and the script is deleted, it cannot become a listener or channel again with a new script.
This patch fixes that.
2008-02-18 11:14:53 +00:00
MW
5fb1809384
Small change to the IAgentAssetTransactions file that Chi11ken added for me (thanks Chi11ken). when I forgot to commit it on saturday.
...
[The ComsmsManager will die]
2008-02-18 09:29:22 +00:00
Teravus Ovares
81a00dd68f
* Thanks to Ahzz, more verbose error messages on the console and possibly a fix to the b*stard Sakai issue.
2008-02-18 07:22:10 +00:00
Teravus Ovares
27afeaec74
* Added /even more/ debugging messages to the UDP server to help people in resolving the Sakai issue. A few locks a few fixes, nothing that'll solve the problem in itself though.
2008-02-18 05:32:25 +00:00
Charles Krinke
2c81e18fc3
Thank you very much Ahzzmandius for adding the support
...
to purge the avatars inventory "Trash" folder using the
bizarre tortoiseSVN method of diff/patch.
2008-02-18 03:25:14 +00:00
Charles Krinke
3df36523cb
Thank you very much, Hashbox for:
...
Changed the public IsAdministrator back to protected,
now checks Config to see whether it is allowed to run or not.
Defaults to false (not allowed).
To use add the following to OpenSim.ini
[LL-Functions]
AllowosConsoleCommand=true
2008-02-18 03:14:31 +00:00
Teravus Ovares
8edaada1d3
ODE: Tired of floating above the ground after crossing a border? Boy have I got a solution for you! For a limited time, you can be the right height after border crossings automatically. Just three easy payments of $9.95 and make sure your neighbor is sending child agent updates!
2008-02-18 01:52:25 +00:00
Charles Krinke
e6a74344e7
Thank you Hashbox for adding the
...
osConsoleCommand Feature to ll-functions.
2008-02-17 21:15:43 +00:00
Teravus Ovares
c2d7beb617
* Last bit of cleanup now. As long as you keep physical prim off, you should have a reasonably stable experience with ODE again.
...
* Physical prim at the simulator edge still seems to have the occasional issue.
2008-02-17 20:40:21 +00:00
Teravus Ovares
f80a534eb0
* Various ODE Cleanups
2008-02-17 20:04:28 +00:00
Teravus Ovares
89349a3810
* Disabling physical prim crossings until they get a bit more stable.
2008-02-17 12:10:47 +00:00
Teravus Ovares
e33a0c5fc0
* Fixed the Ghost physical hull on deleting a physical Prim
...
* Fixed a deadlock when there is an exception in the collision and stepping parts of Simulate.
2008-02-17 11:50:15 +00:00
Teravus Ovares
19e0ada93a
* Located and destroyed the weird velocity and rotation transfers. It turned out to be that the Static PhysicsVector.Zero was transferring velocities between all non fixed objects. Not so static after all :(. Finding it was cruel and unusual punishment from the CLR.
...
* Therefore, when you run through a pile of prim you won't see things rotate when they're not supposed to anymore.
* Avatars don't float off either.
2008-02-17 10:41:08 +00:00
Charles Krinke
58c72c409d
Thank you very much, ChrisDown for a patch to
...
remove unnecessary terrain stores at region startup
2008-02-17 02:07:25 +00:00
Charles Krinke
df04345e3f
Thank you very much, Diva for a patch to increase the
...
grid server reliability.
2008-02-17 02:03:27 +00:00
Charles Krinke
9e828ab168
Thank you very much, Taoki for additions to pCampBot to improve walking, talking
...
and adding additional sentences for communications with pCampBot.
2008-02-17 01:57:07 +00:00
Jeff Ames
3b9d332f84
Added copyright notices.
2008-02-17 01:16:40 +00:00
Jeff Ames
0da6dabc15
Added dummy IAgentAssetTransactions to fix compile failure.
2008-02-17 01:00:17 +00:00
MW
5cc0bbd419
Renamed AgentAgentTransactionModule to the correct name of AgentAssetTransactionModule
2008-02-16 13:13:40 +00:00
MW
b618802e53
Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though.
...
But its one more thing out of the CommsManager. One day we will kill the CommsManager!
2008-02-16 13:01:42 +00:00
MW
694dff3b70
Some changes to remove some of the direct calls to CommsManager from Scene, so that they now go through the SceneCommunicationService. As a small step towards the day we can kill the CommsManager (YAY!)
2008-02-16 11:55:09 +00:00
Jeff Ames
e8225f2f81
Update svn properties.
2008-02-16 08:35:19 +00:00
Tedd Hansen
5e949d4700
Forgot one small but important line .. ;)
2008-02-16 08:22:29 +00:00
Tedd Hansen
169032b4a4
Fixed ScriptEngine config in OpenSim.ini.example that was out of place.
...
Added some info to failure on GridServices listening port so people can see what actually went wrong.
Moved most of the function/event execution module to a baseclass so other execution methods (instead of reflection) can be used with custom script modules run by ScriptEngine.Common.
+ some accumulated patches
2008-02-16 07:53:02 +00:00
Teravus Ovares
be6edefcfb
* ODE Stability update 4 :D
...
* Changed the way meshing requests get sent to the ODEPlugin
* Numerous other fixes
2008-02-15 21:35:52 +00:00
Justin Clarke Casey
cf9c0135b1
Resolve mantis #572 - terrain help printed multiple times when change-region has not been invoked
2008-02-15 16:05:49 +00:00
Sean Dague
4cc5aac18b
be smarter about the size of dynamic textures that we pull in
2008-02-15 15:55:23 +00:00
Sean Dague
2f6e1ac34d
allow for 1024x1024 textures through osSetDynamicTextureURL. Follow up patch
...
to do smarter resize coming this afternoon.
2008-02-15 13:00:47 +00:00
Justin Clarke Casey
c769d93206
* Temporary measure of deleting the Mono addin cache dir of addin-db-000/ on every startup to avoid cache corruption problems
2008-02-15 12:50:10 +00:00
MW
23c7c6dabd
Fixed bug in AvatarFactoryModule that resulted in removing cloth items, not being persisted.
2008-02-15 12:39:45 +00:00
Jeff Ames
e16f9a16c7
Moved LaunchSLClient prebuild.xml into main prebuild.xml
2008-02-15 03:30:15 +00:00
Jeff Ames
25e7f74d29
Move pCampBot prebuild.xml into main prebuild.xml to fix reference errors. Update README.
2008-02-15 03:21:05 +00:00
Jeff Ames
21b623b70e
Moved pCampBot to OpenSim/Tools
2008-02-15 02:53:05 +00:00
Jeff Ames
337d2d2a88
Oops. Forgot about Windows users.
2008-02-15 02:51:46 +00:00
Jeff Ames
343f41ac1b
Minor syncing of copyright notices.
2008-02-15 02:38:02 +00:00
Jeff Ames
b5a9592cc1
Moved LaunchSLClient build system to Prebuild.
...
Refactored LaunchSLClient code a bit.
2008-02-15 02:37:05 +00:00
Jeff Ames
b13836db57
Update svn properties.
2008-02-15 00:43:20 +00:00
Sean Dague
741f753c56
attempt to make our logging at least fail gracefully, we'll see if this helps
2008-02-14 19:29:07 +00:00
Sean Dague
980a926a4b
make dynamic textures temporary to try to stop filling up the
...
asset db.
2008-02-14 19:17:25 +00:00
MW
8ad450f83e
More work on trying to get AvatarFactoryModule to play nicely with multiple threads
2008-02-14 18:59:03 +00:00
Adam Frisby
e1d9275610
* Fixed accessibility problem on ITerrainChannel
2008-02-14 17:23:29 +00:00
MW
4616563cc4
Added "better" multi thread handling to AvatarFactoryModule, which uses EventWaitHandles, I'm a bit concerned about what effect this might have on performance in a large grid. But I've spent long enough on this problem for one day and as its valentines day, I will be killed and tortured (most likely not in that order) if I don't stop work for the day soon.
2008-02-14 16:38:38 +00:00
Adam Frisby
91d9248fce
* Removed some catch-all-ignores from UDPServer in an attempt to look for #305 .
...
* Minor work towards abstracting terrain.
2008-02-14 16:13:53 +00:00
Sean Dague
3a208a3a4f
Fix a casting subtlety in moving to constants. Logins should work
...
again.
2008-02-14 13:28:35 +00:00
lbsa71
2d066c4136
* Took a stab at getting keys to work as intended
...
[Provided by openlifegrid.com]
2008-02-14 13:09:33 +00:00
lbsa71
cf6e268d6d
* Added more debugging output to GridManager to pin down the key exchange weirdness
...
[Provided by openlifegrid.com]
2008-02-14 13:02:41 +00:00
Adam Frisby
3c22da9efc
* Tree Populator Module, use "script tree" to make a growing tree in your sim.
2008-02-14 12:27:24 +00:00
lbsa71
f4c0e45bac
* Fixed #564 , errors in friend sql
...
[Provided by openlifegrid.com]
2008-02-14 12:26:42 +00:00
Adam Frisby
f3afa68a2a
* Made new Framework.Constants class, added RegionSize member.
...
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize.
* Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-14 12:16:33 +00:00
lbsa71
c0d411f427
* Exposed AddHandlers in response to mantis #534 . Thanks, kmeisthax!
2008-02-14 11:15:41 +00:00
Justin Clarke Casey
1229503764
Revert the index -> Add changes made in AvatarFactoryModule previously. It appears that in conjunction with MW's locking changes, that two threads may race to create the avatar
...
appearance in the TryGetAvatarAppearance() method. Moving off Add will mean the second replaces the first instead of throwing the exception. This may still not be a good
permanent solution - more extensively locking or a code rearrangement could be better. I'm going to leave this in MW's much more familiar hands now.
2008-02-14 11:10:43 +00:00
Teravus Ovares
135a72d6ca
* Removed the noise from the console. The last commit seems to have resolved the recent reports of 'argument not a space' on linux. Though, there were about 50 changes :D
2008-02-14 10:07:15 +00:00
Tedd Hansen
44385800cf
Changed UserServer create user password input to cleartext so we can see what the all the fuzz/blur is about. Make sure that you hide your monitor and that there are no black vans with large antennas parked outside while you type the password.
...
Actually, turn off your monitor while typing password. Then press reset button on your computer.
2008-02-14 10:04:14 +00:00
Teravus Ovares
bd880f9178
* Another ODE Stability update. This might fix the recent Linux issues with the ODEPlugin.
2008-02-14 09:31:22 +00:00
Jeff Ames
0bb085261b
Update svn properties from a bar ftw. Kanpai!
2008-02-14 09:30:49 +00:00
Teravus Ovares
e3a711536b
* ODE - This fixes a few things and breaks a few more.
2008-02-14 01:57:19 +00:00
Tedd Hansen
5f70b8b922
Added a small but maybe important clue that UserServer is not running.
2008-02-14 01:35:17 +00:00
Jeff Ames
4e005fc225
Cleaned up some typos.
2008-02-14 00:44:21 +00:00
Teravus Ovares
0d14c47c28
* Bigisn ODE Stability update 2
2008-02-14 00:39:08 +00:00
Teravus Ovares
3588d89b2c
* Bigish ODE stability Update. Run Prebuild
2008-02-13 23:14:41 +00:00
lbsa71
12e0d8b316
* Fixed another bug in avatarpicker ('surname'/'lastname' mixup)
...
[Provided by openlifegrid.com]
2008-02-13 21:35:54 +00:00