Commit Graph

103 Commits

Author SHA1 Message Date
Justin Clarke Casey
313a635d1e * Fix opensim region server shutdown. 2008-05-09 13:21:12 +00:00
Justin Clarke Casey
250fb6f5db * Move shutdown processing to base OpenSimServer, overriding the method where appropriate
* This also means that the command quit (as well as shutdown) will now close down grid servers (instead of only being in place for the region server)
2008-05-07 16:24:15 +00:00
Adam Frisby
20a9bf08f5 * Rolled back a few changes. 2008-05-01 18:04:42 +00:00
Adam Frisby
fc6c4dc399 * Cleaning code still. 2008-05-01 16:41:01 +00:00
Adam Frisby
01f31fd933 * Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01 16:23:53 +00:00
Adam Frisby
fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Teravus Ovares
be93c0f29a * Fix a bug in the friends module that causes a friend not to appear online when they were.
* A few things for testing.
* This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself.  It will not cause any errors, if either one are not updated.
2008-04-13 22:47:12 +00:00
lbsa71
cbf9fcfac5 * Discerned between AddProfile and UpdateProfile in region registration
:: Believe it or not, but INSERT/UPDATE is actually a better pattern than REPLACE, since, with INSERT/UPDATE you can catch erroneous UPDATES to non-INSERTed items as well as catch erroneous re-INSERTS. in 95% of the cases, you SHOULD have a clear INSERT context, and a clear and separate UPDATE context. If you think your case falls within the 5%, maybe you should re-evaluate your code. ::
2008-04-11 09:56:22 +00:00
Sean Dague
86cf07f1c4 changing more references to OpenSim.Data 2008-04-02 15:38:44 +00:00
lbsa71
7f11079f57 * Refactored out common http handler operations 2008-03-28 21:43:46 +00:00
Justin Clarke Casey
c538ea5024 * Increase timeout for initial simulator login from 16 to 30 seconds
* Comments, capitalization
2008-03-26 17:21:46 +00:00
Jeff Ames
d2b1a8aa1e Minor formatting / svn properties cleanup. 2008-03-25 01:45:23 +00:00
Johan Berntsson
39f340e687 XmlRpcCommand refactoring 2008-03-24 01:37:00 +00:00
Johan Berntsson
12a32b0608 Added a plugin loader in GridServer 2008-03-24 01:21:01 +00:00
Charles Krinke
1e452dacf4 Comment out an unused 'str' and add a WriteLine to use
an "Exception e" with e.ToString() to eliminate 2 warnings.
2008-03-21 17:06:31 +00:00
Jeff Ames
bf8b5844f2 Formatting cleanup. Minor refactoring. 2008-03-18 14:51:42 +00:00
Teravus Ovares
42857fe4e9 * Added the ability to type the partial name of a region in the start location box and go to that region if it's there. If no close match was found, it sends you home. This is tested on mySQL. There's untested code on grids that are based on sqlite and MSSQL. The SQL statements *should* be right, but your results may very.
* Ex, if you want to go to Wright Plaza, you simply need to type Wright Plaza in the start location in the client when you log-in.
2008-03-18 05:44:25 +00:00
Jeff Ames
47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Jeff Ames
175dc285ff Added copyright messages. Set svn:eol-style. Minor cleanup. 2008-03-18 03:51:59 +00:00
lbsa71
95e4d1ae5e * made some privates protected 2008-03-12 11:18:43 +00:00
lbsa71
e2dfd919bc * made GridManager class public 2008-03-12 11:11:52 +00:00
lbsa71
df104e6f84 * Renamed Main.cs to GridServerBase.cs 2008-03-12 10:16:28 +00:00
lbsa71
3f45cfc591 * Refactored out exe bit out of Grid Server for great justice 2008-03-12 10:13:19 +00:00
lbsa71
f1b8712da3 * Refactored some internals in Grid Server Main 2008-03-12 09:50:12 +00:00
lbsa71
d873a043dd * Refactored out creation of LoginResponse
* Refactored out ErrorResponse
2008-03-12 09:37:39 +00:00
lbsa71
47ed69c933 * Extracted RegionProfileData from Request
* Introduced ValidateNewRegion and ValidateOverwrite
2008-03-12 09:17:23 +00:00
lbsa71
da854b9691 * minor refactoring 2008-03-12 08:44:36 +00:00
Adam Frisby
b40957b57c * Applying patch from Mantis #607 - Grid Server crash. Thanks Diva. 2008-03-11 15:48:50 +00:00
Jeff Ames
d2806090ae Cleaned up a couple compiler warnings. 2008-03-04 10:12:39 +00:00
Johan Berntsson
279e0061c5 Merged 3Di code that provides scene and avatar serialization, and plugin support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim. 2008-03-04 05:31:54 +00:00
Jeff Ames
a8cfbbe963 Minor cleanup. 2008-02-20 18:38:20 +00:00
Justin Clarke Casey
b331e96e25 Remove "Loading inventory" messages from item inventory loads 2008-02-19 20:21:25 +00:00
Justin Clarke Casey
b37b71b273 * Make RegionProfileData.RequestSimProfileData static
* Minor documentation bits
2008-02-18 17:31:05 +00:00
Charles Krinke
df04345e3f Thank you very much, Diva for a patch to increase the
grid server reliability.
2008-02-17 02:03:27 +00:00
lbsa71
2d066c4136 * Took a stab at getting keys to work as intended
[Provided by openlifegrid.com]
2008-02-14 13:09:33 +00:00
lbsa71
cf6e268d6d * Added more debugging output to GridManager to pin down the key exchange weirdness
[Provided by openlifegrid.com]
2008-02-14 13:02:41 +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
952cdd4166 * Added some more comprehensive log entries on region login.
[Provided by openlifegrid.com]
2008-02-13 21:05:26 +00:00
lbsa71
b05409b03f * Minor guard for null case.
[Provided by openlifegrid.com]
2008-02-13 20:51:59 +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
Justin Clarke Casey
baefa05b57 * Rebase all current servers on common abstract BaseOpenSimServer class
* The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc)
* DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers.  More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
2008-02-04 18:52:24 +00:00
Brian McBee
e2680342d1 Turn on fastMode for map block queries to grid server if and only if grid is running MYSQL as the data source. 2008-02-02 18:25:17 +00:00
Charles Krinke
6a1d9e8da1 Thank you very much daTwitch for your first contribution to the C# simulator.
This is the beginnings of support for storage of region owner in the MySQLManager
table and the use of "owner_uuid".
2008-02-02 16:43:57 +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
Adam Frisby
f59f4e476d * Made it so that if you don't specify a key, the defaults will not be assumed.
* If you wish to turn off key authentication, set the values to "" (null) in the grid config, and do the same in clients.
2008-01-12 19:28:50 +00:00
Adam Frisby
0b0df333dc * In the interests of making life difficult for everyone, the Grid Server now actually checks your authentication keys rather than ignoring them. 2008-01-12 19:23:56 +00:00
Teravus Ovares
f43e75762a * Adding More to the MessageServer classes.
* Don't forget to prebuild
2008-01-07 01:39:26 +00:00
Teravus Ovares
04dbcee74c * A few more Message Server comms related updates 2008-01-06 20:10:29 +00:00
Brian McBee
9985d53681 Added code to gridserver to prevent new region from connecting at X,Y location already used by an existing region. 2008-01-06 19:59:58 +00:00
lbsa71
efd90b56b7 * Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00