dan miller
c1d3e93fbb
Hollow prims (box only), thanks Gerard! Enjoy
2007-09-29 04:08:33 +00:00
dan miller
a0265300aa
Hollow prims (box only), thanks Gerard! Enjoy
2007-09-29 03:56:36 +00:00
Sean Dague
ebfb057583
negative code checkin. All these functions are in the base
...
class which we get for free now.
2007-09-28 11:11:36 +00:00
Sean Dague
77354612ff
implement getInventoryItem and getInventoryFolder (not
...
sure why these weren't implemented previously)
2007-09-28 10:23:48 +00:00
dan miller
77a185f4ad
this should fix 443 and compile!
2007-09-27 23:11:41 +00:00
dan miller
129d266867
this should fix mantis #443
2007-09-27 23:06:24 +00:00
lbsa71
863195612b
Reverting back to 2017 since 2018 were causing Linux breakage; reopening Tleiades patch 444 and 445.
2007-09-27 14:57:43 +00:00
Sean Dague
664de12898
oops, I broke the build. Fixed now
2007-09-27 13:53:50 +00:00
lbsa71
3ddf9da1f4
* Tleiades patch #445 - the inventory folders displayed does not show the expected folder icons
...
Tahnx, Tleiades; keep up the good work!
2007-09-27 13:51:16 +00:00
Sean Dague
5b4d631d34
implement something in sqlite inventory that wasn't before
...
not sure how we missed this function
2007-09-27 13:44:45 +00:00
lbsa71
8143c597fc
* Tleiades grid mode inventory ( #444 ) - thanx Tleiades!
...
* updated to rev 1413 on libsecondlife.dll and libsecondlife.dll.config (#423 )
2007-09-27 13:25:45 +00:00
Adam Frisby
569ba9eb9a
Terrain:
...
* Attempted fix for lag/pause when doing lots of updates.
* Some naming fixes to libTerrain.
* Refactored terrain bitmap generation into a common call for both world map and export.
General:
* Switched some calls to Console.WriteLine to use MainLog.Warn/Verbose/Notice.
2007-09-25 11:48:43 +00:00
lbsa71
eb8640f368
* Now the OGS1GridServices has a LocalBackEndServices that it forwards intra-instance requests to
...
* Every Scene has a ClientManager (as every dog it's day) since two scenes can have the same circuit as client.
2007-09-25 06:33:18 +00:00
lbsa71
2219ccc5b0
* Fixed Culture-variant parsing of config options
2007-09-25 01:20:30 +00:00
Tedd Hansen
8231ac72ec
More reorganizing of new SE. Added debug print of application exception.
2007-09-25 00:22:06 +00:00
lbsa71
3ac43d0120
* Removed some more fields from CommunicationsLocal
...
* added OnLoginToRegion to CommunicationsLocal
2007-09-24 23:58:43 +00:00
Adam Frisby
4e01aa4879
* Added time dilation property to Scene
...
* Default Terrain algorithm now produces something slightly less mountainous.
* Fixed lolcat
2007-09-24 16:39:26 +00:00
Adam Frisby
b82b8b8f4f
* Fixed an issue where it chose the smaller rather than larger of the two numbers for the update call.
2007-09-24 15:58:39 +00:00
Adam Frisby
f5eac12a88
* Renamed ScriptConsole to PluginConsole for clarity
...
* Fixed a bug where ODE tries to do a physics update for zero frames.
2007-09-24 15:56:34 +00:00
Adam Frisby
48e0e05446
* Refactored the central update loop - now easier to work with. Switching from per-framecounts to per-second time periods and moving to OpenSim.ini shortly.
2007-09-24 15:46:03 +00:00
Tedd Hansen
0eac34b7ab
More structural changes to new SE
2007-09-24 13:57:16 +00:00
Tedd Hansen
323234f82a
Reorganized some files
2007-09-24 12:49:46 +00:00
lbsa71
d4701d7ecc
* Long days journey towards night
2007-09-24 12:39:03 +00:00
lbsa71
c8157da17b
* Hotfix for 'properties all the way into the sunset' bug; it just doesn't make sense, but maybe we need to handle agentUpdates form children too.
...
* Ignored some bins
2007-09-24 12:19:33 +00:00
lbsa71
7fc53abc22
* Now login swallows WebException.Timeout; (thanks cfk!)
...
(we should really implement some nearby/default known-up algorithm here)
2007-09-24 11:45:28 +00:00
lbsa71
9f6b709f3c
* the worlds most insignificant commit
2007-09-24 11:23:01 +00:00
lbsa71
f076c71936
* Applied tleiades patch #435 fixing HttpBaseServer ABEND (thanx!)
2007-09-24 11:20:09 +00:00
lbsa71
9795b4f6c8
* Console output killed the cat. s/cat/sim/
2007-09-24 09:37:40 +00:00
lbsa71
00ddeebf57
* So, ok, maybe a bit harsh to explode on grid inventory calls.
2007-09-24 09:19:31 +00:00
lbsa71
ee5f069e2a
* Now there's only one UserService
2007-09-24 07:53:26 +00:00
lbsa71
1302ef44e3
* Started major restructusing of comms to prepare for better grid and region functionality
...
* Working towards one shared set of services
* Killed off two projects with very little functionality
2007-09-24 07:30:30 +00:00
lbsa71
9ccab46ae8
* Trying to streamline CommunicationsManager
2007-09-24 05:30:03 +00:00
lbsa71
6c41efa4e3
* reorder and rename
2007-09-24 05:20:23 +00:00
lbsa71
40468f18a4
* Encapsulated all CommunicationsManager services
2007-09-24 05:15:13 +00:00
lbsa71
13c1c33ed4
* Added TryGetAvatarByName
2007-09-24 04:49:05 +00:00
lbsa71
5818958a9a
*** CHANGED CONFIG BEHAVIOUR ***
...
* Changed really strange LocalSettings behaviour with enforcing hard-coded plugin names if none supplied
* UserServices and InventoryPlugin will only load if supplied with filename
2007-09-24 02:41:13 +00:00
dan miller
a9a126063f
long-lost fixes to physics -- proper physical avatar management on crossings, TP
2007-09-24 02:40:13 +00:00
lbsa71
47256cebda
* Renamed methods on IUserData
2007-09-24 01:31:00 +00:00
lbsa71
ce071417d4
* minor renames
2007-09-24 01:18:45 +00:00
lbsa71
79045abe68
* Renamed stuff on UserManagerBase to get implicit implementation of IUserServices (instead of stubs)
2007-09-24 01:16:21 +00:00
lbsa71
b3eeb5a8dc
* Purged 'Regions' code pending Agent layer grok.
...
* Changed so prims aren't loaded until AFTER parcels.
* The region startup flow is still an ungodly rats nest.
2007-09-23 23:55:29 +00:00
Sean Dague
8dda11d17e
fix to do hollow prims correctly. Reported from
...
http://bug.opensecondlife.org/view.php?id=394
2007-09-22 18:41:01 +00:00
Tedd Hansen
59f0920a8f
Stand Alone ScriptEngine: early framework, ongoing planning (don't touch yet, will go through major reorganizing). Still a LOT of things needs to be solved...
2007-09-22 13:15:52 +00:00
lbsa71
64f4afcb43
* There. I think this concludes todays work on moving stuff to Broadcast()
2007-09-21 06:06:31 +00:00
lbsa71
34043cd351
* Slowly but surely working my way towards Regionality...
2007-09-21 06:00:34 +00:00
lbsa71
80a9b81448
* Yeah, I placed Close() in the wrong file. So sue me.
2007-09-21 05:34:40 +00:00
lbsa71
5fab795bf0
* Continued work on Region layer
...
* Added Close() to ScenePresence to remove and destroy PhysicsActor
2007-09-21 05:23:17 +00:00
lbsa71
e4a78a9b30
* Removed unused RegenerateTerrain functions
2007-09-21 05:04:59 +00:00
lbsa71
72b207173a
* Removed unused LandRenegerated flag
2007-09-21 05:00:51 +00:00
lbsa71
b9808f8314
* First example of moving stuff to a Region layer
...
* Also, changed RegionPresence to 'RegionSubscription' - let's just see where we land with this...
2007-09-21 04:58:40 +00:00
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