Commit Graph

17171 Commits (5f4f9f02309b7df4d1bdcc560cee96d266c48a07)

Author SHA1 Message Date
MW 3d93d39048 started to refactor startup code and to move udp server code out to its own class (currently not being used though) so that a single instance can handle multiple regions (each will need to be listening on a separate udp port) 2007-05-16 12:44:58 +00:00
MW 57d1a7bced made QueItem a nested class in SimClient. 2007-05-15 21:33:03 +00:00
MW 7f2fdb8054 Added RemoveAvatar() method to physics plugins, should be called on log out (needs doing) and when downgrading a client to a child-avatar (should be working) 2007-05-15 21:26:10 +00:00
MW ccf046e8e2 fixed part of the bug from 116 (should no longer get the repeated Failed with exception System.IndexOutOfRangeException: Array index is out of range error) 2007-05-15 20:44:14 +00:00
Adam Frisby 1e00633e6c Changed session ID generation to use crypto generator, and this time - work. Heh. 2007-05-15 18:39:20 +00:00
MW 384293ac56 Worked on Asset server, asset downloads (from server to sim) now work.
Asset uploads (from sim to server) may or may not work, needs more testing, if they don't work then it should be just a encoding problem and not hard to fix.
2007-05-15 17:51:13 +00:00
MW 6b15c6e556 Added SimClientPacketHandlers.cs (moved the SimClient Packet handlers into it) 2007-05-15 15:15:01 +00:00
MW db6427b6f4 Turned SimClient into a partial class (and added SimClient(Grid), so that grid mode specific code can be kept separate)
Fixed the ServiceManager project (added reference to System.Xml to its project in prebuil.xml)
2007-05-15 15:05:13 +00:00
MW f41e5343c5 updated Build/project files to include the new projects and new files.
Improved the enable neighbours code (Simclient thread should no longer sleep for 3 seconds for each neighbour).
2007-05-15 14:54:53 +00:00
morphw d326e84d5a provide ready-to-eat attributes parsed from byte array 2007-05-15 14:43:35 +00:00
morphw b5011e24ee added processing for TeleportLocationRequest and TeleportLandmarkRequest. Local teleports implemented, inter-region teleports left to do. 2007-05-15 14:00:59 +00:00
Adam Frisby 3cdc219ed6 Attempting to add region name to console. 2007-05-14 21:15:26 +00:00
MW a889caf200 moved the EnableNeighbours code to after the client has completed the move to the region 2007-05-14 21:04:14 +00:00
MW aaedfb5ae2 set the default region x,y and sim port to 0 in UserProfileManager. XmlRpcLoginMethod() , these are then over written in CustomiseResponse(). 2007-05-14 20:29:57 +00:00
Adam Frisby 7659d67fdb Added some sanity checks to AddViewerAgent to prevent duplicate addition (now attempts update). 2007-05-14 19:31:05 +00:00
Adam Frisby 20b4ecbec1 Added Alien World Terrain Dataset to /bin/TerrainDatafiles (3x3) 2007-05-14 18:06:52 +00:00
Adam Frisby 596cf9123a Fixing numerical typo in fast mode. 2007-05-14 16:53:55 +00:00
Adam Frisby c99593a47c * Added new "fast mode" region neighbour establishment. Reduces query count by 88% when connecting a new sim to the grid. Only compatible with the MySQL data provider right now - disabled by default. Reenable on line 181 of GridManager.cs 2007-05-14 16:52:52 +00:00
Adam Frisby c7a6d627f2 Check if we have arguments before processing them. 2007-05-14 16:33:44 +00:00
Adam Frisby 3ee195b1e6 * Commented out GridManager lines until they are checked into SVN
* Added new GetProfilesInRange(x,y,x,y) data function to return sim profiles between certain coordinates (for use with World Map information, etc). Implemented in GridServer.Data.Mysql - stub functions placed in other data providers.
2007-05-14 16:13:31 +00:00
Adam Frisby 59e6718482 Unbreaking trunk kthxbai! 2007-05-14 15:44:08 +00:00
gareth e2d0db8d11 Created directory for the OGS management app 2007-05-14 12:31:28 +00:00
gareth 64a98c7368 Finished off adding the new management API to gridserver
Updated VersionInfo.cs finally
Updated prebuild and rebuilt nant build files
Completed Management agent basics
2007-05-14 03:13:47 +00:00
gareth 4e9892eaa2 Added skeleton for grid management agent 2007-05-14 02:02:01 +00:00
gareth 08e0a17897 The beginning of something wonderful.... 2007-05-14 01:55:25 +00:00
gareth 5ba3fa9629 Added -setuponly switch to gridserver
KILLED THE GRIDSERVER'S CONSOLE VICIOUSLY AND WITHOUT MERCY!!!!
Added gridserver setup to InitSetup() in ServiceManager
2007-05-14 01:50:13 +00:00
gareth d95d59db3b Now we just need that --setup option for all the apps..... 2007-05-14 01:38:52 +00:00
gareth 5ef8e3a13a Added cool setup thing (no XML writign yet) to ServiceManager 2007-05-14 01:20:10 +00:00
andy 6361bb7664 Added exception handling. 2007-05-14 01:00:52 +00:00
gareth ca595e2779 some more try/catch 2007-05-14 00:16:44 +00:00
gareth 67e7d126f3 A configuration file you say?
If you say so....
2007-05-14 00:08:52 +00:00
gareth 0834b097f6 Added skeleton master service manager 2007-05-13 21:01:21 +00:00
gareth 4018bf01bc 2007-05-13 19:48:07 +00:00
gareth bbf76e73a0 Added ServiceManager directory ready for the services stuff 2007-05-13 19:47:28 +00:00
gareth 9ec87a847e bla 2007-05-13 19:46:09 +00:00
Adam Frisby b6eaf1f844 Setting default grid server to DB4o 2007-05-13 15:11:26 +00:00
Adam Frisby b110179730 * Fixed MySQL Grid Manager
* Added preliminary support for DB UserServer (incomplete)
* Added better handling of defaults to Grid Manager.
* Renamed SQL/regions.sql to SQL/mysql-regions.sql.
2007-05-13 14:59:24 +00:00
MW 5917d36219 Inventory should be working again in sandbox mode 2007-05-13 13:10:15 +00:00
MW 98705e6211 Changed to slightly better textures for the map: a blue one for the sea and one that if you stand at least 10 feet away from the screen and strain your eyes a bit and have really bad vision could maybe look like a island. 2007-05-13 12:48:42 +00:00
MW 05d9593198 Added very basic support for maps (likely to only work in sandbox mode due to the non functioning remote asset server), also currently just uses textures that we already had added to the asset server (this is the first thing that needs fixing) 2007-05-13 12:25:08 +00:00
Adam Frisby dd6f96bf2b * Added first generation region DB for SQL-based grid storage engines.
* Not well optimised, also uses MySQL-specific syntax but should be easily portable.
2007-05-13 09:56:54 +00:00
Adam Frisby ec1901e4b8 EXTERM-INATED. (Add warnings produced by WriteLine change have been updated to include Log Priority) 2007-05-12 15:44:10 +00:00
Adam Frisby bd05850be1 93 warnings in the compiler, 93 warnings appear, you fix one up, create two more, 94 warnings in the compiler... 2007-05-12 15:32:04 +00:00
Adam Frisby fd84968d05 Only 193 warnings to go! 2007-05-12 15:19:03 +00:00
Adam Frisby 06ffeb22d9 You are obsolete. You will be EXTER-MIN-ATE-D. EXTER-MIN-ATE! 2007-05-12 14:55:22 +00:00
MW dcdef3599d no longer need to use -loginserver with -sandbox (using -sandbox will always start the loginserver) 2007-05-12 13:05:16 +00:00
Adam Frisby e723225e6d SimProfileBase is obsolete. EXTER-MIN-ATE! EXTER-MIN-ATE! 2007-05-12 12:12:56 +00:00
Adam Frisby 13da0673b2 PROTIP: System.Random isn't actually random. Use RNGCryptoServiceProvider in System.Security.Cryptography if your generating random numbers for security related purposes. 2007-05-12 11:58:23 +00:00
MW d663dfa3bd Increased the flying speed 2007-05-12 10:12:34 +00:00
Adam Frisby 80d854809e * Changed homepos default to 150m from original of 23 which could be underground.
* Need to create new user accounts for this to take effect.
2007-05-12 09:13:03 +00:00