Commit Graph

2571 Commits (984f2da17d2b0064e38f8aa620ad7f5a19b0b3a2)

Author SHA1 Message Date
Sean Dague 641e541967 add a few more parens to make sure that throttling condition
is really happening the way we want it to.
2007-11-29 16:32:19 +00:00
lbsa71 7704bb6f63 * Fixed neighbour range bug
* Various refactorings
2007-11-29 15:27:57 +00:00
Teravus Ovares 4bd38fc65a * Thanks to _SomeOne_, Server side permissions on object editing. Be aware, that if you're editing an object on your client that you're not allowed to, it'll appear that it's moving to you, but won't actually be moving on the sim. 2007-11-29 15:24:31 +00:00
Teravus Ovares 0619451ea6 *Added more information about the sim that you're connecting to in remoting during the sim, regionup message.
*Added the main cause for the remoting error to the console display.
*This will make it easier to debug future remoting issues.
2007-11-29 14:08:34 +00:00
Teravus Ovares 4738fead21 * Added a 50 second restart notify timer that gets reset when new regions come up to give servers that host a lot of sims a long time to start listening. 2007-11-29 07:25:58 +00:00
Jeff Ames 6d7ce67db1 fixed duplicate login in standalone mode (mostly untested in grid mode) 2007-11-29 07:22:11 +00:00
lbsa71 a32bb91675 * minor refactorings 2007-11-29 06:07:48 +00:00
lbsa71 d05b121dff * Locking on local scope variable does not make sense - every thread will have its own
* Locking on value, then changing it does not make sense - lock will happen on old reference
* Taking a local copy of the shared resource then locking on the copy does not make sense - lock will happen on copy
2007-11-29 06:06:42 +00:00
Brian McBee b0c5693c02 Changed to doing only 1 request to the grid server from main map. Hopefully we are not requesting too much in one gulp. 2007-11-29 02:30:11 +00:00
Teravus Ovares 81ba94fde8 * Fixed about 7 issues with restarting sims and resolved interRegion comms issues. This includes the issue that MW described this morning.
There's a lot of little nit picky changes that make a world of difference.
2007-11-29 02:07:19 +00:00
Jeff Ames 2364e6779b set svn:eol-style 2007-11-29 01:57:59 +00:00
Sean Dague 40dc1ac3b0 I believe this turns throttling back on. I had expected
that the Queue would come in by reference, but it didn't
appear to be.
2007-11-28 18:39:07 +00:00
Sean Dague 4c28554d88 update prebuild
Nant files now obey the target out of prebuild.xml, so Linux users will be able to build as Debug
Nant clean target now does the right thing (doesn't wipe out all of bin/)

Prebuild's own prebuild system is broken due to the .exe workaround added a while ago, will
register a bug for that seperately.
2007-11-28 16:24:28 +00:00
Sean Dague 5fb81ab881 merged ClientView into a non partial class. Will
make it easier to start breaking this up into 
more discreet functional classes
2007-11-28 13:33:57 +00:00
MW ac77c50ba9 Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications).
Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
2007-11-28 12:36:09 +00:00
Teravus Ovares c021bfe191 * Disambiguation in the 'sim is restarting message' that tells you 'which' sim is restarting in the area. 2007-11-28 06:31:27 +00:00
Teravus Ovares b7d596a6af * Restaring the sim works fine in grid mode now. Sims announce themselves to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up.
* Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
2007-11-28 06:18:07 +00:00
Sean Dague f3895c1e01 build ThrottleCheck function to clear up bits of the throttle
code.

