Commit Graph

151 Commits (8f5c96f02bd9b6dd4001777f9abc957257fceafd)

Author SHA1 Message Date
Adam Frisby 8f5c96f02b Dumb mistake #2 2007-04-27 22:29:29 +00:00
Adam Frisby fadb4a9dcc Dumb mistake - forgot to assign the datastore variable 2007-04-27 22:26:57 +00:00
Adam Frisby 6ce5b6e439 Major ass commit
Added new "Datastore" parameter to simconfig.xml which is passed to storage engines via a new Initialise() function.
2007-04-27 21:11:02 +00:00
Adam Frisby feca5d22c6 * Added new commandline option -config <configfile.xml>
Note: This is untested but is a very simple change and should 'just work'. If someone can test, appreciated.
2007-04-27 20:32:02 +00:00
MW 14a4ff3081 added just what opensim needs...yet another command line option: -noverbose . cut down on the system console output (should really be stopping it all but not all output is going through OpenSim.Framework.Console) 2007-04-26 17:50:25 +00:00
MW a7c374ac51 At last: avatar-template.dat is no more 2007-04-26 17:29:41 +00:00
MW c64039363d Mostly working again.
Updated to lastest libsl and handled the changes to the message templates (some byte fields are now ushort fields ).
Still seems to be a problem when logging on, in that I get the downloading clothing message at the end of the precaching (which I didn't before)
2007-04-26 12:56:14 +00:00
MW f06d0f1047 attempted bug fix 2007-04-25 18:48:08 +00:00
MW 9ed0a8dbad updated to use lastest version of libsl but is currently broke when using SL viewer 1.15.02, due to big changes in the message templates. 2007-04-25 18:12:06 +00:00
MW 68b33294b1 Can now use the xml config file for setting up things like sandbox mode, login server, physics engine etc. To use this mode add just -configfile to the startup line (instead of the -sandbox etc)
A example of what to add to the xml is: SandBox="true" LoginServer="true" UserAccounts="false" LocalAssets="false" PhysicsEngine="basicphysics"  (add those to config node in simconfig.xml). 
The current options for PhysicsEngine are : basicphysics, RealPhysX, OpenDynamicsEngine.
2007-04-25 13:47:32 +00:00
MW f7b51d63a8 Small clean up of files and directories 2007-04-25 13:03:48 +00:00
Adam Frisby 7dd98f3094 Moved console input-handling function "RunTerrainCmd" into BasicTerrain itself, this allows independent versions of BasicTerrain to have different functionality exposed directly. 2007-04-24 18:01:37 +00:00
Adam Frisby d82466ec82 Added mutex instead of lock for update 2007-04-22 18:51:03 +00:00
Adam Frisby 2194b74473 Needs testing.
1. Fixed Update Lock (should now compile)
2. Added support for rescaling a primitive without it jerking to the side.
2007-04-22 18:48:45 +00:00
Adam Frisby 6103e06a34 Added lock around World.Update to prevent multiple updates occuring simultaneously (it happened!) 2007-04-22 18:00:01 +00:00
Adam Frisby 869b39c451 SimClient: Added Try/Catch over block of code which is triggering an exception that should not be triggerable. (Duplicate key after dictionary is locked, checked for key, then added) [!?!?]
AvatarUpdate: Added check for if the physics actor is null before attempting to access it.
2007-04-22 17:31:51 +00:00
lbsa71 60047aa5a6 === Dedicated to Jesse. ===
* Deleted empty directory
2007-04-22 09:44:27 +00:00
gareth b0dfd5602a Now starts up a laggy (to be fixed) TCP server in grid mode and sends a banner
NEED THREAD POOLS!!! DO NOT LET ME GET AWAY WITH BEING LAZY PEOPLE!
2007-04-22 05:40:00 +00:00
Adam Frisby c1f34105fa Bumped avatar entry height to 15m above ground rather than the old 1m above ground. Should prevent 'below ground' arrivals. 2007-04-22 04:49:12 +00:00
Adam Frisby 77723fbda1 Removed last references to ancient LandMap[] array. 2007-04-22 03:28:58 +00:00
Adam Frisby cb2e495202 Commented first 50% of World.cs's functions with /// tags 2007-04-22 03:25:18 +00:00
Adam Frisby 0b54136042 Small fix 2007-04-22 03:16:26 +00:00
Adam Frisby c6b1dd0fac Added exception handling to each function in World.cs - code is assumed stable so MSVC debugging of this code should no longer be needed. If however, it is needed, put a breakpoint on the exception handler concerned. 2007-04-22 03:15:22 +00:00
gareth 1dfda8f744 Added OpenGridProtocol class - start of the new TCP-based intersim protocol, very basic skeleton
First commit since we lost JesseMalt - Dedicated to their memory
2007-04-21 17:36:03 +00:00
Adam Frisby 2844c56ef4 Terrain / Physics / Storage:
* Added terrain "taint" - if terrain is tainted, the terrain is marked as needing to be saved.
* Added check for taint in the Backup() routine, if taint is found, terrain is saved and physics engine is notified.
2007-04-21 05:51:10 +00:00
Adam Frisby 9990bf4826 Config:
* Added sane defaults to each configuration step. (The defaults for sim/user/grid will now create a working grid)
2007-04-21 05:09:06 +00:00
Adam Frisby 984235c622 Terrain:
* Added 'multiply' command since rescale doesnt exactly do what Adam wants.
2007-04-20 14:53:38 +00:00
Adam Frisby ae8824985c Terrain:
* Added 'rescale' command for normalising a terrain between two values
2007-04-20 14:49:24 +00:00
MW 84700807c7 Hopefully fixed the forward slash bug in the gridurl set up 2007-04-20 13:44:17 +00:00
Adam Frisby 258e62679a Console:
* Reorganised and added default handlers to main functions
* Removed "regenerate" command, use "terrain regenerate" instead.
* Added new "terrain seed" command to set the random seed
* Added new "terrain load" command to load a terrain from disk
* Added new "terrain save" command to save a terrain to disk
Terrain:
* Added new export and import functions for some common formats
* Added new setSeed function to allow customising the random seed
2007-04-20 05:39:01 +00:00
MW ec790b8876 2007-04-17 19:49:58 +00:00
MW 631d30b80d Yet another command line option (really need to get all these moved into a config file), this one: "-localasset" (without the quotes) is a temporary hack to use a local asset server when in grid mode. (use with extreme caution if you have more than one sim in a grid) 2007-04-17 13:39:21 +00:00
MW 2180bdf64a Hopefully undid the murder I committed in the last commit 2007-04-17 12:25:20 +00:00
MW d5406fe773 A few fixes and stopped sim crossing being attempted in sandbox mode 2007-04-17 12:03:52 +00:00
gareth 3e86870f7f Created skeleton SimComms.cs for sim<->sim UDP circuits
Fixed bug with <0,0> co-ordinates on sim crossing
2007-04-17 10:53:50 +00:00
gareth bbcb20e192 Sim crossing now works (except for broken co-ordinates, resets to 0,0 - to be fixed soon)
Fixed sandbox mode fully
Scrapped former XML-RPC expect_user call for sim crossings
Sim client thread can upgrade/downgrade between full and child agent dynamically
2007-04-17 01:38:20 +00:00
MW 990680027f Started to fix sandbox mode 2007-04-15 09:45:34 +00:00
gareth 7f0ecec464 unbroke sandbox mode 2007-04-15 02:50:09 +00:00
gareth f9b7cc53de W00t! multiple sims!
Misc bugfixes
Child agents!!!!!!
General sexy stuff
2007-04-15 02:31:34 +00:00
gareth dd5f4abdb9 Fixed weird XML/HTTP bugs
Can now update a sim profile at startup automatically! W00t!
Untested neighbours code (for sim crossings)
Didn't drink any red bull today :( Used liquid guarana extract + cola
2007-04-13 15:14:21 +00:00
gareth cc53580ba4 aaaaaaarrrrrrrrrggggghhhhhhhh why oh why? 2007-04-12 18:34:17 +00:00
lbsa71 1a28ef6292 * Replaced GridHTTPServer and UserHTTPServer with BaseHttpServer
* Now dumping default value in config.
*
2007-04-11 20:07:58 +00:00
lbsa71 08d5d10d62 * Started on converting UserHTTPServer to BaseHttpServer
* Added a 'param' param to the RestMethod
* Added RestHandlerEntry to store more info about the 'rest' handler
2007-04-11 14:14:19 +00:00
MW bea8e2b826 Renamed the Servers directory to OpenSim.Servers 2007-04-11 13:40:29 +00:00
MW 2f3b6c4b10 small improvement to the jvm and test script 2007-04-11 12:49:00 +00:00
MW 5ad6d5a939 First basic test script now works in the jvm scripting engine.
For it to work you need to have a java sdk installed and the javac.exe somewhere in the environment Path variable.
Then To test, copy the text from bin/script1.text into a note card and then add that note to a prim.
2007-04-11 12:13:21 +00:00
MW ffd7a6b8c2 Changed so that a bin\ScriptEngines\ directory will be searched for scripting Engines.
Added the work in progress JVM scripting engine.
2007-04-11 09:45:48 +00:00
MW 435d61661b 2007-04-11 09:29:06 +00:00
gareth 950389a263 Added POST handler for /sims/ in the grid server
Removed asset/user config in grid mode in the region server
Added "create user" command in the user server console
Begun buggy code to send sim details to the grid at startup
Drank whole pack of red bull in one night and made stupid jokes in SVN logs and C# comments
2007-04-11 08:51:39 +00:00
lbsa71 8f5919bf63 * nant building again 2007-04-11 07:57:03 +00:00