lbsa71
409bcd999d
* Continuing refactoring of presence
...
* Deleted stub ScenePresence.Body.cs
* Added stub Region classes
The idea is to, at first, have every ScenePresence have one RegionPresence, moving code over to it until we can detach the two classes and not have a ScenePresence for every RegionPresence.
2007-09-21 03:13:49 +00:00
dan miller
d3050724d8
physics-related fixes; should stabilize border crossings
2007-09-21 02:31:36 +00:00
lbsa71
3eb1a23ac1
* Removed Unused 'Entity' superclass
2007-09-21 02:11:19 +00:00
lbsa71
ca611c6668
* even more renaming and refactoring; the cleaning woman is on call.
2007-09-20 23:47:32 +00:00
lbsa71
101369e25a
* Some more presence refactoring
2007-09-20 23:28:08 +00:00
lbsa71
7335e5710b
Rev 1971 : The Lbsa71 vintage commit
...
* Refactored to prepare for some serious restructuring
2007-09-20 13:04:51 +00:00
lbsa71
14d5a2e9b7
* moved SceneManager to RegionApplicationBase
...
* Implemented SceneManager.StopScene() and Scene.Stop()
* Some SimpleApping
2007-09-20 07:49:11 +00:00
lbsa71
3c7161d128
* Rewired Touch to route to group/part (Still triggering EventManager as well)
2007-09-20 05:22:18 +00:00
lbsa71
4ce0c0794a
* Added TryGetAvatar to SceneManager
...
* Refactored some names for clarity
2007-09-20 05:02:44 +00:00
lbsa71
604b786d89
* A feeble attempt at adding Grid db support to SQLite, just adding some code based on User db. Nothing hot-wired though.
2007-09-19 23:16:30 +00:00
lbsa71
2afbf8b22b
* Added AddToPhysicalScene and RemoveFromPhysicalScene and added to MakeAvatar and MakeChildAgent respectively
...
* Removed unused m_child from ClientView
2007-09-19 04:19:27 +00:00
lbsa71
440819fab9
* Deleted unused RegionManager.cs
...
* Deleted unused ModuleAPIMethod's
2007-09-19 00:42:37 +00:00
lbsa71
9f7c0a015e
* 'Use format string' ftw
2007-09-19 00:32:59 +00:00
lbsa71
8f0b03597b
* Modernized ScriptManager to new interface-based module calls.
...
* 'remove redundant this qualifier' ftw
2007-09-19 00:30:55 +00:00
lbsa71
3f6b3f6b59
* Moved SendLogoutPacket back to IClientAPI.
2007-09-18 23:37:43 +00:00
lbsa71
f71b315592
* Now at least we're not creating physActors for child agents.
2007-09-18 22:12:16 +00:00
lbsa71
c8f51836b8
* Gave Connectivity some more (manly) love.
2007-09-18 21:51:09 +00:00
lbsa71
70d9cec3b5
* Yet some more connectivity restructuring
...
* We now have CloseAllAgents( circuit ) and CloseAllCircuits( agentId ) for great justice ( but alas, still only closing on one single scene - be brave! )
* Login and ConnectionClosed now eventified and moveified awayified
* Killed off unused NullClientAPI
* Now the client is almost only responsible for its own closing. ( I will get that scene out of there )
* Lookin' good!
2007-09-18 13:29:16 +00:00
lbsa71
0bac4b430c
* Handlerized ViewerEffect
...
* Now there-is-only-client-manager
* First step towards moving Logout and ConnectionClosed out of Client and into something else (which will let us get rid of ClientView reference to ClientManager
* General posititvity, peace, love and understanding
2007-09-18 12:13:44 +00:00
lbsa71
a963b3057b
* Replaced usage of ClientView with IClientAPI
...
* Some propertification and hideousness of fields.
2007-09-18 09:59:33 +00:00
lbsa71
ffb4f97a66
* Merged ClientViewBase into ClientView for great justice
2007-09-18 08:55:44 +00:00
lbsa71
26406efd55
* Made ClientViewBase abstract
...
* Deleted unused m_consoleRegion
2007-09-18 08:38:21 +00:00
dan miller
04e7fcd0e9
RemoveAvatar called from scene.cs; implemented in ODE. Still issues with multi-region; see bug 410
2007-09-18 02:38:10 +00:00
Sean Dague
b8d9737a47
fixing me some line endings
2007-09-17 12:52:03 +00:00
Tedd Hansen
8792645e0d
Forgot to check in prebuild.xml on sat, see someone already did :)
...
Fix in DNS resolve
2007-09-17 08:06:20 +00:00
lbsa71
df58154781
* Moved some commands from Scene into SceneManager so they could be used with 'root'
...
* Removed some duplicated commands
2007-09-17 07:31:15 +00:00
lbsa71
b3d2f8b8e2
*doh*
2007-09-17 07:10:23 +00:00
lbsa71
6961013c24
* CHANGED SOME CONSOLE COMMAND BEHAVIOURS
...
* Normalized 'change-region' so (almost) all commands are context sensitive (use 'root' or '..' to set 'all scenes' context)
* 'terrain-sim' is thusly obsolete, use 'change-region', followed by 'terrain'
* Introduced SceneManager to administrate operations on group of scenes and moved relevant funcs there.
* In it, there's a ForEach(Action<Scene>) that either passes all scenes, or only current scene depending on context.
* Changed default prim backup (save-xml/load-xml) xml to "prim-backup.xml"
* Changed Disable/EnablePermissions to BypassPermissions = true/false;
Also:
* Removed unused and non-existent project ref
2007-09-17 06:57:17 +00:00
Brian McBee
279177219e
Fixed missing Axiom references.
2007-09-16 13:02:16 +00:00
Tedd Hansen
c654506b18
Implemented: llSetText, llResetScript
...
Implemented: llHTTPRequest (queue, thread, etc -- but not actuall call)
2007-09-16 03:36:13 +00:00
Tedd Hansen
88968622ea
Implemented: llStringToBase64, llBase64ToString, llXorBase64Strings, llXorBase64StringsCorrect, llGetTimestamp
2007-09-15 16:45:37 +00:00
Tedd Hansen
cff586df68
Bugfixed: llListRandomize
...
Implemented: llListSort, llList2ListStrided, llDeleteSubString, llInsertString
2007-09-15 16:16:57 +00:00
Tedd Hansen
c6344fcf94
llList2Key, llList2Rot, llList2List
2007-09-15 15:55:40 +00:00
Tedd Hansen
ad042f1d75
Implemented llList2CSV, llCSV2List, llListRandomize, llList2Vector, llListFindList, llListInsertList, llDeleteSubList
2007-09-15 15:45:20 +00:00
Tedd Hansen
1e0f9604a6
Will display error in main chat if unsupported llFunction is used.
2007-09-15 14:57:07 +00:00
Dalien Talbot
ad903f1b7b
Prevent the crash due to exception in system ReadLine that I saw today
...
during loadtesting.
2007-09-15 14:52:53 +00:00
Tedd Hansen
ed68a3894c
Now loading "OpenSim.Region.ScriptEngine.Common.dll" into scripts AppDomain and "using OpenSim.Region.ScriptEngine.Common;" at start of script when converted from LSL. Vectors and rotations now works.
2007-09-15 14:22:38 +00:00
MW
12378312d5
Hopefully fixed the build error that I introduced with my last commit.
2007-09-15 10:53:46 +00:00
Sean Dague
b931048b16
put some locking around user access, which should help with
...
the exception dalien found during crash-a-thon
2007-09-15 10:43:19 +00:00
MW
4a07800f14
Testing to see if this fixes the editing appearance crash, or makes it (or anything else) worse.
2007-09-15 10:39:17 +00:00
lbsa71
f8ddf7429e
* Wired up chat so that channel goes into OnChatFromViewer. However:
...
* There's no libsl reply packet field for it, I guess other channels than 0 makes no sense sending back to clients.
* We do not currently support objects listening, so there's really no way of actually using this feature.
So; somebody please wire chat all the way to the scripts.
2007-09-14 13:46:05 +00:00
lbsa71
1b1808d45d
* fixed script compilation
...
* reversed //c# - if
* rightifyed what's actually converted
2007-09-14 09:25:07 +00:00
Sean Dague
8849637493
more fun with LSL implementations
2007-09-14 08:57:13 +00:00
Sean Dague
dddf61953b
added ability to update group position
2007-09-14 08:55:22 +00:00
MW
0d685d6a52
Can now set the http ports that grid server and user server use.
2007-09-14 06:02:24 +00:00
dan miller
b31fc4980f
ODE: no more slippin' & slidin'
2007-09-13 21:53:13 +00:00
Dalien Talbot
1703cacaab
Added CLI "debug packet 0..255" to enable the in/out packet dumps with various verbosity
2007-09-13 16:39:04 +00:00
Sean Dague
23b8e39c1b
llSetPos(), llGetPos(), llGetLocalPos() now implemented
2007-09-13 14:19:57 +00:00
Tedd Hansen
0709d96716
If first 4 characters in script is "//C#" script will be treated as pure C# instead of LSL/C# hybrid. This means no preprocessing before compile.
2007-09-13 14:15:02 +00:00
Sean Dague
888133e987
add some locks around DataSet manipulation to ensure we are doing this
...
safely
2007-09-13 13:10:21 +00:00
Dalien Talbot
7a9f5ed6b3
Fix the terrain heightmap load from images (tested PNG and GIF).
2007-09-13 13:09:14 +00:00
Sean Dague
af6c9d355d
implement llGetScale and llSetScale
...
drop IScriptHost for now and just use SceneObjectPart, given how many of
SceneObjectPart's properties we need for the script engine
2007-09-13 13:06:54 +00:00
Sean Dague
afea5f2205
remove ^M, as native storage should be UNIX format, and ^M in/out mashing
...
will happen on the windows side now that eol-style is correct
2007-09-13 11:41:42 +00:00
Tedd Hansen
cef8c5e9d7
Hiding evidence that I once was a VB coder (thanks to refactoring). Renamed member names to smallcapsy.
2007-09-13 11:11:08 +00:00
lbsa71
615487a756
Backup is now optional on classes
...
* Removed unused BackUp method on EntityBase
* Added overridable InSceneBackup property on SceneObjectGroup
* Refactored out AttachToBackup and DetachFromBackup
* Normalized namespace OpenSim.DataStore.MonoSqliteStorage to OpenSim.DataStore.MonoSqlite
2007-09-13 05:25:26 +00:00
Tedd Hansen
a5aedc0896
GUI: Added placeholders + info on what to be done
2007-09-12 13:27:04 +00:00
Tedd Hansen
b12bfb6315
GUI also contains option for Stand Alone mode.
2007-09-12 13:16:08 +00:00
Tedd Hansen
dcaab9103c
Early alpha version of a GUI tool to configure and start OpenSim. Currently can start an already configured Grid server.
2007-09-12 13:03:21 +00:00
Sean Dague
26eebf6b32
I think 1.0f makes a better offset than 1.2f for basic physics (less floating,
...
not too much crouching). I think that we'll have to rethink what the
terrain resolution is down the road, as we don't really have enough sample
data to actually get people placed right on the land.
2007-09-12 10:56:04 +00:00
Sean Dague
26a67d998c
add timestamps to log messages. This probably needs to all be cleaned up
...
with a real logging module later, but this should make reading logs easier
for now
2007-09-12 10:54:34 +00:00
Tedd Hansen
5ade01bb49
Fixed DNS resolve bug for Grid mode on multi-Homer systems.
2007-09-12 05:37:46 +00:00
Sean Dague
6ca6c035e7
debug for mysql issue
2007-09-12 04:44:21 +00:00
Brian McBee
b521e5d219
Another attempt at fixing the disappearing estate_settings.xml file.
2007-09-11 21:41:26 +00:00
Sean Dague
71f94d8421
Fix for setting region through property. This should allow
...
mysql to work again in grid mode for user storage.
2007-09-11 15:13:24 +00:00
Dalien Talbot
7fd639a19e
Kill little green men on minimap if the avatar logs off.
2007-09-11 15:11:10 +00:00
MW
3a1ddca8a1
Fixing namespace problems
2007-09-11 14:33:32 +00:00
lbsa71
b112539f95
* minor refactorings
2007-09-11 14:20:09 +00:00
MW
04cf04600c
Applied ldvoipeng's patch [ #360 ], sorry for it taking so long to apply it. If in future anyone's patch hasn't been applied within a few days, please can someone kick one of the developers with svn access.
2007-09-11 14:18:34 +00:00
Dalien Talbot
bc86d33dbd
Get rid of extra green men in minimap on region crossings (they were
...
child agents, not delirium tremens - thanks MW!); Get green men when
connecting; Update the green men in the region you leave.
2007-09-11 14:11:21 +00:00
Sean Dague
a1e2fea7c1
move the locks closer to the data, sqlite for assets now works like a champ
2007-09-11 08:25:32 +00:00
Sean Dague
b3777729b4
remove autogenerated files
2007-09-11 08:24:58 +00:00
MW
e2e13a9756
Added part 3 of Darok's BulletX patch. The bulletX plugin is now a project in the opensim build/solution. To use change the physics setting in opensim.ini to "modified_BulletX". At the moment I have been unable to test this as when using the bulletX plugin for me opensim is using 100% of processor.
2007-09-11 07:04:05 +00:00
Sean Dague
207bf2e4cf
add DeleteAsset
...
this also moves commit points around a bit for debuging, though
this will change back now the MW has worked out synchronization
2007-09-11 05:26:14 +00:00
MW
0770a5de0a
Trying some locks on asset database access.
2007-09-11 04:54:55 +00:00
Brian McBee
1fb47bc4c5
Make grass and trees phantom by default. Same behavior as LL grid.
2007-09-10 19:35:51 +00:00
lbsa71
b134617e07
* Took a stab at #388
2007-09-10 13:42:11 +00:00
Sean Dague
a1be7f4be5
added some debugging for tracing where asset code isn't working with sqlite
2007-09-10 13:34:20 +00:00
Sean Dague
ffe9c9374a
mass update of urls in source code to new website
2007-09-10 08:14:38 +00:00
MW
22dbe82b26
A couple of fixes to make sure db4o gets set as the default asset database. Also added a couple of console output lines to try to make it easier to tell which asset storage system is in use.
2007-09-10 07:48:22 +00:00
MW
91cc820f34
Added "asset_database =" option to opensim.ini, so the asset database can be selected. Currently set default back to db4o until more people test using sqlite.
2007-09-10 07:23:43 +00:00
MW
15423539f9
hooked up sdague new sqlite asset database provider to the old asset system. So we can still use sqlite for assets while we wait for the rest of the new asset system to be wrote.
...
Needs more testing, so if it causes problems will have to swap back to db4o.
2007-09-10 06:45:54 +00:00
lbsa71
7adc2212c7
* Fixed: Accessing xmlrpc with invalid xml data would crash the sim.
...
* Ignored some bins and gens
2007-09-10 04:30:11 +00:00
dan miller
86e3fc3da2
added avatar updates for physics movement -- fixes gravity & avatar collision (ODE)
2007-09-09 21:21:09 +00:00
Dalien Talbot
907918e68e
Little green men (aka dots on minimap). Thanks to bushing for
...
pointing out that it is done by CoarseLocationUpdatePacket.
2007-09-09 17:32:03 +00:00
dan miller
94b03aa09d
ODE: added support for Phantom flag. Presently you need to add 1024 to ObjectFlags by hand
2007-09-09 15:28:15 +00:00
dan miller
588ab9f090
ODE fix: avatar/avatar collision enabled. Needs client update fix to be seen correctly. In the right repository this time..
2007-09-09 13:24:18 +00:00
Dalien Talbot
21227b4fda
A small try/catch wrapper to prevent the CLI errors from nuking the sim.
...
Now will just print the backtrace on the screen and continue.
2007-09-08 16:48:52 +00:00
Dalien Talbot
3433f3814a
Partial fix for the "avatars permanently facing east" - now the rotation
...
is set correctly, but only with the movement of the avatar.
The in-place rotation updates need a little bit of more thought,
and will be in a separate commit.
2007-09-08 16:30:39 +00:00
MW
741a967bb3
Added region console command "edit-scale". To use first use change-region to set the active region as the one you want. Then use "edit-scale <primitivename> <xvalue> <yvalue> <zvalue>" so a example is "edit-scale myprimitive 30.0 25.0 35.0" [ Note the primitive name can't have spaces in it. Also if there is more than one primitive with that name in the region, then it will edit the first one it finds. Also it currently doesn't search through the sub primitives of linked groups. So the primitive needs to be either a single primitive object or the root prim of a group. ]
2007-09-08 11:08:38 +00:00
MW
5020e4e602
Cut down on the number of compile warnings. Now down to 5: 4 are related to unused events on IClientAPI and 1 is a unused variable in LSL_BuiltIn_Commands (which I'll leave to Tedd, as he will know if it will be used in the future or not).
2007-09-08 08:12:19 +00:00
MW
c29df824c2
Converted the LSL scripting engine into a IRegionModule, so now all "modules" share a common base interface and are loaded from the single loader. (It seems to work fine, but I have left the old scriptengine loader, incase we have to change back).
...
Removed the reference to OpenJpeg in the DynamicTextureModule, to see if that was causing the build problem someone is having.
Added a Temporary fix for the "existing connection was forcibly closed by the remote host" exception on windows when a user logs out of a multiregion instance.
Some early work to prepare for improving the way clients are updated (about prims etc).
2007-09-08 07:50:31 +00:00
Sean Dague
294572d7bb
added SQLiteAssetData class first pass. This should work,
...
but it will current store local and temporary assets as well.
Will fix that later.
2007-09-07 13:29:08 +00:00
Sean Dague
568ecc0fe0
remove build files from svn
2007-09-07 12:42:49 +00:00
Sean Dague
6a45a1ce9c
factor out common methods to SQLiteBase
2007-09-07 12:37:05 +00:00
MW
804e87861b
added experimental method of trying to relieve missing prim problem (by adding a limit of the number of prim update packets sent in each update loop).
2007-09-06 14:15:16 +00:00
dan miller
3586beb81b
fixed mantis bug 375 (copy broken with physics/ODE enabled)
2007-09-06 03:31:32 +00:00
MW
aafc82cd18
Added "force-update" console command (when a region is set as active), which forces the region to send updates of all the prims to all clients. Not sure how well this is going to work with a few users on at the same time, but it might work as a temporary hack to relieve the problem of missing prims.
2007-09-05 21:36:55 +00:00
MW
4efc75eb66
Added "Local" and "Temporary" Fields to the AssetBase class.
2007-09-05 12:00:44 +00:00
MW
3450911a7e
Just trying to get more debug info from a exception that has been reported.
2007-09-04 21:06:42 +00:00
MW
c014ea1510
Added partial help info when calling "help" command with a region set.
...
Added AddDynamicTextureData() to DynamicTextureModule, so that a script (or another module even) can create a dynamic texture by passing a string with the data in, rather than a url. This could be used for anything from a script passing a basic text string (and having it rendered to a texture) or the script building its own html document.
2007-09-04 20:21:03 +00:00
MW
e58a5c7a95
Fixed it so "shutdown" command works when a region is set as the active console region.
2007-09-04 18:28:35 +00:00
MW
76394f46a5
Part 2 of Darok's BulletX patches.
2007-09-04 18:14:45 +00:00
MW
725ef022c6
Part 1 of Darok's BulletX patches.
2007-09-04 18:03:29 +00:00
MW
710856e3d3
Removed the exit-region command, now use "change-region root" or "change-region .." to change back to root level. [Would be nice if the command prompt changed to show what the current region was, but think that will need changes to the console code so for now it will have to stay as it is].
2007-09-04 17:53:21 +00:00
MW
0eef82291e
Added "show modules" command that if at root level will display a list of loaded "shared modules" (modules instances that are shared by multiple regions) or if a region is set then will display the list of local modules loaded in that region.
...
Can now use "show users" when a region is set, to have a list of users in just that region displayed.
2007-09-04 17:09:47 +00:00
MW
d7b7ff3d49
Using change-region without a region name will now display the currently active region's name.
2007-09-04 16:48:06 +00:00
MW
16cbc35f0c
Fixed it so change-region works with region names that have spaces in them.
...
Fixed it so that change-region gives some feedback to show if its worked (found the region) or not.
2007-09-04 16:39:44 +00:00
MW
bfd36e2e83
Some work on Module loading/management.
...
Some more modules templates classes (hoping that someone will pick some of these and work on implementing them).
Early version of the "Dynamic Texture Module", although currently there are no render modules included (so not really functional without them).
Added osSetDynamicTextureURL script function, for attaching a dynamic texture to a prim.
Some work on the console command handling. Added "change-region <regionname>" and "exit-region" so that after the use of change-region, the commands entered will apply to that region only. Then use exit-region to return to the top level (so commands then function as they did before and either apply to all regions or to the first region) (Note: this hasn't been tested very much)
2007-09-04 13:43:56 +00:00
dan miller
825a2208c6
ODE bugfix: multiple avatars now supported properly
2007-09-01 21:30:51 +00:00
dan miller
00d4d5a21b
once more, without the debug statements (ODE multi-region fixes, various debugging)
2007-09-01 11:06:48 +00:00
dan miller
0901dfded1
umm, nevermind all that -- this is the real ODE region fix. I'll get subversion someday
2007-09-01 11:01:11 +00:00
Sean Dague
2163fc75eb
remove some more rote Verbose strings, leave only ones that actually have something
...
interesting to say
2007-08-31 13:03:39 +00:00
MW
f388a47254
Added a Debug method to the Console/log class that has the Conditional attribute (set to "DEBUG"), so we can use that for writing extra debug info to the console. [for anyone who doesn't know about the Conditional attribute, it is a attribute that can be set on a method, and then any call to that method will on be compiled if the terms of that condition are met, ie is this case only if "DEBUG" is true. So its a cleaner implementation of the #if #endif directives].
...
A few other minor changes.
2007-08-31 12:19:36 +00:00
Sean Dague
a37275fe40
change debugging around failed prim loading. I have one prim that doesn't
...
like loading in my environment, and hopefully this will help figure out
what is going on
2007-08-31 11:48:29 +00:00
dan miller
e158a45b09
danx0r (first checkin!) fixes OdePlugin.cs RemovePrim() lock bug
2007-08-30 23:23:44 +00:00
Sean Dague
bad1df704a
remove debugging statement
2007-08-30 19:58:41 +00:00
Tedd Hansen
d03000062a
Config option for loading ScriptEngine (wjordan)
...
Removed project file for ExcensionsScriptModule
2007-08-30 18:51:22 +00:00
MW
e1505be97f
Added some place holder classes for various modules.
...
Some work on the asset cache, can people please test this. including on one of the public systems so we can see if it causes problems with multiple users.
2007-08-30 13:47:04 +00:00
MW
a7f7dfc0dc
few small changes (all work in progress).
2007-08-29 19:09:45 +00:00
MW
9c0a855088
Remove a debug line.
2007-08-29 16:48:44 +00:00
MW
334dce42e7
Fixed the problem of prims not being loaded from the database (that my last commit created).
2007-08-29 16:35:22 +00:00
MW
36fba5e7e2
Various small changes (some likely to be removed again soon)
2007-08-29 15:39:57 +00:00
MW
1a33582c05
Attempt to cut down how often objects are backed up to the database.
2007-08-29 15:32:48 +00:00
Brian McBee
f1be283378
Attempt to fix bug on linux where estate_settings.xml gets wiped.
2007-08-29 01:50:59 +00:00
Brian McBee
34b836307d
Partial fix for corner-handle prim resize bug. Doesn't work correctly with linked-prims yet, but single prims are good (Thanks Dharma!)
2007-08-29 01:14:03 +00:00
MW
2ccc8e1e98
Fixed the problem of uploaded animations not showing up in inventory [Mantis number 338]. They should now show up in inventory and play locally should work. But Play in world doesn't seem to work yet.
2007-08-28 20:07:59 +00:00
MW
3a97f3f597
Applied danx0r's ODE patch [mantis number 340].
...
Corrected a few out dated things in the ExtensionsScriptModule.
2007-08-28 19:55:42 +00:00
MW
7915adc6c5
Corrected the namespace in OpenSim.Region.Physics.Manager, so now namespace should equal project and directory.
2007-08-28 18:40:40 +00:00
MW
c16aafee09
Taken the old scripting engine out of Region.Environment and moved it into a separate module: OpenSim.Region.ExtensionsScriptModule (named as such because the purpose of it is to script server extensions, rather than "user scripting" like Tedd's engine.)
2007-08-28 18:30:28 +00:00
Tedd Hansen
5a149084d4
startup event on script added to object, not all inside object.
2007-08-28 18:22:48 +00:00
MW
31b895681a
As part of our "we aim to please" commitment, have added the ability to create a user in one command line: "create user firstname secondname passwrd regionX regionY". This allows the use of the "command-script" feature. So to add a bunch of new accounts, just create a text file, and add a line as above for each account. Then in the opensim console, type: "command-script filename".
2007-08-28 18:09:36 +00:00
Sean Dague
2b3b1faf6d
use order by ParentID to ensure root prims are selected first
2007-08-28 15:33:22 +00:00
MW
9a09b7532d
Removed last commit, as sdague has also done a fix.
2007-08-28 15:29:37 +00:00
MW
1c503ad270
Attempt to track down the loading prims error. So Temporary fix to see if it is what we think.
2007-08-28 15:27:27 +00:00
Sean Dague
6bd4c6fee6
some changes which get us closer to Sqlite storage for users
2007-08-28 15:11:56 +00:00
MW
e4fea6d11b
Moved XferModule to OpenSim.Region.Environment.Modules namespace/directory.
2007-08-28 14:26:23 +00:00
MW
8e3b2392d1
Start of trying to make Region/Scene more modular.
...
Added preliminary IRegionModule interface.
Also have a work in progress way of Modules registering optional API methods (kind of like Apache optional functions). But there must be a cleaner/nicer way in c# of doing these than the current way.
Added three work in progress modules: ChatModule (simple handles in world chat, but by moving this to a module, we could support other types of chat modules, ie like a irc - opensim bridge module. ) , AvatarProfilesModule and XferModule.
Moved most of the code from Scene.ModifyTerrain() into the BasicTerrain library, as the start of trying to make that more modular.
Stopped Child agents showing up as part of the "show users" command.
2007-08-28 14:21:17 +00:00
Sean Dague
c1a899b651
Ensure that UserProfileData doesn't pass down null values.
...
These cause some issues with the ADO.NET mapping
2007-08-28 13:02:51 +00:00
Sean Dague
6dd6ef3fa2
sqlite is storing now, uint64 makes things "interesting".
...
however lookup isn't working
2007-08-28 12:34:00 +00:00
Sean Dague
5363549bf4
added some more types that will be needed
2007-08-28 11:49:25 +00:00
Sean Dague
d5c5aff919
sqlite user datastore "should" be functionally complete
...
with this checkin, though it's not tested. Will do that
tommorrow.
2007-08-28 02:25:44 +00:00
Brian McBee
f41f6daa57
reverting to old case sensitive username behavior. As sdague pointed out,we are moving away from db4o to sql, and this won't work.
2007-08-28 01:57:38 +00:00
Brian McBee
a415472ae3
Avatar login names are no longer case sensitive
2007-08-28 01:16:33 +00:00
Sean Dague
e92f2accad
first pass implementation of sqlite storage for user data. This
...
isn't functional enough to use yet, but does compile. Should be
ready for testing in another day or so.
2007-08-27 22:03:21 +00:00
MW
a45c4626fe
Fixed the bug that sent a region port as the CAPS url, instead of sending the httpListener port.
2007-08-27 16:21:16 +00:00
Sean Dague
ac0d58fd33
get rid of my debugging, it causes a crash on multiple backups
2007-08-27 16:14:48 +00:00
Sean Dague
247b9c3573
some debugging to see if there are easy optimizations here for update
2007-08-27 15:51:39 +00:00
MW
653a4ff22d
Deleted a few old files that are no longer used.
...
Deleted the GridInterfaces projects, and for now moved the old local asset server into Framework.Communications, as we prepare to rewrite the asset cache and asset server.
Deleted Framework.manager as I am sure this is no longer in use.
2007-08-27 15:34:21 +00:00
MW
6181191a03
Stopped EntityBase from implementing IScriptHost, as don't think it should, multiple objects are based on entitybase and they all don't want the baggage from IScriptHost. SceneObjectPart already implements it anyway.
...
Added llGetOwner function, and tested the ll functions that I added in last commit.
2007-08-27 11:18:50 +00:00
MW
4c3be4e91f
Another small tweak to image sending.
...
Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
2007-08-27 10:34:28 +00:00
Brian McBee
6e35ff2822
Tweaks to assetcache to make texture downloading better (I hope)
2007-08-27 04:20:14 +00:00
Brian McBee
f6706e6cf8
Fixing llList2double issue (Thanks ldvoipeng)
2007-08-27 01:58:56 +00:00
Tedd Hansen
7e06df5f83
llList-commands from ldvoipeng, new Default.lsl from dalien
2007-08-26 21:21:21 +00:00
MW
b9346844c1
See if this fixes the 0x0 texture size problems, and speeds up texture downloads in general a little bit.
2007-08-26 20:34:14 +00:00
MW
291eb48fb0
Another attempt to fix the image sending bug (next week, I intend to rewrite the assetcache and asset server).
...
Attempt to fix bug # 326. (crashing when using save-xml and hollow prims)
Attempt to fix bug # 328 (limit of 50 items in a folder)
2007-08-26 17:57:25 +00:00
Tedd Hansen
87711c5869
Danxors patch for >30prims with ODE
2007-08-26 15:56:42 +00:00
Tedd Hansen
83d5df3979
in-world run-time error-message no-w con-tains function-name.
2007-08-26 14:04:22 +00:00
Tedd Hansen
ebb0099816
Run-time script errors are now shown in-world. No line number though, might require script to be compiled with (slow) debug information.
2007-08-26 13:31:58 +00:00
Tedd Hansen
fda97aa3c5
Bugfix for last commit, { instead of (
2007-08-26 08:43:46 +00:00
Tedd Hansen
25e200c46a
Fixed bug that occurs sometimes on script unload where queued script event was attempted executed after AppDomain was unloaded.
2007-08-26 08:20:48 +00:00
Tedd Hansen
0cd6d26adb
Fixed error on shutdown caused by ThreadAbortException sending message through already disposed logger. Thanks ckrinke
2007-08-25 22:26:27 +00:00
Tedd Hansen
53ef427e9e
Forgot mutex lock on List<> for timers
2007-08-25 21:50:28 +00:00
Tedd Hansen
d9b9b16513
Script compiler should now show error on correct line number in original LSL-script.
2007-08-25 21:35:03 +00:00
MW
2fd0e53425
Applied dalien's libsl login patch (should now allow libsl clients to once again login to opensim) [Seems I was the one who broke it...sorry ]
2007-08-25 20:50:32 +00:00
MW
9bb22e3f06
Applied dalien's "show users" patch
2007-08-25 20:44:06 +00:00
MW
4b42bc5311
oops , shouldn't have committed my local testing changes
2007-08-25 20:38:57 +00:00
MW
fafe70bba4
Second attempt to commit : Test to see if this change improves or makes worse the texture sending bug
2007-08-25 20:35:51 +00:00
Tedd Hansen
80234b98e5
Removal of script that was unable to compile no longer crashes server.
...
Displays script compile error messages in-world.
2007-08-25 20:34:54 +00:00
MW
65d6ef1bc1
Test to see if this change improves or makes worse the texture sending bug
2007-08-25 20:33:53 +00:00
Tedd Hansen
05a7f44d73
testing Tedds temporary CIA-standin
2007-08-25 20:07:46 +00:00
Tedd Hansen
370f36e4e1
testing Tedds temporary CIA-standin
2007-08-25 20:04:05 +00:00
Tedd Hansen
b75c1b2191
Added class for "long commands" (command that returns as event) with dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
2007-08-25 19:08:15 +00:00
Tedd Hansen
53be4774b3
Scripts no longer crash sim after 5 minutes (override InitializeLifetimeService). Loading/Unloading of scripts are now handled in separate thread so server is no delayed because of this. Each script is loaded into a single AppDomain (temporary test for script unload, eats ~15KB more memory for each script). Unload of scripts has been verified to free up memory.
2007-08-25 15:31:47 +00:00
MW
573fb3a609
Hopefully fixed the bugs in primitives rotation editing
2007-08-25 14:12:40 +00:00
Sean Dague
c35e3b1f35
updated to include saving of object flags.
...
People will need to blow away their databases after this point.
2007-08-25 13:06:09 +00:00
MW
6555ffb591
Set some default values for "create user" in case anyone just pressing return as the answer to some of the settings.
2007-08-24 21:15:23 +00:00
MW
e53ba00212
Now also enabled Inventory persistence in standalone mode when account Authentication is turned off.
2007-08-24 20:58:24 +00:00
Sean Dague
2ca00ba47e
add some better verbose statements to get a better feel for what is going
...
on in the data paths
2007-08-24 18:52:41 +00:00
MW
8b4955f6c1
Hopefully fixed the issue of inventory not working for the master account. (Note you will need to delete userprofile.yap for this to take effect.)
2007-08-24 16:30:27 +00:00
MW
4276a352bc
Small bit of refactoring to the startup command script code (moved it into a separate method), so that I could add a new CLI command of "command-script <fileName>", so that as well as the startup command script still being processed on startup. A user can create other command scripts and use the single command ("command-script <filename>") to run them at any time. Could be useful for trying out various configurations etc.
2007-08-24 16:17:57 +00:00
Sean Dague
487a54ffc0
it helps to actually call TestTables to get the new tables created
2007-08-24 15:51:31 +00:00
Sean Dague
a70fac535f
updated SQLite Inventory to newer model data definition,
...
and add automatic generating of the inventory table
2007-08-24 15:42:53 +00:00
MW
82e2ec60d5
Fixed a problem where some prims didn't show up when you crossed or teleported into another region.
2007-08-24 14:32:22 +00:00
MW
bbc7b5b847
Added temporary fix for the sqlite datastore exception in windows .Net, Added a Try catch block around "shapeDa.Fill(ds.Tables["primshapes"]);" line. Seems if the database file is empty (ie opensim has just created it or nothing has been stored in it yet.) then the exception will be fired and catch, then opensim can continue and have no problems (it will still save prims fine), then on next restart if the database file has entries in it, the exception will no longer be thrown.
2007-08-24 13:35:51 +00:00
MW
39a8cc43c7
Had "using OpenSim.Physics.Manager;" defined twice in SceneObjectGroup.cs, so removed one of them.
2007-08-24 12:38:48 +00:00
MW
d79b0ba269
Hopefully fixed mantis bug #318 (exception when a prim moves across a border, for now have stopped prims moving beyond a regions area, will add sending prims from one region to another soon).
2007-08-24 12:34:00 +00:00
Sean Dague
c296ad684b
attempted fix for .NET issue with the database
2007-08-24 12:02:52 +00:00
MW
df73446bee
Scripts are now copied into a prim (ie new copy placed in the prim) rather than moved into there.
2007-08-24 11:42:44 +00:00
MW
a53125aae0
Updated sqlite3.dll to version 3.4.2
...
Fixed it so now when you move a script to a Prim or delete a script from a prim the change should show up in the prims inventory straight away (without having to close the edit window and reopen it).
When linking prims, all parts except for the root part of the new group are removed from the physics engine, as currently we only really support root parts in the physics engine.
2007-08-24 11:04:07 +00:00
Sean Dague
f6e0791e04
Add region to db
2007-08-23 19:48:21 +00:00
Sean Dague
ff7164196d
I think this fixes blob save/load issues (though I'm still not convinced this
...
will handle > 8k textures yet). Need MW to test to see if this gets rid of his
issue.
There is commented code left in here for now until we know it is fixed
2007-08-23 19:28:09 +00:00
Tedd Hansen
07836b890c
Lowered priority of script threads. Executing state_entry() event on script rez.
2007-08-23 18:43:11 +00:00
MW
0d5311e49b
Added RemovePrim method to the physics plugins interface.
...
Implemented that method in ODE plugin.
Hooked it up so when deleting/taking prims into your inventory they will be removed from physics engine.
Enabled the other physics hook ups in Scene.cs (and also added registering prims with physics plugin when they are rezzed from Inventory.)
So now to get the avatar to prim collision testing working, just change to use the ODE plugin (in the OpenSim.ini file, physics = OpenDynamicsEngine). Remember though ODE only really works (without problems) when running with a single region.
2007-08-23 17:21:08 +00:00
Sean Dague
8c9f006dd3
grouping of functions to make the overall logic easier to grasp for people,
...
and start to show how this can be super classed with some common elements.
2007-08-23 15:16:53 +00:00
Sean Dague
742846d9e6
fix typo
2007-08-23 13:08:52 +00:00
MW
edd50f2e8e
Implemented Resize Method in OdePrim.
...
attached the links to that from SceneObject, so now resizing works (as much as resizing currently works in opensim, fixing resizing in general is on my todo list for today).
Rotation of a root prim also now updates the physics engine.
So think there really is only deleteprim left, then it should be usable (Different shapes (other than boxes that it currently uses) can wait a little bit longer).
[of course there are still the other issues of ODE not really working when there is more than one region in a instance of opensim].
2007-08-23 11:38:50 +00:00
MW
8264ba849f
Added a PhysicsActor PhysActor member to SceneObjectPart, and made it so this is set when registering the prims with the physics engine.
...
Position changes of the prim is now updated straight away to physic engine. (note at the moment, only root prim is registered with physics engine. Think we need to decide how we are going to manage child prims and physics.)
As before this is all currently disabled (in scene.cs) until its in a bit more working condition.
2007-08-23 11:18:16 +00:00
MW
9a8742e838
Added danx0r's physics patch, although for now have disabled the lines in Scene.cs, as any changes to prims (like size or position changes) are only updated to the physics engine when you restart opensim. Also prims aren't deleted from the physics engine. These shouldn't be hard to fix.
2007-08-23 10:53:42 +00:00
Brian McBee
107469ed93
More lsl functions (thanks to ldviopeng and wjordan!)
2007-08-23 05:26:02 +00:00
Sean Dague
1f45f688b2
setup test tables function which lets us make sure that everything
...
we are going to ask for from the database is actually there. This
will let us bail early with a useful error message, instead of late
with a hard to understand one.
Do some other cleanups to get rid of debug input I put in
2007-08-22 21:45:26 +00:00
Sean Dague
1fa2d487aa
Bit of refactoring of the sqlite storage code to build the
...
data definition in ado.net objects up front. This makes auto
generating the sql commands work a lot more reliably.
2007-08-22 21:09:38 +00:00
Tedd Hansen
caee73353d
Debug shows how many bytes (total) a script (assembly) uses after compile and load.
2007-08-22 20:01:04 +00:00
Tedd Hansen
4beef91d00
GC.GetTotalMemory(true) was blocking.
...
We now support individual scripts on individual prims. Do the script dance... \o/ \o\ /o/ \o/ .o.
2007-08-22 19:33:10 +00:00
Tedd Hansen
0eadb7591e
Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of empty objects crash.
2007-08-22 18:41:31 +00:00
MW
47c6d8ae8f
Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a script in a primitive is deleted.
2007-08-22 18:36:47 +00:00
Tedd Hansen
5a86fd2c31
(Untested) Scripts are individually loaded into objects (on rez), and event fired likewise. Bugfixes coming in next commit.
2007-08-22 18:09:38 +00:00
MW
283468caa0
Added Scene.GetSceneObjectPart(uint localID)
2007-08-22 17:46:23 +00:00
MW
001d5a5c92
Made SceneObjectGroup.GetChildPrim() public, for now so that script engine can get ref to the SceneObjectPart/ IScriptHost.
2007-08-22 17:40:26 +00:00
MW
5ea6d8d739
A little bit of cleaning up.
2007-08-22 16:59:13 +00:00
lbsa71
5403153c15
A case of 'while I was working someone set me up the bomb'.
2007-08-22 16:04:04 +00:00
lbsa71
22537aa620
* Added stub OnRezScript handler with plentiful of comments
2007-08-22 15:29:47 +00:00
MW
a3648b6862
added ParentPartID to TaskInventoryItem class to make it easier to store them in database.
2007-08-22 15:07:21 +00:00
MW
f90bd59708
Fixed typo.
2007-08-22 14:48:53 +00:00
MW
f02ebb6476
Added forgotten file.
...
Made a change to the Scene.EventManager OnRezScript event, it now includes the itemID as a param. This uuid is unique to each instance of a script, so can be used for tracking changes/editing, stopping and deleting a script.
2007-08-22 14:47:01 +00:00
MW
b5921e2b95
Start of Task Inventory (ie prim's inventory). For now, you can only move scripts into a prim (from your user inventory) and although the script will now show up in the prims inventory, you can't make any changes to it (or delete it). Also a prim's inventory is currently not saved between restarts.
2007-08-22 14:37:54 +00:00
Brian McBee
de2432b73e
Fix for un-encrypted master avatar password in user database
2007-08-22 05:00:25 +00:00
Sean Dague
6f6432864d
auto create sqlite database if it doesn't exist. This works, but needs some
...
cleaning up prior to release. However this should make it easy for people
to start using sqlite storage.
2007-08-21 22:01:30 +00:00
MW
921ac14e86
Added OnRezScript event to Scene.EventManager.Which the script engine should subscribe to. This is triggered whenever a script is moved into a primitive (and includes the localid of the prim and the script text as params) . Currently though the script item isn't deleted from a users inventory, nor does it actually show up in the objects inventory (this will be fixed soon.) So that means that it isn't currently possible to edit a script (or delete it) once it has been added to a primitive.
2007-08-21 21:03:18 +00:00
MW
0e6f57a303
Hopefully fixed the problem of users avatars not always showing up when either you or another user has crossed from one region to another. (however a avatar's appearance isn't kept across regions, but we need to add that to inter-regions communications so for now people will have to put up with some other user's avatars appearing as the bald(ish) fat man
2007-08-21 18:11:45 +00:00
MW
249826893d
Old group is now deleted from datastore when you link groups/prims, so that the new group can be stored correctly.
2007-08-21 17:47:01 +00:00
MW
16f75978ce
Think linking prims should now work correctly (if its not then please someone let me know) and the rotations are kept. [Now just need to fix the editing (rotation and position) of individual prims of a group]
2007-08-21 16:46:10 +00:00
MW
76379a415b
A bit more work on prim building related code. Think most of the building tools are now connected up and its now just a case of doing some bug fixing.
2007-08-21 16:32:31 +00:00
MW
b7134c834c
Shift and Drag copying should now work correctly. [This was one of those stupid little one line bugs that was so much fun to track down that I decided to spend a few hours on it)
...
Linking groups should now work better than it did, but still a bit of work to do on getting the rotations of all the parts after linking right.
Added part of dalien's #301 patch (xml loading/saving related parts with some small changes)
2007-08-21 16:25:57 +00:00
MW
252b48fb3e
Can now turn on/off server side permission checking (on prim editing etc) from the opensim.ini file. Just add a line to the Startup section like : serverside_object_permissions = true
...
Changes /editing that are made to clothing/ body parts in your inventory should now be saved between logins/ restarts.
2007-08-21 13:21:03 +00:00
MW
18d1031a88
Added Property to SceneObjectGroup to allow the UUID of the region it is in to be read.
2007-08-20 16:07:37 +00:00
MW
31a81e17be
The regionUUID is now being passed to the datastore calls.
2007-08-20 15:49:06 +00:00
MW
4af33c4da6
Instant Messages between users in the same region should actually now work.
2007-08-20 11:52:55 +00:00
Tedd Hansen
33326c1a70
Some minor changes + krinkec's updates to ll* functions.
2007-08-20 10:58:51 +00:00
Tedd Hansen
1b826c2fdc
Added "StopScriot()" to ScriptManager. Stops Executor from executing events in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
2007-08-19 17:47:47 +00:00
MW
3dffc3e3f6
small clean up.
2007-08-19 14:55:43 +00:00
MW
c89db49f3c
Sqlite datastore should now save the textures and extraparams data (used by sculpties) correctly. [Really need to add a ExtraParams field to the sqlite database though, but for now I have combined their data so that we don't lose backward compatibility, know a couple of people have been using the datastore already].
...
Now have a rough day/night cycle (the movement of the sun needs to be made smoother but for now it is better than we had I think).
Added dalien's patch (issue 294) for saving and loading prims to a xml file (think he will be modifying these to be import/export functions and maybe writing a xml datastore for backups).
Some preliminary work on task inventory (ie object's/prim's inventory).
Added place holder data for AvatarProperties (ie a avatar's profile). Should we store this sort of data on the user server or have another server for it (a normal webserver should work).
Added a few more method to IClientAPI.
Sure there is something I'm forgeting.
2007-08-19 13:35:20 +00:00
Tedd Hansen
eeaac68d73
Code comments on recent changes in EventQueueManager
2007-08-19 11:38:58 +00:00
Tedd Hansen
7770c65a7e
Sped up EventQueueManager response time (scripts now respond quickly). Added support for multiple threads executing events on objects, but only one thread on one script at the time (to utilize MultiCore/hyperthreading CPU's).
2007-08-19 11:09:54 +00:00
Tedd Hansen
e70cdbc5ac
Added event method invoke cache to Executor. "Bind once, Invoke multiple times". Will speed up script event execution considerable. But at the cost of some memory (will be optimized later with RuntimeXHandle).
2007-08-19 10:28:27 +00:00
Tedd Hansen
1893164d26
Moved script loading from ScriptManager to AppDomainManager. Now increases scripts loaded count in AppDomain properly.
2007-08-19 06:52:59 +00:00
Brian McBee
75f6c3d364
More prep work for adding prims to ODE physics
2007-08-19 06:14:36 +00:00
Tedd Hansen
489803e6bc
Did I forget to add IScript.cs? Yes I did...
2007-08-18 23:38:03 +00:00
Tedd Hansen
37446b0392
Moved in-AppDomain event execution from Script to OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor).
2007-08-18 23:24:38 +00:00
Brian McBee
318376707d
starting to add bits and pieces to physics prims that we will eventually need for collisions. not hooked in yet.
2007-08-18 23:05:02 +00:00
Tedd Hansen
1ae73931da
Added (theoretical) AppDomain cleanup code.
2007-08-18 22:33:06 +00:00
Tedd Hansen
240712ca9f
Scripts are working again. Scripts are now loaded into limited AppDomains (no security yet).
...
*phew* that only took me 12 hours of coding...
2007-08-18 22:09:07 +00:00
Tedd Hansen
6faa8d8d68
Script loads into separate AppDomain without errors. Events and llFunctions not working yet.
2007-08-18 21:31:35 +00:00
Tedd Hansen
f444fe4f87
Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ folder - hopefully solves compile problem on Linux.
2007-08-18 21:10:40 +00:00
Tedd Hansen
551f2af39f
LSL Compiler now only referring required assemblies (DotNetEngine and Common). Changed Vector and Rotation to custom types (stored in Common) that needs to be changed later. No longer using Axiom. Script support still broken.
2007-08-18 20:53:13 +00:00
Tedd Hansen
1d41fd4984
Working on AppDomains. Scripting is now officially broken. :]
2007-08-18 19:54:04 +00:00
Tedd Hansen
6d10c65358
Moved LSL_BuiltIn_Commands_Interface.cs to a separate library (OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs).
2007-08-18 18:53:03 +00:00
Tedd Hansen
1284369a32
Started on AppDomains for ScriptEngine. Moved llFunctions in LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded.
2007-08-18 18:18:14 +00:00
Brian McBee
6c7f828833
When teleporting to distant region, you can now go to the point you want to go to, instead of the default 128,128
2007-08-18 17:10:54 +00:00
Brian McBee
fdd5602422
llstrenglength (thanks ldvoipeng!)
2007-08-18 16:56:05 +00:00
Brian McBee
8eb9952e5f
lsl test cases, and llregioncorner (thanks Dalien!)
2007-08-18 02:15:21 +00:00
Adam Frisby
4177f5c485
* Applied dalien's terrain help patch (thanks!)
2007-08-17 22:57:46 +00:00
Adam Frisby
d2e48c8014
* Added new terrain-sim <simname> <terrain commands...> function to run terrain commands on a specific sim.
...
* Made arguments for terrain save grdmap optional. Uses defaultstripe if no argument specified.
2007-08-17 22:44:34 +00:00
Tedd Hansen
fcf7db7272
Pimped up Default.lsl. Now featuring a touch counter.
...
Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.
2007-08-17 21:24:38 +00:00
Tedd Hansen
577fb1a987
Removed RAIL test from startup for now...
2007-08-17 19:47:40 +00:00
Tedd Hansen
f2dd6c86f7
Added RAIL.dll
...
Updated DotSets.dll and Mono.PEToolkit.dll
Started on microthreading - currently display exception during startup
2007-08-17 18:39:04 +00:00
Tedd Hansen
66695ded13
krinkec's updates to ll* interface and functions.
2007-08-17 17:33:18 +00:00
mingchen
d3660ed269
*Moved network_servers_info.xml into OpenSim.ini under [Network]
2007-08-17 15:45:49 +00:00
Adam Frisby
4a9e40ea47
* Added support for the IMG-format loader to terrain's load-tile function.
2007-08-16 23:29:28 +00:00
lbsa71
e53d680d41
* Now sending manager, host and root host to Script in constructor.
...
* Changed how Script accesses World
* Implemented llSay, llWhisper and llShout
* Added SetText() to IScriptHost, implemented llText
* Minor renamings to conform with code conventions
2007-08-16 18:40:44 +00:00
MW
cb90510e16
Had to rename Rotation in SceneObjectGroup to GroupRotation to stop conflict with Rotation in entitybase (couldn't override as they are different types (LL vs Axiom) and didn't want to add new).
...
When you take prims into inventory (or delete them), they should now be removed from the prim datastore, so they no longer reappear in-world when you restart opensim.
2007-08-16 18:22:08 +00:00
lbsa71
25fd8d0273
* Introduced IScriptHost as an interface to fetching object data from scripts.
...
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
2007-08-16 17:08:03 +00:00
MW
67873b8614
Deleted old inventoryCache.cs
2007-08-16 16:57:30 +00:00
MW
531f64a53b
Taking Prims (SceneObjectGroups) in and out of inventory should now work and if left in inventory will still be there after restarts. (as with the rest of inventory it will only fully work in standalone mode with account authentication turned on).
2007-08-16 16:31:32 +00:00
MW
b6c48c53b2
Can now set the plugins for standalone mode's Inventory database (default sqlite) and for its user database (default DB4o). Currently changing the user plugin to MySql should work (if you have MySql setup (should be same as for grid mode). There is also a MySql provider for the inventory but not 100% certain if that is finished and functional (will need to check with Adam on that).
2007-08-16 11:24:40 +00:00
lbsa71
94af938742
The 'Party Party Groupie Groupie Life is a game' commit:
...
* Added prototypical MoneyBalance support
* Finalized konceptual touch wiring
* Turned SimpleApp into a tedious harvesting game.
2007-08-15 21:24:25 +00:00
Tedd Hansen
6831c42fe2
compile error removed :)
2007-08-15 19:30:19 +00:00
Tedd Hansen
9c3251b177
Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) and double (instead of float).
2007-08-15 19:25:29 +00:00
mingchen
ae20503dae
*Added the ability to run commands after all regions have started up
...
*By default, it is set to startup_commands.txt. Simply add a list of commands separated by a new line to be run or change the file by changing the path of a startup commands file in OpenSim.ini
2007-08-15 19:08:27 +00:00
MW
94dded470d
More work on inventory, can now create other inventory types, like Clothes and body parts. [Note while you can edit these, at the moment your changes won't be saved between restarts. This will be fixed very soon.]
2007-08-15 18:34:36 +00:00
lbsa71
2a5a8c48c3
* We now have a field of spinning objects.
2007-08-15 18:13:32 +00:00
lbsa71
a4602515ce
* Added more spinning parts to ComplexObject.
...
* We now have CylinderShape
* This commit dedicated to the birth of techno house.
2007-08-15 18:02:05 +00:00
lbsa71
2fe9b8139c
* Again, FileSystemObject reports filename.
...
* SimpleApp now featuring spinning box with spinning parts.
* Damn. That's cool.
2007-08-15 17:15:41 +00:00
lbsa71
c47bca94d2
* Exploring Group/Part from an app perspective.
2007-08-15 16:57:47 +00:00
Adam Frisby
226339cd40
* Applying ckrinke's LSL baseclass changes (Thanks!)
2007-08-15 16:57:01 +00:00
Adam Frisby
bf60577e57
* Fixed bug with llModPow
...
* Implemented llSleep
* Implemented llGetEnergy (always returns 1.0)
* Implemented llGetRegionName
* Implemented llGetRegionTimeDilation (always returns 1.0)
* Implemented llGetRegionFPS (always returns 10.0)
2007-08-15 16:52:24 +00:00
Adam Frisby
ceb1c12bd1
* New LSL functions
...
+ llAsin / llAcos
+ llMD5String
+ llModPow
+ llGetUnixTime
2007-08-15 16:44:00 +00:00
Adam Frisby
c170c60df7
* Division of parcel boundaries occurs in double space rather than decimal.
2007-08-15 16:17:40 +00:00
MW
217d511077
Temporary fix for the region crossing crash, Although we need to start to change and improve how we handle caps.
2007-08-15 15:24:37 +00:00
Adam Frisby
5699bb2e64
* Permissions! - You can now only perform certain functions (such as editing other peoples objects) if you have permission to do so.
...
* Moved OnPermissionError to EventManager - now triggers a standard blue alert.
* Terraforming now requires permission via the permissions manager. [Defaults to admin-only]
* Permissions manager is now substantiated in Scene
* Buttload of new permissions added.
* Estate manager operations now require various levels of permission to operate
* OGS1 now produces 'summary reports' for a commsManager of each scene it maintains connections for. Reduces grid network traffic for ping checks.
* Added new "permissions true" / "permissions false" console command to enable or disable permissions.
2007-08-15 14:10:26 +00:00
MW
a4fc02d790
Partial fix for the permissions on edited notecards/scripts (now you might still see the messages next to the items of no copy or whatever, but they shouldn't stop you doing thing like reading etc)
2007-08-14 20:05:39 +00:00
Tedd Hansen
6b72ed01e3
Minor change to LSL_BaseClass adding pseudocode to World.SimChat
2007-08-14 19:36:43 +00:00
MW
ea5d414170
Added public RegionInfo RegionsInfo property to SceneBase (so scripts can access it).
2007-08-14 19:30:57 +00:00
MW
a979808493
preliminary support for editing notecards and scripts.
...
Although there seems to sometimes be a problem of when you login again, old notecards and scripts will have their permissions messed up and you won't be able to even view their text. This seems to be related to the client's cache, and if you clear your client's cache, on the next login they should be fine again. [I have a couple of ideas about what might be causing this so hopefully will have it fixed soon.]
2007-08-14 19:19:09 +00:00
Tedd Hansen
16defc30eb
krinkec's updates to ll* interface and functions
2007-08-14 19:06:57 +00:00
MW
20b50489c0
Can now create some new empty inventory items (like notecards and scripts) from the create menu in the inventory window. Although currently you can't update/edit them (and have those changes saved).
2007-08-14 17:48:25 +00:00
MW
181a90967e
Start of inventory items, when you upload a texture the data will now be stored in the inventory database and you will still have that texture in inventory on later logins (Again only in standalone mode with authentication.)
...
Also there might be some problems if you upload textures in other regions to the start one (due to us not updating the CAPS url properly).
2007-08-14 17:29:15 +00:00
Tedd Hansen
09e1f5f22e
Correct caps of Default.lsl for Linux. Thanks again krinkec. :)
2007-08-14 16:42:00 +00:00
Tedd Hansen
2a892eb736
Removed some debugging. Removed *.lso from project include in prebuild.xml.
2007-08-14 16:25:22 +00:00
Tedd Hansen
9573aa7582
llSay() works again. Cleanup of debug messages.
2007-08-14 16:14:19 +00:00
Tedd Hansen
afaa12a9e2
ScriptEngine: Some error handling, logs to logger
2007-08-14 15:59:36 +00:00
MW
ff08d4d016
More inventory work, should be able to now create new inventory folders and them be stored in database (so are there on next login). Again only works in standalone mode with Account/password authentication turned on. [Creating new inventory items should be working very soon.]
...
The test is to make sure that it hasn't broke grid mode at all.
2007-08-14 14:57:52 +00:00
MW
a228b5984e
Start of Inventory service, currently only (partially) functional in standalone mode and using sqlite).
...
In standalone mode, if you have account authenticate turned on (setting in opensim.ini) then when you create a new account, a set of inventory is created for that account and stored in database (currently only a set of empty folders). Then during login the database is search for that set and sent to the client in the login response.
More functions will be added soon, like creating new folders (and a bit later items) from the client inventory window.
2007-08-14 13:54:46 +00:00
Tedd Hansen
7b2663a41e
Disabled ScriptEngine until I add error handling tomorrow
2007-08-13 21:25:16 +00:00
Tedd Hansen
79dc1a4f7d
Common script for all objects (Default.lsl). ScriptEngine touch_start event now works, but llSay only outputs to server console.
2007-08-13 20:55:07 +00:00
MW
45fcbaae1b
Added Scene.ConvertLocalIDToFullID() method.
2007-08-13 20:24:37 +00:00
MW
b3c6920328
added Sample OnObjectGrab event to SceneEventManager for script engines to subscribe to.
2007-08-13 20:11:35 +00:00
MW
fc82bd8de7
Changed ScriptLoader to use Path.combine.
2007-08-13 19:56:48 +00:00
Tedd Hansen
876f71cf93
(DotNet) ScriptEngine is now loaded and added to Scene during startup.
2007-08-13 19:39:51 +00:00
Tedd Hansen
c2c21ea170
Setting culture for startup thread to invariant. Config now read correctly on alternate regional settings.
2007-08-13 18:33:03 +00:00
MW
8af12cd9a8
Some more work on SceneObjectGroup
2007-08-13 18:25:12 +00:00