Commit Graph

724 Commits (zircon)

Author SHA1 Message Date
Adam Frisby 1b05dde659 * Added DeadRegionResponse - occurs when connecting to a downed region (was the mysterious "(Done)" error). 2007-05-27 09:14:22 +00:00
Adam Frisby a33f244b58 * Inserting "SYSTEMIP" into a simconfig.xml's IPAddress="" section will use the first resolved IP of the system. This is to assist with Adam's lazy-deploy system but may be useful to others. 2007-05-27 08:13:55 +00:00
Adam Frisby 4383a14887 * Region Terrain textures are now loaded from the RegionInfo class rather than being hard coded in the handshake packets.
* Supports: Base0-3 textures, Detail0-3 textures, Start00-11 values, Range00-11 values.
* Added notes on how terrain texturing works to their definition in regionInfoBase.
2007-05-27 06:50:23 +00:00
Adam Frisby 7a2abbb848 * Added ability to set default terrain to a file in region config. If unable to open, terrain will be procedurally generated instead. (also needs testing.). Default file must be in R32 format. Use "terrain save f32 default.r32" on the region console to make a default file you can use. 2007-05-27 06:36:33 +00:00
Adam Frisby 0ede8140e7 * Terrain now resends when it's been tainted. This means you should be able to load terrains and see the results without relogging. (Just wait for the next Backup call -- once every two minutes). Needs testing. 2007-05-27 06:13:57 +00:00
Adam Frisby bd7c1f6d07 * Added support for 13 Channel .RAW files. Untested but should work fine (fairly simple). 2007-05-26 09:50:22 +00:00
Adam Frisby f20c86e76e * Semibug fix: Terrain should not save to database every time a packet is recieved. Terrain is always updated every Backup() call anyway. 2007-05-26 09:07:43 +00:00
Adam Frisby 56ba0c7af4 * Created better terrain stripe. 2007-05-26 08:21:45 +00:00
Adam Frisby 6975250a5f * Added sample terrain heightmap stripe - to use, use
---
Region# : terrain save grdmap mapimage.png stripe2.png
2007-05-26 08:10:42 +00:00
Adam Frisby 3760bfda24 * Fixed world map image generator. Has to be run manually right now, but automatic generation is on the cards. 2007-05-26 08:05:10 +00:00
Adam Frisby 79df5f840c * Added addNewUserAgent() function. No idea if it breaks compilation since MSVC#2005 solutions are broken. 2007-05-26 06:29:22 +00:00
MW 64741b55a6 First part of border crossing fix. 2007-05-25 19:09:19 +00:00
MW b2d588ed1c Possible my last ever OpenSim/OGS contribution (if I continue to feel like this):
Re-added a CLI "create user" command to the userserver, only currently works if using DB4o as the database provider. 
Added Xml config files to both the UserServer and Gridserver (UserServerConfig.xml and GridServerConfig.xml), so that the database provider can be set in it. (both currently default to DB4o , so maybe Adam will want to change it back to defaulting to MySQL)
2007-05-25 16:27:07 +00:00
Adam Frisby eaf4b3f1a9 Oops 2007-05-25 14:02:55 +00:00
Adam Frisby b496d01c12 * Added new mysql_connection.ini file which contains configuration options for the database connection used by OGS.
* Added IniFile class (code imported from public example) to Framework.Data - may be worth moving to Util.
* Ran prebuild, updated solution files.
2007-05-25 08:21:16 +00:00
Adam Frisby 8c536efeda Set default MySQL port to the standard. 2007-05-25 07:57:41 +00:00
Adam Frisby aacc1ee01c Added regionMapTexture to SQL/mysql-regions.sql for MySQL 2007-05-25 07:36:19 +00:00
Adam Frisby 298d97d437 Bugfix: Added regionMapTexture to MySQLManager.cs insertRow function. 2007-05-25 07:35:23 +00:00
MW a275de288f Updated to latest libsecondlife.dll , now need to use SL viewer 1.16 (or above) 2007-05-24 15:38:32 +00:00
MW a5d2459d3d 2007-05-24 13:59:35 +00:00
MW 773e1834df All back and no one suspected a thing. 2007-05-24 13:37:52 +00:00
lbsa71 900cebc63f * re-prebuilt
* deleted all those *.user - ignore them next time!
2007-05-24 13:36:15 +00:00
MW 5a6ee35df9 Starts to readd the changes from revisions 768,769 and 770 before Adam notices they got lost in the restructuring. 2007-05-24 13:31:08 +00:00
MW f1af78d684 Stage 2: GridServices build files should be fixed now, Someone will need to test it under nant, and the releng scripts might need updating as we now have two solutions.
Also the build order for the two solutions should be to compile the OpenSim Solution first and then the GridServices one, as the common projects are referenced by DLL in the Gridservices.
2007-05-24 13:08:36 +00:00
MW 6c48570df5 Stage 1 of repairing the build files, those ofr the OpenSim regionserver should now be okay. Now onto the Grid servers... 2007-05-24 12:54:54 +00:00
MW f95b6081cb Renamed the new Directories. (removed the "-Source" from the end of them) 2007-05-24 12:35:32 +00:00
MW ccdd8c0848 Die ServiceManager! (Not really Gareth, just the old directory, new directory is in OpenGridServices-Source) 2007-05-24 12:20:42 +00:00
MW 3376b82501 Some more code refactoring, plus a restructuring of the directories so that the Grid servers can be a separate solution to the region server. 2007-05-24 12:16:50 +00:00
Adam Frisby 294a096f71 Added "terrain save grdmap <filename> <gradientmap>" function to console. Gradient map must be in a format that System.Drawing understands. BMP recommended. Will export as a PNG image. 2007-05-24 05:48:35 +00:00
Adam Frisby 497af009bd * Reduced effect of terraforming brushes by 1000%.
* Added new exportImage() function to BasicTerrain which will output a gradient-mapped image of the terrain which can be uploaded to the grid for things like world map images. (shiinnny), will update later with an improved version using the bilinear quad method employed in client terrain rendering.
* Rebuild project & build files for basicterrain with System.Drawing dependency. Prebuild updated.
2007-05-24 05:44:53 +00:00
Adam Frisby 9fcffee76b * Simulators should no longer require all their neighbours to be online to accept user connections. 2007-05-24 02:36:07 +00:00
MW 4e7e63b551 and some more refactoring. 2007-05-22 15:37:19 +00:00
MW eafd91ba80 More refactoring. 2007-05-22 11:25:34 +00:00
MW f96083a903 More work on adding Events to ClientView (and registering to handle those events in Avatar and World) 2007-05-21 19:12:18 +00:00
gareth b253f3db48 Merged the new ODE stuff 2007-05-21 19:05:09 +00:00
MW fe46b045f7 Start of a redesign of SimClient (now renamed ClientView)/World/Avatar/Prim , switching to a event based system (World/Avatar register as event handlers). It is possible that I've broke something with this commit but it doesn't matter as I'll just hide and no one will find me. 2007-05-21 16:06:58 +00:00
gareth afab62dab3 Increased version number to 0.2! ZOMG! 2007-05-21 01:24:54 +00:00
lbsa71 4d5c9499f8 * minor refactoring for readability (and to lessen greed) 2007-05-21 00:11:55 +00:00
Adam Frisby b2fe47ecb1 * Minor tweaks with new userserver
* Fixed password encoding to match MD5 standard properly.
* Fixed exception caused on user first login (minor)
* Fixed exception caused by incorrect username (minor)
* Returns login error rather than grid error if username is incorrect
2007-05-20 23:34:29 +00:00
Adam Frisby 7d29bd138f Finished adding comments 2007-05-20 16:39:03 +00:00
Adam Frisby 1aecd0372b Adding SQL files for new userserver table layouts. 2007-05-20 16:31:47 +00:00
Adam Frisby d3e05bf743 * Switching back to MySql 2007-05-20 16:27:57 +00:00
Adam Frisby 65d13e7cd1 * DB4o support made default
* Some comments
2007-05-20 16:26:12 +00:00
Adam Frisby 5f020dc444 Infact, so fresh it didnt even load a database connection! 2007-05-20 16:20:49 +00:00
Adam Frisby 57abbfa85a Adam proudly presents: A new user/login server - fresh to you from his desktop, and completely untested! 2007-05-20 16:19:36 +00:00
gareth 3b1eba2ffc Need to add the grid portion next to test this thing 2007-05-20 16:17:19 +00:00
Adam Frisby 7073286008 * Added UnixTimeSinceEpoch() function to Util class (god knows how many times we have reimplemented this.) 2007-05-20 16:10:35 +00:00
MW 4f26cf8ea2 Didn't want to get left behind in the number of commits, and hey it says there are some differences between my local copy and svn, so why not commit? 2007-05-20 15:50:36 +00:00
Adam Frisby 60639337bd * Fixed depreciated warning in MSSQL Manager
* Added support for user agents in the Userserver UserManager
2007-05-20 14:38:25 +00:00
Adam Frisby b8c4e744f9 Small fix (2/2) 2007-05-20 14:33:53 +00:00