Commit Graph

3307 Commits (c66b5a9e71caef783781f028c356b7c07fdb1c8b)

Author SHA1 Message Date
Teravus Ovares c2863df49d * Added and implemented the LSL changed event.
* An example changed event syntax is at: http://opensimulator.org/wiki/Changed_Event_Example
* You can use this to trigger actions in your script if someone sits on your object_rez
* You can use this to figure out all of the CHANGED_ constants except for CHANGED_REGION, CHANGED_TELEPORT, and CHANGED_ALLOW_DROP
2008-01-17 02:23:48 +00:00
Teravus Ovares feba36aaf3 * Fixed standing up so that you're at the new position of the prim if you move the prim and then stand up!
* Enter llSetPos elevators and conveyors n' stuff.!
2008-01-16 22:53:49 +00:00
Justin Clarke Casey e13feaa375 * More prim inventory synchronization
* Remove some mysql verbosity
2008-01-16 21:43:22 +00:00
Tedd Hansen 7fa6646d6f Added (experimental) terrain elevate command to allow whole terrain to be elevated with positive or negative values 2008-01-16 21:21:31 +00:00
Justin Clarke Casey b33da2538e * Fix mantis 345 - it is now possible to duplicate prims directly in the region again without breakage
* This includes their inventories
* Also, this revision properly synchronizes prim inventory crud.
2008-01-16 20:27:12 +00:00
Teravus Ovares c3061717d0 * Fixed a packet counting issue that I introduced
* Fixed a bunch of goofy math for calculating the sim stats counters
* Made most of the sim stats counters additive so it's easy to change the sim stats interval
* Changed the sim stats send interval to 3 seconds
2008-01-16 19:34:48 +00:00
Justin Clarke Casey 57519b6dba * Store task inventory when an object is taken into agent inventory
* This means that you can take an object from a region and rez it somewhere else, with its inventory intact.
* As for earlier, at this stage only scripts can be placed in inventory
* This isn't an efficient implementation, a better one will probably need to come along soonish
2008-01-16 18:35:34 +00:00
MW 795a339af5 First part of changing prim's permission flags to use the correct enum (libsl PermissionMask) 2008-01-16 17:31:07 +00:00
Teravus Ovares 771ed747e5 * Slowed down the sim stats update to once every 5 seconds because the network accounting required it... with it being the lowest updated stat.
* Time dilation is off now..  because it's the additive of the 0.91 * 10 (adds a second) / 5( the number of seconds since the last update) which results in 0.41td as common
* Slowing down the network accounting update will probably fix the red issue.
2008-01-16 17:07:46 +00:00
lbsa71 2c69b006a7 * added missing using clause 2008-01-16 14:52:47 +00:00
lbsa71 b12f56d1d0 * fixed a race condition where several UDP-generated threads would collide on accessing AckList
* introduced __TryGetValue__ (learn to love it!) instead of ugly ifs and catch
2008-01-16 12:38:08 +00:00
lbsa71 f2ca9c1d05 * Reverted bugfx that really should go into separate commit 2008-01-16 12:33:02 +00:00
lbsa71 5e757d2ad1 * More work on getting the database framework to actually work 2008-01-16 12:25:13 +00:00
Teravus Ovares 29c869fd33 * Fix for: http://opensimulator.org/mantis/view.php?id=358 2008-01-16 06:04:33 +00:00
Teravus Ovares 5dd741267e * Added Agent Time, Pending Downloads, and made Agent Updates/Sec actually accurate.
* We're only missing, the script related sim stats counters and the Images time counter and the Pending Uploads counter.  The rest of them are actually implemented now.
2008-01-16 05:48:40 +00:00
Teravus Ovares 5958192398 * Added Packets In/s, Packets Out/s and Current un_acked Packets to the SimStatsReporter
* This doesn't take into account the throttler, it just assumes the throttle limit isn't reached.
2008-01-16 03:33:46 +00:00
Teravus Ovares 314c554ed4 * Refactored the SimStatsReporter to reuse the same packet and packet blocks over and over again instead of creating 1 a second.
* Added frame Milliseconds, Physics Milliseconds and Other Milliseconds to the Sim Stats Reporter so we can start to figure out what the slowdowns are. (these were the most convenient to get and had just about no overhead.
2008-01-16 02:48:39 +00:00
Justin Clarke Casey c15eec2cb0 * Restore non dash asset UUID persistence which was made dashed in r3069
* Apologies, any sqlite databases created between r3069 and this change will now contain unfindable assets.
* But sqlite asset databases used previous to r3069 will now work again.
* This change may have been done on purpose, so it's not impossible it will be re-reverted
2008-01-15 22:16:43 +00:00
Jeff Ames 258a4dc282 Set svn:eol-style. 2008-01-15 20:24:35 +00:00
lbsa71 3af939d993 * vs croaked on strong name key
* updated disclaimer
2008-01-15 20:18:59 +00:00
lbsa71 f5103b98be * Renamed a bunch of Data baseclasses for clarity and readability
(Slowly getting there)
2008-01-15 20:07:02 +00:00
Teravus Ovares 0a783e4442 * Added some comments to the linkset positioning code 2008-01-15 14:39:35 +00:00
lbsa71 47c6529523 * Some morw work on specializing the database framework for OpenSim 2008-01-15 10:15:39 +00:00
Teravus Ovares 492e72b21a * Delinking doesn't leave invisible physical objects behind anymore 2008-01-15 04:27:02 +00:00
Teravus Ovares 45e945616b * Pass 2 of collidable (non physical) linksets
* Linkset status is now persistent
* Tweaked a physics child prim positioning hack to generate less database saves
* Re-factored physics object creation calls into ApplyPhysics.  To create a new physics representation of an object or linkset, it's only necessary to call *group*.ApplyPhysics(bool m_physicalPrim).  *lbsa has been waiting for this refactoring*
* We have collidable linksets now. (they don't become phantom anymore)
2008-01-15 04:14:27 +00:00
Adam Frisby b25f9f322c * Mother of all commits:
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-15 02:09:55 +00:00
Jeff Ames 84c3a317c1 Set svn:eol-style. 2008-01-14 22:37:45 +00:00
lbsa71 6d751411b7 * Added specialization of DatabaseMapper, DataReader and ObjectFieldMapper to support LLVector3, LLQuaternion and LLUUID
* Added PrimitiveBaseShapeTableMapper to show how it's done

NOTE: Nothing actually works yet - this code should be considered more of educational value until it's all wired together
2008-01-14 22:34:19 +00:00
Sean Dague b49ae37e89 my Exists check was slow and wrong. This fixes issues people
were just having on IRC.  Thanks to Grumly57 for helping to sort
this out.
2008-01-14 21:35:49 +00:00
Sean Dague 20cf62b417 good bye ADO.NET to assets, notice faster startup time 2008-01-14 20:42:27 +00:00
Sean Dague db40ffb43f move db open to initialization, which is where it should have been
all allong
2008-01-14 19:47:59 +00:00
Teravus Ovares a522d7844b * First pass at collidable linksets
* There will be bugs, you can count on that. To avoid them, set the linksets phantom
* After region restart, the linksets restore in a non collidable state.
* Linksets can but shouldn't be made physical with the physical checkbox or when you unlink them, they tend to explode.
* After creating a linkset, you have to move the linkset or set it phantom and not phantom for it to become collidable.   
* There's a few ParentGroup references that need to be refactored.
2008-01-14 18:29:04 +00:00
Justin Clarke Casey 785826231e Print out the exception as well as APPLICATION EXCEPTION DETECTED when the server hits something terminal.
This was the original intention, but the line order was slightly wrong.
2008-01-14 18:02:37 +00:00
Jeff Ames 6716668187 Set svn:eol-style. 2008-01-14 16:47:36 +00:00
Justin Clarke Casey c9ad862aab Remove unused SOG constructor 2008-01-14 15:46:42 +00:00
Tedd Hansen 370e79cd9e ZERO_ROTATION set to 0,0,0,1 -- not 0,0,0,0 ;) 2008-01-14 15:37:00 +00:00
Teravus Ovares dca31797da * 32bit Linux libode update
* Improves heightfield collisions
2008-01-13 23:47:09 +00:00
MW 62157b6dde Applied patch from melanie (thank you) for mantis issue# 338 2008-01-13 22:47:10 +00:00
Teravus Ovares 30714c044e * HeightField handling update in ODE. Should improve the terrain pits. So far, only windows lib updated. Need to do the Linux version.
* Update also checked into opensim-libs
2008-01-13 22:11:49 +00:00
lbsa71 4853821310 * ignored some bins 2008-01-13 19:32:25 +00:00
lbsa71 6946050ada * Added ThirdParty node for external library sources that are shipped with the solution.
* Added conceptual TribalMedia.Framework.Data library; this is meant as a generic database layer abstraction library, that should be specialized into OpenSim.Framework.Data
* OpenSim.Framework.Data should subclass FieldMappers to extend LLVector3 and LLQuaternions
2008-01-13 19:31:56 +00:00
Tedd Hansen 6eaa9b4766 Anti-crash fix: Allow int (numbers without dot) when changing Estate terrain settings.
Also added exception handling if string->float conversion still should fail for some reason.
2008-01-13 16:40:33 +00:00
Teravus Ovares 4f39df42ae * Removed a debug message that I left in there.... 2008-01-13 08:07:45 +00:00
Teravus Ovares d9e4533202 * Fixed an overflow in the land manager
* Did some goofy math undoing in the Sim Stats Reporter
* More reduction to the amount of calls per second to UnManaged ODE code
* Added a significant amount of comments to ODE
2008-01-13 07:14:54 +00:00
Charles Krinke fa83249db8 Thank you very much, Kinoc for implementing llGetSubString and llDeleteSubString:
from the c# implementations of string.SubString(start,len) and string.Remove(start,len).
Especially since negative indexing and exclusion are included in the LSL versions. 
This patch is closer to the LSL version. Maybe an osSubString and osRemoveString 
would be appropriate?
2008-01-12 22:25:10 +00:00
Charles Krinke 7d609ae56d Thank you, Kinoc for adding: When accessing slower web sites or proxy services
300 msecs can be too slow and cause a timeout to occur. This is reported when 
llHTTPRequest times out but may not be reported for other functions like 
osSetDynamicTextureURL. This sets the time out to 30 seconds. It appears 
that the value affects not just llHTTPRequest's.
2008-01-12 22:18:23 +00:00
Adam Frisby f59f4e476d * Made it so that if you don't specify a key, the defaults will not be assumed.
* If you wish to turn off key authentication, set the values to "" (null) in the grid config, and do the same in clients.
2008-01-12 19:28:50 +00:00
Adam Frisby 0b0df333dc * In the interests of making life difficult for everyone, the Grid Server now actually checks your authentication keys rather than ignoring them. 2008-01-12 19:23:56 +00:00
alondria d3fa814458 Added notice on console to change storage_plugin if set to OpenSim.DataStore.MonoSqlite.dll before replacing with OpenSim.Framework.Data.SQLite.dll 2008-01-12 17:18:42 +00:00
alondria 4e643eba5f If OpenSim.ini uses OpenSim.DataStore.MonoSqlite.dll, have it use OpenSim.Framework.Data.SQLite.dll during runtime. 2008-01-12 17:10:06 +00:00