lbsa71
5b720b4b39
* Made a copy of parts before updating to avoid dictionary updated exceptions on big updates
...
* The part now uses the byte[] TextureEntry instead of the object
2007-12-28 13:11:49 +00:00
Adam Johnson
79496381fc
Patch from Johan: LibSL updated to the latest revision (1568) and all packets are now
...
recycled to improve performance and memory usage.
2007-12-28 08:51:39 +00:00
lbsa71
efd90b56b7
* Optimized usings
...
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
Justin Clarke Casey
01de4bbfbd
If a prim is persisted in the region, scripts dragged into its inventory after a server restart would not appear (though the script they contain would still be invoked). This
...
change fixes that problem.
2007-12-26 20:21:06 +00:00
Charles Krinke
8e8c26acac
Again, thanks to Alondria for:
...
Added: LinkNum to SceneObjectPart
Added: Bunch-o settings of LinkNum in SceneObjectGroup
Added: llGetNumberOfPrims()
Added: llGetLinkNumber()
Added: llGetLinkKey()
Added: llGetLinkName() (and change to string return type)
2007-12-17 02:30:03 +00:00
lbsa71
1cf4278862
* Debugging Shape
...
* Adding namesetting to Create
2007-12-13 14:47:44 +00:00
MW
8a2a6ad761
couple of small fixes.
2007-12-12 17:15:37 +00:00
MW
60c96ab687
Couple of more small changes
2007-12-11 18:29:19 +00:00
Adam Johnson
3d938f76b7
Updates to LibSL revision 1498. Thanks Johan!
2007-12-07 08:54:31 +00:00
Adam Frisby
9e5f7fb415
* Removed lots of scurrilous uses of ASCII/UTF8.GetBytes for making packet strings. BAD PROGRAMMER BAD. Use Helpers.StringToField instead. >_>
2007-12-06 06:36:49 +00:00
Teravus Ovares
bb824eadee
* Refactored Permissions into ScenePresence as requested by MW
...
* Un-hackerized generating the client_flags
* Now handling the ObjectPermissions Update packet
* Warning: Backup your prim before updating. If you fail to do so and something goes wrong then, All Yr prim are belong to us!
2007-12-05 06:44:32 +00:00
Jeff Ames
f195725db4
keeping opensim safe for children -- made some namespace references less explicit
2007-12-04 22:14:53 +00:00
lbsa71
c1fdba8a6f
* Some more ApplyPhysics voodoo
2007-12-04 16:41:20 +00:00
lbsa71
bf8239c7fa
* ApplyPhysics now creates the PhysActor as well.
2007-12-04 13:46:18 +00:00
lbsa71
e01c128c8f
* Added ApplyPhysics helper on group.
2007-12-04 11:11:13 +00:00
Adam Frisby
91c1e8a734
* Fixed a whole bunch of console messages.
2007-12-04 10:13:13 +00:00
MW
0a2425432a
Rezzing multiple copies of a inventory prim should now work.
2007-12-01 21:52:10 +00:00
Teravus Ovares
95c68a316a
*Refactored the initial raytracer so it doesn't use the Parent reference.
...
*Fixed a 'statement out of order' error in the setting of the permissions that are sent to the client.
2007-11-30 16:29:23 +00:00
MW
c1d66a8564
small change to OnSceneGroupMove event (in SceneEvents.cs)
2007-11-30 12:10:12 +00:00
lbsa71
d2b1b54f49
* Removed permissions flag appliance from Xml deserialization
...
* Various code convention compliance
2007-11-30 08:08:14 +00:00
Teravus Ovares
5eb091ceee
* Temporary fix for 'User already online' issue in standalone mode.
...
* Revert this once we get a working logoff.
2007-11-30 01:20:31 +00:00
lbsa71
7704bb6f63
* Fixed neighbour range bug
...
* Various refactorings
2007-11-29 15:27:57 +00:00
lbsa71
a32bb91675
* minor refactorings
2007-11-29 06:07:48 +00:00
Teravus Ovares
1ecd803e87
* added some functions for use in raytracing. They're kind of crappy now, so they only display 'guesses' on the console when you rez a prim.
...
* any math gurus who'd like to improve rezzing need only to make the raytracer in SceneObjectPart work :D
2007-11-23 05:56:35 +00:00
MW
e5a0049c16
Fixed bug that can lead to infinitive loops
2007-11-21 12:00:28 +00:00
Sean Dague
7b09800d5b
fix for mantis #2 from Justin Casey (IBM)
2007-11-20 21:25:27 +00:00
Teravus Ovares
5a71d03b7a
*Huge* structural changes in ODE/OdePrim to get all of the calls in threadlocked code. ODEPrim was almost completely re-written.
...
Copy/Space test needed.
2007-11-20 04:38:08 +00:00
Teravus Ovares
615b40b68b
* Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
2007-11-18 15:54:05 +00:00
Teravus Ovares
46ccfa1741
* Found several cases where prim set physical were not subscribing to physics events.
2007-11-18 13:37:02 +00:00
Teravus Ovares
179695909a
* Implemented the little friendly pop tooltip messages that appear when you hover your mouse over prim with the object name, description, ownerid.. etc.
2007-11-15 07:32:24 +00:00
Teravus Ovares
3cb2b5eb66
* Copied objects are now owned by the object copier (Next Owner) (however next owner permissions are not applied yet)
...
* In Serverside permissions mode; If you've copied an object, then you can delete it and clean up after yourself. The rest of the permissions functionality is still unchanged. Admin can delete any object.. etc.
2007-11-14 11:56:57 +00:00
Sean Dague
eb41ec00c9
first pass on unlinking of objects. From Jay Clarke (IBM)
2007-11-13 19:57:11 +00:00
Dalien Talbot
8039c31e88
Patch from Mathias Soeken (thanks Mathias!) to take care of the color
...
and alpha argument of the llSetText command.
2007-11-11 22:23:34 +00:00
darok
fbf3c6a768
Modifications for prim movement. For now only in Mod. BulletX, but i think it can be easy to add to ODE. Enjoy kick the prims and be careful with the falling ones ;D
2007-11-03 19:33:00 +00:00
darok
f8e0cf0f1d
Changes in BulletXPlugin: Added new class BulletXActor class inherits from PhysicsActor and it's the ancestor for BulletXCharacter and BulletXPrim.Physical modifications: Changes for pass the value of Physical flag in the SceneObjectPart class to the Physics engines. New call for AddPrimShape so it has a new parameter called "isPhysical". The old call will be obselete soon (i believe). PhysActor and its descendants have a new property called IsPhysical. By the way no new special funcionallity added. It's more like preparing the way for new modifications.
2007-11-03 10:25:43 +00:00
lbsa71
4fad66f855
* Diuerse beavtificatems
2007-11-01 19:19:05 +00:00
Charles Krinke
8af272b3ab
Thank you, Melanie for solving: When receiving an ObjectAdd packet, the Rotation member is silently ignored and the prim is created with 0,0,0,1 rotation. The patch introduces a fix that passes the Rotation parameter from the packet to the object and uses it in the actual object creation.
2007-11-01 03:56:54 +00:00
dan miller
f5195a453c
Tevarus' patch for object flags & implemented Phantom edits
2007-10-30 23:38:56 +00:00
lbsa71
67e12b95ea
* Optimized usings
...
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
MW
3d8219f6c7
as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
...
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
MW
2681de366b
Made some changes to the load/save xml format, So that the old format can still be used, I have added new console commands of "load-xml2" and "save-xml2", if the old versions worked for you then please continue using them (at least for now). The new versions haven't been tested that much, so their format could be subject to change.
2007-10-22 11:06:54 +00:00
MW
19f8b14120
small bit of refactoring
2007-10-18 19:17:07 +00:00
Tleiades Hax
05df857132
Possible fix for: Remoting exceptions with adjacent non-running sims.
...
Bugs 449, 454, 408, 244, 197
implemented InformClientOfNeighbours as an asynchroneous process, handling timeouts without blocking the main thread.
Improved logging of errors, removed catch all in try catch
2007-10-18 15:10:43 +00:00
MW
be0aebcc9a
couple of small event changes
2007-10-16 15:09:06 +00:00
MW
0f1604a53f
Couple of small changes to Xml serialising of SceneObjectGroups (shouldn't effect anything).
2007-10-16 11:16:25 +00:00
lbsa71
849eaffbe5
* Applied patch #418 : copyright-r2012.patch - some errors, but got most thru
2007-10-15 07:10:21 +00:00
lbsa71
b77bf18079
* Just extracted a standard ToXml() on SceneObjectGroup
2007-10-12 19:31:37 +00:00
MW
a19ec6fc54
Just trying out some thing with events, there changes/additions are likely to be temporary.
2007-10-12 15:26:19 +00:00
MW
8cf2daa838
some refactoring
2007-10-10 08:30:36 +00:00
lbsa71
5a65521203
== The "right name and place" commit ==
...
* Moved InventoryData to Framework.Types/InventoryItemBase.cs
* Moved UserData to Framework.Interfaces/IUserData.cs
* Moved UserProfileData to Framework/Types/UserProfileData.cs
* Deleted ass-backwards Framework dependency on Framework.Data (now it's the other way round)
* Changed some namespaces to reflect file structure
2007-10-05 10:14:42 +00:00
dan miller
a0265300aa
Hollow prims (box only), thanks Gerard! Enjoy
2007-09-29 03:56:36 +00:00
lbsa71
40468f18a4
* Encapsulated all CommunicationsManager services
2007-09-24 05:15:13 +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
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
8f0b03597b
* Modernized ScriptManager to new interface-based module calls.
...
* 'remove redundant this qualifier' ftw
2007-09-19 00:30:55 +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
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
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
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
1a33582c05
Attempt to cut down how often objects are backed up to the database.
2007-08-29 15:32:48 +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
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
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
573fb3a609
Hopefully fixed the bugs in primitives rotation editing
2007-08-25 14:12:40 +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
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
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
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
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
MW
f90bd59708
Fixed typo.
2007-08-22 14:48:53 +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
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
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
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
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
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
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
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
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
MW
45fcbaae1b
Added Scene.ConvertLocalIDToFullID() method.
2007-08-13 20:24:37 +00:00
MW
8af12cd9a8
Some more work on SceneObjectGroup
2007-08-13 18:25:12 +00:00
MW
dc24317678
Added the SetPartText access method to SceneObjectGroup to set the text of member SceneObjectParts.
2007-08-13 14:39:12 +00:00
MW
b59d9789f8
Partial Linking of prim groups should work (its partial as currently only the root prim of the child group will actually get linked, working on linking the rest now).
...
Multiple prim groups are now stored in the sqlite database and are reloaded correctly.
2007-08-13 13:36:42 +00:00
MW
f147d8e0f0
Few small fixes
2007-08-10 18:52:46 +00:00
MW
94c7e41ef1
Made a few changes so that once we enable the sqlite data store (simple line change in OpenSimMain), then basic ( with a few limits at moment) prim database backup will work.
2007-08-10 13:59:19 +00:00
MW
765bd02a48
SceneObjects should now (hopefully) call datastore.StoreObject().
2007-08-09 19:30:52 +00:00
MW
e36c645729
Deleted old LSLEngine files (those under Scene.Scripting)
2007-08-09 18:45:40 +00:00
MW
d451dddcd0
Start of replacing the old SceneObject/Primitive classes with the new versions.
...
PLEASE NOTE: that with this revision some prim related features may be broke for a while. (things like linking prims and the parcel prim count.)
Also this revision may not work on mono, but that will be fixed soon.
2007-08-09 17:54:22 +00:00