Adam Frisby
415fc22e5e
* Removed a bunch of compiler warnings.
2008-03-03 09:54:39 +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
84959bf530
* Renamed the Data Framework namespaces
2008-03-03 07:59:31 +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
30ebd15926
Update names of handler010 through handler019
...
to more appropriate names consistent with use.
2008-03-02 20:29:59 +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
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
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
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
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
Jeff Ames
f218e7e090
Update svn properties.
2008-02-27 15:57:00 +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
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
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
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
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
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
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
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
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
Teravus Ovares
740ce20d9d
* Found the land bug, yay
2008-02-20 20:07:12 +00:00
Jeff Ames
a8cfbbe963
Minor cleanup.
2008-02-20 18:38:20 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
b13836db57
Update svn properties.
2008-02-15 00:43:20 +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
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
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
0d14c47c28
* Bigisn ODE Stability update 2
2008-02-14 00:39:08 +00:00
Justin Clarke Casey
df21da6dec
* Patch from Dr Schofld's (IBM). In his own words
...
all TerrainEngine.LoadFromFileX(string filename) methods don't set the dirty bits in heightmap.diff[,] in contrast to the TerrainEngine.LoadFromFileX(string filename, int dimensionX, int dimensionY, int lowerboundX, int lowerboundY) cousins. this has the unpleasant drawback that the Scene.SendTerrainUpdate(bool) will not send layer data to the client.
the attached patch fixes all LoadFromFileX(.) methods.
Thanks!
* Also small build fix for AvatarFactoryModule
2008-02-13 16:35:42 +00:00
MW
d91c03e23b
Added some locks on the cache Dictionary in AvatarFactoryModule.
2008-02-13 16:29:34 +00:00
Justin Clarke Casey
5e9ae68df4
* Fix for mantis 522. However, I would be a little surprised if this code did much anyway, so perhaps it's not currently in use.
2008-02-13 15:27:11 +00:00
Justin Clarke Casey
3624efde85
* Make code fix to address prim rotation unlink issues (mantis 383, 454. 369)
...
* Many thanks to alex_carnell for the necessary information for this
2008-02-13 14:45:32 +00:00
Teravus Ovares
c1044039d4
* Removed a debug line that got called every frame.
2008-02-13 08:37:50 +00:00
Teravus Ovares
d773ca5147
* Made physical prim stable enough for the general population to turn on. (though I still don't recommend it for welcome regions unless object build is off.
...
* Updated the ode.dll for windows with a more reasonable stack space reserve. Linux users will need to type ulimit -s 262144 before starting up OpenSimulator if using Physical Prim to protect against stack collisions. or run the included ./bin/opensim-ode.sh to start up OpenSimulator in ODE mode.
* Added internal collision score and am keeping track of 'high usage' prim.
* Tweaked collisions some more
* Tested up to 460 physical prim in extremely close quarters (which was previously impossible in OpenSim). After 460 in tight quarters, physics slows down enough to make it hard to do any moving, however.. non physics things still work, such as logging on to the simulator, etc.
2008-02-13 07:50:15 +00:00
Jeff Ames
001ce95e4c
Clean up more unnecessary String.Format calls
2008-02-13 03:38:18 +00:00
Justin Clarke Casey
1677bde480
* Clean up the agent's asset transactions when it is removed from the scene
...
* This may or may not help with the memory leak, need to assess
2008-02-13 00:52:49 +00:00
Justin Clarke Casey
365cf8e455
* Refactor: Move last commit's refactor back to AgentAssetTransactionsManager
...
* Push asset update (invoked when clothing is altered) down into AgentAssetTransactions from Scene.Inventory.cs to join others
* I've tested that clothing creation and update still works, but please let me know if it suddently breaks for you.
* Add/correct comments
2008-02-13 00:30:51 +00:00
Justin Clarke Casey
2018cf312b
Refactor: factor a method out of AgentAssetTransactionsManager
2008-02-12 22:41:57 +00:00
Justin Clarke Casey
6a3455a98c
* Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and align classes with file names
...
* Small amount of ndoc
* This will probably require a prebuild and nant clean
2008-02-12 18:15:54 +00:00
Teravus Ovares
49a6ac300f
* This fixes the object edit box's flipping checkboxes when you modify one of the permission masks or Locked status using the available checkboxes.
2008-02-12 15:47:37 +00:00
lbsa71
d79633b7c7
* various minuscule code convention conformance fixes
2008-02-12 11:21:23 +00:00
Teravus Ovares
e5ede36f0c
* Physical prim cross borders and continue from where the left off on the other side now, assuming the region on the other side has physical prim enabled.
2008-02-12 07:32:32 +00:00
Teravus Ovares
6e01769bcf
* A bunch of updates to make things more smooth.
...
** Sending the actual TimeDilation to the client now instead of the 62455 constant. The client is *supposed* to use that value to sync with the simulator. (actually sending ushort.maxvalue * TimeDilation)
** Disabling prim that inter-penetrate instead of just not attaching a joint
** Reduced prim spin a 'little' bit, but not *enough*
** Tweaked the TimeDilation algorithm to be closer to 1.0 by default and various changes to the sim stats reporter
** Created a .SetValues method to PhysicsVector so we can simply call the setvalues function instead of .x, .y, .z sets.
** Experimented with a .GetBytes Method on PhysicsActor to be able to use the LLVector3.FromBytes() method.
** Upped the Inter-penetration depth to 0.25 instead of .08.
2008-02-12 04:27:20 +00:00
Teravus Ovares
c926962862
* This resolves the null exceptions when a script is manipulating a physical object in ODE and you delete the object. The script is still running and trying to add force, but the object reference is null.
2008-02-12 00:01:55 +00:00
Teravus Ovares
f603e57e9a
* Added PhysicsScene.Dispose()
...
* In ODE, disposing of all of the ODE objects and the ODE World to reclaim memory when the simulator restarts.
2008-02-11 22:54:51 +00:00
Justin Clarke Casey
7647239f32
Tiny change to print out a warning in a situation which almost guaranteeably never occurs anyway
2008-02-11 21:58:58 +00:00
Tedd Hansen
d1e0b642f4
* Renamed and moved avatar appearance config keys. Everyone who has appearance persistence needs to set new params for it (check OpenSim.ini.example)
...
New keys "appearance_persist" and "appearance_connection_string" are now under [Startup].
* Reorganized OpenSim.ini slightly
2008-02-11 18:04:12 +00:00
lbsa71
e399141dfb
* Added some connection debugging
2008-02-11 14:09:35 +00:00
lbsa71
c927928245
* some refactoring on permissions
...
* temporary re-introduced the weird 'flip-back' behaviour, but debugging it; will remove it if I don't find anything.
2008-02-11 13:26:55 +00:00
Teravus Ovares
e6453d9b9d
* Changed child_get_tasks to see_into_this_sim_from_neighbor.
...
* Turned on see_into_this_sim_from_neighbor by default.
* Fix Race Condition with parts being added to a group while the simulator is starting up.
2008-02-11 05:19:54 +00:00
Teravus Ovares
a56664cf59
* um, Prim crossings? Experimental.
...
* Backup your database just in case.
2008-02-11 01:43:54 +00:00
Dalien Talbot
c935b308e6
The very beginnings of attachments (no detachments! :)
2008-02-10 22:23:11 +00:00
Teravus Ovares
38f0615ffe
* This updates adds locking capability. Thanks, lbsa71 for pointing out my bitmasking error of the objectflags! It's still a little bit wonky when you check the checkbox, however it 'takes' and doesn't break anything.
2008-02-10 21:27:32 +00:00
Tedd Hansen
0756e01475
Removed some ScriptEngine config debugging.
...
Added experimental console command to:
* unload module (note: module probably doesn't support it)
* load module
Not visible in help (needs testing first).
2008-02-10 19:03:38 +00:00
Teravus Ovares
b4a19a4fb4
* Added support for delinking individual prim from a linkset.
2008-02-10 18:56:34 +00:00
lbsa71
e0424254bd
* Refactored permissions handling to extract info out of permisisons block in ClientView
...
* Changed some uint constants to Enum values
2008-02-10 14:27:21 +00:00
Teravus Ovares
8d37e91454
* Adding more broken objectflags to the list here. Touch was also broken. It might be smarter to just rebuild the whole objectflags before sending it to the client >.<
2008-02-10 12:44:36 +00:00
Teravus Ovares
85a9834ed8
* A lot of ugly permissions updates.
...
** Created SendFullUpdateToAllClientsExcept(LLUUID) so that permission updates /appear/ to apply immediately
** Separated out the ObjectFlags and the Permission Flags. They're related but not the same
** Added a hack routine to add *back* the objectflags to the client flags because the client hates the way we're doing object permissions
** Updated the clientflags routine to properly tell the client when they can't edit admin objects (objects owned by the sim administrator) even when they're an estate manager(why? >.< argh!)
** Fixed a null sim administrator/estate manager/user from causing permissions to return false even when it should return true.
** Re-added ObjectModify hack to allow collaboration with the allow anyone to move checkbox until we get group permissions done.
2008-02-10 10:55:57 +00:00
Jeff Ames
e207284fef
Clean up logging calls using String.Format explicitly
2008-02-10 01:57:59 +00:00
Teravus Ovares
d2e66872ed
*Neb try this update. It might fix it.. it might also cause no parcel to be sent.
2008-02-09 22:05:00 +00:00
lbsa71
0b0bb28fd5
* added count of texture data bytes and asset bytes
2008-02-09 21:50:45 +00:00
Teravus Ovares
07d0f558c4
* Fixed nebadon's UserServer crash bug from yesterday.
...
* Made Estate tools work for estate managers without needing to request admin status First
* Added code to make the Simulator version to be reported in the About box of the client
2008-02-09 07:53:01 +00:00
Justin Clarke Casey
a50a8376d6
* In the most basic situations, ClientView and ScenePresence no longer leak memory
...
* However, I'm no longer sure they were even a big contributory factor (to this particular leak, there are other causes of other leaks). I need better measurement techniques
* Removed most of my debugging gawp
2008-02-09 01:37:53 +00:00
Justin Clarke Casey
2dc94870aa
Mostly debugging verbosity which I shall very shortly comment out.
...
Just want to try this out on windows quickly.
2008-02-09 00:14:34 +00:00
Justin Clarke Casey
f05f583613
Still chasing logout memory leak. Putting in small changes and temporary light verbosity to this end
2008-02-08 22:39:08 +00:00
Justin Clarke Casey
e6cd420f19
refactor - remove unused m_children from EntityBase
2008-02-08 20:11:45 +00:00
Justin Clarke Casey
47353ffe48
Minor refactoring
2008-02-08 19:56:49 +00:00
Justin Clarke Casey
9d95f9bcf4
Minor ScenePresence related refactoring
2008-02-08 19:53:18 +00:00
Adam Frisby
a637473f80
* Adding console spam to help track 'The Steve Bug'.
2008-02-08 17:49:53 +00:00
Sean Dague
7b4fb3b8bc
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Attached is a patch for Mantis 25 - this fixes the problem of not having a
touch_start happen for all prims in a linked group. So, with this, large
builds can now have a single script in the base prim and it will run when
any prim in the linked build is touched. The problem was that the
objectgrab event was not being propagated to all the prims in the group.
2008-02-08 16:09:24 +00:00
MW
5a63047144
small bit of refactoring,
2008-02-08 15:07:29 +00:00
Teravus Ovares
1ff4711cfb
* Fix: Send Parcel data on region crossing.
2008-02-08 03:20:11 +00:00
Teravus Ovares
dba1f476c9
* Fixed negative child agents in the sim stats.
2008-02-07 08:28:48 +00:00
Teravus Ovares
3674257095
* This update contains a bucket-full of network optimizations.
...
* ParcelProperties are sent only when needed instead of on any movement
* Terse Updates and other temporary data packets are marked unreliable
* After a certain amount of users, the sim actually sends updates on things less
* Experimental
* Tested to 68 avatar with pCampBot (And it's surprising what actually causes the most lag.. the text chat!)
2008-02-07 08:15:38 +00:00
Teravus Ovares
0e771c8d39
* didn't save :P so, this is the other half to my last commit
2008-02-07 06:11:02 +00:00
Teravus Ovares
1b8e89751a
* Added the Scripted objectflag if there is a script running in a prim. Remove the flag if you delete all of the scripts in the object.
2008-02-07 01:52:39 +00:00
Justin Clarke Casey
548bbc97e5
* Chasing down memory leak where memory used by a client is not returned on client logout
...
* This code may or may not be on the right track, but I want to save my work so far.
2008-02-06 20:34:18 +00:00
Adam Frisby
a37eb62047
* Added debug message to try track down Mantis#305.
2008-02-06 14:39:25 +00:00
Jeff Ames
3b42b5f098
Consolidated LoadAnims and AvatarAnimations constructor.
...
Fixes locking issues with Animations in ScenePresence (bug #324 )
2008-02-06 10:19:30 +00:00
Teravus Ovares
530d24da14
* Fixed script count incrementer. Was decrementing but only incrementing when a script was requested by UUID
2008-02-06 10:11:46 +00:00
Teravus Ovares
d842699ef3
* Put the script run limiter on the SceneObjectPart as otherwise you can drop scripts in prim and they'll still run with scripts disabled.
2008-02-06 09:53:59 +00:00
Teravus Ovares
9d6ea497e2
* Added the ability to start and stop all scripts in the simulator using the debug tab on the estate tools. This along with the disable physics via the debug tab are persistant across reboots. That means that if it's disabled when you shut down the simulator, the simulator will come up again when you start it up without loading the scripts. Turning them back on is as simple as unchecking 'disable scripts' in the debug tab of the estate tools.
2008-02-06 09:38:14 +00:00
Teravus Ovares
9cd9e90e7f
* Added Active Scripts to report the number of scripts running to Sim Stats
...
* Added Script Performance to report the number of functions run per second to Sim Stats.
* Removed a few warnings (@.@ up to 50 now)
2008-02-06 08:03:22 +00:00
Jeff Ames
6ed5283bc0
Converted logging to use log4net.
...
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
MW
542cd417c8
Small refactoring on Terrain Update sending, so that other code can force terrain updates to be sent to clients.
2008-02-05 15:03:08 +00:00
Teravus Ovares
ca5aadfbff
* Refactored the sound calls to SceneObjectPart
...
* Fixed a few bugs
* Wrote an example module to make certain event systems more mature.
2008-02-05 05:26:18 +00:00
Jeff Ames
99844ee4c0
Added copyright statements.
2008-02-05 03:20:51 +00:00
MW
755ad9e3e0
First part of avatar persistence, currently only really works in standalone mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed.
...
To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure).
This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database.
But the work to move the code to one of the grid servers shouldn't be too much.
2008-02-04 12:04:02 +00:00
Adam Frisby
6fbc64af5e
* Whole buncha stuff.
2008-02-04 10:39:30 +00:00
Adam Frisby
760ece2595
* Chat Message format patch from kinoc ( #443 ) Thanks!
2008-02-04 10:23:13 +00:00
Teravus Ovares
b0c6baaeb0
* Adding the PhysicsCamperBot load testing app to the SVN in it's own folder. You'll have to build it separately to take advantage of it. *read the Readme file*. The bots created by this application roam around amusingly to simulate load.
...
* Be smart, Don't use this on a public grid, lest you get banned permanently.
2008-02-03 04:13:46 +00:00
alondria
742ed9537d
Implements LSL function llDialog().
...
The ScriptDialogReply packet handler is a bit of a hack job. It is currently handled similar to ChatFromViewer, which will trigger the listen() event, however this is not exactly how LL's implementation works and will/can be fixed up later.
2008-02-02 22:53:01 +00:00
Teravus Ovares
7476b26ae7
* Added a way to temporarily disable physics using the estate tools
...
* Added a method for Tedd to hook to in scene to disable the Scripting engine that currently says, [TOTEDD] Here is the method to trigger disabling of the scripting engine.
2008-02-02 17:43:21 +00:00
Teravus Ovares
f26cdfd057
* Fixed llSetTextureAnim to respect rate and Length and Start
2008-02-02 16:42:46 +00:00
Teravus Ovares
2d6c21e8fc
* Added Full support for llSetTextureAnim. To ckrinke: Let the fountains of Wright Plaza flow!
...
* Fixed another bug in LibSL. This is the same version, as before just with a bug fix.
2008-02-02 08:11:14 +00:00
Teravus Ovares
d4f32649cd
* Committing some untested stuff regarding texture animations. This won't break anything, but the llSetTextureAnim function is completely untested.. (though it may be functional once the script engine works again)
2008-02-02 03:57:57 +00:00
Charles Krinke
a9b69f3880
Thank you very much, Kinoc for : Moved the Listener loop try/catch to a better position.
...
Uses the IRC nick as the default when user location cannot be determined.
2008-02-02 00:47:28 +00:00
Charles Krinke
8a4e8a8e31
Thank you, Kinoc for the ChatModule.cs updates.
2008-02-01 22:15:40 +00:00
Teravus Ovares
bec71977ab
* Added more supported feature to particlesystems. While this appears to have a libsl update... it's really a fix to the libsl version we're already using because of a bug in the particlesystem implementation
...
* Added two new simstat counters in the simstat enum for the RCCS. (I'll find something cool to put in them)
* fixed a time waster in ODEPlugin.cs
2008-02-01 04:22:20 +00:00
Sean Dague
61ed12c4d8
revert last IRC bridge changes as this broke chat on my test environment.
...
Going to sift through the diff later to sort out what the root cause is here.
2008-01-31 17:15:41 +00:00
lbsa71
f72b834b25
* setting some readonlies
2008-01-31 10:56:40 +00:00
Teravus Ovares
c4687116ad
* Implemented grab and throw in ODE. It's a little strong still so toss gently at first to test the waters or you'll lose prim to the pit at the edge of the sim. Make sure the object is physical before trying to toss it or it'll just move to the new location.
2008-01-29 15:10:18 +00:00
Teravus Ovares
da0fa4253b
Thanks kinoc for your improved IRC Gateway patch as referenced in mantis issue 390.
2008-01-29 04:35:01 +00:00
Teravus Ovares
5e36feada2
* Mostly ODE update. Things are a bit more behaved then the last experimental update.
2008-01-28 03:25:02 +00:00
Teravus Ovares
58106926bb
* Added a try/catch handler around childdataupdates because the enumeration is prone to modification when logging on. These can be safely ignored because the data gets old fast and new ones get generated somewhat quickly.
2008-01-26 17:00:35 +00:00
Teravus Ovares
f96d6ea2cd
Implemented a suggestion from Mic Bowman regarding border crossing and SignificantClientMovement.
2008-01-25 18:12:08 +00:00
Brian McBee
90b35beee7
Another try at fixing the Animations problem on region crossing.
2008-01-24 02:36:01 +00:00
Teravus Ovares
f0811e4800
* This update updates ODE to again use the AMotor to keep the avatar upright instead of the 'avatar wobble' This also uses a hack to detect debian and change the force applied by the AMotor to a different value for Debian. The intent of this all is to get the avatar to stand up in Debian with the AMotor.
2008-01-23 23:57:54 +00:00
Teravus Ovares
09a616e1ea
* Added ReadEtcIssue to Util
...
* If you have Debian running, you should get a platform line that says, 'Found Debian!' when starting up your sim.
* If someone running Debian will confirm this does occur, that would be most helpful.
2008-01-23 23:32:19 +00:00
Teravus Ovares
adf05e682e
* One more try at specifically identifying Debian from the code.
...
* There's 3 platform lines now. Would someone running debian and/or Fedora core please try this revision out and send me the three [PLATFORM] lines?
2008-01-23 22:30:12 +00:00
Teravus Ovares
6874beff52
* When Scene loads, added a platform string print out for testing purposes. Anyone on Debian want to run this revision and send me back the two platform lines? It would be helpful.
2008-01-23 22:07:48 +00:00
Justin Clarke Casey
0325e6ee6a
* Library scripts can now be dragged into prims
...
* Unfortunately, they show us as non modify, though they will run
* We're probably hitting unimplement permissions stuff
2008-01-23 17:52:13 +00:00
lbsa71
bc88f90a6e
* I just love doing these substantial contributions.
2008-01-22 15:30:47 +00:00
lbsa71
8d0364e228
* changed nonsensical PermissionMask and ObjectFlags mixup; if this causes perms weirdness, let's all work together to find the real cause.
2008-01-22 15:07:30 +00:00
Teravus Ovares
5cf96daaf2
* Enabled dead region tracking for ChildAgentDataUpdates
...
** If the region fails 3 times, then ChildAgentDataUpdates no longer get sent to that region
* Enabled Child_Get_Tasks in grid mode.
* When Child_Get_Tasks is enabled on neighbor regions, the neighbor region uses the client's draw distance to send out prim. This is a lot less likely to flood the client now since the ChildAgentDataUpdate contains both the throttle settings and the draw distance. This means that with this enabled, you can see prim in other regions in grid mode. Very experimental.
2008-01-22 08:52:51 +00:00
Adam Frisby
7d61705c3c
* Renamed a number of TerrainEngine functions to conform naming standards better.
2008-01-22 00:33:05 +00:00
Teravus Ovares
3fe6b2280d
* Shutting down child agents properly in neighbor regions.
2008-01-21 23:04:42 +00:00
Brian McBee
274d958893
Another attempt to squash the animation bug. Wish I could get this to fail at will.
2008-01-21 22:44:55 +00:00
Justin Clarke Casey
dfb84d0d37
Change misleading placeholder error messages for attempts to persist non-script items to prim inventory
2008-01-21 22:34:14 +00:00
Brian McBee
288c4f4a44
Attempt to catch animation fubar on region crossing that causes client hang. Mantis 319.
2008-01-21 22:13:08 +00:00
Justin Clarke Casey
46fe6e2f97
* Scripts edited within a prim will now be persisted correctly
...
* On restart the latest save will be restored rather than the very first dragged in scripts
* Also add previously missed out database commits to separate prim inventory commit path (sigh)
2008-01-21 16:42:53 +00:00
Justin Clarke Casey
331aef2bae
Method rename
2008-01-21 15:17:09 +00:00
Justin Clarke Casey
504ae63669
* Make object persistence more granular by separating prim and prim inventory persistence
2008-01-21 15:06:49 +00:00
Teravus Ovares
a3851b3812
* Added hooks for logout to all IUserService and all that implement it.
...
* Added a Logout message with a name on the console
* Added a *fixme* message to figure out why the current agent session is null
* After updating you may notice that there's a login <user> and also a logout<user>
2008-01-20 23:08:50 +00:00
Brian McBee
59d7165f40
Graceful failure of teleport to unavailable regions might actually work now.
...
I blame all bugs on the age of my brain cells.
2008-01-20 21:11:55 +00:00
Brian McBee
730e2d6d7c
Check if remote simulator is up before attempting teleport. Teleport to a remote region should now fail gracefully if remote simulator is down.
2008-01-20 19:12:00 +00:00
Teravus Ovares
64392b4fac
* Found and fixed a situation where a neighbor region would come up send a notice and would be tagged as 'too far away' when it was right next door.
2008-01-20 05:51:38 +00:00
Tedd Hansen
cc635a651a
Most is back in its original state :) Hope I didn't break anything... *looks innocent*
2008-01-19 22:23:22 +00:00
Tedd Hansen
4b56e0e324
removed additional debugging, added temp mega-debugging to StoreLandObject
2008-01-19 21:33:39 +00:00
Tedd Hansen
9e9ba262f7
More debugging
2008-01-19 21:16:22 +00:00
Tedd Hansen
65ea917d34
Added exception handler to LandManager IncomingLandObjectFromStorage
2008-01-19 20:59:47 +00:00
Tedd Hansen
57ae2ce300
Getting closer to that crash .. :)
2008-01-19 20:50:54 +00:00
Tedd Hansen
4ab19afc0a
More debugging
2008-01-19 20:45:09 +00:00
Brian McBee
17c25796b8
checking return code may make failed teleports fail more gracefully.
2008-01-19 20:34:54 +00:00
Tedd Hansen
6353df5569
More debugging in hunt for that random startup crash
2008-01-19 19:49:08 +00:00
Tedd Hansen
8351894170
one more try before I leave
2008-01-19 11:25:08 +00:00
Tedd Hansen
8c5d93eff6
"compile before commit, AND check compile result" - forgot a ;
2008-01-19 11:19:02 +00:00
Tedd Hansen
ca772be0d4
Still hunting, added debug output
2008-01-19 11:17:12 +00:00
Tedd Hansen
d23222cbc6
Added block for scenario: global exception handler called in loop when exception happens inside global exception handler
...
Added InnerException to output
2008-01-18 23:45:16 +00:00
Tedd Hansen
ab5527dd53
Why don't you try compiling before you commit?
...
No, I don't need to. I'm good, my code never fails!
2008-01-18 20:55:14 +00:00
Tedd Hansen
0d8b8d340c
Nope, that didn't do it - trying lock on performParcelPrimCountUpdate instead
2008-01-18 20:52:53 +00:00
Tedd Hansen
8fbac08fb5
Added a mutex lock on loadAllLandObjectsFromStorage so maybe just MAYBE we can get rid of that annoying startup crash...
2008-01-18 20:46:53 +00:00
Justin Clarke Casey
8df4774830
On reflection, HasGroupChanged is more appropriate
2008-01-18 18:57:28 +00:00
Justin Clarke Casey
be50fa76ee
Change SOP.HasChanged to HasPrimChanged in preparation for further changes
2008-01-18 18:43:16 +00:00
lbsa71
dfda3dd4d7
* Fixed bug where 'taskOwnerId' would always be null in PermissionManager, hence always retuning false on GenericObjectPermission.
2008-01-18 14:01:41 +00:00
Teravus Ovares
ecd6c1110a
* ODE Physics update. fixed weird rotation of the avatar surrogate.
...
* Set the avatar's radius to 0.37m, I think this gives the *best* balance between spaces the avatar can fit, and the ability to climb steps
* Fixed a few things
* Tweaked some more
* Played with gravity (-9.8m/s)
2008-01-18 02:26:43 +00:00
Teravus Ovares
18c959df12
* Added llApplyImpulse in the global frame. The object must be physical before this'll do anything. Be careful with this function as it's easy to loose prim.
2008-01-17 14:59:05 +00:00
lbsa71
344b4d92f5
* added ForEachPart helper
...
* added SetOwnerId that... sets.. OwnerId... on all parts.
2008-01-17 09:32:02 +00:00
Teravus Ovares
c2863df49d
* Added and implemented the LSL changed event.
...
* An example changed event syntax is at: http://opensimulator.org/wiki/Changed_Event_Example
* You can use this to trigger actions in your script if someone sits on your object_rez
* You can use this to figure out all of the CHANGED_ constants except for CHANGED_REGION, CHANGED_TELEPORT, and CHANGED_ALLOW_DROP
2008-01-17 02:23:48 +00:00
Teravus Ovares
feba36aaf3
* Fixed standing up so that you're at the new position of the prim if you move the prim and then stand up!
...
* Enter llSetPos elevators and conveyors n' stuff.!
2008-01-16 22:53:49 +00:00
Justin Clarke Casey
b33da2538e
* Fix mantis 345 - it is now possible to duplicate prims directly in the region again without breakage
...
* This includes their inventories
* Also, this revision properly synchronizes prim inventory crud.
2008-01-16 20:27:12 +00:00
Teravus Ovares
c3061717d0
* Fixed a packet counting issue that I introduced
...
* Fixed a bunch of goofy math for calculating the sim stats counters
* Made most of the sim stats counters additive so it's easy to change the sim stats interval
* Changed the sim stats send interval to 3 seconds
2008-01-16 19:34:48 +00:00
Justin Clarke Casey
57519b6dba
* Store task inventory when an object is taken into agent inventory
...
* This means that you can take an object from a region and rez it somewhere else, with its inventory intact.
* As for earlier, at this stage only scripts can be placed in inventory
* This isn't an efficient implementation, a better one will probably need to come along soonish
2008-01-16 18:35:34 +00:00
MW
795a339af5
First part of changing prim's permission flags to use the correct enum (libsl PermissionMask)
2008-01-16 17:31:07 +00:00
Teravus Ovares
771ed747e5
* Slowed down the sim stats update to once every 5 seconds because the network accounting required it... with it being the lowest updated stat.
...
* Time dilation is off now.. because it's the additive of the 0.91 * 10 (adds a second) / 5( the number of seconds since the last update) which results in 0.41td as common
* Slowing down the network accounting update will probably fix the red issue.
2008-01-16 17:07:46 +00:00
Teravus Ovares
5dd741267e
* Added Agent Time, Pending Downloads, and made Agent Updates/Sec actually accurate.
...
* We're only missing, the script related sim stats counters and the Images time counter and the Pending Uploads counter. The rest of them are actually implemented now.
2008-01-16 05:48:40 +00:00
Teravus Ovares
5958192398
* Added Packets In/s, Packets Out/s and Current un_acked Packets to the SimStatsReporter
...
* This doesn't take into account the throttler, it just assumes the throttle limit isn't reached.
2008-01-16 03:33:46 +00:00
Teravus Ovares
314c554ed4
* Refactored the SimStatsReporter to reuse the same packet and packet blocks over and over again instead of creating 1 a second.
...
* Added frame Milliseconds, Physics Milliseconds and Other Milliseconds to the Sim Stats Reporter so we can start to figure out what the slowdowns are. (these were the most convenient to get and had just about no overhead.
2008-01-16 02:48:39 +00:00
Teravus Ovares
0a783e4442
* Added some comments to the linkset positioning code
2008-01-15 14:39:35 +00:00
Teravus Ovares
492e72b21a
* Delinking doesn't leave invisible physical objects behind anymore
2008-01-15 04:27:02 +00:00
Teravus Ovares
45e945616b
* Pass 2 of collidable (non physical) linksets
...
* Linkset status is now persistent
* Tweaked a physics child prim positioning hack to generate less database saves
* Re-factored physics object creation calls into ApplyPhysics. To create a new physics representation of an object or linkset, it's only necessary to call *group*.ApplyPhysics(bool m_physicalPrim). *lbsa has been waiting for this refactoring*
* We have collidable linksets now. (they don't become phantom anymore)
2008-01-15 04:14:27 +00:00
Adam Frisby
b25f9f322c
* Mother of all commits:
...
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-15 02:09:55 +00:00
Teravus Ovares
a522d7844b
* First pass at collidable linksets
...
* There will be bugs, you can count on that. To avoid them, set the linksets phantom
* After region restart, the linksets restore in a non collidable state.
* Linksets can but shouldn't be made physical with the physical checkbox or when you unlink them, they tend to explode.
* After creating a linkset, you have to move the linkset or set it phantom and not phantom for it to become collidable.
* There's a few ParentGroup references that need to be refactored.
2008-01-14 18:29:04 +00:00
Justin Clarke Casey
c9ad862aab
Remove unused SOG constructor
2008-01-14 15:46:42 +00:00
Tedd Hansen
6eaa9b4766
Anti-crash fix: Allow int (numbers without dot) when changing Estate terrain settings.
...
Also added exception handling if string->float conversion still should fail for some reason.
2008-01-13 16:40:33 +00:00
Teravus Ovares
d9e4533202
* Fixed an overflow in the land manager
...
* Did some goofy math undoing in the Sim Stats Reporter
* More reduction to the amount of calls per second to UnManaged ODE code
* Added a significant amount of comments to ODE
2008-01-13 07:14:54 +00:00
Charles Krinke
7d609ae56d
Thank you, Kinoc for adding: When accessing slower web sites or proxy services
...
300 msecs can be too slow and cause a timeout to occur. This is reported when
llHTTPRequest times out but may not be reported for other functions like
osSetDynamicTextureURL. This sets the time out to 30 seconds. It appears
that the value affects not just llHTTPRequest's.
2008-01-12 22:18:23 +00:00
Teravus Ovares
0518369e3a
*removed a goofy debug line left in
2008-01-12 04:32:27 +00:00
Teravus Ovares
a3972257c8
* Added some of the finer control points to POS such as
...
** jumping
** crouching
** landing on prim
2008-01-12 04:29:36 +00:00
Teravus Ovares
cbcba1f026
* Unmoderated the ODE FPS in the sim stats. Decided to do that after Andrew Linden insisted that Havok was running at 45fps internally.
...
* Set the SimStats packet as unreliable (so we don't require an ack and do resends on it)
2008-01-12 04:12:38 +00:00
Adam Frisby
bf8ffc7a0c
* For your enjoyment, some RAdmin improvements, namely a new LoadHeightmap method.
2008-01-12 03:17:28 +00:00
Jeff Ames
ef674acc24
Fix some warnings under mono.
2008-01-11 21:08:37 +00:00
Justin Clarke Casey
82d7fb7522
* Exprimental prim inventory persistence can now be enabled by users.
...
* This can be turned on by setting storage_prim_inventories_experimental = True in OpenSim.ini
* Implemented for sqlite and MySQL, no MSSQL implementation yet
* As an experimental feature, there is no guarantee that this won't take down your region or that the db representation won't need to change.
* More (and continuing) details at http://opensimulator.org/wiki/OpenSim:Prim_Inventory_Persistence
2008-01-11 18:44:53 +00:00
Justin Clarke Casey
48be04df1d
* Do database implementation for prim inventory items in mysql
...
* Properly clean up items when a region object is deleted
* Update persisted prim when an inventory script is changed
* No user functionality yet
2008-01-11 17:00:21 +00:00
Justin Clarke Casey
c7b25967e7
Turn off accidental hardcoding
2008-01-11 14:56:45 +00:00
Justin Clarke Casey
1e981a7c1c
Switch prim items type representation to use int rather than strings.
2008-01-11 14:55:27 +00:00
Justin Clarke Casey
b0904f471d
Fix r2959 - last letter was being sliced off region prim renames
2008-01-10 01:39:49 +00:00
Justin Clarke Casey
796ae57bea
Prim inventory script saving phase 2.
...
* It is now possible to edit and save scripts directly from prim inventories
* On saving, the script will be restarted in the region
* Doesn't appear that it's yet possible to drag inventory contents back to agent inventory. Not quite sure why this is yet - the perms all look very permissive.
2008-01-09 15:46:45 +00:00
Sean Dague
ebba112379
make Stopped a property of the SceneObjectPart instead of in the
...
database code, so this is a shared concept.
2008-01-08 21:56:52 +00:00
lbsa71
b9dcb24175
* Removed unneeded and uneeded debug message
2008-01-08 20:28:31 +00:00
Justin Clarke Casey
0428701da7
Minor prim inventory method refactoring
2008-01-07 22:32:10 +00:00
Justin Clarke Casey
348b79d801
Trigger persistence of the scripts in a prim's inventory when that inventory is changed/updated/deleted (before the trigger only happened if the prim was moved).
...
This is still development code - experimental prim inventory persistence cannot yet be enabled by users.
2008-01-07 22:11:26 +00:00
Justin Clarke Casey
eadfbf3ba2
Very minor refactoring. Remove unused prim inventory bool returns for now
2008-01-07 03:09:00 +00:00
Justin Clarke Casey
6b4b041902
Refactor Scene.Inventory.RezScript to use newer script starting code
2008-01-07 03:02:13 +00:00
Justin Clarke Casey
95c9a9939e
Commenting out InnerScene.SceneObjects for now since it was unpopulated and not used by active code (as far as I can see), so a source of confusion. All
...
current code uses the Entities dictionary
2008-01-07 02:33:22 +00:00
Justin Clarke Casey
3e75dede1b
Persistent prim inventory phase 5. Restart scripts contained in persisted prims on region start.
...
No user functionality exposed yet - no ini switch to enable persistence or restore. A bit more initial work to do.
2008-01-07 02:12:06 +00:00
Justin Clarke Casey
286802558e
Factor out inventory code in SceneObjectGroup into seperate class.
...
As was true for the previous update, this might require nant users to re-run prebuild.[sh|bat]
2008-01-06 22:55:45 +00:00
Justin Clarke Casey
35a63c64f6
Factor out inventory related code in SceneObjectPart into separate class
2008-01-06 22:43:45 +00:00
Justin Clarke Casey
679923ec87
Factor out TaskInventoryItem
2008-01-06 01:56:29 +00:00
Justin Clarke Casey
7cedb09869
Prim inventory phase 4. Properly recover the prim folder ID from storage. Scripts now show up in prim inventories after region restart.
...
Probably doesn't yet work for any items other than scripts.
Still some work to do. No user functionality exposed. Not yet user tieable into normal code.
2008-01-06 01:16:06 +00:00
Justin Clarke Casey
70361bceb8
Persistent prim inventory phase 3. Now retrieving prim item data from persistent store, but this doesn't yet show up for the client. Still no user functionality and not
...
enabled
in normal code.
2008-01-05 22:48:36 +00:00
Teravus Ovares
9ea4c03b8f
* Hiding CompletePingChecks and UseCircuitCode messages.. as the packets are most definitely handled.
...
* My guess is someone was using them to diagnose a problem and they've been in the console output ever since.
2008-01-05 22:06:24 +00:00
Teravus Ovares
1ccf80f8d2
* Re-enabling parcel prim count updates, as it doesn't cause errors on the console and border crossing problems anymore
2008-01-05 21:47:38 +00:00
Tedd Hansen
1dc107c2d7
Log instead of crash on some specific unknown startup bug I'm getting
2008-01-05 01:58:18 +00:00
Teravus Ovares
f0b149dfc1
* Fixed situation where sometimes your avatar tries to land and gets 'put' 80 meters into the air immediately.
2008-01-04 04:09:18 +00:00
Teravus Ovares
960b7e93b1
* Added the ability for estate managers to use the magic secondlife blue card of death to send out region and estate messages.
...
* Switched over Region Restart notices to the magic secondlife blue card of death method.
2008-01-04 02:24:05 +00:00
Teravus Ovares
42e129cb33
* Fixing a the time clock issue on Sim Restart messages. See Mantis 287
2008-01-04 00:40:19 +00:00
Teravus Ovares
0c555883d5
* Made covenant changes made in the estate tools persist across sim restarts.
2008-01-03 23:46:43 +00:00
lbsa71
1337a3973d
* changed form Debug to Verbose on Texture sending
2008-01-03 14:08:51 +00:00
lbsa71
7b062cefa2
* Added removal of TextureSenders and UserTextureDownloadService on agent leaving region.
2008-01-03 14:01:53 +00:00
Jeff Ames
119f9b0d80
Set svn:eol-style.
2008-01-03 13:44:52 +00:00
lbsa71
1d098aa84c
* Some work on TextureDownloadModule
...
* fixed Cancel bug
2008-01-03 13:40:38 +00:00
Justin Clarke Casey
968649aec9
Fix mantis 280 - sim crashes when a prim is deleted.
2008-01-03 01:30:25 +00:00
Johan Berntsson
047aba2067
I have fixed the ZeroDecodeCommand bug, and restored my packet recycling code. Let me know by IRC if there are other problems
2008-01-03 00:59:12 +00:00
Justin Clarke Casey
78ba9cebc5
Minor refactoring to expose PrimInventory from SceneObjectPart
2008-01-02 22:05:10 +00:00
Teravus Ovares
a72d33d3a5
* Added the ability for Region Owners to add and remove estate managers using the estate tools.
...
* Estate managers get abilities like the region owner for now.
* Estate managers, you'll need to request server admin status to be able to activate the estate tools dialog (haven't figured out why this is the case yet)
* Switching from grid mode to standalone or switching grids will make the stored Estate Manager UUIDs not match up with a valid account so you'll see (waiting) listed there instead of a user until you reset them or go back to the grid you added them from.
2008-01-02 20:25:47 +00:00
Teravus Ovares
3a83be1721
* Did a bit of estate work. Added some fields to EstateSettings.xml for estate managers.
...
* You can put UUIDs in those fields to give other users some ability to help manage a sim you own.
* Also started decoding the EstateOwnerMessage packet convolutions.
2008-01-02 10:06:43 +00:00
lbsa71
4b4ee98070
* Trying to address TextureSender issues
...
* The BlockingQueue exposes Contains so we can make sure we don't add a TextureSender to the queue if there's already one present
* introduced some TryGetValue and various code convention stuff
2008-01-02 09:07:11 +00:00
Teravus Ovares
2f43578386
* Re-wrote IM that sends the friend request so that it displays the name of the person who sent the request, or (hippos) if it can't find it.
2008-01-02 03:05:18 +00:00
Teravus Ovares
b4c9b6bd19
* You can add and remove a friend in standalone now within the same simulator. It saves.
...
* You can add and remove a friend in grid mode now within the same simulator. It doesn't save yet.
* I got rid of Mr. OpenSim as a friend.. he bothers me /:b...
2008-01-01 06:12:04 +00:00
Teravus Ovares
373d801c40
* Added graceful remote script server connection error handling
...
* Removed a friends module test that I had.
2007-12-30 23:56:29 +00:00
Teravus Ovares
57a1132585
* Fixed References in Prebuild so the project compiles
...
* Added Friends List methods to IUserData interface
* Created Stub friendslist Database Methods
2007-12-30 23:29:44 +00:00
lbsa71
14a191b285
* re-applied AddNewPrim refactoring... third time now...
2007-12-30 16:00:55 +00:00
Teravus Ovares
d430bc62a9
* Patch from Alondria that re-fixes llSetColor
2007-12-30 07:06:14 +00:00
Teravus Ovares
32438ab1b9
* This update rolls back the packetpool and LibSL changes. Please retest and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version.
...
* This update also fixes scripting and some weird physics reactions
2007-12-30 06:18:17 +00:00
Teravus Ovares
14368d9a73
* Applied Melanie's same instance IM fix. This will make IMs work within the same OpenSim Instance.
2007-12-30 04:12:08 +00:00
lbsa71
3e8df2b868
* Extracted out old RezObject method placing at absolute pos without the raytracing
...
* Ignored some bins
2007-12-29 19:53:07 +00:00
Teravus Ovares
0631151e08
* Patch from Melanie provides Util.CleanString and uses it on the prim name and description. Thanks Melanie.
2007-12-28 23:19:03 +00:00
Teravus Ovares
7685f9c90f
* applied melanie's matnis patch #255 . Thanks Melanie.
2007-12-28 20:48:27 +00:00
Teravus Ovares
f64d94f8ca
* Rezzing items from Inventory on top of other prim rezzes them 0.5 meters above the 'hit' prim instead of buried in the ground somewhere.
...
* Various Refactorings
2007-12-28 14:24:14 +00:00
lbsa71
5b720b4b39
* Made a copy of parts before updating to avoid dictionary updated exceptions on big updates
...
* The part now uses the byte[] TextureEntry instead of the object
2007-12-28 13:11:49 +00:00
lbsa71
6a02900c8a
* redid the AddNewPrim refactoring as that got lost in r2855
2007-12-28 09:17:01 +00:00
Adam Johnson
79496381fc
Patch from Johan: LibSL updated to the latest revision (1568) and all packets are now
...
recycled to improve performance and memory usage.
2007-12-28 08:51:39 +00:00
lbsa71
8cd72beb86
* Moved PrimitiveBaseShape subclasses into factory methods - the subclassing scheme won't hold for serialization
...
* Extracted out the 'old' AddNewPrimitive that places an object at an exact pos, without the raytracing
2007-12-28 08:34:38 +00:00
Teravus Ovares
67bbed8202
* Added ability to create new prim on existing prim (rezzing prim from inventory on other prim coming soon). No more new prim buried in the ground by accident.
...
* The prim are at the absolute position of the prim you rezzed it on top of + (0,0,0.5) for now.
2007-12-28 05:25:21 +00:00
Charles Krinke
9b36c6c3ad
Add missing "System." to System.NullReferenceException
...
so Linux build works again.
2007-12-28 03:45:19 +00:00
lbsa71
efd90b56b7
* Optimized usings
...
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
Teravus Ovares
d82ed9a8c5
* Fixed MonoSQLite Update Table routine
...
* Charles, this will fix the red issue.
* Same situation, the first run updates the tables (and gives you a ton of red errors), the second run and everything works as expected.
2007-12-27 18:49:16 +00:00
lbsa71
87e2a694e2
* AssetServerBase: _ProcessRequest is now called GetAsset
...
* PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility.
* Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
2007-12-27 14:00:30 +00:00
Teravus Ovares
dfbc6e101e
* Fixed the matching logic error on the LLQuat to axiom quat :P
2007-12-27 06:09:28 +00:00
Teravus Ovares
da66f3eac8
* fixed a logic error in the receiving end of the prim load for the sit target
2007-12-27 05:52:24 +00:00
Teravus Ovares
cbf5ff4a93
* Added Sit Target persistence over sim restarts for mySQL and MonoSQLite.
...
* SAVE YOUR PRIM DATA, THIS MAKES CHANGES TO YOUR PRIMS TABLE
* The first time you run OpenSim after updating past this revision, you'll see a lot of Errors. Be calm, shutdown the simulator, and start it again and your prims table will be updated.
* MSSQL added the fields to the Initial CreateTable section, however, you'll need to add the fields to your prims table if you want it to persist.
2007-12-27 05:37:48 +00:00
Teravus Ovares
87d55443d3
* Added slightly better object sit handling
...
* Added sit handling for sit targets
* Implemented llSitTarget()
* Implemented llAvatarOnSitTarget()
* Sit targets do not persist sim restart.
2007-12-27 03:25:00 +00:00
Justin Clarke Casey
54d9fbc0fe
Prim inventory persistence phase 1: Creation of preliminary table in sqlite.
...
No user functionality yet. This code is not turned on, so there is no possibility
of disruption to existing databases.
2007-12-27 00:53:13 +00:00
Teravus Ovares
9f2fb5ba70
* Play the 'landing' animation when landing and minimize the collision protection offset so the animations match up.
2007-12-26 22:26:45 +00:00
Justin Clarke Casey
01de4bbfbd
If a prim is persisted in the region, scripts dragged into its inventory after a server restart would not appear (though the script they contain would still be invoked). This
...
change fixes that problem.
2007-12-26 20:21:06 +00:00
Teravus Ovares
f852b64555
* This update includes a wide range of changes to the ODEPlugin for avatar movement, including:
...
** - avatar can navigate stairs better now
** - avatar can land without shooting into the air
** - excessive collisions with the ground are tempered somewhat and should only shoot the avatar up 20m instead of 200m
** - Try Catched a TextureDownloadModule.cs array out of bounds error with a report that causes it not to crash the sim, however it reports a few important items for tracking it down.
2007-12-26 17:16:47 +00:00
Teravus Ovares
b7170215ba
* Patch by Melanie to fix CreateSelected
2007-12-26 04:36:28 +00:00
Teravus Ovares
98f4a568ad
* Removed a debug message I left in there
...
* Added a few more comments.
2007-12-26 01:06:18 +00:00
Teravus Ovares
e008c3e4a9
* Added the ability to land automatically on prim by pressing the page down button when over them and colliding
...
* Reverted the avatar portion of the inter-penetration physics scene explosion management, it needs more work.
2007-12-26 00:57:37 +00:00
Justin Clarke Casey
e9efd5bee2
Small non-functional inventory changes
2007-12-25 18:11:56 +00:00
Justin Clarke Casey
280a5cba8b
Prim inventory script saving phase 1. Create necessary CAPS structures for correctly accepting prim inventory script updates.
...
No user functionality yet.
Refactoring to follow.
2007-12-24 22:35:01 +00:00
Charles Krinke
fa2495ae6b
Again, great thanks to Alondria for:
...
Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(),
llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(),
llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(),
llWater(), llGetLocalRot(), and llGetAccel()
2007-12-24 21:16:32 +00:00
Charles Krinke
09651f298c
Added regionName to "far away" region report.
2007-12-24 17:26:28 +00:00
Teravus Ovares
b2903c4a8a
* Patch from Alondria - Added LLFunctions llGetMass(), llGetLandOwnerAt(), llGetVel(), llGround()
2007-12-23 13:14:56 +00:00
Charles Krinke
5cd6f235ce
Thank you, Alondria for:
...
Reverts the LSL Texture/Color functions back to the original code, allowing them to function again
2007-12-22 22:49:37 +00:00
Justin Clarke Casey
c470efea57
Make copying of scripts into prim inventories more reliable on the first attempt when the asset server is lagging by formalising the de facto polling.
...
This may not be the best solution in the long run, but should improve things for now.
This may also improve reliability when updating inventory item metadata (e.g. renaming an item) and in retrieving textures
for the main map view.
2007-12-22 19:48:01 +00:00
Justin Clarke Casey
ed0f8bd572
minor refactor
2007-12-22 16:45:44 +00:00
Justin Clarke Casey
e52c217e44
Put in some race revealing warning messages triggered when a user rezzes a script to prim inventory
2007-12-22 14:34:05 +00:00
Teravus Ovares
de32006f9a
* Added smoother handling of interpenetrating physical objects.
...
* Fixes:
* -- duplicating Active physical object causes objects to explode in opposite directions
* -- Rezzing objects too close to you avatar causes avatar to shoot around in odd directions
* Vanity
2007-12-22 05:43:34 +00:00
Justin Clarke Casey
1ac57290ae
Initial hookup of update task inventory event. No functionality yet.
2007-12-22 02:52:35 +00:00
mingchen
21e32196c7
*Fixed logic issue in LandManager that caused an 'invalid parcel' error to spew in the debug when land was selected
2007-12-21 21:04:27 +00:00
Teravus Ovares
a453672edb
* Remapped the Connection shutdown path.
...
* This fixes a *bunch* of Mantis bugs related to the following
* -- Neighbouring simulators not appearing after relog
* -- Login to simulator only to be logged off by simulator.
* -- ThreadAbort
* -- Unable to shutdown circuitCode: x
2007-12-21 16:55:03 +00:00
Teravus Ovares
6a51c3addd
* Fix for Mantis: 0000224
2007-12-21 15:11:59 +00:00
mingchen
169e176f47
*RemoteAdminPlugin can now be password protected. Add the password in the INI under [RemoteAdmin] with the name access_password
...
*Removed a few more unneeded exceptions in land that has been fixed
2007-12-21 03:34:51 +00:00
Teravus Ovares
9f3170b49f
* Update to send the parcel gathering error to a .Debug message.. so that a developer can see it in the environment, but it doesn't cause any adverse effects.
2007-12-21 03:16:42 +00:00
mingchen
37ea050886
*Removed some exceptions that were thrown in Land that is no longer needed.
2007-12-21 00:35:55 +00:00
mingchen
0e6915ae48
*Ban lines now work if they are enabled grid wide.
...
*Restricted lines just give you a friendly warning for now
2007-12-20 16:50:16 +00:00
Teravus Ovares
dcaea6cd50
* Cleaned up some code from an earlier commit
2007-12-20 15:42:53 +00:00
Teravus Ovares
2641f78a20
* Fixed a null NewPack error in ClientView.InPacket (object pool returning null objects?)
2007-12-20 14:44:59 +00:00
Teravus Ovares
8aae909412
* Added a configuration parameter on the Grid Server to disallow forceful banlists.
...
* Added a way for Grid based configuration parameters to (generally used in overriding functionality) to get to the regions on Registration.
2007-12-20 06:31:03 +00:00
Jeff Ames
be2ad79e52
Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532
2007-12-20 05:43:02 +00:00
mingchen
8d84156551
*Added event called after any movement is handled (OnClientMovement) - will be used for parcel banning goodness
2007-12-20 03:24:34 +00:00
mingchen
a596b7696a
*Made a much more network friendly method of ban and pass line sending
...
*Added an event that is triggered when an agent enters a new parcel
2007-12-20 02:36:27 +00:00
Jeff Ames
24bd5ad399
Added null check back into ModuleLoader.cs
2007-12-20 01:08:01 +00:00
Jeff Ames
4314b6115b
Stopped module loader from re-loading .dll once for every plugin found within it.
2007-12-19 10:06:56 +00:00
Jeff Ames
6702b03733
Misc. cleanup:
...
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
2007-12-19 08:44:25 +00:00
mingchen
bd16dddce5
*Added Ban Lines around parcels for banned avatars, but there is no actual blocking done yet.
...
*Made the OnSignificantClientMovement distance from .02 to .45 to make it easier on the server.
2007-12-19 04:28:54 +00:00
mingchen
30b7c047fa
*Removed Unneeded Debug I added in my last revison
...
*Fixed typo causing access lists not to be stored correctly in sqlite
2007-12-18 18:32:20 +00:00
mingchen
128f2b1e1b
*Parcels and their access lists now store over multiple sessions when the datastore is sqlite
2007-12-18 17:42:02 +00:00
Teravus Ovares
ccc8ffaaec
* Added Incomplete Handling of the RegionInfoRequest packet
...
* Added Incomplete Handling of the EstateCovenantRequest packet
* Added Incomplete Handling of the EstateOwnerMessageRequest.ChangeEstateCovenantid method
* Fixed a race condition with avatar animations
2007-12-18 12:08:34 +00:00
Adam Frisby
7948033565
* Removed redundant code in RestService.cs
...
* Removed unchecked TryParse, replaced with Parse as we were not checking for success and could lead to weirdness if an exception is ignored.
* Removed unused variable m_newAvatar
* Removed several unused try{}catch(Exception e){}'s.
* Added null assignment in simpleapp to prevent warning.
2007-12-18 08:41:23 +00:00
lbsa71
03635aa336
* Renamed AgentWearable to AvatarWearable
...
* Made Terrain texture temp (it's re-created on every run)
2007-12-18 07:57:06 +00:00
Brian McBee
1e92cfa475
textures that fit in one packet expect the packet number to be 1. You clear texture should now work.
2007-12-18 04:04:42 +00:00
Teravus Ovares
badcbd4bea
* Fixed a potential race condition with adding Caps handlers
2007-12-18 01:49:21 +00:00
Teravus Ovares
38fe0dfa90
* Added a Verbose and Debug error to border crossing so that this can be diagnosed further.
2007-12-18 01:45:39 +00:00
Teravus Ovares
afe63faa2e
* Fix for mantis 0000040 After client logout remote host closed connection on Simulator makes sim unuseable->'Closed Connection Called'
...
* I've fundamentally changed a few things, so this is experimental
* The routine that I used needs to be tested on Linux. I don't expect it to cause a problem, but hey, it might.
* Child agents are still not logged off properly, so when the first set time out, the second set get logged off also, on the second log in if the second login is initiated before the first one fully times out.
2007-12-18 00:34:42 +00:00
Teravus Ovares
adf7afb606
* Turned all instances of ForEach loops in ClientManager into Local Arrays.
...
* Added Locking while the Copy is taking place.
* Added an error message to describe what's actually happening.
2007-12-17 20:24:49 +00:00
Sean Dague
f9540e3f11
make it so prims don't relay into IRC
2007-12-17 19:43:48 +00:00
Sean Dague
fac91d0ff5
ignore Primitive for the IRC relay
2007-12-17 17:28:59 +00:00
Charles Krinke
a990c64698
Thank you to Kiryu for a patch to fix an out of Sync
...
error in Scene. Affects 6 files and is Mantis#201
2007-12-17 16:41:28 +00:00
mingchen
d845da215f
*Land has now been linked to the StorageManager. Next step is to fill in the functions for the different datastore interfaces for Land Objects.
2007-12-17 03:49:13 +00:00
Charles Krinke
8e8c26acac
Again, thanks to Alondria for:
...
Added: LinkNum to SceneObjectPart
Added: Bunch-o settings of LinkNum in SceneObjectGroup
Added: llGetNumberOfPrims()
Added: llGetLinkNumber()
Added: llGetLinkKey()
Added: llGetLinkName() (and change to string return type)
2007-12-17 02:30:03 +00:00
mingchen
bd6720b349
*Access/Ban list now copies correctly to a new parcel after a subdivision occurs.
2007-12-16 20:34:08 +00:00
mingchen
e2ed1a4e1f
*Adding and Removing Avatars from the Access/Ban List for a parcel now works, but the actual ban lines, etc are not done.
2007-12-16 19:53:27 +00:00
Teravus Ovares
e4276f566d
* Beating on the head that is terrain editing.
...
* SelectAABB + Radio Button Action + 'brush size' + Apply works now.
* There's something wrong with the byte for brush size that causes it to be unpredictable sometimes causing massive spikes. This appears to have always been this way, however it's more noticeable now that you can apply the effect to a selection of terrain.
2007-12-15 23:44:57 +00:00
Justin Clarke Casey
c63369017f
* Make inventory operations sync rather than async. This is to alleviate race conditions such as that in mantis #190
...
* Make inventory messages more verbose. Hopefully they aren't now too verbose
* This may resolve some grid instability but it's likely there's much more out there.
2007-12-15 19:42:23 +00:00
Teravus Ovares
e3dd15bef0
* Added support for multiple terrain blocks to be edited at the same time
...
* Now sending South and East cords to the terrain editor..
* No new functionality from a user perspective
* Programming wise, there's enough information to get the select based terrain editor working in an upcoming revision.
2007-12-15 17:10:12 +00:00
Brian McBee
8a8c89a0f3
Grid Inventory feature upgrade: renaming folders should now be correct, subfolders work, moving folders works.
...
Tested only in MYSQL, but may work in MSSQL and sqlite.
Probably not working in standalone mode.
2007-12-15 04:57:14 +00:00
Teravus Ovares
fa35101b71
* Tweaked the sim stats so that when a sim is catching up it reports on the slowdown and not the 'catching up'.
...
* Used the words 'googly moogly' in code. (always wanted to do that)
2007-12-14 22:08:02 +00:00
Teravus Ovares
a0d1496475
* Fixed a cause of an ODE 'invalid operation for locked space '
2007-12-14 17:32:13 +00:00
Jeff Ames
c65b2a38d8
Added copyright notice.
...
Added script (add-copyright.sh) to make doing this relatively painless.
2007-12-14 02:53:15 +00:00
Teravus Ovares
7fdfeb5830
* Added Active(physical) object count to the SimStatsReporter
2007-12-14 00:49:40 +00:00
Sean Dague
f773733fcb
From Michael Osias (IBM)
...
This patch makes some enhancements to the llRemoteData functions. The
module is now a shared module, and allows remote data channels to be
created among multiple regions in the same sim. The port is controlled
from the remoteDataPort property under the [Network] section in
OpenSim.ini. If this setting is not present or = 0, the module is
disabled and no port is opened. llRemoteData commands have not effect
when module is disabled.
2007-12-13 19:50:21 +00:00
Jeff Ames
fd09b22552
Enabled the sit_ground animation. The sit state is not properly set, but it looks okay, and doesn't seem to break anything. Just move around to stand up.
2007-12-13 19:44:47 +00:00
Jeff Ames
8338e4999f
Added placeholder for sitting on ground support. Doesn't work yet.
2007-12-13 18:59:39 +00:00
Jeff Ames
8d995a5a5d
Minor cleanup
2007-12-13 18:45:32 +00:00
lbsa71
1cf4278862
* Debugging Shape
...
* Adding namesetting to Create
2007-12-13 14:47:44 +00:00
Jeff Ames
83ca8bd178
Fix for #176 (... doesn't appear in chat bubbles). This also gets the viewer to handle starting/stopping of the typing animation.
2007-12-13 07:10:32 +00:00
Sean Dague
7625438ade
From Michael Osias (IBM)
...
This patch implements the llHttpRequest function via a region module,
HttpScriptsRequest. There were bits and peices in LSLLong_cmd_handler,
which I moved into the region module, and just check for completed
requests and dispatch the http_response callback event instead.
works for me as of r2674
2007-12-12 22:14:43 +00:00
Sean Dague
100fb6a0b1
remove another partial class, and map another class back to a real file
2007-12-12 20:45:39 +00:00
Teravus Ovares
5e6483f209
* In our quest for sim heartbeat stats, we're a touch closer to accurate object count on sim stats.
...
* Fixed a rare, but possible NullReferenceException
2007-12-12 18:03:37 +00:00
MW
8a2a6ad761
couple of small fixes.
2007-12-12 17:15:37 +00:00
Teravus Ovares
da7fd71fa2
* Fixed a catch error.
2007-12-12 14:13:19 +00:00
Teravus Ovares
331db2336c
* Added Object count to sim stats (it's incorrect, however, it'll be fixed)
2007-12-12 14:07:26 +00:00
Teravus Ovares
6a4a10f0a1
* Fixed agent counts on the Simulator stats pane
2007-12-12 13:52:30 +00:00
Teravus Ovares
2fd2e0285c
* Killed hard coded heart after stats update
...
* Did some voodoo math on the sim FPS to make the values 0-50
2007-12-12 13:36:53 +00:00
Teravus Ovares
081f4403ea
* Added some simstats to fill the simulator pane of the Statistics monitor.
...
* I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
2007-12-12 06:58:55 +00:00
Teravus Ovares
e32150b1db
* Temporarily sisabled neighbour cache for regions in the SceneCommunicationService
...
* This will fix the grid mode (not seeing regions) issue
2007-12-12 01:10:54 +00:00
Teravus Ovares
9abe4b2ebf
* Start listening for client connections immediately after a region initializes during initial instance startup. (as opposed to waiting for 'all of the regions' to initialize first)
...
* Removed hackish timer based client notification about regions up (no longer needed)
* Added a comment about an inventory based login failure that causes me lots of greif testing and debugging. Comment includes *why* it's failing.
2007-12-12 00:38:57 +00:00
Sean Dague
c7f5a94763
put in a try block to catch the ForEach loop dying.
2007-12-11 22:20:22 +00:00
Teravus Ovares
d67009a78b
* Added some locking to help race conditions in the neighbors lists
2007-12-11 21:43:17 +00:00
MW
60c96ab687
Couple of more small changes
2007-12-11 18:29:19 +00:00
Jeff Ames
77841fe35e
Minor cleanup/refactoring of ScenePresence.
...
Changes flying animation to hover when not moving (as per Teravus's suggestion).
2007-12-11 18:03:25 +00:00
MW
909fcd554f
A few minor changes/additions/fixes.
2007-12-11 16:05:53 +00:00
lbsa71
ffd60baa48
* The 'Create' functions should be called to factor up a new, otherwise empty, but with the Id and 1-to-1 child fields instantiated and randomized.
...
* Added two shape constants that
2007-12-11 13:30:08 +00:00
Brian McBee
16903ec488
Implementing updateinventoryfolder: Should now be able to rename folders in inventory
2007-12-11 03:51:32 +00:00
Sean Dague
b7178ec241
refactor SunModule a bit to make more sensible
2007-12-11 03:15:13 +00:00
Jeff Ames
712efda9b9
added copyright notices
2007-12-11 01:26:06 +00:00
Sean Dague
e0c43df52a
default day's to a more sensible 24 hrs instead of 0.5. You
...
can still change this in the config file if you want something
different.
2007-12-10 22:33:49 +00:00
Charles Krinke
22acc23755
Great Salutations to Alondria for providing implementations for:
...
llFrand, llSetColor, llGetColor, llSetTexture, llGetTexture,
llSetAlpha, llGetAlpha, llRotateTexture, llScaleTexture,
llOffsetTexture, llGetTextureOffset, llGetTextureScale, llGetTextureRot.
With these changes the "kan-ed" script #2 should be working.
2007-12-10 21:38:01 +00:00
Teravus Ovares
2349dc2e27
* Added comments to many methods in the listed files.
2007-12-10 21:12:38 +00:00
Teravus Ovares
eac9bc6889
* More refactoring to prepare for draw distance based agent sim notification.
2007-12-10 19:16:50 +00:00
MW
baea4b793d
Changed how TextureDownloadModule is initialised, due to some weird behaviour from the module loaded which was resulting in a lot of unused TextureDownloadModule objects being created (and each starting up a thread).
2007-12-10 15:36:33 +00:00
Jeff Ames
40fd37f95a
Refactored animation handling in ScenePresence. Now maintains a list of current animations.
...
* Fixes weirdness when typing and sitting at the same time
* Should fix bug #32 (getting stuck in edit appearance pose)
* Crouchwalk and possibly jump may need more looking into
2007-12-10 15:08:44 +00:00
MW
611327e104
more work on texture downloading.
...
Refractored the TextureDownloadModule (but currently to make debugging easier, it is running as a non shared module, so this results in a instance of this module being created for each region (and a extra thread per region), this will be changed back soon.
Removed the old texture handling/sending code from AssetCache.
A few other small changes/fixes.
2007-12-10 13:27:23 +00:00
Jeff Ames
af6eb67999
saved OpenSim source code from the giant rampaging unterminated copyright notice of doom
2007-12-10 05:25:16 +00:00
Jeff Ames
e278d07220
refactored ChatModule a bit.
...
misc cleanup and code convention fixes.
2007-12-10 02:29:42 +00:00
Teravus Ovares
e595f82489
* Hooked up the GridComm event ChildDataUpdate to the scene.
...
* Added List<RegionInfo> m_neighbours to Scene
* Hooked up the OnRegionUp event to m_neighbours list
* Modified RegionInfo to have a bool commFailTF value so that we can skip neighbors that fail. (when the region comes up, this gets reset to false and the region will try again.
* Added SetChildAgentThrottle(byte[]) to IClientAPI
* Several other insignificant changes related to passing child pertanant agent data from sim to sim.
2007-12-10 00:46:56 +00:00
Jeff Ames
696f5e27a9
removed old debugging code from IM and chat modules
2007-12-09 18:07:14 +00:00
Brian McBee
383eccc543
hackish code to allow emptying of trash. This really should be done on the inventory server, and not from the region.
...
Also: it appeared to work the first try, so I have probably done something horribly wrong.
2007-12-08 20:41:37 +00:00
Brian McBee
beca2373e1
Allow moving, deleting, and restoring objects in inventory.
...
Note: only tested in grid mode, and emptying trash is still not implemented.
2007-12-08 19:13:10 +00:00
Teravus Ovares
e0e9237a89
* Added back the regionup code so people in nearby sims can see a downed sim coming back up.
2007-12-08 17:25:34 +00:00
MW
87b337ebf9
Enabled the TextureDownloadModule, so that hopefully I might get some feedback, as to if it makes the texture problem better or worse. As I plan/hope to work on texture/asset downloading this weekend.
2007-12-07 22:47:11 +00:00
MW
e23290eff6
Avatar Appearance refactoring /changes. Added a AvatarAppearance class, each ScenePresence "has" a AvatarAppearance object. All the ScenePresences in a opensim related to one user (so a user's various ScenePresence's in all the regions in that instance) share the same AvatarAppearance object. This means that a user's avatar should appear correctly (to both that user and other users) no matter what border crossing or teleporting they have done.
...
Note: this mainly improves Standalone mode, as in grid mode the appearance data isn't passed between region servers. Although people should notice a improvement when moving between regions in the same instance.
2007-12-07 17:23:11 +00:00
Adam Johnson
3d938f76b7
Updates to LibSL revision 1498. Thanks Johan!
2007-12-07 08:54:31 +00:00
Teravus Ovares
57f666497b
* Added hacked support for 'anyone can move' and 'anyone can copy'.
...
* BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar).
* Also, beware that any objects created under the old permission scheme may react oddly. They may automatically allow anyone to modify them, (which you'll then have to un-set).
* It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
2007-12-07 07:42:03 +00:00
Jeff Ames
a45118d35e
added one more command to the console help.
2007-12-07 02:00:35 +00:00
Sean Dague
1ad83bcf1b
reversing the r2599 patch, as this started causing CreateThread errors for
...
me on Mono 1.2.4, which led to client crashes. I think the Timer.Stop()
wasn't doing what was desired on Mono. The Queue refactoring should address
the readability issues lbsa71 was working on as soon as I get the merge together.
2007-12-06 20:13:02 +00:00
Jeff Ames
73599c0f25
removed obsolete Verbose() function
2007-12-06 18:17:44 +00:00
Jeff Ames
a47176ee92
more minor cleanup. added some command descriptions to region server help.
2007-12-06 17:41:21 +00:00
lbsa71
395637acdd
* now the throttle timer is stopped whilst processing Queue so that it won't fire twice
...
* started to refactored throttling method
* some code convention refactorings
2007-12-06 14:08:22 +00:00
Adam Frisby
9e5f7fb415
* Removed lots of scurrilous uses of ASCII/UTF8.GetBytes for making packet strings. BAD PROGRAMMER BAD. Use Helpers.StringToField instead. >_>
2007-12-06 06:36:49 +00:00
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
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
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
lbsa71
c1fdba8a6f
* Some more ApplyPhysics voodoo
2007-12-04 16:41:20 +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
91c1e8a734
* Fixed a whole bunch of console messages.
2007-12-04 10:13:13 +00:00
Adam Frisby
be7ae3dd3e
* Removed 12 compiler warnings.
2007-12-04 08:18:09 +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
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
MW
285fa3fe9e
Some refactoring
2007-12-03 10:36:32 +00:00
Jeff Ames
4c0ddacc16
minor meaningless changes
2007-12-03 07:26:27 +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
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
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
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
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
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
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
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
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
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
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
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
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
959084f885
MainMap workaround. Map still does not fill in automatically, but one click on map should return a decent portion of it.
2007-11-26 16:40:08 +00:00
Adam Frisby
011ad46960
* Disabled primitive count updates on Parcels for the moment, until we can move parcels into a module.
2007-11-26 15:06:51 +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
c710525b48
Added Region name to the terrain texture description that gets sent to the asset server
2007-11-25 22:27:42 +00:00
Brian McBee
7720be5a39
Rez new prims ON the ground, not halfway buried. Mantis 33.
2007-11-25 17:53:16 +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
Brian McBee
21ce2b0979
Ignore nullreferenceexception in removeclient. The avatar is already gone.
2007-11-25 04:33:18 +00:00
Adam Frisby
0951f895ef
* Removed references to "new LLUUID()", replaced with LLUUID.Zero.
2007-11-24 10:36:54 +00:00
Adam Frisby
39a3784b43
* Added some bounds checks to the sendLandUpdate packet to deal with agents coming in from foreign regions.
...
* Updated bounds-check of getLandObject to check for >= 256 rather than > 256.
2007-11-24 10:05:42 +00:00
Teravus Ovares
18e1e62f26
* Changed reference to NullReferenceException to System.NullReferenceException for Linux
2007-11-24 04:12:55 +00:00
Brian McBee
892f942523
Test storing terrain texture to grid assetserver on startup. Needed for main map functionality.
2007-11-24 03:55:35 +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
mingchen
3ce6116e4a
*Shared Modules have feelings too! -- Shared Region Modules that are found in DLLs are now correctly loaded automagically.
2007-11-24 01:31:42 +00:00
Teravus Ovares
d7ec786244
* Added a nice 'The Region is going down.' message to the user when the sim owner issues 'shutdown' on the console.
2007-11-24 00:19:48 +00:00
mingchen
51d4d88985
*Fixed bug causing parcel prim counts to stop updating.
2007-11-23 20:17:49 +00:00
mingchen
e7edd02019
*Fixed bug that resulted in most land settings being sent to the client. Media settings/parcel name are now correctly sent.
2007-11-23 19:07:41 +00:00
Teravus Ovares
1ecd803e87
* added some functions for use in raytracing. They're kind of crappy now, so they only display 'guesses' on the console when you rez a prim.
...
* any math gurus who'd like to improve rezzing need only to make the raytracer in SceneObjectPart work :D
2007-11-23 05:56:35 +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
MW
e5a0049c16
Fixed bug that can lead to infinitive loops
2007-11-21 12:00:28 +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
7b09800d5b
fix for mantis #2 from Justin Casey (IBM)
2007-11-20 21:25:27 +00:00
Teravus Ovares
5a71d03b7a
*Huge* structural changes in ODE/OdePrim to get all of the calls in threadlocked code. ODEPrim was almost completely re-written.
...
Copy/Space test needed.
2007-11-20 04:38:08 +00:00
Adam Frisby
b1b9f79a04
* Supressed the "not a module assembly" warning for verbosity reasons.
2007-11-18 18:26:51 +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
Teravus Ovares
46ccfa1741
* Found several cases where prim set physical were not subscribing to physics events.
2007-11-18 13:37:02 +00:00
MW
f71fa731f5
Made the background (ie empty space) colour of the exported map image blue.
2007-11-18 12:18:56 +00:00
MW
87b07c19ef
Added "export-map <filename>" console command to the region server that will export a jpg image of the world map covering a 20 X 20 regions area centred on the current active region (ie the one set with change-region). While this should work in grid mode (if using the grid asset server and if my last commit did fix the world map), you might need to call the "export-map" command then wait a little while (60 seconds?) and then call it again so that you make sure the region has got all the texture assets from the asset server.
2007-11-18 12:04:21 +00:00
MW
7f99644864
Attempt to get World Map working in Grid mode, will need to be using the grid asset server for it to work correctly and has only been quickly tested in a three region grid.
...
Moved PermissionManager creation out of the Scene constructor and instead a PermissionManager is passed to the constructor as a param. So that we could create and use custom permissionsManagers.
Added AllowMovement property to ScenePresence which can be used to stop movement of avatars (for example in a custom region that wanted avatars always in one place).
Added PermissionManager call when copying objects, although currently the call will always return true so that it allows copying in places like Wright Plaza.
A few other changes/fixes.
2007-11-18 11:11:44 +00:00
Dalien Talbot
2cd00f46b9
For every problem there's a solution that is simple, neat and wrong.
...
Looks like it has nothing to do with childregions - reverting and will
try to debug after the sleep. Sorry for the noise :)
2007-11-18 07:58:04 +00:00
Dalien Talbot
0d8a2cccfd
Looks like we're requesting the mapblocks for every agent - including
...
childagents. The infrastructure is not robust enough to handle it at
this time - so ignore all the MapBlock requests for childagents.
2007-11-18 07:40:30 +00:00
Dalien Talbot
f7b5c6550b
Second try at having a bandaid for the multiple logins crash
2007-11-18 07:16:17 +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
a473289738
minor cleanup of some dodgy bits
2007-11-17 08:14:17 +00:00
Teravus Ovares
5fd2fa687e
* Resolved the situation where prim is loaded from storage and when pushed never stops.
2007-11-16 22:13:13 +00:00
mingchen
eb2f626561
*Added the TimeDilation property to Scene
2007-11-16 22:02:16 +00:00
Teravus Ovares
b2243079ea
* Trying a space/collision optimization technique in ODE. Let me know if you see a difference.
2007-11-16 18:30:25 +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
Teravus Ovares
b63076c303
* ODE step two on the way to separate dynamic space allocation ( One more to go )
2007-11-16 08:53:37 +00:00
Teravus Ovares
9020ec5af9
* Fixed object edit movements causing full object updates instead of terse object updates since unlinking.
2007-11-16 08:52:03 +00:00