Commit Graph

17099 Commits (96cde407ab0d40856fb10b3b9f304433ffe734a2)

Author SHA1 Message Date
MW 4dee53c7fb Attempt to fix mantis issue # 73 2007-12-01 20:57:14 +00:00
MW a274acc7b8 added the mysql table files for inventory. Thanks nebadon. 2007-12-01 20:12:36 +00:00
MW 6c9e588acb On login, if a set of inventory folders doesn't exist for the user then a new set is created in the inventory database. Most likely still better to use some other script to populate the inventory database instead of relaying on this. 2007-12-01 19:57:23 +00:00
MW 5df851761a Initial working Grid Inventory server. Only been tested on a very small grid, so likely to have problems on a larger grid with more people?
To use , both the user server and Inventory server need to be running this latest revision. (older regions should be able to still be used, just the user won't have inventory on them). Also and HERE IS THE BIG BREAK ISSUE, currently, so that the initial inventory details for a user are added to the inventory db , you need to recreate the accounts using the user server "create user" feature. It should be quite easy to manual populate the inventory database instead but I someone else will need to look into that) Also I've only tested using SQLite as the database provider, there is a Mysql inventory provider but I don't know if it works (SQLite is set as default, so you will need to change it in the inventory server config.xml)
2007-12-01 18:49:17 +00:00
MW fff468dcfe Attempt to fix mantis issue # 65, seems like it is a race condition between two regions trying to add a user to the AssetTransactionManager at the same time. So have placed a lock around the Dictionary add. 2007-12-01 16:40:26 +00:00
MW 495cf040be Attempted fix for mantis issue# 66 2007-12-01 15:20:49 +00:00
MW c28f505caa small bit of refactoring 2007-12-01 14:31:21 +00:00
MW 7bc28e0571 the fix, so that trunk works again 2007-12-01 14:25:46 +00:00
MW 27f182ac54 Part 1 of a commit. This revision will not compile, part 2 will be added in a couple of minutes that should fix that.
Some work towards persisting Avatar Appearance (what is being worn).
Added OnAvatarNowWearing event to IClientAPI that is triggered by AgentIsNowWearing packets.
stub code to subscribe to this event in AvatarFactoryModule. 
Todo: code needs to be added to AvatarFactoryModule to save the uuids to a database and then read them back when that modules TryGetIntialAvatarAppearance() method is called.
Done some changes to Scene to make it easier to subclass it: including changed some private fields to protected and made some methods virtual.
2007-12-01 14:20:37 +00:00
Jeff Ames 6aef4a09f9 set svn:eol-style 2007-12-01 12:12:41 +00:00
Sean Dague e36ddb0e8c mod packetqueue to use the throttle class container 2007-11-30 21:51:13 +00:00
Sean Dague 174a3d2ca1 the packet throttle stuff is duped enough that a
seperate container for this probably makes the limits easier to
understand
2007-11-30 21:29:21 +00:00
Sean Dague 9c07a98831 starting to fill out PacketQueue, refactoring as I go. This
doesn't link into the rest of the code yet, and won't until it
is complete.
2007-11-30 21:09:49 +00:00
Teravus Ovares b287015028 * Fixed a bug in my 'user already logged in' fix that could cause a null reference exception. 2007-11-30 21:01:03 +00:00
Sean Dague b167507e32 Patch for mantis 0000015: Textures don't display in the object
properties window

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

Patch from Justin Casey (IBM)
2007-11-29 17:14:06 +00:00
Sean Dague 641e541967 add a few more parens to make sure that throttling condition
is really happening the way we want it to.
2007-11-29 16:32:19 +00:00
lbsa71 7704bb6f63 * Fixed neighbour range bug
* Various refactorings
2007-11-29 15:27:57 +00:00
Teravus Ovares 4bd38fc65a * Thanks to _SomeOne_, Server side permissions on object editing. Be aware, that if you're editing an object on your client that you're not allowed to, it'll appear that it's moving to you, but won't actually be moving on the sim. 2007-11-29 15:24:31 +00:00
Teravus Ovares 0619451ea6 *Added more information about the sim that you're connecting to in remoting during the sim, regionup message.
*Added the main cause for the remoting error to the console display.
*This will make it easier to debug future remoting issues.
2007-11-29 14:08:34 +00:00
Teravus Ovares 4738fead21 * Added a 50 second restart notify timer that gets reset when new regions come up to give servers that host a lot of sims a long time to start listening. 2007-11-29 07:25:58 +00:00
Jeff Ames 6d7ce67db1 fixed duplicate login in standalone mode (mostly untested in grid mode) 2007-11-29 07:22:11 +00:00
lbsa71 a32bb91675 * minor refactorings 2007-11-29 06:07:48 +00:00
lbsa71 d05b121dff * Locking on local scope variable does not make sense - every thread will have its own
* Locking on value, then changing it does not make sense - lock will happen on old reference
* Taking a local copy of the shared resource then locking on the copy does not make sense - lock will happen on copy
2007-11-29 06:06:42 +00:00
Brian McBee b0c5693c02 Changed to doing only 1 request to the grid server from main map. Hopefully we are not requesting too much in one gulp. 2007-11-29 02:30:11 +00:00
Teravus Ovares 81ba94fde8 * Fixed about 7 issues with restarting sims and resolved interRegion comms issues. This includes the issue that MW described this morning.
There's a lot of little nit picky changes that make a world of difference.
2007-11-29 02:07:19 +00:00
Jeff Ames 2364e6779b set svn:eol-style 2007-11-29 01:57:59 +00:00
Sean Dague 40dc1ac3b0 I believe this turns throttling back on. I had expected
that the Queue would come in by reference, but it didn't
appear to be.
2007-11-28 18:39:07 +00:00
Sean Dague 4c28554d88 update prebuild
Nant files now obey the target out of prebuild.xml, so Linux users will be able to build as Debug
Nant clean target now does the right thing (doesn't wipe out all of bin/)

Prebuild's own prebuild system is broken due to the .exe workaround added a while ago, will
register a bug for that seperately.
2007-11-28 16:24:28 +00:00
Sean Dague 5fb81ab881 merged ClientView into a non partial class. Will
make it easier to start breaking this up into 
more discreet functional classes
2007-11-28 13:33:57 +00:00
MW ac77c50ba9 Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications).
Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
2007-11-28 12:36:09 +00:00
Teravus Ovares c021bfe191 * Disambiguation in the 'sim is restarting message' that tells you 'which' sim is restarting in the area. 2007-11-28 06:31:27 +00:00
Teravus Ovares b7d596a6af * Restaring the sim works fine in grid mode now. Sims announce themselves to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up.
* Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
2007-11-28 06:18:07 +00:00
Sean Dague f3895c1e01 build ThrottleCheck function to clear up bits of the throttle
code.

Fix typo on throttling Task packets incorrectly
2007-11-27 21:27:32 +00:00
Sean Dague f4e91bc7d9 moved out nested class to it's own file 2007-11-27 20:50:45 +00:00
Sean Dague cebdd069f4 some variable renames to help me read the throttle code 2007-11-27 20:37:17 +00:00
MW b916d5b112 Fixed bug, where the clients in a region weren't told to kill a user's avatar when that user teleported to a different region. 2007-11-27 15:44:39 +00:00
Sean Dague 70d547c1a5 Remove unused function, one less warning 2007-11-27 15:39:35 +00:00