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
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
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
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
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
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
Jeff Ames
6d7ce67db1
fixed duplicate login in standalone mode (mostly untested in grid mode)
2007-11-29 07:22: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
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
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
Teravus Ovares
082f2baebe
Fixed an event in the events chain in inter-region communications.
...
As a consequence, restarting sims in the same process instance now shows them when they come back up in grid mode and standalone mode.
2007-11-27 13:46:52 +00:00
Brian McBee
232613638f
Attempt to handle MYSQL error fetching assets
2007-11-26 16:39:00 +00:00
Teravus Ovares
175b6115f1
* Restarting regions with the estate tools works in sandbox mode. I'm still working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either.
2007-11-26 05:02:18 +00:00
Brian McBee
35472b3666
Added new configuration item to User Server: X and Y of region to send user to if their logon region is down. Known good region, sort of.
2007-11-25 21:21:44 +00:00
Teravus Ovares
d263a044b1
* Added the ability to restart your individual sims from within them using the estate tools.
...
* The sims properly restart, however they don't yet notify the existing avatars that they are up. To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
2007-11-25 04:52:14 +00:00
Adam Frisby
0951f895ef
* Removed references to "new LLUUID()", replaced with LLUUID.Zero.
2007-11-24 10:36:54 +00:00
Teravus Ovares
944b118c62
* Added a way for the Region master user to kick individual users from their sim with a custom message. Their client says, "You've been logged off of secondlife, <Your custom message here> and logs them off.
...
* Added a way for the Region master user to kick *ALL* users from *ALL* their regions in the estate with a custom message.
2007-11-24 03:28:42 +00:00
Teravus Ovares
52714c339e
* Hanling RequestGodlikePowers. On Request.. sends the sim owner's client the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets....
2007-11-24 01:38:36 +00:00
lbsa71
fb2588b409
* Refactored NumPackets calculation
2007-11-23 13:21:39 +00:00
Teravus Ovares
f97aeab916
* Quelled a Log format exception in the logging routines.
...
* Tweaked some esoteric throttle settings
* Removed AgentThrottle from the unsupported packet list.
2007-11-22 21:40:53 +00:00
Teravus Ovares
999eec603e
Created a client driven packet throttler. The sim now respects the client's network throttle settings but does sanity checks to avoid too little(nothing gets sent) or too much(the sim crashes) data.
...
* Consider this experimental.. however, it looks very promising.
2007-11-22 19:01:53 +00:00
lbsa71
ae5999c3d5
* removed erroneous comments
2007-11-22 15:43:28 +00:00
Teravus Ovares
e69c810486
* Added code to capture the draw distance setting from the client.
...
* Added a support function to InnerScene to calculate the distance between two vectors.
2007-11-22 01:32:13 +00:00
Teravus Ovares
7cb38712d5
* Did some initial work for prim crossing. Just glue so far.
...
* Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler. This flag gets purposely disabled in grid mode. This flag also has the consequence that you can see the prim in neighboring regions without going into them. Be warned, this causes tons of dropped packets.
2007-11-21 02:17:24 +00:00
Sean Dague
ec5186c98a
there is no real reason to write this value back to estate settings,
...
and it is the most often tickled part of this race condition.
2007-11-19 23:00:08 +00:00
lbsa71
ce3a87daa5
* Changed namespace
2007-11-19 11:20:36 +00:00
Teravus Ovares
615b40b68b
* Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
2007-11-18 15:54:05 +00:00
Jeff Ames
924026d01c
cleaned up some mono compiler warnings
2007-11-18 15:14:37 +00:00
Jeff Ames
d10c79d421
first stab at implementation of CopyInventoryItem
2007-11-18 13:50:46 +00:00
Dalien Talbot
793813a6a6
Added handler for MapNameRequest - OnMapNameRequest
2007-11-18 04:00:04 +00:00
MW
a4a1ff3d9b
Added ClickAction property to SceneObjectPart (and the relevant changes in IClientAPI so its used), so that the default click action (ie touch, sit, etc) can be set on a prim. Note: Sill need to handle the incoming packets that set this, from the client.
2007-11-17 12:03:20 +00:00
Jeff Ames
6ad471abc0
set svn:eol-style
2007-11-17 08:39:59 +00:00
Jeff Ames
a473289738
minor cleanup of some dodgy bits
2007-11-17 08:14:17 +00:00
Jeff Ames
946db5461c
catch exceptions when loading malformed xml files
2007-11-17 05:53:12 +00:00
MW
483377adae
More cleaning up when deleting regions from a instance. NOTE: IGridServices.DeregisterRegion() method needs implementing for grid mode.
2007-11-16 13:39:11 +00:00
lbsa71
3aed77bd2c
*** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM OpenSim.ini.example **
...
* Now moved region storage from region to application, so we have one storage per application, instead of one per region.
* Changed so that the region store providers use connectionstrings, not filenames
* Removed various unfit fields and properties (call me Darwin)
2007-11-15 19:53:10 +00:00
lbsa71
57ff76850d
* Added MySQLDataStore (adapted from MonoSqlite
...
* Made startup a little bit more forgiving on dll load
* Minor renamings and musings
2007-11-15 15:32:28 +00:00
Teravus Ovares
179695909a
* Implemented the little friendly pop tooltip messages that appear when you hover your mouse over prim with the object name, description, ownerid.. etc.
2007-11-15 07:32:24 +00:00
Teravus Ovares
3cb2b5eb66
* Copied objects are now owned by the object copier (Next Owner) (however next owner permissions are not applied yet)
...
* In Serverside permissions mode; If you've copied an object, then you can delete it and clean up after yourself. The rest of the permissions functionality is still unchanged. Admin can delete any object.. etc.
2007-11-14 11:56:57 +00:00
Brian McBee
666bd6f06e
Another try: Fix moon bleeding over into linden grid. Need to clear your cache to fix it.
2007-11-14 06:00:03 +00:00
Teravus Ovares
9f6b3e2357
* Added AvatarPicker in Standalone mode. Works for finding avatar to ban, manually trying to add a friend (with the add button) or useful to those who are curious which usernames have visited your standalone sim. Important for future development :D.
...
* Grid mode always returns 0 results until the Grid Communications portion is done.
2007-11-13 22:48:19 +00:00
Sean Dague
eb41ec00c9
first pass on unlinking of objects. From Jay Clarke (IBM)
2007-11-13 19:57:11 +00:00
MW
297cc7ef4f
Some work on cleanly removing Regions.
2007-11-13 12:23:05 +00:00
MW
7f8a69f181
Some work on being able to set/send a users Buddylist info. (added handling code to LoginResponse).
...
And as a test each user signing in will get the test account ("Mr OpenSim") as a friend (online/offline status will not currently show up)
2007-11-13 10:47:39 +00:00
Teravus Ovares
d9d35f9fd7
* Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.
...
* All thanks to unimplemented packet listing :D
2007-11-12 23:46:26 +00:00
Jeff Ames
ad002835d3
enable typing animation for chat, maybe
2007-11-12 20:25:59 +00:00
Dalien Talbot
8039c31e88
Patch from Mathias Soeken (thanks Mathias!) to take care of the color
...
and alpha argument of the llSetText command.
2007-11-11 22:23:34 +00:00
Brian McBee
46fbcad2aa
Fixed bug in assetcache where certain textures were not being packetized correctly
2007-11-11 00:11:34 +00:00
Adam Frisby
3a5ae43d5e
* Fixed compile issue.
2007-11-09 02:13:07 +00:00
Adam Frisby
c93f7188c7
* Added a mutex to the LoginService allowing only a single login simultaneously. (queues)
...
* This is a temporary fix to prevent an issue with adjohn reported when attempting to login large numbers of users in a short period of time.
* A rewritten login service is on the cards.
2007-11-09 01:59:18 +00:00
Teravus Ovares
9e9dad1cde
* Added Rotational Velocity reporting for Client Interpolation to Terse Updates
...
* Added Angular Velocity reporting for smooth-ish rotations on object collisions
2007-11-08 00:10:40 +00:00
Sean Dague
65eb1852a3
add SendSunPos function to IClientAPI to let us pull all the sun
...
calculation logic into a module
2007-11-07 20:29:30 +00:00
lbsa71
ee1fcc729c
* Added better logging to AssetCache
...
* AssetCache now ignores duplicate uploads
* some m_ refactoring
* ignored some bins
2007-11-06 11:10:45 +00:00
lbsa71
f6c8c10d3f
* Substituted som 'GenericCall' with Action<>
...
* OnRequestWearables does no longer accept 'Client' as param, since it's always on the current client
* Fixed SendOwnWearables to always operate on self, as that's what it does
2007-11-05 14:38:58 +00:00
MW
73fbacea1f
Started to cleanup/close down childagent connections when a user teleports. As the client will not close old childagent connections without being told explicitly to do so by each region the connection is to. Currently only implemented in standalone mode. ( the TellRegionToCloseChildConnection( ) in OGS1GridServices.cs needs implementing for grid mode, and the inter region .net remoting added for the new messages).
...
hopefully fixed the echo bug in chatmodule.
2007-11-05 13:58:44 +00:00
Adam Frisby
7896a0c453
* Temporarily reverted SQL syntax.
2007-11-05 01:35:17 +00:00
Adam Frisby
181dd8d8dc
* Changed MySQL Syntax on Region Updates for Grid Server.
2007-11-04 23:31:35 +00:00
MW
d56ed8fe9c
Some more refactoring
2007-11-04 22:22:53 +00:00
Adam Frisby
9f4ae7230f
* Small touchup of console messages
2007-11-04 20:37:55 +00:00
MW
18ae60db37
Deleted Regionloader .csproj files.
2007-11-04 14:40:16 +00:00
Jeff Ames
2d1c255e8c
normalized line endings
2007-11-04 14:34:45 +00:00
MW
e50a2e2ce2
Applying Teravus patch # 557. Some glue code for the updating of prim's velocity.
2007-11-04 14:06:41 +00:00
MW
19fe9a0208
Do I really have to write a log entry, can't I just hide this commit somewhere so its added but doesn't show up anywhere. As I can't believe I would make such a stupid mistake and not notice.
2007-11-04 10:40:28 +00:00
Tleiades Hax
dfc6108f1b
removed our own inplementation of UUID's, it wasn't used anywhere.
2007-11-04 06:15:43 +00:00
mingchen
b51a900beb
*Master Avatar can be specified by a previous UUID in either grid mode or standalone mode by specifying a master_avatar_uuid attribute in the place of master_avatar_xxxx_name and master_avatar_password.You will not be asked for the name and password if a valid UUID is specified.
2007-11-03 17:49:45 +00:00
lbsa71
5b4e4cb3ac
* Removed unused UDPServerBase
2007-11-03 15:51:02 +00:00
mingchen
51488ee7f4
*Moved region loading into its own interface IRegionLoader
...
*Added ability to load regioninfo remotely from a webserver from a single file. See share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt for more info and an example file.
2007-11-03 15:09:21 +00:00
MW
91c2c3c096
testing different rest post method/class for Grid asset client. (possible that I haven't set the post url correctly)
2007-11-03 14:04:59 +00:00
Sean Dague
21e47f8ef0
debug tracing for asset server hangs
2007-11-01 22:01:26 +00:00
Tleiades Hax
317ef312bd
Need to clean up resources when creating/updating assets
2007-11-01 21:38:41 +00:00
Tleiades Hax
cb2ae6eaed
2007-11-01 21:36:47 +00:00
lbsa71
4fad66f855
* Diuerse beavtificatems
2007-11-01 19:19:05 +00:00
MW
7a66eff8af
renamed FetchAsset to RequestAsset on IAssetServer, as think its a more fitting name. As the call shouldn't actually return the data, but just add a request for the data to be sent back via the callback.
2007-11-01 17:28:38 +00:00
MW
88f04731ca
Test on the grid asset problem, don't update to this version unless you just want to test to see if this fixes anything (but it could just as well break grid assets even more).
2007-11-01 15:54:59 +00:00
Charles Krinke
8af272b3ab
Thank you, Melanie for solving: When receiving an ObjectAdd packet, the Rotation member is silently ignored and the prim is created with 0,0,0,1 rotation. The patch introduces a fix that passes the Rotation parameter from the packet to the object and uses it in the actual object creation.
2007-11-01 03:56:54 +00:00
lbsa71
b3aa6e616b
* Took a stab at #500 by making sure there is only one place stuff gets added, and that that place is thread-aware.
...
* Refactored it to TryGetValue instead of Contains
2007-10-31 20:39:52 +00:00
Tleiades Hax
5fb956f75a
Improved logging, to identify which asset fetch caused an execption during retrieval of assets from the asset server
2007-10-31 18:49:40 +00:00
Sean Dague
048939fbb5
fix typo in filename
2007-10-31 14:08:12 +00:00
lbsa71
0d528e1d22
* Added a streamhandler that does streams both in and out
...
* The RestDeserialisehandler now does streams and returns an object instead of string
2007-10-31 12:45:03 +00:00
MW
720065ef9e
forgotten file
2007-10-31 09:26:06 +00:00
MW
a9ad16b13a
some small changes
2007-10-31 09:18:24 +00:00
Jeff Ames
f42afe81af
added .dat extension to dumped asset files
2007-10-31 08:07:20 +00:00
Jeff Ames
13854d562f
fixed filenames in log messages
2007-10-31 07:56:31 +00:00
lbsa71
064404ab40
* Moved OpenSim/Framework/General to OpenSim/Framework for great justice.
2007-10-31 07:28:23 +00:00
Jeff Ames
7f0d836d35
made illogical bitwise operations logical
2007-10-31 05:29:51 +00:00
Jeff Ames
98b238cf6b
set svn:eol-style
2007-10-31 01:21:04 +00:00
Tleiades Hax
6a8d8f54e8
Step one on the long march towards grid based inventory. Introduction of an InevntoryServer
2007-10-30 22:42:34 +00:00
Jeff Ames
ecb2305a04
temporary fix for sitting collisions in ODE
2007-10-30 09:56:29 +00:00
lbsa71
67e12b95ea
* Optimized usings
...
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
MW
3d8219f6c7
as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
...
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
MW
f6e8cbbd06
Fixed a bug in SQLAssetServer that only seemed to be a problem when running under the MS .net Runtime, but was fine with mono.
2007-10-29 15:58:52 +00:00
MW
0837f6b78d
fixed one bug (where the assets we read and created from the OpenSimAssetSet.xml file, weren't actually getting added to the database). This should make textures/assets work again with db4o, but still seems a problem with sqlite
2007-10-29 14:37:08 +00:00
lbsa71
27b5fad56d
* Removed AssetNotFound as it crashes client
...
* Fixed introduced bugs in ScenePresence
2007-10-29 12:59:04 +00:00