Jeff Ames
1c593d9e19
minor cleanup of Scene.cs (parameter naming, function documentation stubs, duplicated UUID, you know...)
2007-12-06 04:01:56 +00:00
Jeff Ames
4bde56457f
removed some duplicate hard-coded port numbers. changed ports to uint.
2007-12-06 01:41:41 +00:00
MW
d2736437d4
Some refactoring of the RestObjectPoster (and related classes).
2007-12-05 19:02:57 +00:00
Sean Dague
4b77821275
From Justin Casey (IBM)
...
When using a local inventory service, this patch stops items held in the
root 'my inventory' folder from 'disappearing' on server restart.
They were actually still there, we just weren't retrieving them.
>From looking at the grid inventory server, the bug probably still exists
in there.
But I wanted to get this patch in first and consult with MW about the grid
fix (he may be planning to change the area extensively soon).
2007-12-05 19:00:29 +00:00
Sean Dague
c5c0df74e6
Do not create a new asset on item metadata change
...
From Justin Casey (IBM)
2007-12-05 18:58:55 +00:00
Sean Dague
9c81b8a430
From Gary Chernega (IBM)
...
This patch adds x, y, and z offsets to the load-xml command.
If you had a prim at 100,100,20 thats where it would get loaded everytime.
This patch lets you place it at an offset from 100,100,20.. as such:
load-xml <filespec> -newUI 3 1 2
Loading the prim at 103, 101, 22
2007-12-05 18:45:05 +00:00
Teravus Ovares
71fd737a66
* Applied MSSQL Patch from akokko, Thanks! akokko
...
* This hasn't been tested in MSSQL mode, however it's been checked to make sure it doesn't cause any issues with mySQL/SQLlite
2007-12-05 15:53:58 +00:00
MW
be93de1257
made one or two more methods in Scene virtual to allow overriding in sub classes.
2007-12-05 13:23:12 +00:00
Teravus Ovares
bb824eadee
* Refactored Permissions into ScenePresence as requested by MW
...
* Un-hackerized generating the client_flags
* Now handling the ObjectPermissions Update packet
* Warning: Backup your prim before updating. If you fail to do so and something goes wrong then, All Yr prim are belong to us!
2007-12-05 06:44:32 +00:00
Jeff Ames
a24b6fe924
fixed a few compiler warnings under mono (committed from a train, with adjohn and afrisby, enroute to a wine cave with the worst wine in the world)
2007-12-05 04:16:20 +00:00
Teravus Ovares
77dd997ef1
*disabled some confusing code regarding permissions
2007-12-04 23:58:44 +00:00
Jeff Ames
f195725db4
keeping opensim safe for children -- made some namespace references less explicit
2007-12-04 22:14:53 +00:00
Jeff Ames
54c070608e
made log messages for known unhandled packet types shorter and yellower. added handler stubs.
2007-12-04 21:44:10 +00:00
Sean Dague
2adcdd3d15
minor refactor so that I can now grok what happens for outgoing packets
2007-12-04 20:20:15 +00:00
lbsa71
c1fdba8a6f
* Some more ApplyPhysics voodoo
2007-12-04 16:41:20 +00:00
Teravus Ovares
a553e6f67c
* Avatar picker works in grid mode now.
...
* To test, click the communicate button, then click the 'add' button and type a name. You will get a list of closely matching avatar names.
* Before this'll work on your sim in grid mode, the UGA needs to be updated. If it isn't updated, then you'll get a message on the sim console when searching like, 'got invalid queryid'.
2007-12-04 16:07:59 +00:00
lbsa71
bf8239c7fa
* ApplyPhysics now creates the PhysActor as well.
2007-12-04 13:46:18 +00:00
lbsa71
e01c128c8f
* Added ApplyPhysics helper on group.
2007-12-04 11:11:13 +00:00
Adam Frisby
01db4cd71d
* More console message fixes
...
* Tagged Verbose("msg",...) as obsolete. Please use Verbose("AREA","msg",...) instead.
2007-12-04 10:22:09 +00:00
Adam Frisby
91c1e8a734
* Fixed a whole bunch of console messages.
2007-12-04 10:13:13 +00:00
Jeff Ames
398ee5f229
fixed exception and login failure in SimpleApp. (still doesn't work like it used to, though)
2007-12-04 09:57:45 +00:00
Adam Frisby
be7ae3dd3e
* Removed 12 compiler warnings.
2007-12-04 08:18:09 +00:00
Adam Frisby
e820159fb5
* Fixed compile issue.
2007-12-04 07:56:23 +00:00
Adam Frisby
7d5f032203
* Added SSL Support to HttpListener
...
* Added SSL Option to User Server to allow logins to be done via SSL.
* Added sane handling for when Remote Admin Plugin configuration is not found
* Added some performance boosts to an area of libTerrain which was highlighted in profiling.
2007-12-04 05:47:51 +00:00
Teravus Ovares
90b66f8509
* Flying with ODE and got that sinking feeling? This should help
2007-12-04 05:31:47 +00:00
Jeff Ames
21c35d5703
set svn:eol-style
2007-12-04 04:59:27 +00:00
Teravus Ovares
4f05347246
* Split out the ODEPlugin Nested classes.
2007-12-04 02:51:09 +00:00
Sean Dague
14d0a2ac74
further encapsulation of function in PacketQueue and PacketThrottle
2007-12-03 21:47:28 +00:00
Sean Dague
8f58a9a107
From Justin Casey (IBM)
...
While exploring what it would take to get the 'new script' button working,
I encountered the fact, some way down in the rabbit hole, that if a user
renamed an item in their inventory and logged out (without a restart of
the simulator), on log in the new name was not preserved.
As far as I can see, this was because any updates which didn't occur
inside a transaction were ignored by opensim. This patch pays attention
to those changes. It generates a new asset when an item is updated and
changes the user's inventory properties appropriately. I believe this
behaviour is in line with the copy-on-write semantics used in the Second
Life protocol - perhaps it could be optimized if we knew for sure that the
only copy of the object was in the user's inventory.
This also means that if you rename an item (e.g. a script) before you drag
it into an object's inventory, the inventory will receive the item's most
recent name and description.
2007-12-03 20:06:01 +00:00
Teravus Ovares
5061808afc
* Now using interpolation to expand the 256x256 heightfield data to 512x512 before it's passed to ODE.
2007-12-03 19:21:26 +00:00
Sean Dague
c29105aa3e
This is a simple patch which just renames an IClientAPI method to
...
SendInventoryItemCreateUpdate() in order to reflect the actual packet it
sends (UpdateCreateInventoryItem).
From Justin Casey (IBM)
2007-12-03 17:24:27 +00:00
MW
690e517240
Added a flag to load-xml console command, that will generate new uuids for the loaded Sceneobjects (as per mantis request #53 ).
...
To use append "-newUID" to the end of the command, so new format is : "load-xml <filename> -newUID".
If you don't add the "-newUID", then the uuids in the xml file will be kept.
2007-12-03 14:57:39 +00:00
MW
4eba3373dc
Fixed bug in Appearance update in AvatarFactoryModule.
2007-12-03 14:37:20 +00:00
Teravus Ovares
0ec208a200
* Resize terrain heightmap info going to ODE to double the resolution.
...
* Using the nearest neighbor method, interpolation coming soon.
2007-12-03 13:11:15 +00:00
MW
285fa3fe9e
Some refactoring
2007-12-03 10:36:32 +00:00
MW
9f5e1efc2d
Added another .ini file error catch to the RemoteAdminPlugin Initialise method.
2007-12-03 09:58:25 +00:00
MW
634a22185d
Applied patch from mantis issue #110 (with one or two tiny changes) , thanks mpallari/_SomeOne_
2007-12-03 09:50:33 +00:00
Adam Frisby
c4afb81f47
* Removed VS added directory.
2007-12-03 07:38:06 +00:00
Adam Frisby
1d5e19e476
* Added a XMLRPC Restart command to RemoteAdminPlugin
2007-12-03 07:28:04 +00:00
Jeff Ames
4c0ddacc16
minor meaningless changes
2007-12-03 07:26:27 +00:00
Adam Frisby
c8faccb396
* Added XMLRPC Broadcast Alert method.
...
* Renamed a few console messages to match the new "RADMIN" tag for remote-admin stuff.
2007-12-03 07:14:58 +00:00
Jeff Ames
27a731ae1a
set svn:eol-style
2007-12-03 07:10:08 +00:00
Adam Frisby
981c97502a
* Moved XMLRPC Controller to a Application Plugin. Requires testing.
2007-12-03 07:06:46 +00:00
Adam Frisby
4b95eb589b
* Applied a few commits left on my laptop to OpenSimController.
2007-12-03 06:29:36 +00:00
MW
555afddbad
Just for Cfk!
2007-12-02 21:44:14 +00:00
MW
ac77c32453
Attempt to fix mantis issue #82 , taking prims into inventory and then rezzing them in another region.
2007-12-02 20:43:21 +00:00
MW
5ae8759de1
Added some error handling (and console output) to BaseHttpServer.
...
a few other bits of refactoring.
2007-12-02 18:49:42 +00:00
MW
cac98171e5
Very partial Avatar Appearance (ie, clothes/body parts) "storage". In standalone mode it will mean that when you log off and log back on ,as long as the region server hasn't been restarted , your avatar will start with wearing the clothes that it wore on log off. In grid mode its even more limited in that wearing/removing clothes/body parts are only stored in the region server instance you are one. so if you are in a different region to your login region (which are on different region server instances), and then change clothes, those changes won't be remembered. So as said, its very limited but is a small step towards having proper appearance persist.
...
Just need to store this data out to a database.
2007-12-02 14:56:23 +00:00
MW
86ae8e97cd
Fixes a bug that my last commit introduced.
2007-12-02 14:12:56 +00:00
MW
80609c2b15
Some refactoring , mainly on Inventory code.
2007-12-02 13:59:15 +00:00
MW
b92df4aaaf
New Inventory folder should now be stored to the inventory server/database. This also seems to fix the problem of Body parts not being persisted properly.
2007-12-02 10:21:17 +00:00
MW
0a2425432a
Rezzing multiple copies of a inventory prim should now work.
2007-12-01 21:52:10 +00:00
Jeff Ames
2852cd9d73
attempt to fix sitting-related bugs #3 and #67
2007-12-01 21:45:43 +00:00
MW
96ac8f00c7
Due to popular demand, a rezzed prim should no longer delete the original inventory item. (hasn't been tested to make sure no conflicts happen if that new rezzed object is then taken back into inventory but don't think there will be any)
2007-12-01 21:16:42 +00:00
MW
5c866bc6ff
as a Test, attempted to disable mysql inventory table auto creation.
2007-12-01 21:03:10 +00:00
MW
4dee53c7fb
Attempt to fix mantis issue # 73
2007-12-01 20:57:14 +00:00
MW
6c9e588acb
On login, if a set of inventory folders doesn't exist for the user then a new set is created in the inventory database. Most likely still better to use some other script to populate the inventory database instead of relaying on this.
2007-12-01 19:57:23 +00:00
MW
5df851761a
Initial working Grid Inventory server. Only been tested on a very small grid, so likely to have problems on a larger grid with more people?
...
To use , both the user server and Inventory server need to be running this latest revision. (older regions should be able to still be used, just the user won't have inventory on them). Also and HERE IS THE BIG BREAK ISSUE, currently, so that the initial inventory details for a user are added to the inventory db , you need to recreate the accounts using the user server "create user" feature. It should be quite easy to manual populate the inventory database instead but I someone else will need to look into that) Also I've only tested using SQLite as the database provider, there is a Mysql inventory provider but I don't know if it works (SQLite is set as default, so you will need to change it in the inventory server config.xml)
2007-12-01 18:49:17 +00:00
MW
fff468dcfe
Attempt to fix mantis issue # 65, seems like it is a race condition between two regions trying to add a user to the AssetTransactionManager at the same time. So have placed a lock around the Dictionary add.
2007-12-01 16:40:26 +00:00
MW
495cf040be
Attempted fix for mantis issue# 66
2007-12-01 15:20:49 +00:00
MW
c28f505caa
small bit of refactoring
2007-12-01 14:31:21 +00:00
MW
7bc28e0571
the fix, so that trunk works again
2007-12-01 14:25:46 +00:00
MW
27f182ac54
Part 1 of a commit. This revision will not compile, part 2 will be added in a couple of minutes that should fix that.
...
Some work towards persisting Avatar Appearance (what is being worn).
Added OnAvatarNowWearing event to IClientAPI that is triggered by AgentIsNowWearing packets.
stub code to subscribe to this event in AvatarFactoryModule.
Todo: code needs to be added to AvatarFactoryModule to save the uuids to a database and then read them back when that modules TryGetIntialAvatarAppearance() method is called.
Done some changes to Scene to make it easier to subclass it: including changed some private fields to protected and made some methods virtual.
2007-12-01 14:20:37 +00:00
Sean Dague
e36ddb0e8c
mod packetqueue to use the throttle class container
2007-11-30 21:51:13 +00:00
Sean Dague
174a3d2ca1
the packet throttle stuff is duped enough that a
...
seperate container for this probably makes the limits easier to
understand
2007-11-30 21:29:21 +00:00
Sean Dague
9c07a98831
starting to fill out PacketQueue, refactoring as I go. This
...
doesn't link into the rest of the code yet, and won't until it
is complete.
2007-11-30 21:09:49 +00:00
Teravus Ovares
b287015028
* Fixed a bug in my 'user already logged in' fix that could cause a null reference exception.
2007-11-30 21:01:03 +00:00
Sean Dague
b167507e32
Patch for mantis 0000015: Textures don't display in the object
...
properties window
From Justin Casey (IBM)
2007-11-30 20:16:40 +00:00
Teravus Ovares
95c68a316a
*Refactored the initial raytracer so it doesn't use the Parent reference.
...
*Fixed a 'statement out of order' error in the setting of the permissions that are sent to the client.
2007-11-30 16:29:23 +00:00
Sean Dague
d2fe290bb6
return of the inv-lib-root patch from Justin Casey (IBM)
...
Should fix libsl login ability. No long breaks my login
to test environment.
2007-11-30 15:27:56 +00:00
MW
0b2934a1b1
added support for a console command script to be ran every 20 minutes (will make that time changable in a future commit), to use add a entry under the Startup section of opensim.ini , with: timer_Script = "<filename>" (the filename being the console "script" you want to be ran every 20 minutes). This hasn't been tested very much so..
2007-11-30 15:10:47 +00:00
MW
c1d66a8564
small change to OnSceneGroupMove event (in SceneEvents.cs)
2007-11-30 12:10:12 +00:00
lbsa71
6e22faf73e
* Refactored away permissions and physics flag duplications
2007-11-30 09:42:36 +00:00
lbsa71
0d5d111619
* Made RegionUp virtual
2007-11-30 08:54:42 +00:00
lbsa71
d2b1b54f49
* Removed permissions flag appliance from Xml deserialization
...
* Various code convention compliance
2007-11-30 08:08:14 +00:00
Teravus Ovares
31cec30aa0
* Extended our semi-stupid implementation of in world object permissions to show a user's client that it can't edit a prim if it doesn't have permission.
...
* Permissions is due for a big revamp. The current way it's done is a hack at best.
2007-11-30 04:54:15 +00:00
Teravus Ovares
3ab3392def
* This extends my first hack to clear out the useragent table for that specific user.
...
* This helps people who have multiple records in their useragent table.
* This update should be looked at.. because really what it should be doing is initiating a grid wide logoff.
2007-11-30 02:14:29 +00:00
Teravus Ovares
57e6b51639
* Here's the issue, on log-off, the routine sets up a null useragent member and then tries to save it to the database.. where it was going wrong, is the database had a check to do *nothing* when it got a null useragent. I made it delete the userAgent row. This should be a good enough fix to solve the problem. It still needs to be looked at by a DB guy
2007-11-30 02:01:12 +00:00
Teravus Ovares
5eb091ceee
* Temporary fix for 'User already online' issue in standalone mode.
...
* Revert this once we get a working logoff.
2007-11-30 01:20:31 +00:00
Sean Dague
d3ab5ad506
revert r2510, this seems to break normal logins, at least from
...
Linux clients.
2007-11-29 20:20:11 +00:00
Sean Dague
af9eb87ad1
return an appropriate inv_lib_root, which the libsl folks have
...
identified as the reason libsl can't currently connect to OpenSim.
Patch from Justin Casey (IBM)
2007-11-29 17:14:06 +00:00
Sean Dague
641e541967
add a few more parens to make sure that throttling condition
...
is really happening the way we want it to.
2007-11-29 16:32:19 +00:00
lbsa71
7704bb6f63
* Fixed neighbour range bug
...
* Various refactorings
2007-11-29 15:27:57 +00:00
Teravus Ovares
4bd38fc65a
* Thanks to _SomeOne_, Server side permissions on object editing. Be aware, that if you're editing an object on your client that you're not allowed to, it'll appear that it's moving to you, but won't actually be moving on the sim.
2007-11-29 15:24:31 +00:00
Teravus Ovares
0619451ea6
*Added more information about the sim that you're connecting to in remoting during the sim, regionup message.
...
*Added the main cause for the remoting error to the console display.
*This will make it easier to debug future remoting issues.
2007-11-29 14:08:34 +00:00
Teravus Ovares
4738fead21
* Added a 50 second restart notify timer that gets reset when new regions come up to give servers that host a lot of sims a long time to start listening.
2007-11-29 07:25:58 +00:00
Jeff Ames
6d7ce67db1
fixed duplicate login in standalone mode (mostly untested in grid mode)
2007-11-29 07:22:11 +00:00
lbsa71
a32bb91675
* minor refactorings
2007-11-29 06:07:48 +00:00
lbsa71
d05b121dff
* Locking on local scope variable does not make sense - every thread will have its own
...
* Locking on value, then changing it does not make sense - lock will happen on old reference
* Taking a local copy of the shared resource then locking on the copy does not make sense - lock will happen on copy
2007-11-29 06:06:42 +00:00
Brian McBee
b0c5693c02
Changed to doing only 1 request to the grid server from main map. Hopefully we are not requesting too much in one gulp.
2007-11-29 02:30:11 +00:00
Teravus Ovares
81ba94fde8
* Fixed about 7 issues with restarting sims and resolved interRegion comms issues. This includes the issue that MW described this morning.
...
There's a lot of little nit picky changes that make a world of difference.
2007-11-29 02:07:19 +00:00
Jeff Ames
2364e6779b
set svn:eol-style
2007-11-29 01:57:59 +00:00
Sean Dague
40dc1ac3b0
I believe this turns throttling back on. I had expected
...
that the Queue would come in by reference, but it didn't
appear to be.
2007-11-28 18:39:07 +00:00
Sean Dague
5fb81ab881
merged ClientView into a non partial class. Will
...
make it easier to start breaking this up into
more discreet functional classes
2007-11-28 13:33:57 +00:00
MW
ac77c50ba9
Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications).
...
Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
2007-11-28 12:36:09 +00:00
Teravus Ovares
c021bfe191
* Disambiguation in the 'sim is restarting message' that tells you 'which' sim is restarting in the area.
2007-11-28 06:31:27 +00:00
Teravus Ovares
b7d596a6af
* Restaring the sim works fine in grid mode now. Sims announce themselves to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up.
...
* Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
2007-11-28 06:18:07 +00:00
Sean Dague
f3895c1e01
build ThrottleCheck function to clear up bits of the throttle
...
code.
Fix typo on throttling Task packets incorrectly
2007-11-27 21:27:32 +00:00
Sean Dague
f4e91bc7d9
moved out nested class to it's own file
2007-11-27 20:50:45 +00:00
Sean Dague
cebdd069f4
some variable renames to help me read the throttle code
2007-11-27 20:37:17 +00:00