Commit Graph

188 Commits (3a28e39816533267155cb0b72ca0820ce6f2c898)

Author SHA1 Message Date
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
lbsa71 1747d49d71 * built binaries, pdb's and user files should not be under version control.
* updated vs2005 and nant targets
* added some build files
* ignored some binaries, pdb's and user files
2007-04-11 07:33:14 +00:00
Adam Frisby adb56a46f4 Major ass changes to terrain (now uses libTerrain-BSD!) and all-round improvements to code quality. Terrain saving/loading may work now (running through setHeights1D and getHeights1D before DB4o) **WARNING: UNTESTED** 2007-04-11 05:19:27 +00:00
MW 03f5ff9dc2 2007-04-10 10:45:46 +00:00
gareth 34d91c31cf And now clothes update and show for all users
woohoo!
2007-04-10 02:03:47 +00:00
gareth 632db47dd7 Fixed avatar appearance not updating issue as per bug report #79 2007-04-10 01:43:40 +00:00
gareth 868f184f23 Avatar now stands still and does the normal animation stuff 2007-04-10 01:23:03 +00:00
gareth ea84e93679 Fixed "teh bug" 2007-04-10 00:43:11 +00:00
Adam Frisby 4ab5803911 Documentation! 2007-04-07 17:37:04 +00:00
MW 0879e6427e compiles and works just weird terrain problem (and terrain saving is currently not functional) 2007-04-06 19:25:29 +00:00
MW 0311fef244 Now back to compiling, just no terrain generation at the moment 2007-04-06 19:08:24 +00:00
Adam Frisby fb0dffbf13 **BREAKING CHANGE** Changing the way terrain is stored and used internally. 2007-04-06 18:48:23 +00:00
MW 802d443be8 very very few changes, but just commiting so that svn it upto date with my local version. And also to keep robl^ happy that a commit has been made. 2007-04-06 13:04:46 +00:00
MW 0a377238f8 more work on Primitive2 2007-04-04 19:55:31 +00:00
gareth 7c2b4d1c9d no SimUUID in OpenSimMain 2007-04-04 19:20:17 +00:00
gareth f741e00ad8 Added SimUUID
Added empty POST for /sims in REST on gridserver
2007-04-04 18:57:13 +00:00
MW d3766d0aef Deleted OpenSim.Config/SimConfigDb4o, as it hasn't been used for a while now.
Split World class into two partial classes
2007-04-04 18:26:33 +00:00
MW 76df9e626d Split Avatar class into three partial classes (hopefully will make it easier to work on) 2007-04-04 16:31:35 +00:00
lbsa71 74484ed2ed * Added Primitive2 to vs2005 solution (again) 2007-04-04 14:56:09 +00:00
MW 0ad017677b Seems that I didn't actually include the Primitive2.cs file in the earlier commit. 2007-04-04 14:13:49 +00:00
lbsa71 85385c958a * Added Primitive2 to vs2005 solution
* Apparently, Prebuild thinks DEBUG should be in there.
2007-04-04 13:27:13 +00:00
MW a70ef1c2cb Started to clean up/ rewrite Primitive class , currently the new version is called Primitive2 and not used, but once it is complete then it will replace the old version. 2007-04-04 11:06:39 +00:00
gareth 5e81e7ed9d Finished initial sim<>Grid login (kinda)
Can login but no config data sent/updated yet
2007-04-03 20:39:28 +00:00
lbsa71 f12ceff692 * The world can not contain ScriptFactories that creates unique instances of scripts for entities.
* Created Scripts folder to house trusted Scripts
* The test script now lives in Scripts/FollowRandomAvatar.cs
2007-04-03 20:08:30 +00:00
lbsa71 7169acc47e * Extended Script API with GetRandomAvatar
* The script will now get a IScriptEntity to it's host object with get/sets
* The script gets a IScriptReadnlyEntity interface to entities other than the host object.
* the test script now follows a random avatar.
2007-04-03 19:12:07 +00:00
MW 6d8dcd1d1d Another temporary bug fix attempt, this time for the packet overflow problem, changed it so for now, packets are ACKed straight away in one PacketAck Packet for each ACK. 2007-04-03 18:47:10 +00:00
MW 73380ed52b attempt at a temporary fix to the shirt creation bug. (Its only temporary as I think the real problem is a deeper one) 2007-04-03 18:25:43 +00:00
MW 9b2a4e8172 Added easier way to add "scripts" to prims: to add Libsa71's test script, create a new note and delete the contents of the created note and then add "<Script>Test</Script>" (without the quotes) , then save that and then drag it from your inventory to the prim you want to add the script to. 2007-04-03 18:15:11 +00:00
lbsa71 ad39897144 * Script prototype 2007-04-03 16:50:17 +00:00
MW ba2c94721c Limited (hacked) object linking. Note: once you have linked a set of prims together (in one go), then don't try to link anymore prims to those objects. 2007-04-03 16:10:00 +00:00
MW 56e6587c9f Temporary fix for the object taking bug 2007-04-03 13:37:11 +00:00
MW fdc9ed89b4 OpenSim no longer uses OpenSim.Config.SimConfigDb4o, it now uses OpenSim.GenericConfig.Xml (or a class implementing IGenericConfig). 2007-04-02 15:48:01 +00:00
MW 23ecc07caa Added OpenSim.GenericConfig.Xml project, so we can swap to a more generic configuration method, so that it is easier to load configuration data from a ogs server 2007-04-02 12:56:35 +00:00
gareth 8b81f8d593 Added /simstatus REST handler 2007-04-02 12:35:21 +00:00
MW 1ea4ba3a18 Moved database storage of the world map to the Db4LocalStorage so its in the same database as in world prims are stored. 2007-04-02 10:46:59 +00:00
gareth 489ab5a0d2 Added OpenUser.Config project 2007-04-02 10:14:36 +00:00
MW a4fd8dd543 2007-04-02 09:13:01 +00:00
MW aa708d59f5 Fixed VS2005 solution/project files 2007-04-02 09:09:00 +00:00
gareth e985e05a5a Added new REST protocol (partially complete)
Made sim profiles load from DB
Updated build files for grid server
Added sim login
2007-04-02 00:48:25 +00:00
MW f48aabd1b1 More refactoring 2007-04-01 20:42:42 +00:00
MW 86f6a33bc8 More cleaning up of SimClient and packet handling 2007-04-01 15:30:27 +00:00
MW f0a3edfb34 Moved more packet types to handlers 2007-04-01 12:02:44 +00:00
MW def7335b6c More work on adding Packets handlers and tested the first handler. 2007-04-01 10:19:21 +00:00
MW 548b125b7c Added Packet handlers to SimClient 2007-03-31 21:18:05 +00:00
MW af93263a3b Can now Rez and DeRez objects (take to and from inventory).
Very much a work in progress and likely to be a number of bugs.
2007-03-31 15:54:16 +00:00
MW 8c5b51b7c0 2007-03-31 09:14:07 +00:00
MW bcae0bce85 Some very basic terraforming, can raise and lower the terrain, but currently only a very basic brush algorithm (and can't change the brushes size) 2007-03-30 16:50:19 +00:00
MW ef4cae5587 2007-03-30 15:51:38 +00:00
MW cf182b9897 Clothing now seems to work (though there are likely to still be some problems) 2007-03-30 12:12:33 +00:00
MW 43da731307 Removed a few comments sent to the console 2007-03-30 11:12:10 +00:00
MW 00579d3581 Should now be able to create and edit Notecards 2007-03-30 11:09:51 +00:00
MW d14a24d5ca Started to add a few features to the web front end that should be useful during debugging.
First such feature is that you can see a list of any connected clients inventory.
2007-03-30 10:14:15 +00:00
MW b2ae86dd6a When you change the name of a inventory item, it should no longer revert after a logout / login 2007-03-29 20:55:44 +00:00
lbsa71 feaf036aa2 * Moved LoginServer and LocalUserProfileManager to OpenSim.Servers 2007-03-29 19:42:58 +00:00
lbsa71 30c5be3704 * Now the rest handlers try to match path as close as possibly, so it's possible to add handlers for just a beginning of a path. 2007-03-29 19:22:01 +00:00
lbsa71 514a323056 * RestMethod now uses same pattern as XmlRpcMethod
* Made /Admin use RestMethod
* HttpServer is now a mini-webapp-server yay!
2007-03-29 19:05:34 +00:00
lbsa71 761db20c5f * Tried to make the sandbox/useraccount sim setup a bit simpler
* Removed some comments
2007-03-29 18:21:04 +00:00
lbsa71 9ea0e881a4 * Naaw, -realphysx is too much to ask
* Genning proj Guids from name hash, for great justice
2007-03-29 17:29:52 +00:00
MW f673b73471 Fixed so Inventory structure is correct after a log out and re-login (in Sandbox accounts) 2007-03-29 17:04:24 +00:00
MW 17b00785ee Added lbsa71's http server changes.
So it now has a single http listener that passes incoming requests to the correct handler.
This means that logins (in sandbox mode) now go through this listener, which for now is listening on the port you set in startup (default 9000). (This needs changing so that the http listener and udp server are not using the same port)
2007-03-29 11:08:42 +00:00
MW 9653210db7 Fixed name quotes bug 2007-03-28 20:25:31 +00:00
MW 35fa85069e After hours of searching for a bug, it works - User accounts in sandbox mode, currently they are not persistent between restarts (ie restarting opensim.exe) but should be persistent between sessions (login/ logout).
Use the -account command line arg to enable them and then create new accounts through the web interface
2007-03-28 18:10:52 +00:00
MW 98d81485e7 RIP OpenSimRoot. (removed)
Merged most of the bug fixes etc in from LLdemo branch.
Added the textures from that branch.
2007-03-28 13:08:27 +00:00
lbsa71 d66ef8f428 * worked a little bit more on straigthening the startup procedure out 2007-03-28 05:27:20 +00:00