Commit Graph

995 Commits (ce33db72cb7ca15087606a23abf96590c49d166e)

Author SHA1 Message Date
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
MW 155005cba6 Hopefully made it so ChatModule and InstantMessageModule are now running in Shared module mode. 2007-10-22 13:06:35 +00:00
MW 2681de366b Made some changes to the load/save xml format, So that the old format can still be used, I have added new console commands of "load-xml2" and "save-xml2", if the old versions worked for you then please continue using them (at least for now). The new versions haven't been tested that much, so their format could be subject to change. 2007-10-22 11:06:54 +00:00
MW 5bf6b24590 Bug fix, so that local loginserver (in standalone mode) can set a start position (position inside the region) rather than it always being hardcoded to 128,128. Note: This bug fix is just to allow this to be set. Its not actually used yet (so users will still always start at 128,128). 2007-10-22 09:04:55 +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
Adam Frisby 4dc8e7e0f8 * Added a lock to the user profile cache to prevent simultaneous duplicate additions to the database. (Attempting to fix bug reported by nebadon) 2007-10-21 22:53:54 +00:00
Adam Frisby 7f2ec02802 * Disabled TCP Remoting Channel Security for InterRegion communication, as it appears we are not implementing this correctly. (need to set up certificates first)
* Documented ACL class
2007-10-21 22:15:41 +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
Tleiades Hax 9f2fcfb3ec Fixed a bug causing a crash during clientlog on in Windows (Thanks to Rookiie and nebadon for laying all the ground work)
Fixed a bug, preventing standalone mode to report neighboring sims correctly
2007-10-21 09:32:24 +00:00
Adam Frisby 6119eaed85 * Committing new PolicyManager based on an ACL system.
* Unlinked right now, but intent to replace large amounts of the core logic in PermissionManager with it.
2007-10-20 10:44:34 +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
Adam Frisby 1313544ac7 * Major structural change: Begun converting Events to use (caller, args) syntax to conform with .NET guidelines.
* OnChatFromViewer has been converted as an example.
* Bug: SimpleApp's NPC client does not implement a Scene property and will likely crash with a NullReferenceException when it attempts to chat.
2007-10-19 22:02:07 +00:00
Sean Dague 9a17bc58a6 enable IRC bridge via runtime configuration 2007-10-19 21:36:58 +00:00
Sean Dague d4bb430f78 get rid of all the ^M line endings 2007-10-19 20:28:18 +00:00
Sean Dague 139994757c changes to pass nini config object to the modules that get
loaded so that they may read out any bits they are interested in
2007-10-19 20:27:34 +00:00
Adam Frisby aaaa3c6835 * Test thy commits! (oops, sorry!) 2007-10-19 19:30:22 +00:00
Adam Frisby d8cbd173f5 * Instant Message functionality moved into a Region Modules
* You can now send instant messages to any user on the simulator, regardless of what region they are in.
2007-10-19 19:25:22 +00:00
mingchen f756b1ee1c *Added -useexecutepath to use the path of the .exe as the path to find configuration and libraries and not the current working directory. 2007-10-19 19:20:18 +00:00
lbsa71 9853db1708 * normalized line endings... 2007-10-19 12:57:40 +00:00
MW 373372ca3e couple of tiny changes to what is outputted to the console during the start up phase (like changed the bit where it asks for sim uuid to asking for region id). should have no effect on anything. 2007-10-19 10:37:38 +00:00
lbsa71 656c72befc * some more refactoring + bugfix 2007-10-19 08:57:30 +00:00
MW e1bb245787 changed the RegionID config name (that loaded from the region.xml files back to sim_uuid), but left that actual field name in RegionInfo as RegionID. Hopefully old region.xml files should now work again. 2007-10-19 08:56:42 +00:00
lbsa71 46700d3b7d * Total refactoring of Asset Server for massive win
* There is now a AssetServerBase
* lolcat in ur assets
2007-10-19 07:46:03 +00:00
Tleiades Hax 2681bc46c4 Fix for assetserver crashing (Thank you Chi11ken) 2007-10-19 07:43:10 +00:00
Tleiades Hax d79a3cc5e1 r 2113 introduced a leak, this should fix the leak 2007-10-19 06:10:35 +00:00
MW 19f8b14120 small bit of refactoring 2007-10-18 19:17:07 +00:00
Tleiades Hax 05df857132 Possible fix for: Remoting exceptions with adjacent non-running sims.
Bugs 449, 454, 408, 244, 197
implemented InformClientOfNeighbours as an asynchroneous process, handling timeouts without blocking the main thread.