Fix typo on throttling Task packets incorrectly
2007-11-27 21:27:32 +00:00
Sean Dague f4e91bc7d9 moved out nested class to it's own file 2007-11-27 20:50:45 +00:00
Sean Dague cebdd069f4 some variable renames to help me read the throttle code 2007-11-27 20:37:17 +00:00
MW b916d5b112 Fixed bug, where the clients in a region weren't told to kill a user's avatar when that user teleported to a different region. 2007-11-27 15:44:39 +00:00
Sean Dague 70d547c1a5 Remove unused function, one less warning 2007-11-27 15:39:35 +00:00
Sean Dague 719257b9a9 remove the .dll from System.Data, this breaks monodevelop builds 2007-11-27 15:32:30 +00:00
Teravus Ovares 082f2baebe Fixed an event in the events chain in inter-region communications.
As a consequence, restarting sims in the same process instance now shows them when they come back up in grid mode and standalone mode.
2007-11-27 13:46:52 +00:00
Brian McBee 959084f885 MainMap workaround. Map still does not fill in automatically, but one click on map should return a decent portion of it. 2007-11-26 16:40:08 +00:00
Brian McBee 232613638f Attempt to handle MYSQL error fetching assets 2007-11-26 16:39:00 +00:00
Adam Frisby 011ad46960 * Disabled primitive count updates on Parcels for the moment, until we can move parcels into a module. 2007-11-26 15:06:51 +00:00
Teravus Ovares 175b6115f1 * Restarting regions with the estate tools works in sandbox mode. I'm still working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either. 2007-11-26 05:02:18 +00:00
Brian McBee c710525b48 Added Region name to the terrain texture description that gets sent to the asset server 2007-11-25 22:27:42 +00:00
Brian McBee 35472b3666 Added new configuration item to User Server: X and Y of region to send user to if their logon region is down. Known good region, sort of. 2007-11-25 21:21:44 +00:00
Brian McBee 7720be5a39 Rez new prims ON the ground, not halfway buried. Mantis 33. 2007-11-25 17:53:16 +00:00
Teravus Ovares d263a044b1 * Added the ability to restart your individual sims from within them using the estate tools.
* The sims properly restart, however they don't yet notify the existing avatars that they are up.  To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
2007-11-25 04:52:14 +00:00
Brian McBee 21ce2b0979 Ignore nullreferenceexception in removeclient. The avatar is already gone. 2007-11-25 04:33:18 +00:00
Brian McBee 6ed34cc27e fixed order of map block requests to grid server. flipped map texture, as it was upside down. 2007-11-25 03:14:43 +00:00
Teravus Ovares 545404e3ec * Experimental updated Linux ODE library 2007-11-24 21:23:28 +00:00
Adam Frisby 0951f895ef * Removed references to "new LLUUID()", replaced with LLUUID.Zero. 2007-11-24 10:36:54 +00:00
Adam Frisby 39a3784b43 * Added some bounds checks to the sendLandUpdate packet to deal with agents coming in from foreign regions.
* Updated bounds-check of getLandObject to check for >= 256 rather than > 256.
2007-11-24 10:05:42 +00:00
Teravus Ovares 18e1e62f26 * Changed reference to NullReferenceException to System.NullReferenceException for Linux 2007-11-24 04:12:55 +00:00
Brian McBee 892f942523 Test storing terrain texture to grid assetserver on startup. Needed for main map functionality. 2007-11-24 03:55:35 +00:00
Teravus Ovares 944b118c62 * Added a way for the Region master user to kick individual users from their sim with a custom message. Their client says, "You've been logged off of secondlife, <Your custom message here> and logs them off.
* Added a way for the Region master user to kick *ALL* users from *ALL* their regions in the estate with a custom message.
2007-11-24 03:28:42 +00:00
Brian McBee 2f4f83e343 Make remoting errors because of missing adjacent regions a little more user and console friendly 2007-11-24 02:22:05 +00:00
Teravus Ovares 52714c339e * Hanling RequestGodlikePowers. On Request.. sends the sim owner's client the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets.... 2007-11-24 01:38:36 +00:00
mingchen 3ce6116e4a *Shared Modules have feelings too! -- Shared Region Modules that are found in DLLs are now correctly loaded automagically. 2007-11-24 01:31:42 +00:00
Teravus Ovares d7ec786244 * Added a nice 'The Region is going down.' message to the user when the sim owner issues 'shutdown' on the console. 2007-11-24 00:19:48 +00:00
mingchen 51d4d88985 *Fixed bug causing parcel prim counts to stop updating. 2007-11-23 20:17:49 +00:00
lbsa71 8c252ec416 * convenience ignore 2007-11-23 20:03:55 +00:00
mingchen e7edd02019 *Fixed bug that resulted in most land settings being sent to the client. Media settings/parcel name are now correctly sent. 2007-11-23 19:07:41 +00:00
lbsa71 7ef1f887ea * the export-map now takes 'CurrentOrFirst' Scene, not necessarily the CurrentScene (as that is not set initially, and hence the command was a bit unintuitive) 2007-11-23 19:00:25 +00:00
lbsa71 fb2588b409 * Refactored NumPackets calculation 2007-11-23 13:21:39 +00:00
Teravus Ovares 1ecd803e87 * added some functions for use in raytracing. They're kind of crappy now, so they only display 'guesses' on the console when you rez a prim.
* any math gurus who'd like to improve rezzing need only to make the raytracer in SceneObjectPart work :D
2007-11-23 05:56:35 +00:00