Commit Graph

237 Commits

Author SHA1 Message Date
Jeff Ames
4bde56457f removed some duplicate hard-coded port numbers. changed ports to uint. 2007-12-06 01:41:41 +00:00
Jeff Ames
f195725db4 keeping opensim safe for children -- made some namespace references less explicit 2007-12-04 22:14:53 +00:00
Adam Frisby
91c1e8a734 * Fixed a whole bunch of console messages. 2007-12-04 10:13:13 +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
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
c28f505caa small bit of refactoring 2007-12-01 14:31:21 +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
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
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
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
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
Jeff Ames
ad002835d3 enable typing animation for chat, maybe 2007-11-12 20:25:59 +00:00
Dalien Talbot
aeb7b8cc18 Fixing null pointer exception from Mathias Soeken:
e.Scene is copied to locale variable scene and replaced when it is null,
but in the LLVector3 constructor in the next line, e.Scene is used, so
it can be null.
2007-11-11 22:19:33 +00:00
Sean Dague
3e5ea796ae don't break if they haven't defined the Sun section of their config 2007-11-09 20:02:44 +00:00
Sean Dague
114945b842 make Sun progression configurable for the Sim from OpenSim.ini 2007-11-09 19:53:23 +00:00
Jeff Ames
0b4e15bc35 converted hard-coded chat type values to ChatTypeEnum 2007-11-08 03:11:10 +00:00
Sean Dague
428d603e87 get rid of the debug line, that's just going to drive everyone nuts 2007-11-07 22:24:38 +00:00
Sean Dague
2884112227 move Sun into a Region Module, pass 1. Currently this works fine with
a fixed 30 minute day and the sun going East -> West again.  It gets rid of
super noon as well.  It's a bit debug heavy right now, which I'll clean up
tomorrow.  I also plan to make time progression configurable in OpenSim.ini,
but that will be tomorrow.
2007-11-07 22:22:32 +00:00
MW
73fbacea1f Started to cleanup/close down childagent connections when a user teleports. As the client will not close old childagent connections without being told explicitly to do so by each region the connection is to. Currently only implemented in standalone mode. ( the TellRegionToCloseChildConnection( ) in OGS1GridServices.cs needs implementing for grid mode, and the inter region .net remoting added for the new messages).
hopefully fixed the echo bug in chatmodule.
2007-11-05 13:58:44 +00:00
MW
039f2c46c0 Added support for OpenSim application plugins (as requested by Adam), which use Mono.addins for loading/management. (which is a pure .net solution so works on both Mono and MS .net, and is under the MIT license, will add the source code for the library later). I also suggest we look into switching to using Mono.addins for our Region module loading management.
A little bit more refactoring of Scene.
2007-11-04 13:48:15 +00:00
lbsa71
4fad66f855 * Diuerse beavtificatems 2007-11-01 19:19:05 +00:00
Jeff Ames
7f0d836d35 made illogical bitwise operations logical 2007-10-31 05:29:51 +00:00
Tleiades Hax
6a8d8f54e8 Step one on the long march towards grid based inventory. Introduction of an InevntoryServer 2007-10-30 22:42:34 +00:00
lbsa71
67e12b95ea * Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
MW
3d8219f6c7 as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
MW
27f003b683 Started the process of cleaning up AssetCache and moving most of the code into modules. Have moved TextureRequest handling (from the client) to a module. But even though to start with I just did a little bit of cleaning up of the existing code, it doesn't seem to work as good as the old code so I need to spend more time on it. So for now am committing my changes but with them not in use. So for now all Texture and asset requests are still handled by the old code in AssetCache. 2007-10-29 09:51:23 +00:00
Jeff Ames
7c6ef95f2f normalized line endings 2007-10-29 07:57:38 +00:00
lbsa71
070047ce1b * Added prototypical AvatarFactory module interface to load avatar parameters
* Added dump_assets_to_file option to enable asset dumping for debug
* normalized some namespaces
* InventoryFolder renamed to InventoryFolderImpl to
2007-10-26 14:08:36 +00:00
Sean Dague
1c8809077e remove debug line 2007-10-23 02:34:10 +00:00
Sean Dague
81e5cf14ce after a small misunderstanding with the match group numbers
IRC relay mode now has much more sensible broadcast messages in world
and ignores non PRIVMSG commands
2007-10-22 16:55:03 +00:00
Sean Dague
f1fec04c56 my confusion on matches vs. groups in regex. This should work a bit better 2007-10-22 16:41:53 +00:00
Sean Dague
8e424a4162 make for nicer IRC messages. No promiss that this works yet, but
it is a first attempt.  Will tune shortly.
2007-10-22 16:35:39 +00:00
Sean Dague
627aa65e59 make IRC uglier for a while to get a better handle on writing a parser for the messages 2007-10-22 15:43:48 +00:00
Sean Dague
c5ea70bf93 nice catch by chi11ken that I was setting the wrong property 2007-10-22 15:39:02 +00:00
Sean Dague
6acaabefc3 revert r2162 as it completely clobbered all the work on
the ChatModule by MW and myself.  Couldn't find Adam online
after that rev went in.
2007-10-22 15:37:54 +00:00
Adam Frisby
c4707a284f * Major ass commit.
* Sqlite Storage Engine now supports terrain -- however be aware that every terrain revision stored will at 512KB to your database file. At the moment it is storing every revision from the first.
* Fixed an issue where by noverbose mode would display lots of useless junk. Noverbose mode is now quite usable.
* Fixed a whole bunch of console message issues such as naming and categorisation
2007-10-22 15:23:48 +00:00
MW
22e330c1a0 attempt to fix the muliple repeat problem (that sdague is getting) in the IRC chat bridge code. 2007-10-22 14:20:59 +00:00
Sean Dague
e0f43cad4b update so that distances aren't required in the config file 2007-10-22 03:22:27 +00:00
Sean Dague
8e4748d914 pull the IRC portions into their own class. There is still
something odd going on with multi-regions here, which I'll
have to ask Adam about tomorrow.  This should make it easier
to just enhance the IRC portion of chat though.
2007-10-22 02:14:01 +00:00
Sean Dague
61397a3410 fix line ending mixing. Probably should put some
wiki descriptions up on line endings so we don't keep 
ending up in this place.
2007-10-21 14:59:18 +00:00
Adam Frisby
5adafd538a * Fixed an issue whereby avatar chat distances were being calculated against the region corner due to a zero vector.
* Bonus Commit: Fixed the Raster class in libTerrain.
2007-10-20 00:09:07 +00:00
Adam Frisby
2afecae39c * IRC ChatModule extension should now be more stable. 2007-10-19 23:56:51 +00:00
Adam Frisby
4f1abe3e76 * Whisper, Say and Shout distances are now configurable (what the hell!) 2007-10-19 23:36:27 +00:00
Adam Frisby
f364a084f1 * Cross-border region chat should now work as long as both regions are part of the same simulator. 2007-10-19 23:27:54 +00:00
Adam Frisby
f427433c85 * ChatModule is now shared between all scenes. (May be buggy.) 2007-10-19 23:20:57 +00:00