Commit Graph

2759 Commits (afrisby)

Author SHA1 Message Date
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
Brian McBee 4af84b0bb2 Fixed Terrain rescale command 2007-11-23 03:45:53 +00:00
Teravus Ovares 2db19b7d65 * Added more comments
* Tweaked the esoteric throttler parameters again.
2007-11-22 23:56:44 +00:00
Teravus Ovares 01cd8014da * Added another code path to skip the packet throttle queues when there's no need to queue the packet up. 2007-11-22 23:14:38 +00:00
Teravus Ovares f97aeab916 * Quelled a Log format exception in the logging routines.
* Tweaked some esoteric throttle settings
* Removed AgentThrottle from the unsupported packet list.
2007-11-22 21:40:53 +00:00
Teravus Ovares 999eec603e Created a client driven packet throttler. The sim now respects the client's network throttle settings but does sanity checks to avoid too little(nothing gets sent) or too much(the sim crashes) data.
* Consider this experimental..   however, it looks very promising.
2007-11-22 19:01:53 +00:00
lbsa71 ae5999c3d5 * removed erroneous comments 2007-11-22 15:43:28 +00:00
Teravus Ovares e69c810486 * Added code to capture the draw distance setting from the client.
* Added a support function to InnerScene to calculate the distance between two vectors.
2007-11-22 01:32:13 +00:00
MW e5a0049c16 Fixed bug that can lead to infinitive loops 2007-11-21 12:00:28 +00:00
Teravus Ovares 7cb38712d5 * Did some initial work for prim crossing. Just glue so far.
* Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler.   This flag gets purposely disabled in grid mode.  This flag also has the consequence that you can see the prim in neighboring regions without going into them.  Be warned, this causes tons of dropped packets.
2007-11-21 02:17:24 +00:00
Sean Dague 7b09800d5b fix for mantis #2 from Justin Casey (IBM) 2007-11-20 21:25:27 +00:00
Sean Dague ee8512ee20 patch for llDie from Kurt Taylor (IBM) 2007-11-20 21:19:45 +00:00
Brian McBee 5d786056fb per chi11ken: adding check for out-of-bounds avatars in POS 2007-11-20 05:59:35 +00:00