Sean Dague
f47bcb0f98
bring back some script engine debugging, hoping this will help track down the randoms segfaults
2008-02-18 14:17:09 +00:00
Justin Clarke Casey
1cbef0b908
Patch from Michael Osias IBM (jimbo2120)
...
In his own words:
If a prim becomes a listener or remote channel and the script is deleted, it cannot become a listener or channel again with a new script.
This patch fixes that.
2008-02-18 11:14:53 +00:00
MW
5fb1809384
Small change to the IAgentAssetTransactions file that Chi11ken added for me (thanks Chi11ken). when I forgot to commit it on saturday.
...
[The ComsmsManager will die]
2008-02-18 09:29:22 +00:00
Teravus Ovares
81a00dd68f
* Thanks to Ahzz, more verbose error messages on the console and possibly a fix to the b*stard Sakai issue.
2008-02-18 07:22:10 +00:00
Teravus Ovares
27afeaec74
* Added /even more/ debugging messages to the UDP server to help people in resolving the Sakai issue. A few locks a few fixes, nothing that'll solve the problem in itself though.
2008-02-18 05:32:25 +00:00
Charles Krinke
2c81e18fc3
Thank you very much Ahzzmandius for adding the support
...
to purge the avatars inventory "Trash" folder using the
bizarre tortoiseSVN method of diff/patch.
2008-02-18 03:25:14 +00:00
Charles Krinke
3df36523cb
Thank you very much, Hashbox for:
...
Changed the public IsAdministrator back to protected,
now checks Config to see whether it is allowed to run or not.
Defaults to false (not allowed).
To use add the following to OpenSim.ini
[LL-Functions]
AllowosConsoleCommand=true
2008-02-18 03:14:31 +00:00
Teravus Ovares
8edaada1d3
ODE: Tired of floating above the ground after crossing a border? Boy have I got a solution for you! For a limited time, you can be the right height after border crossings automatically. Just three easy payments of $9.95 and make sure your neighbor is sending child agent updates!
2008-02-18 01:52:25 +00:00
Charles Krinke
e6a74344e7
Thank you Hashbox for adding the
...
osConsoleCommand Feature to ll-functions.
2008-02-17 21:15:43 +00:00
Teravus Ovares
c2d7beb617
* Last bit of cleanup now. As long as you keep physical prim off, you should have a reasonably stable experience with ODE again.
...
* Physical prim at the simulator edge still seems to have the occasional issue.
2008-02-17 20:40:21 +00:00
Teravus Ovares
f80a534eb0
* Various ODE Cleanups
2008-02-17 20:04:28 +00:00
Teravus Ovares
89349a3810
* Disabling physical prim crossings until they get a bit more stable.
2008-02-17 12:10:47 +00:00
Teravus Ovares
e33a0c5fc0
* Fixed the Ghost physical hull on deleting a physical Prim
...
* Fixed a deadlock when there is an exception in the collision and stepping parts of Simulate.
2008-02-17 11:50:15 +00:00
Teravus Ovares
19e0ada93a
* Located and destroyed the weird velocity and rotation transfers. It turned out to be that the Static PhysicsVector.Zero was transferring velocities between all non fixed objects. Not so static after all :(. Finding it was cruel and unusual punishment from the CLR.
...
* Therefore, when you run through a pile of prim you won't see things rotate when they're not supposed to anymore.
* Avatars don't float off either.
2008-02-17 10:41:08 +00:00
Charles Krinke
58c72c409d
Thank you very much, ChrisDown for a patch to
...
remove unnecessary terrain stores at region startup
2008-02-17 02:07:25 +00:00
Charles Krinke
df04345e3f
Thank you very much, Diva for a patch to increase the
...
grid server reliability.
2008-02-17 02:03:27 +00:00
Charles Krinke
9e828ab168
Thank you very much, Taoki for additions to pCampBot to improve walking, talking
...
and adding additional sentences for communications with pCampBot.
2008-02-17 01:57:07 +00:00
Jeff Ames
3b9d332f84
Added copyright notices.
2008-02-17 01:16:40 +00:00
Jeff Ames
0da6dabc15
Added dummy IAgentAssetTransactions to fix compile failure.
2008-02-17 01:00:17 +00:00
MW
5cc0bbd419
Renamed AgentAgentTransactionModule to the correct name of AgentAssetTransactionModule
2008-02-16 13:13:40 +00:00
MW
b618802e53
Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though.
...
But its one more thing out of the CommsManager. One day we will kill the CommsManager!
2008-02-16 13:01:42 +00:00
MW
694dff3b70
Some changes to remove some of the direct calls to CommsManager from Scene, so that they now go through the SceneCommunicationService. As a small step towards the day we can kill the CommsManager (YAY!)
2008-02-16 11:55:09 +00:00
Jeff Ames
e8225f2f81
Update svn properties.
2008-02-16 08:35:19 +00:00
Tedd Hansen
5e949d4700
Forgot one small but important line .. ;)
2008-02-16 08:22:29 +00:00
Tedd Hansen
169032b4a4
Fixed ScriptEngine config in OpenSim.ini.example that was out of place.
...
Added some info to failure on GridServices listening port so people can see what actually went wrong.
Moved most of the function/event execution module to a baseclass so other execution methods (instead of reflection) can be used with custom script modules run by ScriptEngine.Common.
+ some accumulated patches
2008-02-16 07:53:02 +00:00
Teravus Ovares
be6edefcfb
* ODE Stability update 4 :D
...
* Changed the way meshing requests get sent to the ODEPlugin
* Numerous other fixes
2008-02-15 21:35:52 +00:00
Justin Clarke Casey
cf9c0135b1
Resolve mantis #572 - terrain help printed multiple times when change-region has not been invoked
2008-02-15 16:05:49 +00:00
Sean Dague
4cc5aac18b
be smarter about the size of dynamic textures that we pull in
2008-02-15 15:55:23 +00:00
Sean Dague
2f6e1ac34d
allow for 1024x1024 textures through osSetDynamicTextureURL. Follow up patch
...
to do smarter resize coming this afternoon.
2008-02-15 13:00:47 +00:00
Justin Clarke Casey
c769d93206
* Temporary measure of deleting the Mono addin cache dir of addin-db-000/ on every startup to avoid cache corruption problems
2008-02-15 12:50:10 +00:00
MW
23c7c6dabd
Fixed bug in AvatarFactoryModule that resulted in removing cloth items, not being persisted.
2008-02-15 12:39:45 +00:00
Jeff Ames
e16f9a16c7
Moved LaunchSLClient prebuild.xml into main prebuild.xml
2008-02-15 03:30:15 +00:00
Jeff Ames
25e7f74d29
Move pCampBot prebuild.xml into main prebuild.xml to fix reference errors. Update README.
2008-02-15 03:21:05 +00:00
Jeff Ames
21b623b70e
Moved pCampBot to OpenSim/Tools
2008-02-15 02:53:05 +00:00
Jeff Ames
337d2d2a88
Oops. Forgot about Windows users.
2008-02-15 02:51:46 +00:00
Jeff Ames
343f41ac1b
Minor syncing of copyright notices.
2008-02-15 02:38:02 +00:00
Jeff Ames
b5a9592cc1
Moved LaunchSLClient build system to Prebuild.
...
Refactored LaunchSLClient code a bit.
2008-02-15 02:37:05 +00:00
Jeff Ames
b13836db57
Update svn properties.
2008-02-15 00:43:20 +00:00
Sean Dague
741f753c56
attempt to make our logging at least fail gracefully, we'll see if this helps
2008-02-14 19:29:07 +00:00
Sean Dague
980a926a4b
make dynamic textures temporary to try to stop filling up the
...
asset db.
2008-02-14 19:17:25 +00:00
MW
8ad450f83e
More work on trying to get AvatarFactoryModule to play nicely with multiple threads
2008-02-14 18:59:03 +00:00
Adam Frisby
e1d9275610
* Fixed accessibility problem on ITerrainChannel
2008-02-14 17:23:29 +00:00
MW
4616563cc4
Added "better" multi thread handling to AvatarFactoryModule, which uses EventWaitHandles, I'm a bit concerned about what effect this might have on performance in a large grid. But I've spent long enough on this problem for one day and as its valentines day, I will be killed and tortured (most likely not in that order) if I don't stop work for the day soon.
2008-02-14 16:38:38 +00:00
Adam Frisby
91d9248fce
* Removed some catch-all-ignores from UDPServer in an attempt to look for #305 .
...
* Minor work towards abstracting terrain.
2008-02-14 16:13:53 +00:00
Sean Dague
3a208a3a4f
Fix a casting subtlety in moving to constants. Logins should work
...
again.
2008-02-14 13:28:35 +00:00
lbsa71
2d066c4136
* Took a stab at getting keys to work as intended
...
[Provided by openlifegrid.com]
2008-02-14 13:09:33 +00:00
lbsa71
cf6e268d6d
* Added more debugging output to GridManager to pin down the key exchange weirdness
...
[Provided by openlifegrid.com]
2008-02-14 13:02:41 +00:00
Adam Frisby
3c22da9efc
* Tree Populator Module, use "script tree" to make a growing tree in your sim.
2008-02-14 12:27:24 +00:00
lbsa71
f4c0e45bac
* Fixed #564 , errors in friend sql
...
[Provided by openlifegrid.com]
2008-02-14 12:26:42 +00:00
Adam Frisby
f3afa68a2a
* Made new Framework.Constants class, added RegionSize member.
...
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize.
* Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-14 12:16:33 +00:00
lbsa71
c0d411f427
* Exposed AddHandlers in response to mantis #534 . Thanks, kmeisthax!
2008-02-14 11:15:41 +00:00
Justin Clarke Casey
1229503764
Revert the index -> Add changes made in AvatarFactoryModule previously. It appears that in conjunction with MW's locking changes, that two threads may race to create the avatar
...
appearance in the TryGetAvatarAppearance() method. Moving off Add will mean the second replaces the first instead of throwing the exception. This may still not be a good
permanent solution - more extensively locking or a code rearrangement could be better. I'm going to leave this in MW's much more familiar hands now.
2008-02-14 11:10:43 +00:00
Teravus Ovares
135a72d6ca
* Removed the noise from the console. The last commit seems to have resolved the recent reports of 'argument not a space' on linux. Though, there were about 50 changes :D
2008-02-14 10:07:15 +00:00
Tedd Hansen
44385800cf
Changed UserServer create user password input to cleartext so we can see what the all the fuzz/blur is about. Make sure that you hide your monitor and that there are no black vans with large antennas parked outside while you type the password.
...
Actually, turn off your monitor while typing password. Then press reset button on your computer.
2008-02-14 10:04:14 +00:00
Teravus Ovares
bd880f9178
* Another ODE Stability update. This might fix the recent Linux issues with the ODEPlugin.
2008-02-14 09:31:22 +00:00
Jeff Ames
0bb085261b
Update svn properties from a bar ftw. Kanpai!
2008-02-14 09:30:49 +00:00
Teravus Ovares
e3a711536b
* ODE - This fixes a few things and breaks a few more.
2008-02-14 01:57:19 +00:00
Tedd Hansen
5f70b8b922
Added a small but maybe important clue that UserServer is not running.
2008-02-14 01:35:17 +00:00
Jeff Ames
4e005fc225
Cleaned up some typos.
2008-02-14 00:44:21 +00:00
Teravus Ovares
0d14c47c28
* Bigisn ODE Stability update 2
2008-02-14 00:39:08 +00:00
Teravus Ovares
3588d89b2c
* Bigish ODE stability Update. Run Prebuild
2008-02-13 23:14:41 +00:00
lbsa71
12e0d8b316
* Fixed another bug in avatarpicker ('surname'/'lastname' mixup)
...
[Provided by openlifegrid.com]
2008-02-13 21:35:54 +00:00
lbsa71
2c48ceedd8
* Fixed bug in avatarpicker so now you can search on single word
...
[Provided by openlifegrid.com]
2008-02-13 21:15:05 +00:00
lbsa71
952cdd4166
* Added some more comprehensive log entries on region login.
...
[Provided by openlifegrid.com]
2008-02-13 21:05:26 +00:00
lbsa71
b05409b03f
* Minor guard for null case.
...
[Provided by openlifegrid.com]
2008-02-13 20:51:59 +00:00
lbsa71
b705ba21f3
* Moved insertUserRow into MSSQLUserData so 'create user' works again
...
[Provided by openlifegrid.com]
2008-02-13 20:20:52 +00:00
lbsa71
15c6788dc7
* Moved insertRegionRow into MSSQLGridData
...
* Split table test and creation into table by table
* Debugged table creation Sql
* Added missing CreateUserFriendsTable.sql
2008-02-13 20:08:46 +00:00
Teravus Ovares
d9e01bf453
*fixed varchar size typo in createuserfriendstable.sql
2008-02-13 19:10:03 +00:00
Teravus Ovares
2e89c01851
* This fixes mantis 553 (It appears that the exception is thrown when there is a collision with a cylinder that is both hollowed and either tapered or cut. The sequence of actions that reproduce the problem for me are: create a cylinder, hollow to 95%, taper X/Y, then collide it with another object or avatar. Note that the cylinder itself is not marked physical. )
2008-02-13 19:06:35 +00:00
Justin Clarke Casey
df21da6dec
* Patch from Dr Schofld's (IBM). In his own words
...
all TerrainEngine.LoadFromFileX(string filename) methods don't set the dirty bits in heightmap.diff[,] in contrast to the TerrainEngine.LoadFromFileX(string filename, int dimensionX, int dimensionY, int lowerboundX, int lowerboundY) cousins. this has the unpleasant drawback that the Scene.SendTerrainUpdate(bool) will not send layer data to the client.
the attached patch fixes all LoadFromFileX(.) methods.
Thanks!
* Also small build fix for AvatarFactoryModule
2008-02-13 16:35:42 +00:00
MW
d91c03e23b
Added some locks on the cache Dictionary in AvatarFactoryModule.
2008-02-13 16:29:34 +00:00
Justin Clarke Casey
5e9ae68df4
* Fix for mantis 522. However, I would be a little surprised if this code did much anyway, so perhaps it's not currently in use.
2008-02-13 15:27:11 +00:00
Justin Clarke Casey
3624efde85
* Make code fix to address prim rotation unlink issues (mantis 383, 454. 369)
...
* Many thanks to alex_carnell for the necessary information for this
2008-02-13 14:45:32 +00:00
MW
49a5a00b80
Added a method to access a named folder in a users inventory, to the inventory Database interfaces. This could be useful for adding a item to a users inventory from say a web front end application or some other third party application. [note the method is only currently implemented in the sqlite provider]
2008-02-13 14:45:13 +00:00
lbsa71
c202a7d0aa
* Copied 'Friends' functionality from the MySQLUserData to MSSQLUserData
...
[Provided by openlifegrid.com]
2008-02-13 13:55:03 +00:00
lbsa71
4880bd121e
* Split out MSSQLManager Test/Init into each provider.
...
* Made regions table name configurable (MSSQL only)
* Added a note in ini.example pointing out that the sql resources have to change if you change table names
* Removed duplicate picker method from GridData interface
[Provided by openlifegrid.com]
2008-02-13 13:39:51 +00:00
lbsa71
bcd3a5b28b
* Introduced customizable table names on MySQL and MSSQL UserData plug-ins.
...
[Provided by openlifegrid.com]
2008-02-13 12:06:09 +00:00
Teravus Ovares
c1044039d4
* Removed a debug line that got called every frame.
2008-02-13 08:37:50 +00:00
Teravus Ovares
d773ca5147
* Made physical prim stable enough for the general population to turn on. (though I still don't recommend it for welcome regions unless object build is off.
...
* Updated the ode.dll for windows with a more reasonable stack space reserve. Linux users will need to type ulimit -s 262144 before starting up OpenSimulator if using Physical Prim to protect against stack collisions. or run the included ./bin/opensim-ode.sh to start up OpenSimulator in ODE mode.
* Added internal collision score and am keeping track of 'high usage' prim.
* Tweaked collisions some more
* Tested up to 460 physical prim in extremely close quarters (which was previously impossible in OpenSim). After 460 in tight quarters, physics slows down enough to make it hard to do any moving, however.. non physics things still work, such as logging on to the simulator, etc.
2008-02-13 07:50:15 +00:00
Jeff Ames
001ce95e4c
Clean up more unnecessary String.Format calls
2008-02-13 03:38:18 +00:00
Justin Clarke Casey
a1a206cb05
* Clean up LIBRARY INVENTORY messages
2008-02-13 02:43:41 +00:00
Justin Clarke Casey
45638cc141
Commenting and a spelling correction
2008-02-13 01:04:27 +00:00
Justin Clarke Casey
1677bde480
* Clean up the agent's asset transactions when it is removed from the scene
...
* This may or may not help with the memory leak, need to assess
2008-02-13 00:52:49 +00:00
Justin Clarke Casey
365cf8e455
* Refactor: Move last commit's refactor back to AgentAssetTransactionsManager
...
* Push asset update (invoked when clothing is altered) down into AgentAssetTransactions from Scene.Inventory.cs to join others
* I've tested that clothing creation and update still works, but please let me know if it suddently breaks for you.
* Add/correct comments
2008-02-13 00:30:51 +00:00
Justin Clarke Casey
2018cf312b
Refactor: factor a method out of AgentAssetTransactionsManager
2008-02-12 22:41:57 +00:00
Justin Clarke Casey
c0211c1ca2
* Add missing locking to mysql inventory plugin
...
* Should resolve mantis 542
2008-02-12 22:24:12 +00:00
Justin Clarke Casey
6a3455a98c
* Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and align classes with file names
...
* Small amount of ndoc
* This will probably require a prebuild and nant clean
2008-02-12 18:15:54 +00:00
Teravus Ovares
49a6ac300f
* This fixes the object edit box's flipping checkboxes when you modify one of the permission masks or Locked status using the available checkboxes.
2008-02-12 15:47:37 +00:00
lbsa71
d79633b7c7
* various minuscule code convention conformance fixes
2008-02-12 11:21:23 +00:00
Teravus Ovares
e5ede36f0c
* Physical prim cross borders and continue from where the left off on the other side now, assuming the region on the other side has physical prim enabled.
2008-02-12 07:32:32 +00:00
Teravus Ovares
6e01769bcf
* A bunch of updates to make things more smooth.
...
** Sending the actual TimeDilation to the client now instead of the 62455 constant. The client is *supposed* to use that value to sync with the simulator. (actually sending ushort.maxvalue * TimeDilation)
** Disabling prim that inter-penetrate instead of just not attaching a joint
** Reduced prim spin a 'little' bit, but not *enough*
** Tweaked the TimeDilation algorithm to be closer to 1.0 by default and various changes to the sim stats reporter
** Created a .SetValues method to PhysicsVector so we can simply call the setvalues function instead of .x, .y, .z sets.
** Experimented with a .GetBytes Method on PhysicsActor to be able to use the LLVector3.FromBytes() method.
** Upped the Inter-penetration depth to 0.25 instead of .08.
2008-02-12 04:27:20 +00:00
Teravus Ovares
c926962862
* This resolves the null exceptions when a script is manipulating a physical object in ODE and you delete the object. The script is still running and trying to add force, but the object reference is null.
2008-02-12 00:01:55 +00:00
Teravus Ovares
f603e57e9a
* Added PhysicsScene.Dispose()
...
* In ODE, disposing of all of the ODE objects and the ODE World to reclaim memory when the simulator restarts.
2008-02-11 22:54:51 +00:00
Justin Clarke Casey
7647239f32
Tiny change to print out a warning in a situation which almost guaranteeably never occurs anyway
2008-02-11 21:58:58 +00:00
MW
7bbb9a08cb
Re-enabled Inventory creation of body parts
2008-02-11 20:54:46 +00:00
Justin Clarke Casey
c80c6e9774
Documenting and minor tweaks
2008-02-11 20:10:44 +00:00
Tedd Hansen
7156d7ae51
Moved share/sql/mysql-AvatarAppearance.sql to OpenSim/Framework/Data.MySQL/Resources/AvatarAppearance.sql as described in share/sql/mysql_README.txt
...
Thanks dmiles_afk
2008-02-11 18:24:00 +00:00
Tedd Hansen
d1e0b642f4
* Renamed and moved avatar appearance config keys. Everyone who has appearance persistence needs to set new params for it (check OpenSim.ini.example)
...
New keys "appearance_persist" and "appearance_connection_string" are now under [Startup].
* Reorganized OpenSim.ini slightly
2008-02-11 18:04:12 +00:00
MW
aae37cb1d0
reverted the last three commits
2008-02-11 15:56:01 +00:00
MW
a3837a1e9a
yet another small change (as part of my fight back against Teravus over taking me in the number of commits)
2008-02-11 15:54:22 +00:00
MW
9cce1ab366
another small change
2008-02-11 15:52:59 +00:00
MW
f3ff3a678b
small change
2008-02-11 15:52:18 +00:00
lbsa71
e399141dfb
* Added some connection debugging
2008-02-11 14:09:35 +00:00
lbsa71
c927928245
* some refactoring on permissions
...
* temporary re-introduced the weird 'flip-back' behaviour, but debugging it; will remove it if I don't find anything.
2008-02-11 13:26:55 +00:00
Sean Dague
c7c567182a
From: Ansgar Schmidt <ANSI@de.ibm.com>
...
Here is a patch for Revision 3380. This patch adds the feature of loading
XML prim specification via XML-RPC call on a given island. Call with
Islandname and XMLPrim Filename.
2008-02-11 12:58:01 +00:00
Sean Dague
c654df5dfd
From: dirk husemann <hud@zurich.ibm.com>
...
these two patches fixe the terrain load exception that occurs when
restarting OpenSim on PPC32 by making terrain loading endian clean.
it does NOT fix the client crash exception. need to hunt that one down.
2008-02-11 12:38:51 +00:00
Tedd Hansen
59b224a901
Unhandled exception handler hookup is now the first thing to happen when OpenSim starts
2008-02-11 09:11:33 +00:00
Teravus Ovares
e6453d9b9d
* Changed child_get_tasks to see_into_this_sim_from_neighbor.
...
* Turned on see_into_this_sim_from_neighbor by default.
* Fix Race Condition with parts being added to a group while the simulator is starting up.
2008-02-11 05:19:54 +00:00
Teravus Ovares
a56664cf59
* um, Prim crossings? Experimental.
...
* Backup your database just in case.
2008-02-11 01:43:54 +00:00
Tedd Hansen
44058f8ae6
state_entry is now executed on state change.
2008-02-10 22:36:01 +00:00
Tedd Hansen
9a04e0e1c4
We now support LSL state
2008-02-10 22:25:59 +00:00
Dalien Talbot
c935b308e6
The very beginnings of attachments (no detachments! :)
2008-02-10 22:23:11 +00:00
Tedd Hansen
78363c3bab
Bugfix to state command:
...
"state default;" rewrite to "state ("default");"
2008-02-10 21:55:26 +00:00
Tedd Hansen
f5cf5ad134
Bugfix on that last Quaternion/Vector patch
2008-02-10 21:43:53 +00:00
Tedd Hansen
3b844cb756
Untested bugfix in state support
...
Replaced (?<s1>(?![a-zA-Z_]+)\s*)" + @"([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){ with (?<s1>(?![a-zA-Z_]+)\s*)" + @"(state\s+)?([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){
Lets see what happens now... :)
2008-02-10 21:37:19 +00:00
Tedd Hansen
801e95bbe1
Added support for function calls as values in LSL-specific <0,0,0> and <0,0,0,0> Quaternion and Vector
2008-02-10 21:30:46 +00:00
alondria
758458121e
Implements llListStatistics() and a bunch-o-LSL_Types.list statistical methods. Added LIST_STAT_HARMONIC_MEAN in addition to LL's LIST_STAT_*
2008-02-10 21:28:41 +00:00
Teravus Ovares
38f0615ffe
* This updates adds locking capability. Thanks, lbsa71 for pointing out my bitmasking error of the objectflags! It's still a little bit wonky when you check the checkbox, however it 'takes' and doesn't break anything.
2008-02-10 21:27:32 +00:00
Tedd Hansen
0756e01475
Removed some ScriptEngine config debugging.
...
Added experimental console command to:
* unload module (note: module probably doesn't support it)
* load module
Not visible in help (needs testing first).
2008-02-10 19:03:38 +00:00
Teravus Ovares
b4a19a4fb4
* Added support for delinking individual prim from a linkset.
2008-02-10 18:56:34 +00:00
alondria
c2632a2eb9
Implemented llGetParcelFlags() and llGetRegionFlags(). I don't think the RegionFlags are currently implemented within EstateSettings, thus this is always 0.
2008-02-10 18:08:02 +00:00
alondria
04a5a57b3d
Implements llGetObjectMass()
2008-02-10 17:41:57 +00:00
Charles Krinke
cf284efcda
Thank you very much, Hashbox for :
...
Add scene-debug command to Enable/Disable scripting,
collision, and physics from console.
2008-02-10 16:03:58 +00:00
lbsa71
e0424254bd
* Refactored permissions handling to extract info out of permisisons block in ClientView
...
* Changed some uint constants to Enum values
2008-02-10 14:27:21 +00:00
Teravus Ovares
8d37e91454
* Adding more broken objectflags to the list here. Touch was also broken. It might be smarter to just rebuild the whole objectflags before sending it to the client >.<
2008-02-10 12:44:36 +00:00
Teravus Ovares
85a9834ed8
* A lot of ugly permissions updates.
...
** Created SendFullUpdateToAllClientsExcept(LLUUID) so that permission updates /appear/ to apply immediately
** Separated out the ObjectFlags and the Permission Flags. They're related but not the same
** Added a hack routine to add *back* the objectflags to the client flags because the client hates the way we're doing object permissions
** Updated the clientflags routine to properly tell the client when they can't edit admin objects (objects owned by the sim administrator) even when they're an estate manager(why? >.< argh!)
** Fixed a null sim administrator/estate manager/user from causing permissions to return false even when it should return true.
** Re-added ObjectModify hack to allow collaboration with the allow anyone to move checkbox until we get group permissions done.
2008-02-10 10:55:57 +00:00
Jeff Ames
e207284fef
Clean up logging calls using String.Format explicitly
2008-02-10 01:57:59 +00:00
lbsa71
e9eaf8e949
* fixed typo. thanks, nebadon!
2008-02-09 22:26:28 +00:00
lbsa71
7486762aa0
* Refactored some asset code and in the process uncovered a bug; now, I think first transfer of asset should start faster.
2008-02-09 22:23:36 +00:00
Teravus Ovares
d2e66872ed
*Neb try this update. It might fix it.. it might also cause no parcel to be sent.
2008-02-09 22:05:00 +00:00
lbsa71
0b0bb28fd5
* added count of texture data bytes and asset bytes
2008-02-09 21:50:45 +00:00
lbsa71
e2ed5bf6b9
* Added count of temporary assets
2008-02-09 21:25:34 +00:00
lbsa71
176a1fe382
* added two new commands (for debug/disaster recovery)
...
'show assets' shows the current state of the asset cache (number of cached assets, requests, et c)
'clear-assets' forcibly re-initializes the asset cache thereby freeing all cached items.
'clear-assets' is not to be used lightly, as it probably introduces mem inconsistencies and doubling up of textures.
2008-02-09 21:17:47 +00:00
Tedd Hansen
4d376ee630
Added undocumented "modules list" command, lists shared region modules.
2008-02-09 12:08:08 +00:00
Jeff Ames
f6e9b9404f
Applied patch from mirceakitsune to fix #502 (lower land does the same as raise land)
2008-02-09 10:41:36 +00:00
Teravus Ovares
07d0f558c4
* Fixed nebadon's UserServer crash bug from yesterday.
...
* Made Estate tools work for estate managers without needing to request admin status First
* Added code to make the Simulator version to be reported in the About box of the client
2008-02-09 07:53:01 +00:00
Jeff Ames
fc9bdb6c16
Moved LICENSE.txt into root.
2008-02-09 06:08:55 +00:00
Teravus Ovares
c9b5516ca8
* Adds Top Shear support to the Meshmerizer for the Cube prim and the Cylinder prim.
2008-02-09 05:18:52 +00:00
Teravus Ovares
fec65b3c69
* Tweaked timing of rapid mesh requests. Helps a race condition.
2008-02-09 04:08:26 +00:00
Justin Clarke Casey
d546859bc1
* Change logger to handle [<entry>] where <entry> contains non alphabetic characters
...
* Change logger to not print extra line if [<entry>] <text> like string is not logged
* Remove more of my previous chatty debugging statements
2008-02-09 01:53:57 +00:00
Justin Clarke Casey
a50a8376d6
* In the most basic situations, ClientView and ScenePresence no longer leak memory
...
* However, I'm no longer sure they were even a big contributory factor (to this particular leak, there are other causes of other leaks). I need better measurement techniques
* Removed most of my debugging gawp
2008-02-09 01:37:53 +00:00
Justin Clarke Casey
2dc94870aa
Mostly debugging verbosity which I shall very shortly comment out.
...
Just want to try this out on windows quickly.
2008-02-09 00:14:34 +00:00
Teravus Ovares
bb5b88d161
* Fixed a situation in ODE where it didn't call the mesher on a cube when you tapered if you didn't have a cut or a hollow.
2008-02-08 23:48:27 +00:00
Justin Clarke Casey
16f8f19a54
* Stop asset transactions hanging around after they've completed
...
* Still not enough to solve the memory leak, though hopefully this is another step on the path
* All these changes are pretty temporary - this will be addressed with a more fundamental refactor in the future
2008-02-08 23:42:19 +00:00
Teravus Ovares
fadf5b479f
* Added Taper support to the Meshmerizer for Cube and Cylinder.
...
* Removed the hull verbosity
2008-02-08 23:28:38 +00:00
Justin Clarke Casey
f05f583613
Still chasing logout memory leak. Putting in small changes and temporary light verbosity to this end
2008-02-08 22:39:08 +00:00
Teravus Ovares
b63c267f0b
* Finished Cylinder in the Meshmerizer. Hollow and Path cut work for it now. Enjoy the new physics-friendly prim type.
2008-02-08 22:11:28 +00:00
Justin Clarke Casey
e6cd420f19
refactor - remove unused m_children from EntityBase
2008-02-08 20:11:45 +00:00
Justin Clarke Casey
47353ffe48
Minor refactoring
2008-02-08 19:56:49 +00:00
Justin Clarke Casey
9d95f9bcf4
Minor ScenePresence related refactoring
2008-02-08 19:53:18 +00:00
Adam Frisby
a50a26f812
* Dun-dun-dun. JavaScript scripting now actually works. :)
2008-02-08 18:39:30 +00:00
Justin Clarke Casey
24ac86931a
update eol-style
2008-02-08 18:18:56 +00:00
Adam Frisby
23e0ef3492
* Made some terrain functions faster computationally.
2008-02-08 18:18:34 +00:00
Adam Frisby
a1625a5410
* Applying mantis 339 patches round 2 -- Thanks daedius
2008-02-08 17:54:30 +00:00
Adam Frisby
a637473f80
* Adding console spam to help track 'The Steve Bug'.
2008-02-08 17:49:53 +00:00
Sean Dague
62943de68a
change counter from 3 => 2 based on feedback from mirceakitsune on mantis
...
http://opensimulator.org/mantis/bug_view_page.php?bug_id=490
2008-02-08 16:29:01 +00:00
Sean Dague
7b4fb3b8bc
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Attached is a patch for Mantis 25 - this fixes the problem of not having a
touch_start happen for all prims in a linked group. So, with this, large
builds can now have a single script in the base prim and it will run when
any prim in the linked build is touched. The problem was that the
objectgrab event was not being propagated to all the prims in the group.
2008-02-08 16:09:24 +00:00
Sean Dague
598c5a95d9
fix the issue found on IRC this morning. The logging call was mistructured
...
so threw and exception when attempting to log that we missed an asset and
were waiting for it.
2008-02-08 15:29:53 +00:00
MW
5a63047144
small bit of refactoring,
2008-02-08 15:07:29 +00:00
Teravus Ovares
3be2e772ec
* Removed a statement that crashes the Meshmerizer if you don't have a specific /dev/ folder
2008-02-08 12:07:39 +00:00
Teravus Ovares
7d77fa6a9d
* Okay, fixed the path cut offset, however the inner wall isn't properly 'cut' from the hull, so slightly better support, but still limited.
2008-02-08 11:44:27 +00:00
Teravus Ovares
50acb8e634
* This update adds limited support for Cylinder meshed prim in the Meshmerizer plugin. (Limited because path cut is wrongly offset and while Hollowing works, you can walk through the inside wall.)
2008-02-08 11:32:56 +00:00
Teravus Ovares
1ff4711cfb
* Fix: Send Parcel data on region crossing.
2008-02-08 03:20:11 +00:00
Charles Krinke
dfca32b046
Missed one event message that needed to be
...
commented out.
2008-02-08 02:23:57 +00:00
Charles Krinke
2fb541cb2a
Make timer events from scripts a little less chatty.
...
DEBUG is defined by default in the Linux build.
2008-02-08 01:42:56 +00:00
Tedd Hansen
97ec8cba62
Maybe VB.Net will compile now... who knows ;)
2008-02-07 16:37:28 +00:00
Tedd Hansen
ba846e62ef
Same VB.Net patch done right.
2008-02-07 15:36:58 +00:00
Tedd Hansen
c997cc97bb
VB.Net compiler might work on Windows now.
2008-02-07 15:31:22 +00:00
Teravus Ovares
dba1f476c9
* Fixed negative child agents in the sim stats.
2008-02-07 08:28:48 +00:00
Teravus Ovares
3674257095
* This update contains a bucket-full of network optimizations.
...
* ParcelProperties are sent only when needed instead of on any movement
* Terse Updates and other temporary data packets are marked unreliable
* After a certain amount of users, the sim actually sends updates on things less
* Experimental
* Tested to 68 avatar with pCampBot (And it's surprising what actually causes the most lag.. the text chat!)
2008-02-07 08:15:38 +00:00
Teravus Ovares
0e771c8d39
* didn't save :P so, this is the other half to my last commit
2008-02-07 06:11:02 +00:00
Jeff Ames
49622dfbc5
Update version numbers to 0.5
2008-02-07 04:41:08 +00:00
Charles Krinke
c076eab633
Additional debugging print on LOGOUT if/else in userServer.
2008-02-07 03:13:30 +00:00
Charles Krinke
d6f4656032
Shorten root inventory create folder message.
2008-02-07 03:06:34 +00:00
Teravus Ovares
1b8e89751a
* Added the Scripted objectflag if there is a script running in a prim. Remove the flag if you delete all of the scripts in the object.
2008-02-07 01:52:39 +00:00
Sean Dague
caa255bcdf
make a couple more changes to get us back very close to old color scheme
2008-02-06 20:59:31 +00:00
Justin Clarke Casey
aa9d3f7aed
* Allow terrain load-tile for RAW files
...
* Patch from Sophie Lee [webmage] - IBM. Thanks very much!
2008-02-06 20:47:08 +00:00
Sean Dague
2d7fbf6137
ummm... removed 1 too many newlines, formating a bit better now
2008-02-06 20:34:50 +00:00
Justin Clarke Casey
548bbc97e5
* Chasing down memory leak where memory used by a client is not returned on client logout
...
* This code may or may not be on the right track, but I want to save my work so far.
2008-02-06 20:34:18 +00:00
Sean Dague
b3e85daf02
pass 1 on getting colors back to the console
2008-02-06 20:32:37 +00:00
Adam Frisby
f93fdfa5af
* Marking off which uses of catch (Exception e) is legit and which are not, for later removal/replacement.
2008-02-06 15:30:02 +00:00
Adam Frisby
a37eb62047
* Added debug message to try track down Mantis#305.
2008-02-06 14:39:25 +00:00
Jeff Ames
3b42b5f098
Consolidated LoadAnims and AvatarAnimations constructor.
...
Fixes locking issues with Animations in ScenePresence (bug #324 )
2008-02-06 10:19:30 +00:00
Teravus Ovares
530d24da14
* Fixed script count incrementer. Was decrementing but only incrementing when a script was requested by UUID
2008-02-06 10:11:46 +00:00
Jeff Ames
3a1947f658
Removed super-stealth mode from PasswdPrompt. (Now you can see the prompt)
2008-02-06 10:11:10 +00:00
Teravus Ovares
d842699ef3
* Put the script run limiter on the SceneObjectPart as otherwise you can drop scripts in prim and they'll still run with scripts disabled.
2008-02-06 09:53:59 +00:00
Teravus Ovares
9d6ea497e2
* Added the ability to start and stop all scripts in the simulator using the debug tab on the estate tools. This along with the disable physics via the debug tab are persistant across reboots. That means that if it's disabled when you shut down the simulator, the simulator will come up again when you start it up without loading the scripts. Turning them back on is as simple as unchecking 'disable scripts' in the debug tab of the estate tools.
2008-02-06 09:38:14 +00:00
Jeff Ames
4ec4e2cb32
Cleaned up some unreachable code warnings.
2008-02-06 08:31:29 +00:00
Jeff Ames
b68d2bd09a
Fixed typo in Mag() (Thanks lc_tuco for pointing this out)
2008-02-06 08:26:09 +00:00
Teravus Ovares
9cd9e90e7f
* Added Active Scripts to report the number of scripts running to Sim Stats
...
* Added Script Performance to report the number of functions run per second to Sim Stats.
* Removed a few warnings (@.@ up to 50 now)
2008-02-06 08:03:22 +00:00
Jeff Ames
355d0fdb95
Revert color console changes until a cross-platform method is found.
2008-02-06 07:36:14 +00:00
Jeff Ames
d76d604ce9
Added colors back to console output.
...
Fixed line duplication in console output.
2008-02-06 03:52:36 +00:00
alondria
52af264948
Fixed regex in LSL2CSConverter so it will properly handle casting to (string) part of vector (eg. vector.z)
...
This fixes Mantis 388
2008-02-06 02:30:05 +00:00
alondria
31576c8a26
Somehow llList2Float never made it into LSL_BaseClass and LSL_BuiltIn_Commands_Interface - it is now (and foxes Mantis 395)
2008-02-06 02:04:00 +00:00
Jeff Ames
6ed5283bc0
Converted logging to use log4net.
...
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Brian McBee
7a61bcff86
Cut down on the number of packets sent during terraforming. Terraforming should be much more responsive.
2008-02-05 18:27:40 +00:00
alondria
36f7a087e6
Added explicit Quaternion->string and list->string conversions.
...
Some preliminary work on llSetStatus and llGetStatus.
2008-02-05 15:06:37 +00:00
MW
542cd417c8
Small refactoring on Terrain Update sending, so that other code can force terrain updates to be sent to clients.
2008-02-05 15:03:08 +00:00
MW
33c4631c6d
some small changes, like adding a couple of extra methods to IInventoryServices so that a check can be done to see if a inventory set exists for a certain user.
2008-02-05 13:02:03 +00:00
Justin Clarke Casey
80b8630e19
* Fix Mantis 457
...
* Show stats, users, etc. should now work again on the region console.
2008-02-05 12:37:46 +00:00
Tedd Hansen
1d95f0521d
Reverted MySQLDataStore.cs to not use static mutexes any more, patch didn't work anyway.
...
Added js to OpenSim.ini.example.
2008-02-05 12:18:50 +00:00
Teravus Ovares
ca5aadfbff
* Refactored the sound calls to SceneObjectPart
...
* Fixed a few bugs
* Wrote an example module to make certain event systems more mature.
2008-02-05 05:26:18 +00:00
Jeff Ames
99844ee4c0
Added copyright statements.
2008-02-05 03:20:51 +00:00
Teravus Ovares
ba142c0410
* Fixing the console write on shutdown where the object is already disposed.
2008-02-05 02:10:01 +00:00
Justin Clarke Casey
baefa05b57
* Rebase all current servers on common abstract BaseOpenSimServer class
...
* The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc)
* DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers. More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
2008-02-04 18:52:24 +00:00
Justin Clarke Casey
5db5630ec9
Change sim command from "stats" to "show stats" for consistency
2008-02-04 18:01:55 +00:00
Justin Clarke Casey
bde363b572
* Synchronize asset storage operations to mysql as well as reads
...
* This may help with asset server mysql problems, since both the previous osgrid failures occurred when both a read and write were attempted in the same second
2008-02-04 17:30:53 +00:00
Justin Clarke Casey
cd658ea845
A smidgen more error info for the asset server
2008-02-04 17:07:37 +00:00
Justin Clarke Casey
a1c9349d47
Refactor only: serve stats objects directly through StatsManager singleton
2008-02-04 16:22:58 +00:00
Teravus Ovares
3ff5ad1ed3
Patch from mikkopa/_someone Thanks! adds support for llPreloadSound, llTriggerSound, llPlaySound, llPreloadSound.
...
* Time to make music boxes?
2008-02-04 14:40:46 +00:00
Adam Frisby
5ffc225545
* Replacing missing break statement from DotNetEngine/Compiler/LSL/Compiler.cs
2008-02-04 13:43:42 +00:00
Adam Frisby
ba16daff7c
* Added JavaScript support to OpenSim scripting. Totally Untested. Enjoy. :)
2008-02-04 12:43:07 +00:00
MW
755ad9e3e0
First part of avatar persistence, currently only really works in standalone mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed.
...
To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure).
This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database.
But the work to move the code to one of the grid servers shouldn't be too much.
2008-02-04 12:04:02 +00:00
Adam Frisby
6fbc64af5e
* Whole buncha stuff.
2008-02-04 10:39:30 +00:00
Adam Frisby
35a8c95e1d
* Lowered maxchunk from 1500 bytes to 1250 bytes to make sure packets fit below the average maximum MTU of 1500 bytes inc. header. Thanks Alex for reporting this.
2008-02-04 10:28:39 +00:00
Adam Frisby
d12f253cca
* Default inventory permissions patch ( #444 ), courtesy of alex_carnell -- thanks!
2008-02-04 10:24:37 +00:00
Adam Frisby
760ece2595
* Chat Message format patch from kinoc ( #443 ) Thanks!
2008-02-04 10:23:13 +00:00
Charles Krinke
c61d0075c1
Thanks to Brianw for pointing out the definition of OwnerUUID
...
needed to be consistent with the definition of owner_uuid.
They are both varchar(36) now.
2008-02-03 18:05:59 +00:00
alondria
bc3d0217af
Added llRot2Fwd, llRot2Left, and llRot2Up as well as explicit vector->string casting.
...
(Thanks to dalien on informing me how easy the math was for these).
2008-02-03 16:42:43 +00:00
Tedd Hansen
5a99a96fed
Temporarily disabled shared threads because of a bug. Script were only working on 1 region. :)
...
Using default warning level on C#/VB compile
2008-02-03 09:35:50 +00:00
Teravus Ovares
b0c6baaeb0
* Adding the PhysicsCamperBot load testing app to the SVN in it's own folder. You'll have to build it separately to take advantage of it. *read the Readme file*. The bots created by this application roam around amusingly to simulate load.
...
* Be smart, Don't use this on a public grid, lest you get banned permanently.
2008-02-03 04:13:46 +00:00
alondria
742ed9537d
Implements LSL function llDialog().
...
The ScriptDialogReply packet handler is a bit of a hack job. It is currently handled similar to ChatFromViewer, which will trigger the listen() event, however this is not exactly how LL's implementation works and will/can be fixed up later.
2008-02-02 22:53:01 +00:00
alondria
0ea708c133
Added llParseString2List (and a few extra methods to LSL_Types.list).
2008-02-02 18:52:07 +00:00
Brian McBee
e2680342d1
Turn on fastMode for map block queries to grid server if and only if grid is running MYSQL as the data source.
2008-02-02 18:25:17 +00:00
Brian McBee
bd32563c4c
fix for error on null owner_uuid field
2008-02-02 18:20:25 +00:00
Teravus Ovares
7476b26ae7
* Added a way to temporarily disable physics using the estate tools
...
* Added a method for Tedd to hook to in scene to disable the Scripting engine that currently says, [TOTEDD] Here is the method to trigger disabling of the scripting engine.
2008-02-02 17:43:21 +00:00
Charles Krinke
281245f433
Change casting slightly for reading owner_uuid from mysql.
2008-02-02 17:33:12 +00:00
Charles Krinke
6a1d9e8da1
Thank you very much daTwitch for your first contribution to the C# simulator.
...
This is the beginnings of support for storage of region owner in the MySQLManager
table and the use of "owner_uuid".
2008-02-02 16:43:57 +00:00
Teravus Ovares
f26cdfd057
* Fixed llSetTextureAnim to respect rate and Length and Start
2008-02-02 16:42:46 +00:00
Tedd Hansen
3a6405d2f7
In an attempt to solve multihomed UDP problem I seem to have bound UDP socket to external IP instead of internal :)
2008-02-02 16:03:10 +00:00
Teravus Ovares
2d6c21e8fc
* Added Full support for llSetTextureAnim. To ckrinke: Let the fountains of Wright Plaza flow!
...
* Fixed another bug in LibSL. This is the same version, as before just with a bug fix.
2008-02-02 08:11:14 +00:00
Tedd Hansen
785b641272
fixed a timing bug in config re-read. Apparently there is 1000000000 ns in one second...
2008-02-02 07:53:13 +00:00
Tedd Hansen
2db5de3e72
Added commands to change config file from console:
...
CONFIG SET section key value value value
CONFIG GET section key
CONFIG SAVE (it saves, but does it save correctly?:)
ScriptEngine will react correctly to any config change made while it is running.
2008-02-02 07:35:51 +00:00
Jeff Ames
b1a6f4821b
Updated svn properties.
2008-02-02 07:13:37 +00:00
Tedd Hansen
b089ccfa3d
Hopefully fixed MySQL DB crash on startup issue (so we can remove 3 sec wait).
...
Added option to try alternate UDP ports if the one configured is in use.
UDP packets are now bound to the actual outside IP address and hopefully won't "randomly" select IP on multihomed systems.
2008-02-02 06:34:07 +00:00
Tedd Hansen
41516fa2c3
Last patch was a disaster... reset terrain whenever bug occurred. Trying again with some modifications on Mutex.
2008-02-02 05:28:39 +00:00
Tedd Hansen
1fa510d26d
And one more patch before sleep
...
This annoying sleep during startup-problem still sometimes causes exceptions, so added some retry...
2008-02-02 05:14:50 +00:00
Tedd Hansen
b57d9be856
Re-enabled AllowedCompilers function
...
Added notice in OpenSim.ini that config refresh function is disabled
2008-02-02 05:07:02 +00:00
Tedd Hansen
a004ea5f17
Almost forgot to check in:
...
OpenSim.32BitLaunch.exe is a 32-bit application that loads OpenSim.exe using .Net framework, hence it is JIT-compiled to 32-bit.
Use this app to start OpenSim on 64-bit systems (works great on Vista 64 :))
2008-02-02 05:03:28 +00:00
Tedd Hansen
1ecdaf333f
Note to self: Next time read debug-files on correct computer. It makes bughunting SO much easier! *jeesh*
2008-02-02 04:45:18 +00:00
Tedd Hansen
7bd3ecfc2a
Bugfixes. Now it even reads configuration before it uses it! ;)
2008-02-02 04:35:08 +00:00
Charles Krinke
599f8b884b
Add last entry "owner_uuid" back into regions table definition.
2008-02-02 04:17:38 +00:00
Tedd Hansen
b1f97f9e77
Temporarily disabled AllowedCompilers so all 3 compilers are allowed.
...
Fixed bug in how code is handled, hopefully we can now run all 3 languages? :)
2008-02-02 04:06:51 +00:00
Teravus Ovares
d4f32649cd
* Committing some untested stuff regarding texture animations. This won't break anything, but the llSetTextureAnim function is completely untested.. (though it may be functional once the script engine works again)
2008-02-02 03:57:57 +00:00
Tedd Hansen
8dc5153ad7
Added header/footer of scripts to make C# and VB scripts much easier to write.
...
Added some logging on what is happening during compile.
2008-02-02 03:42:35 +00:00
Tedd Hansen
5c8abed450
Bugfix: LSL was mapped to VB.Net compiler ... that didn't work out so well :)
2008-02-02 03:17:38 +00:00
Tedd Hansen
e06ee9fd4b
Added load/unload queue size limit
...
Added option to share script load/unload thread between regions
Added event execution queue size limit
+ some bugfixes from all the changes
2008-02-02 03:11:06 +00:00
Tedd Hansen
8ccc12d642
Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run OpenSim in 32-bit mode.
...
Added VISUAL BASIC.NET-support
//cs, //lsl and //vb as first characters of script will determine what compiler is used.
Compile warnings are no longer treated as errors. Script will still run.
Added a few useless and useful config options:
Write script source to harddisk for debug, Default compile language, Allowed compilers (languages), compile in release or debug mode, clean up old scripts on startup
Loads of warnings for incorrect config
2008-02-02 02:35:56 +00:00
Tedd Hansen
667197f24d
Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run OpenSim in 32-bit mode.
...
Fixed ScriptEngine.Common startup problems.
2008-02-02 00:59:22 +00:00
Charles Krinke
a9b69f3880
Thank you very much, Kinoc for : Moved the Listener loop try/catch to a better position.
...
Uses the IRC nick as the default when user location cannot be determined.
2008-02-02 00:47:28 +00:00
Tedd Hansen
ea74f97e9b
Forgot to create an object before use. Now why can't .Net just do that itself? :)
2008-02-02 00:20:31 +00:00
Tedd Hansen
34d21ac94b
Added some error checking to MaintenanceThread, no-crash (just log) loading of script engines, and support to load multiple script engines
2008-02-02 00:09:55 +00:00
Tedd Hansen
694642a482
Moved iniFilePath to a static and put it in OpenSim.Application.iniFilePath.
...
Refreshing config based on this.
Temporarily disabled feature to refresh config file while running.
2008-02-01 23:56:09 +00:00
Tedd Hansen
4715453159
Bugfix, maybe it won't crash during startup and crash somewhere else instead? :)
2008-02-01 23:44:02 +00:00
Tedd Hansen
d02a90823f
SCRIPTING STILL BROKEN
...
Added comments and regions, restructured code
Changed a lot of AppDomain junk from console from using Console.Write to Log.Verbose and set it to #if DEBUG
All modules should now refresh their configuration runtime
Made all logging in ScriptEngine.Common get script name from actual engine
Renamed LSLLongCmdHandler to AsyncLSLCommandManager
Added auto-recover with 5 sec throttle for new MaintenanceThread
2008-02-01 23:36:36 +00:00
Tedd Hansen
a6726b0c9d
SCRIPT SUPPORT IS STILL BROKEN.
...
Bugfix: Scripts exceeding max and set to be killed were not killed, only removed.
Added ability to re-read configuration while OpenSim is running
All regions now sharing one MaintenanceThread
New MaintenanceThread:
- checks for script execution timeout
- re-reads config
- starts/stops threads if thread active count becomes too high/low compared to config
Speed increase on event execution:
- Reuse of try{}catch{} blocks
- Time calculation on event execution
2008-02-01 22:18:55 +00:00
Charles Krinke
8a4e8a8e31
Thank you, Kinoc for the ChatModule.cs updates.
2008-02-01 22:15:40 +00:00
Tedd Hansen
0c0286911d
Config option to set number of scripts per AppDomain
2008-02-01 20:52:00 +00:00
Tedd Hansen
e14c8f59f7
Added config options:
...
ScriptThreadPriority to set script thread priority
DeactivateScriptOnTimeout to remove script if it is executing too long
2008-02-01 20:45:15 +00:00
Tedd Hansen
f4ddf5cf28
Removed "Loading inventory for Primitive" message.
...
Fixed small bug in thread counter.
2008-02-01 20:19:29 +00:00
Tedd Hansen
a9c1f3fdb4
Experimental
...
Moved DotNetScriptEngine configuration to config file.
Added option to share script execution threads between regions.
2008-02-01 20:12:25 +00:00
Tedd Hansen
5d6e89eaf9
Highly experimental
...
A separate thread is used to enforce max function (event) execution time for scripts.
2008-02-01 19:07:05 +00:00
alondria
43ecb1b4d2
Fixed errors being thrown by invalid PSYS_SRC_TARGET_KEY's in llParticleSystem - defaults to source prim (consistent with LL grid).
...
Should fix mantis 427.
2008-02-01 15:22:11 +00:00
alondria
0eb4e85988
Thanks to Hashbox for a patch to:
...
Implementing llStringTrim and hooking in osRegionNotice
2008-02-01 14:18:00 +00:00
Teravus Ovares
96f6add4ad
* ODE:Fix copy and paste bug in space calculation limits
2008-02-01 14:05:22 +00:00
MW
5099be8072
Temporary try catch around calculateSpaceForGeom() , to see if it gets past mantis issue #435 (for now)
2008-02-01 13:10:40 +00:00
Teravus Ovares
64a1a1f059
* Committing random physics stuff to the SVN for use later
2008-02-01 07:39:19 +00:00
Teravus Ovares
bec71977ab
* Added more supported feature to particlesystems. While this appears to have a libsl update... it's really a fix to the libsl version we're already using because of a bug in the particlesystem implementation
...
* Added two new simstat counters in the simstat enum for the RCCS. (I'll find something cool to put in them)
* fixed a time waster in ODEPlugin.cs
2008-02-01 04:22:20 +00:00
Teravus Ovares
e2f783789c
* Adding limited support for LLParticleSystem.
...
* We still need to set the 'default particle' texture as, a particle system with no texture set doesn't work.
* The particle System Flags don't seem to be quite right yet as some flags don't seem to have an effect. So no alpha in/out, color change, affected by the wind, etc.. yet
* Thanks to Alondria for some massive work here. This update just tweaks a few things that she did.
2008-01-31 18:27:11 +00:00
Sean Dague
61ed12c4d8
revert last IRC bridge changes as this broke chat on my test environment.
...
Going to sift through the diff later to sort out what the root cause is here.
2008-01-31 17:15:41 +00:00
lbsa71
f72b834b25
* setting some readonlies
2008-01-31 10:56:40 +00:00
alondria
62ae3c9bf5
Hit a dead end with llParticleSystem (libsecondlife issues) so no functionality added yet, but did not want to loose work.
2008-01-31 06:59:48 +00:00
Justin Clarke Casey
a4bf98f4ba
* Add asset/texture cache statistics to region server console
...
* You can type 'stats' at the REGION# prompt to get this information in grid or standalone mode
* Don't take these numbers as gospel yet, since for some reason textures displayed from inventory which require downloading from the server are being recorded as assets
rather than textures
* But I don't have any reason to believe they aren't broadly accurate.
* I've put these in so I can tell whether the high memory usage on regions is down to the asset/texture cache
* This will require a prebuild
* DEV: Only adds needed to be implemented since, as far as I can tell, assets cached are currently never released. For my part, seeing large cache memory numbers will
provoke me to think about doing something about this.
* DEV: Now switched to using a singleton to get the stats reporters rather than threading the object through various layers
* DEV: Will refactor the other server stats reporters to do this in one of the next commits
2008-01-31 00:42:31 +00:00
Justin Clarke Casey
881f295e70
* Add 'asset not found' statistics to grid asset server stats
2008-01-30 22:13:47 +00:00
Justin Clarke Casey
a70e9c8c2c
* Minor asset server message tweak
2008-01-30 18:36:59 +00:00
Justin Clarke Casey
a5b719e161
* Deal with asset requests with malformed guids to the asset server in more user-friendly way than throwing an Exception
...
* Compact status messages to reduce verbosity and be more informative
2008-01-30 18:33:44 +00:00
Justin Clarke Casey
dee0d1e55d
* Print out exception information when a mysql asset fetch fails
...
* Attempt reconnection on fetch and create exceptions.
2008-01-30 17:39:40 +00:00
Justin Clarke Casey
ce07854a45
* Insert 'assets served per hour' speed to asset server stats
2008-01-30 17:19:32 +00:00
Teravus Ovares
9722b6ad53
Updating ODE.NET as the version I used possibly caused the slowness.
2008-01-30 08:58:44 +00:00
Teravus Ovares
02d672de36
* See if this helps Nebadon.
2008-01-30 08:30:22 +00:00
Teravus Ovares
cb05b76b83
* This update restores *nix support
...
* This stability optimization is disabled on Apple Computers until the .dylib library is updated.
2008-01-30 07:46:48 +00:00
Teravus Ovares
fc9b3ec5a8
* Experimental ODE Update to make ODE more stable
...
* WARNING: This update will break *nix support. Will be restored in the next revision
2008-01-30 07:09:58 +00:00
Teravus Ovares
8aa796595c
* Fixed a crash if the server is unable to connect to the UserServer when a user logs off
2008-01-29 17:16:38 +00:00
Teravus Ovares
c4687116ad
* Implemented grab and throw in ODE. It's a little strong still so toss gently at first to test the waters or you'll lose prim to the pit at the edge of the sim. Make sure the object is physical before trying to toss it or it'll just move to the new location.
2008-01-29 15:10:18 +00:00
Justin Clarke Casey
55dc0dc267
* Patch from Ansi (IBM)
...
* Allows the creation of a user via the RemoteAdminPlugin.
* Many thanks!
2008-01-29 14:43:45 +00:00
Teravus Ovares
832243c6e8
* No more massive spires and massive pits when editing land using Select + tool + amount + apply;
2008-01-29 06:16:06 +00:00
Teravus Ovares
da0fa4253b
Thanks kinoc for your improved IRC Gateway patch as referenced in mantis issue 390.
2008-01-29 04:35:01 +00:00
Teravus Ovares
47761a4a5e
* Commenting out the 'collision notifications' on BulletX, as there hasn't been an update on bullet in a while and the console notifications consume the entire CPU to make bullet completely unusable.
2008-01-29 02:08:30 +00:00
Teravus Ovares
4742a172e2
* This fixes the stair issue that Sdague reported on *nix. Be aware that if you cross a border into a region, the new region doesn't know your height and therefore you're about a meter off the ground. If the region doesn't know your height, you won't be able to climb steps. If you're in that state, edit your appearance and the region will learn your height and you will again be able to climb steps.
2008-01-29 01:20:43 +00:00
Justin Clarke Casey
beefbb46d2
* Add total logouts (and total logins) to server side user stats
...
* Passing the stats collector through object chains is not ideal - this will change when more stats come in
* This change will need a prebuild
2008-01-28 22:00:38 +00:00
Justin Clarke Casey
fa5fe6b7f6
* Move AssetStatsReporter to Framework.Statistics
...
* The hooks are still plugged in too high at the asset server, but then next layer down is the database and this may be refactored soon.
* This change will requires a prebuild
2008-01-28 19:49:07 +00:00
Teravus Ovares
035d807847
* ODE Going to Time Step 0.020 = (1000\20) - ((1000\20) * .09) = ~45 pfps
2008-01-28 04:31:40 +00:00
Teravus Ovares
5e36feada2
* Mostly ODE update. Things are a bit more behaved then the last experimental update.
2008-01-28 03:25:02 +00:00
Teravus Ovares
205001ab8d
* Highly experimental ODE_STEPSIZE = 0.025f - 1000 / 25 = 40fps - 10 substeps with fallback to 5 substeps when things get slow
...
* Just to give you an idea of the difference .. previous ODE_STEPSIZE was 0.005f - 1000/5 = 200fps - 10 substeps with fallback to 5 substeps when things get slow
* *nix avatar may fall over again, *sorry*
2008-01-27 03:18:10 +00:00
Teravus Ovares
254e047dad
* Shifted strategy of detecting specific *nix distributions to detecting *nix.
...
* Let me know if all your avatar are standup.
2008-01-26 17:38:30 +00:00
Teravus Ovares
58106926bb
* Added a try/catch handler around childdataupdates because the enumeration is prone to modification when logging on. These can be safely ignored because the data gets old fast and new ones get generated somewhat quickly.
2008-01-26 17:00:35 +00:00
Jeff Ames
20215c3d30
Rewrote svn properties handling script in python. Added more file types.
2008-01-26 10:34:49 +00:00
Jeff Ames
429d14f3e5
Removed ScriptServer.csproj from svn.
2008-01-26 09:36:19 +00:00
Jeff Ames
582d0a29d5
Set svn properties.
2008-01-26 04:26:12 +00:00
Justin Clarke Casey
7c20ad021e
* Add missed out evn:eol-style native
...
* I intended to think about refactoring the servers to use this common base class, but temporary laziness won out.
* I'm leaving this here as a reminder/mind poke and for reasons of laziness (again)
* If people object to me leaving this kind of thing lying around, please say
2008-01-25 19:40:48 +00:00