Improved logging of errors, removed catch all in try catch
2007-10-18 15:10:43 +00:00
lbsa71 404e2b6cf2 * Removed some comments 2007-10-18 14:25:59 +00:00
Charles Krinke 884edac78e Add gryc's patch to run commands in a shutdown_commands.txt file when the sim is shutdown. A config setting has also been added to OpenSim.ini. Thank you very much, gryc. 2007-10-18 02:13:06 +00:00
Charles Krinke fc9f0267ab Add "force-update", "command-script" & "show modules" to console help. 2007-10-18 01:42:47 +00:00
lbsa71 26b8018bcc * Some asset loading refactoring 2007-10-17 10:58:19 +00:00
Tleiades Hax 44a7db0e44 Renamed SimProfileData to RegionProfileData 2007-10-17 09:36:11 +00:00
dan miller 7415eb7355 this might help with ODE errors. Or maybe not. YMMV 2007-10-17 05:43:35 +00:00
MW be0aebcc9a couple of small event changes 2007-10-16 15:09:06 +00:00
MW 0f1604a53f Couple of small changes to Xml serialising of SceneObjectGroups (shouldn't effect anything). 2007-10-16 11:16:25 +00:00
Tleiades Hax 58ef357cbf Added support for 64 bit windows 2007-10-16 05:20:45 +00:00
MW c2462bc8bb Added "LoadImageUrl" module , that is a dynamic texture render, that works with the DynamicTextureModule to allow loading of a image from a webserver and a texture of that image created. 2007-10-15 08:51:59 +00:00
lbsa71 9de589bc37 * Applied Chillken patch #419: consolidate_ports-r2096-3.patch - consolidated port number defaults. Thankx Chillken! 2007-10-15 08:42:15 +00:00
lbsa71 b48390213b * Applied Chillken patch #418: copyright-r2094.patch updating copyright messages. Thanks Chillken! 2007-10-15 07:25:32 +00:00
lbsa71 849eaffbe5 * Applied patch #418 : copyright-r2012.patch - some errors, but got most thru 2007-10-15 07:10:21 +00:00
lbsa71 1294da6a93 * Applied Chillken patch #418 : newline-r2092.patch ; failed on assemblyinfo tho. Thanxs Chillken! 2007-10-15 07:01:22 +00:00
lbsa71 77459edb70 * Chillken Patch #417 - upgraded version numbers to 0.4 - thanks Chillken! 2007-10-15 06:03:04 +00:00
lbsa71 8b01821dba * normalized line endings 2007-10-15 04:27:52 +00:00
Tleiades Hax 5a1e896edc OpenSimMain now respects the asset_plugin paramter, and storing of assets will *not* throw an exception 2007-10-13 12:35:37 +00:00
Tleiades Hax f6aeff6cc3 Added capbility to use MySQL as the database backend in stand alone mode for assets and inventory.
Added asset_plugin key to "StandAlone" section of OpenSim.ini
2007-10-13 09:21:08 +00:00
Tleiades Hax e8c1de8e72 2007-10-13 09:10:53 +00:00
Tleiades Hax 1232eb1c58 Asset server implementation. Again one of these "plumbing" releases, where no real functionality has been introduced, but ground work has been made, enabling the asset server, and preparing the sim server to query the asset server.
Introduced an "IPlugin" interface, which plugins can inherit from.
2007-10-13 07:26:21 +00:00
Charles Krinke a0b1ab2258 Change 3 UserServer login messages from writeline to MainLog to help diagnose failed grid logins. 2007-10-13 01:03:27 +00:00
lbsa71 b77bf18079 * Just extracted a standard ToXml() on SceneObjectGroup 2007-10-12 19:31:37 +00:00
Charles Krinke 4c8d175564 I broke the build and am reverting until I can get the MainLog call proper. 2007-10-12 19:31:29 +00:00
MW a19ec6fc54 Just trying out some thing with events, there changes/additions are likely to be temporary. 2007-10-12 15:26:19 +00:00
Charles Krinke e41b0feb58 Turn a few of the writelines into mainlog entries so failed logins can be more easily analyzed. 2007-10-12 13:50:11 +00:00
Charles Krinke 847be6b872 Change warning from "not a valid assembly" to "not a module assembly" 2007-10-11 14:26:59 +00:00
MW 86e5f82cb1 Some changes to the sending of updates of SceneObjects to clients, that I did a few weeks ago but never committed (and never completely finished what I had planned). 2007-10-11 10:50:55 +00:00
lbsa71 e7869d0666 * Added FormatProvider to Culture 2007-10-11 10:33:23 +00:00
dan miller 23eeeaae03 fixes for nebadon"s terrain bugs; includes patched 0.9 ode.dll, libode.so 2007-10-11 05:54:56 +00:00
lbsa71 94d98e638e * Okay, so maybe Error was a bit harsh for BadImageException; downgrading to Warning.
* This commit brought to you by http://icanhascheezburger.com/
2007-10-10 19:11:57 +00:00
lbsa71 dbdacc26a4 * Now loading modules from ScriptEngines directory as well. 2007-10-10 18:40:09 +00:00
lbsa71 a40e7100a2 * Gave ModuleLoader some good lovin'
* Introduced ModuleLoader.PickupModules that currently picks up IRegionModule:s from /bin
* Made LogBase thread-safe (or at least not thread-ignorant)
* Ignored some genned files
2007-10-10 18:24:13 +00:00
Tleiades Hax 87d99ee2a2 Added unit tests, based on nunit for the IInventoryData 2007-10-10 17:00:29 +00:00
MW 8cf2daa838 some refactoring 2007-10-10 08:30:36 +00:00
MW f13611bbc9 The files that I missed from Tleiades patch. 2007-10-08 16:42:05 +00:00
MW 4c25008850 Applied patch 485, inventory patch from tleiades (thanks again). 2007-10-08 10:30:15 +00:00
MW f2f173a00e small bug fix 2007-10-08 09:16:03 +00:00
dan miller 2d5f5e2b32 applied Darok"s BulletXPlugin changes 003.patch 2007-10-07 14:40:02 +00:00
MW 4e6b68df13 Applied Patch 473, Inventory Patch from Tleiades (many thanks). 2007-10-06 08:23:51 +00:00
Tedd Hansen 7df77d9ab7 Fixed bug in last commit 2007-10-05 20:09:39 +00:00
Tedd Hansen 6dd923b01d Some more work on new ScriptEngine. 2007-10-05 19:56:44 +00:00
Sean Dague 29aa41daa0 Code from Illumious Beltran (IBM) implementing more LSL
The functions implemented are:

llListen
llListenControl
llListenRemove
llOpenRemoteDataChannel
llCloseRemoteDataChannel
llRemoteDataReply

The events implemented are:

listen
remote_data
2007-10-05 19:33:26 +00:00
Sean Dague c3d8f1f425 getting all our line endings consistant again 2007-10-05 15:45:45 +00:00
lbsa71 d4a4aafaf1 * So, ok, maybe renaming serialized fields on a friday wasn't the smartest of things. Reverting 2056. 2007-10-05 13:54:16 +00:00
lbsa71 82bdf535df * minor refactoring
* using base type IUserService
2007-10-05 13:12:34 +00:00
MW 710b8375a9 Some tiny refactoring 2007-10-05 11:40:30 +00:00
lbsa71 ed6168b96b * UserProfileData meets code conventions 2007-10-05 11:27:46 +00:00
lbsa71 5a65521203 == The "right name and place" commit ==
* Moved InventoryData to Framework.Types/InventoryItemBase.cs
* Moved UserData to Framework.Interfaces/IUserData.cs
* Moved UserProfileData to Framework/Types/UserProfileData.cs
* Deleted ass-backwards Framework dependency on Framework.Data (now it's the other way round)
* Changed some namespaces to reflect file structure
2007-10-05 10:14:42 +00:00
lbsa71 342a813bd7 * Moved IUserService to OpenSim.Framework.Interfaces 2007-10-05 09:45:39 +00:00
lbsa71 10c36a2573 * Renamed IUserServices to IUserService 2007-10-05 09:41:41 +00:00
lbsa71 9076d5e1ac * minor renaming 2007-10-03 08:27:46 +00:00
MW 652654176a more refactoring 2007-10-03 07:50:07 +00:00
MW 9b1eefbcde Some continuation of lbsa71's refactoring of the CommunicationsManager. 2007-10-03 06:20:00 +00:00
dan miller d36316e1c9 Droppin da fyzyx bomb on ya
seriously, this is quite the update.  Fixes a number of nagging physics problems, including avatar shell size/shape
The internal logic is quite different, and CPU usage may be affected.
Also some work remains wrt flying.  Please test this rev out before you deploy widely
2007-10-03 01:59:43 +00:00
lbsa71 b5eaea7b0c * Moved setup of LocalInventoryService and LocalUserServices to the app layer
* Killed off 'parent' relation from LocalUserServices to CommunicationsLocal
* Deleted obsolete project InventoryServiceBase
* Deleted superfluous createCol function
2007-10-02 00:00:12 +00:00
dan miller 625164d3e2 removed debug statements 2007-10-01 16:26:15 +00:00
dan miller 034f0b4bb7 fixing odeplugin debug bug 2007-10-01 16:18:34 +00:00
dan miller d644b1f440 this should fix mantis 452 and related -- hollow prims work in Linux! (I hope) 2007-10-01 16:01:42 +00:00
Sean Dague 1a10d4828a revert working getInventoryFolder function because this seems
to break multi region environments.
2007-10-01 08:17:43 +00:00
Dalien Talbot d1df81c221 Applied ckrinke's patch for #453. Thanks Charles! :) 2007-09-30 09:01:51 +00:00
Dalien Talbot d20d621ab1 Corrected the typo in the folder name. 2007-09-30 08:50:49 +00:00
dan miller c1d3e93fbb Hollow prims (box only), thanks Gerard! Enjoy 2007-09-29 04:08:33 +00:00
dan miller a0265300aa Hollow prims (box only), thanks Gerard! Enjoy 2007-09-29 03:56:36 +00:00
Sean Dague ebfb057583 negative code checkin. All these functions are in the base
class which we get for free now.
2007-09-28 11:11:36 +00:00
Sean Dague 77354612ff implement getInventoryItem and getInventoryFolder (not
sure why these weren't implemented previously)
2007-09-28 10:23:48 +00:00
dan miller 77a185f4ad this should fix 443 and compile! 2007-09-27 23:11:41 +00:00
dan miller 129d266867 this should fix mantis #443 2007-09-27 23:06:24 +00:00
lbsa71 863195612b Reverting back to 2017 since 2018 were causing Linux breakage; reopening Tleiades patch 444 and 445. 2007-09-27 14:57:43 +00:00
Sean Dague 664de12898 oops, I broke the build. Fixed now 2007-09-27 13:53:50 +00:00
lbsa71 3ddf9da1f4 * Tleiades patch #445 - the inventory folders displayed does not show the expected folder icons
Tahnx, Tleiades; keep up the good work!
2007-09-27 13:51:16 +00:00
Sean Dague 5b4d631d34 implement something in sqlite inventory that wasn't before
not sure how we missed this function
2007-09-27 13:44:45 +00:00
lbsa71 8143c597fc * Tleiades grid mode inventory (#444) - thanx Tleiades!
* updated to rev 1413 on libsecondlife.dll and libsecondlife.dll.config (#423)
2007-09-27 13:25:45 +00:00
Adam Frisby 569ba9eb9a Terrain:
* Attempted fix for lag/pause when doing lots of updates.
* Some naming fixes to libTerrain.
* Refactored terrain bitmap generation into a common call for both world map and export.

General:
* Switched some calls to Console.WriteLine to use MainLog.Warn/Verbose/Notice.
2007-09-25 11:48:43 +00:00
lbsa71 eb8640f368 * Now the OGS1GridServices has a LocalBackEndServices that it forwards intra-instance requests to
* Every Scene has a ClientManager (as every dog it's day) since two scenes can have the same circuit as client.
2007-09-25 06:33:18 +00:00
lbsa71 2219ccc5b0 * Fixed Culture-variant parsing of config options 2007-09-25 01:20:30 +00:00
Tedd Hansen 8231ac72ec More reorganizing of new SE. Added debug print of application exception. 2007-09-25 00:22:06 +00:00
lbsa71 3ac43d0120 * Removed some more fields from CommunicationsLocal
* added OnLoginToRegion to CommunicationsLocal
2007-09-24 23:58:43 +00:00
Adam Frisby 4e01aa4879 * Added time dilation property to Scene
* Default Terrain algorithm now produces something slightly less mountainous.
* Fixed lolcat
2007-09-24 16:39:26 +00:00
Adam Frisby b82b8b8f4f * Fixed an issue where it chose the smaller rather than larger of the two numbers for the update call. 2007-09-24 15:58:39 +00:00
Adam Frisby f5eac12a88 * Renamed ScriptConsole to PluginConsole for clarity
* Fixed a bug where ODE tries to do a physics update for zero frames.
2007-09-24 15:56:34 +00:00
Adam Frisby 48e0e05446 * Refactored the central update loop - now easier to work with. Switching from per-framecounts to per-second time periods and moving to OpenSim.ini shortly. 2007-09-24 15:46:03 +00:00
Tedd Hansen 0eac34b7ab More structural changes to new SE 2007-09-24 13:57:16 +00:00
Tedd Hansen 323234f82a Reorganized some files 2007-09-24 12:49:46 +00:00
lbsa71 d4701d7ecc * Long days journey towards night 2007-09-24 12:39:03 +00:00
lbsa71 c8157da17b * Hotfix for 'properties all the way into the sunset' bug; it just doesn't make sense, but maybe we need to handle agentUpdates form children too.
* Ignored some bins
2007-09-24 12:19:33 +00:00
lbsa71 7fc53abc22 * Now login swallows WebException.Timeout; (thanks cfk!)
(we should really implement some nearby/default known-up algorithm here)
2007-09-24 11:45:28 +00:00
lbsa71 9f6b709f3c * the worlds most insignificant commit 2007-09-24 11:23:01 +00:00
lbsa71 f076c71936 * Applied tleiades patch #435 fixing HttpBaseServer ABEND (thanx!) 2007-09-24 11:20:09 +00:00
lbsa71 9795b4f6c8 * Console output killed the cat. s/cat/sim/ 2007-09-24 09:37:40 +00:00
lbsa71 00ddeebf57 * So, ok, maybe a bit harsh to explode on grid inventory calls. 2007-09-24 09:19:31 +00:00
lbsa71 ee5f069e2a * Now there's only one UserService 2007-09-24 07:53:26 +00:00
lbsa71 1302ef44e3 * Started major restructusing of comms to prepare for better grid and region functionality
* Working towards one shared set of services
* Killed off two projects with very little functionality
2007-09-24 07:30:30 +00:00
lbsa71 9ccab46ae8 * Trying to streamline CommunicationsManager 2007-09-24 05:30:03 +00:00
lbsa71 6c41efa4e3 * reorder and rename 2007-09-24 05:20:23 +00:00
lbsa71 40468f18a4 * Encapsulated all CommunicationsManager services 2007-09-24 05:15:13 +00:00
lbsa71 13c1c33ed4 * Added TryGetAvatarByName 2007-09-24 04:49:05 +00:00
lbsa71 5818958a9a *** CHANGED CONFIG BEHAVIOUR ***
* Changed really strange LocalSettings behaviour with enforcing hard-coded plugin names if none supplied
* UserServices and InventoryPlugin will only load if supplied with filename
2007-09-24 02:41:13 +00:00
dan miller a9a126063f long-lost fixes to physics -- proper physical avatar management on crossings, TP 2007-09-24 02:40:13 +00:00
lbsa71 47256cebda * Renamed methods on IUserData 2007-09-24 01:31:00 +00:00
lbsa71 ce071417d4 * minor renames 2007-09-24 01:18:45 +00:00
lbsa71 79045abe68 * Renamed stuff on UserManagerBase to get implicit implementation of IUserServices (instead of stubs) 2007-09-24 01:16:21 +00:00
lbsa71 b3eeb5a8dc * Purged 'Regions' code pending Agent layer grok.
* Changed so prims aren't loaded until AFTER parcels.
* The region startup flow is still an ungodly rats nest.
2007-09-23 23:55:29 +00:00
Sean Dague 8dda11d17e fix to do hollow prims correctly. Reported from
http://bug.opensecondlife.org/view.php?id=394
2007-09-22 18:41:01 +00:00
Tedd Hansen 59f0920a8f Stand Alone ScriptEngine: early framework, ongoing planning (don't touch yet, will go through major reorganizing). Still a LOT of things needs to be solved... 2007-09-22 13:15:52 +00:00
lbsa71 64f4afcb43 * There. I think this concludes todays work on moving stuff to Broadcast() 2007-09-21 06:06:31 +00:00
lbsa71 34043cd351 * Slowly but surely working my way towards Regionality... 2007-09-21 06:00:34 +00:00
lbsa71 80a9b81448 * Yeah, I placed Close() in the wrong file. So sue me. 2007-09-21 05:34:40 +00:00
lbsa71 5fab795bf0 * Continued work on Region layer
* Added Close() to ScenePresence to remove and destroy PhysicsActor
2007-09-21 05:23:17 +00:00
lbsa71 e4a78a9b30 * Removed unused RegenerateTerrain functions 2007-09-21 05:04:59 +00:00
lbsa71 72b207173a * Removed unused LandRenegerated flag 2007-09-21 05:00:51 +00:00
lbsa71 b9808f8314 * First example of moving stuff to a Region layer
* Also, changed RegionPresence to 'RegionSubscription' - let's just see where we land with this...
2007-09-21 04:58:40 +00:00