Sean Dague
ce1ed11aba
enable autocreation of mysql inventory tables again. I think
...
I stopped the looping issue on continous upgrade with this as well.
2007-12-10 22:12:52 +00:00
Charles Krinke
22acc23755
Great Salutations to Alondria for providing implementations for:
...
llFrand, llSetColor, llGetColor, llSetTexture, llGetTexture,
llSetAlpha, llGetAlpha, llRotateTexture, llScaleTexture,
llOffsetTexture, llGetTextureOffset, llGetTextureScale, llGetTextureRot.
With these changes the "kan-ed" script #2 should be working.
2007-12-10 21:38:01 +00:00
Teravus Ovares
2349dc2e27
* Added comments to many methods in the listed files.
2007-12-10 21:12:38 +00:00
Teravus Ovares
eac9bc6889
* More refactoring to prepare for draw distance based agent sim notification.
2007-12-10 19:16:50 +00:00
MW
baea4b793d
Changed how TextureDownloadModule is initialised, due to some weird behaviour from the module loaded which was resulting in a lot of unused TextureDownloadModule objects being created (and each starting up a thread).
2007-12-10 15:36:33 +00:00
Jeff Ames
40fd37f95a
Refactored animation handling in ScenePresence. Now maintains a list of current animations.
...
* Fixes weirdness when typing and sitting at the same time
* Should fix bug #32 (getting stuck in edit appearance pose)
* Crouchwalk and possibly jump may need more looking into
2007-12-10 15:08:44 +00:00
MW
611327e104
more work on texture downloading.
...
Refractored the TextureDownloadModule (but currently to make debugging easier, it is running as a non shared module, so this results in a instance of this module being created for each region (and a extra thread per region), this will be changed back soon.
Removed the old texture handling/sending code from AssetCache.
A few other small changes/fixes.
2007-12-10 13:27:23 +00:00
Jeff Ames
081a66d570
added musings on llInstantMessage
2007-12-10 05:58:30 +00:00
Jeff Ames
af6eb67999
saved OpenSim source code from the giant rampaging unterminated copyright notice of doom
2007-12-10 05:25:16 +00:00
Jeff Ames
49312de1c8
totally gratuitous svn:eol-style setting
2007-12-10 04:54:02 +00:00
Jeff Ames
e278d07220
refactored ChatModule a bit.
...
misc cleanup and code convention fixes.
2007-12-10 02:29:42 +00:00
Teravus Ovares
e595f82489
* Hooked up the GridComm event ChildDataUpdate to the scene.
...
* Added List<RegionInfo> m_neighbours to Scene
* Hooked up the OnRegionUp event to m_neighbours list
* Modified RegionInfo to have a bool commFailTF value so that we can skip neighbors that fail. (when the region comes up, this gets reset to false and the region will try again.
* Added SetChildAgentThrottle(byte[]) to IClientAPI
* Several other insignificant changes related to passing child pertanant agent data from sim to sim.
2007-12-10 00:46:56 +00:00
Charles Krinke
be5d8811be
Added a call to m_host.SendFullUpdateToAllClients().
...
Thank you to Alondria for suggesting this solution
to getting kan-ed#2 to work with the llSetScale call.
2007-12-09 23:48:27 +00:00
Charles Krinke
fbaa8bc9bd
Some progress on 4 of the llParticleSystem members
...
that needed to be cast to libsecondlife.LLColor.
2007-12-09 23:04:11 +00:00
Charles Krinke
2742be6675
"list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. Thanks to ChrisD/Gromit for pointing these out.
2007-12-09 21:52:01 +00:00
Sean Dague
934c54de5a
From Justin Casey (IBM)
...
This corrects an off by one mistake in my previous patch - with this patch
the user root inventory folder should once again be correctly returned
under sqlite.
This was done correctly for mysql and mssql, my only (feeble) defence is
that with sqlite the code was a little different and I was eliminating
clauses rather than slightly modifying them.
2007-12-09 21:48:29 +00:00
Jeff Ames
696f5e27a9
removed old debugging code from IM and chat modules
2007-12-09 18:07:14 +00:00
Teravus Ovares
1074e5adc8
* Added more info to ChildAgentDataUpdate
...
* Added (at sdauge's suggestion) byte[] GetThrottlesPacked(float multiplier)
2007-12-09 18:05:08 +00:00
Sean Dague
cace0e055c
change PacketQueue to take the byte[] throttle instead
...
of the Packet to set the throttles
2007-12-09 14:47:18 +00:00
Teravus Ovares
f2b175ef08
* Added some inter-region comms glue for allowing sims to chat amongst themsevles about an agent behind the agent's back.
...
* Will be using this glue Tomorrow/today to tell other regions what the agent's draw distance is and what region they're actually in so the region can make decisions on what prim to send, if any.
2007-12-09 05:59:49 +00:00
Jeff Ames
65b9fa9a5f
added more packet handling stubs
2007-12-09 00:07:03 +00:00
Brian McBee
890a7c2e80
Adding an explicit close() and dispose() in the hope that it might help with assetserver issues.
2007-12-08 23:47:41 +00:00
Brian McBee
383eccc543
hackish code to allow emptying of trash. This really should be done on the inventory server, and not from the region.
...
Also: it appeared to work the first try, so I have probably done something horribly wrong.
2007-12-08 20:41:37 +00:00
Brian McBee
beca2373e1
Allow moving, deleting, and restoring objects in inventory.
...
Note: only tested in grid mode, and emptying trash is still not implemented.
2007-12-08 19:13:10 +00:00
Teravus Ovares
e0e9237a89
* Added back the regionup code so people in nearby sims can see a downed sim coming back up.
2007-12-08 17:25:34 +00:00
Sean Dague
0855066968
This patch fixes mantis 105. Basically, it stops the index exception when
...
no root folder is found and it makes the user server wait longer for the
inventory server to do its work.
From Justin Casey (IBM)
2007-12-08 14:27:12 +00:00
Jeff Ames
5e08911400
set svn:eol-style
2007-12-08 10:04:06 +00:00
Teravus Ovares
5f516c9fb2
* All remoting calls are now using Serializable values
...
* There's still goofyness though, because other regions are denying child agent avatar.
* Still more debugging required.
2007-12-07 23:21:32 +00:00
MW
87b337ebf9
Enabled the TextureDownloadModule, so that hopefully I might get some feedback, as to if it makes the texture problem better or worse. As I plan/hope to work on texture/asset downloading this weekend.
2007-12-07 22:47:11 +00:00
MW
a71f4c021b
"Borrowed" the LLSD class from a older version of libsl, so that our LLSD decoding (used by CAPS) works again.
2007-12-07 22:29:16 +00:00
Sean Dague
0aa982c252
move to PacketQueue for throttling. This has been tested with a couple
...
of people, but is enough of a change that more should try it out. This
removes 500 lines from ClientView.cs in the process.
2007-12-07 21:30:01 +00:00
Sean Dague
4221ec23f9
further screwing around with the PacketQueue data structure.
...
Nearly time to replace a chunk of ClientView with this.
2007-12-07 19:13:35 +00:00
Teravus Ovares
25ec01311d
* Serialized data properly for the InterRegionSingleton InformRegionChild method
...
* This isn't really that big of a deal(worth lots of commits) doing this, however I'm doing it in small chunks because I'm multi-tasking.
2007-12-07 18:20:34 +00:00
MW
e23290eff6
Avatar Appearance refactoring /changes. Added a AvatarAppearance class, each ScenePresence "has" a AvatarAppearance object. All the ScenePresences in a opensim related to one user (so a user's various ScenePresence's in all the regions in that instance) share the same AvatarAppearance object. This means that a user's avatar should appear correctly (to both that user and other users) no matter what border crossing or teleporting they have done.
...
Note: this mainly improves Standalone mode, as in grid mode the appearance data isn't passed between region servers. Although people should notice a improvement when moving between regions in the same instance.
2007-12-07 17:23:11 +00:00
Sean Dague
7f4d033490
This small patch means that the inventoryserver for grid mode now
...
retrieves items in the agent's root inventory folder.
From Justin Casey (IBM)
2007-12-07 15:59:26 +00:00
Teravus Ovares
cbc8a27b34
* Added class sAgentCircuitData and unmarked AgentCircuitData as Serializable.
...
* Created converter constructors between sAgentCircuitData and AgentCircuitData
2007-12-07 15:56:16 +00:00
lbsa71
9414d6a1e1
* miniscule changes just to keep myself in synch
2007-12-07 13:49:33 +00:00
Adam Johnson
3d938f76b7
Updates to LibSL revision 1498. Thanks Johan!
2007-12-07 08:54:31 +00:00
Teravus Ovares
57f666497b
* Added hacked support for 'anyone can move' and 'anyone can copy'.
...
* BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar).
* Also, beware that any objects created under the old permission scheme may react oddly. They may automatically allow anyone to modify them, (which you'll then have to un-set).
* It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
2007-12-07 07:42:03 +00:00
Jeff Ames
a45118d35e
added one more command to the console help.
2007-12-07 02:00:35 +00:00
Sean Dague
9326ee425b
added a lock to prevent multiple Timer popping races
...
on the packet queues.
2007-12-06 21:59:31 +00:00
Sean Dague
1ad83bcf1b
reversing the r2599 patch, as this started causing CreateThread errors for
...
me on Mono 1.2.4, which led to client crashes. I think the Timer.Stop()
wasn't doing what was desired on Mono. The Queue refactoring should address
the readability issues lbsa71 was working on as soon as I get the merge together.
2007-12-06 20:13:02 +00:00
Jeff Ames
73599c0f25
removed obsolete Verbose() function
2007-12-06 18:17:44 +00:00
Jeff Ames
a47176ee92
more minor cleanup. added some command descriptions to region server help.
2007-12-06 17:41:21 +00:00
lbsa71
395637acdd
* now the throttle timer is stopped whilst processing Queue so that it won't fire twice
...
* started to refactored throttling method
* some code convention refactorings
2007-12-06 14:08:22 +00:00
MW
44caa7ae8e
Fixed conversation bug in InventoryConfig
2007-12-06 10:29:53 +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
Jeff Ames
1c593d9e19
minor cleanup of Scene.cs (parameter naming, function documentation stubs, duplicated UUID, you know...)
2007-12-06 04:01:56 +00:00
Jeff Ames
4bde56457f
removed some duplicate hard-coded port numbers. changed ports to uint.
2007-12-06 01:41:41 +00:00
MW
d2736437d4
Some refactoring of the RestObjectPoster (and related classes).
2007-12-05 19:02:57 +00:00
Sean Dague
4b77821275
From Justin Casey (IBM)
...
When using a local inventory service, this patch stops items held in the
root 'my inventory' folder from 'disappearing' on server restart.
They were actually still there, we just weren't retrieving them.
>From looking at the grid inventory server, the bug probably still exists
in there.
But I wanted to get this patch in first and consult with MW about the grid
fix (he may be planning to change the area extensively soon).
2007-12-05 19:00:29 +00:00
Sean Dague
c5c0df74e6
Do not create a new asset on item metadata change
...
From Justin Casey (IBM)
2007-12-05 18:58:55 +00:00
Sean Dague
9c81b8a430
From Gary Chernega (IBM)
...
This patch adds x, y, and z offsets to the load-xml command.
If you had a prim at 100,100,20 thats where it would get loaded everytime.
This patch lets you place it at an offset from 100,100,20.. as such:
load-xml <filespec> -newUI 3 1 2
Loading the prim at 103, 101, 22
2007-12-05 18:45:05 +00:00
Teravus Ovares
71fd737a66
* Applied MSSQL Patch from akokko, Thanks! akokko
...
* This hasn't been tested in MSSQL mode, however it's been checked to make sure it doesn't cause any issues with mySQL/SQLlite
2007-12-05 15:53:58 +00:00
MW
be93de1257
made one or two more methods in Scene virtual to allow overriding in sub classes.
2007-12-05 13:23:12 +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
a24b6fe924
fixed a few compiler warnings under mono (committed from a train, with adjohn and afrisby, enroute to a wine cave with the worst wine in the world)
2007-12-05 04:16:20 +00:00
Teravus Ovares
77dd997ef1
*disabled some confusing code regarding permissions
2007-12-04 23:58:44 +00:00
Jeff Ames
f195725db4
keeping opensim safe for children -- made some namespace references less explicit
2007-12-04 22:14:53 +00:00
Jeff Ames
54c070608e
made log messages for known unhandled packet types shorter and yellower. added handler stubs.
2007-12-04 21:44:10 +00:00
Sean Dague
2adcdd3d15
minor refactor so that I can now grok what happens for outgoing packets
2007-12-04 20:20:15 +00:00
lbsa71
c1fdba8a6f
* Some more ApplyPhysics voodoo
2007-12-04 16:41:20 +00:00
Teravus Ovares
a553e6f67c
* Avatar picker works in grid mode now.
...
* To test, click the communicate button, then click the 'add' button and type a name. You will get a list of closely matching avatar names.
* Before this'll work on your sim in grid mode, the UGA needs to be updated. If it isn't updated, then you'll get a message on the sim console when searching like, 'got invalid queryid'.
2007-12-04 16:07:59 +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
01db4cd71d
* More console message fixes
...
* Tagged Verbose("msg",...) as obsolete. Please use Verbose("AREA","msg",...) instead.
2007-12-04 10:22:09 +00:00
Adam Frisby
91c1e8a734
* Fixed a whole bunch of console messages.
2007-12-04 10:13:13 +00:00
Jeff Ames
398ee5f229
fixed exception and login failure in SimpleApp. (still doesn't work like it used to, though)
2007-12-04 09:57:45 +00:00
Adam Frisby
be7ae3dd3e
* Removed 12 compiler warnings.
2007-12-04 08:18:09 +00:00
Adam Frisby
e820159fb5
* Fixed compile issue.
2007-12-04 07:56:23 +00:00
Adam Frisby
7d5f032203
* Added SSL Support to HttpListener
...
* Added SSL Option to User Server to allow logins to be done via SSL.
* Added sane handling for when Remote Admin Plugin configuration is not found
* Added some performance boosts to an area of libTerrain which was highlighted in profiling.
2007-12-04 05:47:51 +00:00
Teravus Ovares
90b66f8509
* Flying with ODE and got that sinking feeling? This should help
2007-12-04 05:31:47 +00:00
Jeff Ames
21c35d5703
set svn:eol-style
2007-12-04 04:59:27 +00:00
Teravus Ovares
4f05347246
* Split out the ODEPlugin Nested classes.
2007-12-04 02:51:09 +00:00
Sean Dague
14d0a2ac74
further encapsulation of function in PacketQueue and PacketThrottle
2007-12-03 21:47:28 +00:00
Sean Dague
8f58a9a107
From Justin Casey (IBM)
...
While exploring what it would take to get the 'new script' button working,
I encountered the fact, some way down in the rabbit hole, that if a user
renamed an item in their inventory and logged out (without a restart of
the simulator), on log in the new name was not preserved.
As far as I can see, this was because any updates which didn't occur
inside a transaction were ignored by opensim. This patch pays attention
to those changes. It generates a new asset when an item is updated and
changes the user's inventory properties appropriately. I believe this
behaviour is in line with the copy-on-write semantics used in the Second
Life protocol - perhaps it could be optimized if we knew for sure that the
only copy of the object was in the user's inventory.
This also means that if you rename an item (e.g. a script) before you drag
it into an object's inventory, the inventory will receive the item's most
recent name and description.
2007-12-03 20:06:01 +00:00
Teravus Ovares
5061808afc
* Now using interpolation to expand the 256x256 heightfield data to 512x512 before it's passed to ODE.
2007-12-03 19:21:26 +00:00
Sean Dague
c29105aa3e
This is a simple patch which just renames an IClientAPI method to
...
SendInventoryItemCreateUpdate() in order to reflect the actual packet it
sends (UpdateCreateInventoryItem).
From Justin Casey (IBM)
2007-12-03 17:24:27 +00:00
MW
690e517240
Added a flag to load-xml console command, that will generate new uuids for the loaded Sceneobjects (as per mantis request #53 ).
...
To use append "-newUID" to the end of the command, so new format is : "load-xml <filename> -newUID".
If you don't add the "-newUID", then the uuids in the xml file will be kept.
2007-12-03 14:57:39 +00:00
MW
4eba3373dc
Fixed bug in Appearance update in AvatarFactoryModule.
2007-12-03 14:37:20 +00:00
Teravus Ovares
0ec208a200
* Resize terrain heightmap info going to ODE to double the resolution.
...
* Using the nearest neighbor method, interpolation coming soon.
2007-12-03 13:11:15 +00:00
MW
285fa3fe9e
Some refactoring
2007-12-03 10:36:32 +00:00
MW
9f5e1efc2d
Added another .ini file error catch to the RemoteAdminPlugin Initialise method.
2007-12-03 09:58:25 +00:00
MW
634a22185d
Applied patch from mantis issue #110 (with one or two tiny changes) , thanks mpallari/_SomeOne_
2007-12-03 09:50:33 +00:00
Adam Frisby
c4afb81f47
* Removed VS added directory.
2007-12-03 07:38:06 +00:00
Adam Frisby
1d5e19e476
* Added a XMLRPC Restart command to RemoteAdminPlugin
2007-12-03 07:28:04 +00:00
Jeff Ames
4c0ddacc16
minor meaningless changes
2007-12-03 07:26:27 +00:00
Adam Frisby
c8faccb396
* Added XMLRPC Broadcast Alert method.
...
* Renamed a few console messages to match the new "RADMIN" tag for remote-admin stuff.
2007-12-03 07:14:58 +00:00
Jeff Ames
27a731ae1a
set svn:eol-style
2007-12-03 07:10:08 +00:00
Adam Frisby
981c97502a
* Moved XMLRPC Controller to a Application Plugin. Requires testing.
2007-12-03 07:06:46 +00:00
Adam Frisby
4b95eb589b
* Applied a few commits left on my laptop to OpenSimController.
2007-12-03 06:29:36 +00:00
MW
555afddbad
Just for Cfk!
2007-12-02 21:44:14 +00:00
MW
ac77c32453
Attempt to fix mantis issue #82 , taking prims into inventory and then rezzing them in another region.
2007-12-02 20:43:21 +00:00
MW
5ae8759de1
Added some error handling (and console output) to BaseHttpServer.
...
a few other bits of refactoring.
2007-12-02 18:49:42 +00:00
MW
cac98171e5
Very partial Avatar Appearance (ie, clothes/body parts) "storage". In standalone mode it will mean that when you log off and log back on ,as long as the region server hasn't been restarted , your avatar will start with wearing the clothes that it wore on log off. In grid mode its even more limited in that wearing/removing clothes/body parts are only stored in the region server instance you are one. so if you are in a different region to your login region (which are on different region server instances), and then change clothes, those changes won't be remembered. So as said, its very limited but is a small step towards having proper appearance persist.
...
Just need to store this data out to a database.
2007-12-02 14:56:23 +00:00
MW
86ae8e97cd
Fixes a bug that my last commit introduced.
2007-12-02 14:12:56 +00:00
MW
80609c2b15
Some refactoring , mainly on Inventory code.
2007-12-02 13:59:15 +00:00
MW
b92df4aaaf
New Inventory folder should now be stored to the inventory server/database. This also seems to fix the problem of Body parts not being persisted properly.
2007-12-02 10:21:17 +00:00
MW
0a2425432a
Rezzing multiple copies of a inventory prim should now work.
2007-12-01 21:52:10 +00:00
Jeff Ames
2852cd9d73
attempt to fix sitting-related bugs #3 and #67
2007-12-01 21:45:43 +00:00
MW
96ac8f00c7
Due to popular demand, a rezzed prim should no longer delete the original inventory item. (hasn't been tested to make sure no conflicts happen if that new rezzed object is then taken back into inventory but don't think there will be any)
2007-12-01 21:16:42 +00:00
MW
5c866bc6ff
as a Test, attempted to disable mysql inventory table auto creation.
2007-12-01 21:03:10 +00:00
MW
4dee53c7fb
Attempt to fix mantis issue # 73
2007-12-01 20:57:14 +00:00
MW
6c9e588acb
On login, if a set of inventory folders doesn't exist for the user then a new set is created in the inventory database. Most likely still better to use some other script to populate the inventory database instead of relaying on this.
2007-12-01 19:57:23 +00:00
MW
5df851761a
Initial working Grid Inventory server. Only been tested on a very small grid, so likely to have problems on a larger grid with more people?
...
To use , both the user server and Inventory server need to be running this latest revision. (older regions should be able to still be used, just the user won't have inventory on them). Also and HERE IS THE BIG BREAK ISSUE, currently, so that the initial inventory details for a user are added to the inventory db , you need to recreate the accounts using the user server "create user" feature. It should be quite easy to manual populate the inventory database instead but I someone else will need to look into that) Also I've only tested using SQLite as the database provider, there is a Mysql inventory provider but I don't know if it works (SQLite is set as default, so you will need to change it in the inventory server config.xml)
2007-12-01 18:49:17 +00:00
MW
fff468dcfe
Attempt to fix mantis issue # 65, seems like it is a race condition between two regions trying to add a user to the AssetTransactionManager at the same time. So have placed a lock around the Dictionary add.
2007-12-01 16:40:26 +00:00
MW
495cf040be
Attempted fix for mantis issue# 66
2007-12-01 15:20:49 +00:00
MW
c28f505caa
small bit of refactoring
2007-12-01 14:31:21 +00:00
MW
7bc28e0571
the fix, so that trunk works again
2007-12-01 14:25:46 +00:00
MW
27f182ac54
Part 1 of a commit. This revision will not compile, part 2 will be added in a couple of minutes that should fix that.
...
Some work towards persisting Avatar Appearance (what is being worn).
Added OnAvatarNowWearing event to IClientAPI that is triggered by AgentIsNowWearing packets.
stub code to subscribe to this event in AvatarFactoryModule.
Todo: code needs to be added to AvatarFactoryModule to save the uuids to a database and then read them back when that modules TryGetIntialAvatarAppearance() method is called.
Done some changes to Scene to make it easier to subclass it: including changed some private fields to protected and made some methods virtual.
2007-12-01 14:20:37 +00:00
Sean Dague
e36ddb0e8c
mod packetqueue to use the throttle class container
2007-11-30 21:51:13 +00:00
Sean Dague
174a3d2ca1
the packet throttle stuff is duped enough that a
...
seperate container for this probably makes the limits easier to
understand
2007-11-30 21:29:21 +00:00
Sean Dague
9c07a98831
starting to fill out PacketQueue, refactoring as I go. This
...
doesn't link into the rest of the code yet, and won't until it
is complete.
2007-11-30 21:09:49 +00:00
Teravus Ovares
b287015028
* Fixed a bug in my 'user already logged in' fix that could cause a null reference exception.
2007-11-30 21:01:03 +00:00
Sean Dague
b167507e32
Patch for mantis 0000015: Textures don't display in the object
...
properties window
From Justin Casey (IBM)
2007-11-30 20:16:40 +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
Sean Dague
d2fe290bb6
return of the inv-lib-root patch from Justin Casey (IBM)
...
Should fix libsl login ability. No long breaks my login
to test environment.
2007-11-30 15:27:56 +00:00
MW
0b2934a1b1
added support for a console command script to be ran every 20 minutes (will make that time changable in a future commit), to use add a entry under the Startup section of opensim.ini , with: timer_Script = "<filename>" (the filename being the console "script" you want to be ran every 20 minutes). This hasn't been tested very much so..
2007-11-30 15:10:47 +00:00
MW
c1d66a8564
small change to OnSceneGroupMove event (in SceneEvents.cs)
2007-11-30 12:10:12 +00:00
lbsa71
6e22faf73e
* Refactored away permissions and physics flag duplications
2007-11-30 09:42:36 +00:00
lbsa71
0d5d111619
* Made RegionUp virtual
2007-11-30 08:54:42 +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
31cec30aa0
* Extended our semi-stupid implementation of in world object permissions to show a user's client that it can't edit a prim if it doesn't have permission.
...
* Permissions is due for a big revamp. The current way it's done is a hack at best.
2007-11-30 04:54:15 +00:00
Teravus Ovares
3ab3392def
* This extends my first hack to clear out the useragent table for that specific user.
...
* This helps people who have multiple records in their useragent table.
* This update should be looked at.. because really what it should be doing is initiating a grid wide logoff.
2007-11-30 02:14:29 +00:00
Teravus Ovares
57e6b51639
* Here's the issue, on log-off, the routine sets up a null useragent member and then tries to save it to the database.. where it was going wrong, is the database had a check to do *nothing* when it got a null useragent. I made it delete the userAgent row. This should be a good enough fix to solve the problem. It still needs to be looked at by a DB guy
2007-11-30 02:01:12 +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
Sean Dague
d3ab5ad506
revert r2510, this seems to break normal logins, at least from
...
Linux clients.
2007-11-29 20:20:11 +00:00
Sean Dague
af9eb87ad1
return an appropriate inv_lib_root, which the libsl folks have
...
identified as the reason libsl can't currently connect to OpenSim.
Patch from Justin Casey (IBM)
2007-11-29 17:14:06 +00:00
Sean Dague
641e541967
add a few more parens to make sure that throttling condition
...
is really happening the way we want it to.
2007-11-29 16:32:19 +00:00
lbsa71
7704bb6f63
* Fixed neighbour range bug
...
* Various refactorings
2007-11-29 15:27:57 +00:00
Teravus Ovares
4bd38fc65a
* Thanks to _SomeOne_, Server side permissions on object editing. Be aware, that if you're editing an object on your client that you're not allowed to, it'll appear that it's moving to you, but won't actually be moving on the sim.
2007-11-29 15:24:31 +00:00
Teravus Ovares
0619451ea6
*Added more information about the sim that you're connecting to in remoting during the sim, regionup message.
...
*Added the main cause for the remoting error to the console display.
*This will make it easier to debug future remoting issues.
2007-11-29 14:08:34 +00:00
Teravus Ovares
4738fead21
* Added a 50 second restart notify timer that gets reset when new regions come up to give servers that host a lot of sims a long time to start listening.
2007-11-29 07:25:58 +00:00
Jeff Ames
6d7ce67db1
fixed duplicate login in standalone mode (mostly untested in grid mode)
2007-11-29 07:22:11 +00:00
lbsa71
a32bb91675
* minor refactorings
2007-11-29 06:07:48 +00:00
lbsa71
d05b121dff
* Locking on local scope variable does not make sense - every thread will have its own
...
* Locking on value, then changing it does not make sense - lock will happen on old reference
* Taking a local copy of the shared resource then locking on the copy does not make sense - lock will happen on copy
2007-11-29 06:06:42 +00:00
Brian McBee
b0c5693c02
Changed to doing only 1 request to the grid server from main map. Hopefully we are not requesting too much in one gulp.
2007-11-29 02:30:11 +00:00
Teravus Ovares
81ba94fde8
* Fixed about 7 issues with restarting sims and resolved interRegion comms issues. This includes the issue that MW described this morning.
...
There's a lot of little nit picky changes that make a world of difference.
2007-11-29 02:07:19 +00:00
Jeff Ames
2364e6779b
set svn:eol-style
2007-11-29 01:57:59 +00:00
Sean Dague
40dc1ac3b0
I believe this turns throttling back on. I had expected
...
that the Queue would come in by reference, but it didn't
appear to be.
2007-11-28 18:39:07 +00:00
Sean Dague
5fb81ab881
merged ClientView into a non partial class. Will
...
make it easier to start breaking this up into
more discreet functional classes
2007-11-28 13:33:57 +00:00
MW
ac77c50ba9
Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications).
...
Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
2007-11-28 12:36:09 +00:00
Teravus Ovares
c021bfe191
* Disambiguation in the 'sim is restarting message' that tells you 'which' sim is restarting in the area.
2007-11-28 06:31:27 +00:00
Teravus Ovares
b7d596a6af
* Restaring the sim works fine in grid mode now. Sims announce themselves to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up.
...
* Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
2007-11-28 06:18:07 +00:00
Sean Dague
f3895c1e01
build ThrottleCheck function to clear up bits of the throttle
...
code.
Fix typo on throttling Task packets incorrectly
2007-11-27 21:27:32 +00:00
Sean Dague
f4e91bc7d9
moved out nested class to it's own file
2007-11-27 20:50:45 +00:00
Sean Dague
cebdd069f4
some variable renames to help me read the throttle code
2007-11-27 20:37:17 +00:00
MW
b916d5b112
Fixed bug, where the clients in a region weren't told to kill a user's avatar when that user teleported to a different region.
2007-11-27 15:44:39 +00:00
Sean Dague
70d547c1a5
Remove unused function, one less warning
2007-11-27 15:39:35 +00:00
Teravus Ovares
082f2baebe
Fixed an event in the events chain in inter-region communications.
...
As a consequence, restarting sims in the same process instance now shows them when they come back up in grid mode and standalone mode.
2007-11-27 13:46:52 +00:00
Brian McBee
959084f885
MainMap workaround. Map still does not fill in automatically, but one click on map should return a decent portion of it.
2007-11-26 16:40:08 +00:00
Brian McBee
232613638f
Attempt to handle MYSQL error fetching assets
2007-11-26 16:39:00 +00:00
Adam Frisby
011ad46960
* Disabled primitive count updates on Parcels for the moment, until we can move parcels into a module.
2007-11-26 15:06:51 +00:00
Teravus Ovares
175b6115f1
* Restarting regions with the estate tools works in sandbox mode. I'm still working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either.
2007-11-26 05:02:18 +00:00
Brian McBee
c710525b48
Added Region name to the terrain texture description that gets sent to the asset server
2007-11-25 22:27:42 +00:00
Brian McBee
35472b3666
Added new configuration item to User Server: X and Y of region to send user to if their logon region is down. Known good region, sort of.
2007-11-25 21:21:44 +00:00
Brian McBee
7720be5a39
Rez new prims ON the ground, not halfway buried. Mantis 33.
2007-11-25 17:53:16 +00:00
Teravus Ovares
d263a044b1
* Added the ability to restart your individual sims from within them using the estate tools.
...
* The sims properly restart, however they don't yet notify the existing avatars that they are up. To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
2007-11-25 04:52:14 +00:00
Brian McBee
21ce2b0979
Ignore nullreferenceexception in removeclient. The avatar is already gone.
2007-11-25 04:33:18 +00:00
Brian McBee
6ed34cc27e
fixed order of map block requests to grid server. flipped map texture, as it was upside down.
2007-11-25 03:14:43 +00:00
Adam Frisby
0951f895ef
* Removed references to "new LLUUID()", replaced with LLUUID.Zero.
2007-11-24 10:36:54 +00:00
Adam Frisby
39a3784b43
* Added some bounds checks to the sendLandUpdate packet to deal with agents coming in from foreign regions.
...
* Updated bounds-check of getLandObject to check for >= 256 rather than > 256.
2007-11-24 10:05:42 +00:00
Teravus Ovares
18e1e62f26
* Changed reference to NullReferenceException to System.NullReferenceException for Linux
2007-11-24 04:12:55 +00:00
Brian McBee
892f942523
Test storing terrain texture to grid assetserver on startup. Needed for main map functionality.
2007-11-24 03:55:35 +00:00
Teravus Ovares
944b118c62
* Added a way for the Region master user to kick individual users from their sim with a custom message. Their client says, "You've been logged off of secondlife, <Your custom message here> and logs them off.
...
* Added a way for the Region master user to kick *ALL* users from *ALL* their regions in the estate with a custom message.
2007-11-24 03:28:42 +00:00
Brian McBee
2f4f83e343
Make remoting errors because of missing adjacent regions a little more user and console friendly
2007-11-24 02:22:05 +00:00
Teravus Ovares
52714c339e
* Hanling RequestGodlikePowers. On Request.. sends the sim owner's client the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets....
2007-11-24 01:38:36 +00:00
mingchen
3ce6116e4a
*Shared Modules have feelings too! -- Shared Region Modules that are found in DLLs are now correctly loaded automagically.
2007-11-24 01:31:42 +00:00
Teravus Ovares
d7ec786244
* Added a nice 'The Region is going down.' message to the user when the sim owner issues 'shutdown' on the console.
2007-11-24 00:19:48 +00:00
mingchen
51d4d88985
*Fixed bug causing parcel prim counts to stop updating.
2007-11-23 20:17:49 +00:00
mingchen
e7edd02019
*Fixed bug that resulted in most land settings being sent to the client. Media settings/parcel name are now correctly sent.
2007-11-23 19:07:41 +00:00
lbsa71
7ef1f887ea
* the export-map now takes 'CurrentOrFirst' Scene, not necessarily the CurrentScene (as that is not set initially, and hence the command was a bit unintuitive)
2007-11-23 19:00:25 +00:00
lbsa71
fb2588b409
* Refactored NumPackets calculation
2007-11-23 13:21:39 +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
Brian McBee
4af84b0bb2
Fixed Terrain rescale command
2007-11-23 03:45:53 +00:00
Teravus Ovares
2db19b7d65
* Added more comments
...
* Tweaked the esoteric throttler parameters again.
2007-11-22 23:56:44 +00:00
Teravus Ovares
01cd8014da
* Added another code path to skip the packet throttle queues when there's no need to queue the packet up.
2007-11-22 23:14:38 +00:00
Teravus Ovares
f97aeab916
* Quelled a Log format exception in the logging routines.
...
* Tweaked some esoteric throttle settings
* Removed AgentThrottle from the unsupported packet list.
2007-11-22 21:40:53 +00:00
Teravus Ovares
999eec603e
Created a client driven packet throttler. The sim now respects the client's network throttle settings but does sanity checks to avoid too little(nothing gets sent) or too much(the sim crashes) data.
...
* Consider this experimental.. however, it looks very promising.
2007-11-22 19:01:53 +00:00
lbsa71
ae5999c3d5
* removed erroneous comments
2007-11-22 15:43:28 +00:00
Teravus Ovares
e69c810486
* Added code to capture the draw distance setting from the client.
...
* Added a support function to InnerScene to calculate the distance between two vectors.
2007-11-22 01:32:13 +00:00
MW
e5a0049c16
Fixed bug that can lead to infinitive loops
2007-11-21 12:00:28 +00:00
Teravus Ovares
7cb38712d5
* Did some initial work for prim crossing. Just glue so far.
...
* Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler. This flag gets purposely disabled in grid mode. This flag also has the consequence that you can see the prim in neighboring regions without going into them. Be warned, this causes tons of dropped packets.
2007-11-21 02:17:24 +00:00
Sean Dague
7b09800d5b
fix for mantis #2 from Justin Casey (IBM)
2007-11-20 21:25:27 +00:00
Sean Dague
ee8512ee20
patch for llDie from Kurt Taylor (IBM)
2007-11-20 21:19:45 +00:00
Brian McBee
5d786056fb
per chi11ken: adding check for out-of-bounds avatars in POS
2007-11-20 05:59:35 +00:00
Brian McBee
c8293d908d
New improved POS! With slippery avatars and extra calculations.
2007-11-20 05:40:50 +00:00
Jeff Ames
83ed435d01
fixed potential reference invalidation and array out of bounds exception in basicphysics
2007-11-20 05:09:30 +00:00
Jeff Ames
3aa73ae1c7
fixed array range out of bounds exception and reference invalidation under load in POS
2007-11-20 05:05:27 +00:00
Brian McBee
c6619b6f7d
Reverting my POS changes. I need to think this through a bit more.
2007-11-20 04:54:19 +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
Brian McBee
db3858c13a
POS physics. tweaking stair-climbing which broke with my last change
2007-11-20 04:28:31 +00:00
Brian McBee
26909477fc
POS physics: removed "stickiness" from avatars so they can slide along surfaces instead of sticking to them.
2007-11-20 04:04:07 +00:00
Brian McBee
61bc26226f
Turned on more verbosity to try to debug assetserver failures
2007-11-20 03:47:47 +00:00
Sean Dague
ec5186c98a
there is no real reason to write this value back to estate settings,
...
and it is the most often tickled part of this race condition.
2007-11-19 23:00:08 +00:00
Sean Dague
98f82105a0
put in changes to only keep the last terrain revision. The current
...
unbounded model causes performance and filesystem filling grief.
Before enabling this again, we need a reasonable bounding model.
2007-11-19 22:59:28 +00:00
Teravus Ovares
79e9d4faf9
Tweaked for a possibility of 10 elements.
2007-11-19 16:12:53 +00:00
Teravus Ovares
4eb4082e27
* Added noisy debug information on the Verbose console to help debugging oddly placed prim.
2007-11-19 15:59:05 +00:00
Teravus Ovares
4afe393ce4
* Space allocation fix for prim outside region. >256 & <0.
2007-11-19 15:37:50 +00:00
Sean Dague
2fdca28dd4
hopefully resolve mantis issue #10 by locking correcty around terrain methods
2007-11-19 15:07:04 +00:00
Teravus Ovares
2910f1b949
Fixed - outside of bounds error.
2007-11-19 12:28:00 +00:00
lbsa71
ce3a87daa5
* Changed namespace
2007-11-19 11:20:36 +00:00
Jeff Ames
a1391d0848
fixed POS rotation with certain angles
2007-11-19 05:28:00 +00:00
Jeff Ames
c261812e39
added rotation support to POS
2007-11-19 04:46:05 +00:00
Teravus Ovares
aaab1448f7
* Split space array structure into a two dimentional array instead of a single one. Once again. Should help debugging space/copy issues.
2007-11-19 04:15:18 +00:00
Teravus Ovares
72525d3015
Added medium debug information to Verbose mode of the console about Prim/space movements. Should help make sense of the copy prim bug. Use for Pastebin. :D
2007-11-19 03:06:17 +00:00
Teravus Ovares
694bab9513
* Copy/SpaceBorder Fix attempt number 3, hopefully the last
2007-11-18 20:45:47 +00:00
Teravus Ovares
3bb4cd51fd
* 2nd attempt to fix the Spaceborder/copy bug
2007-11-18 20:24:51 +00:00
Adam Frisby
b1b9f79a04
* Supressed the "not a module assembly" warning for verbosity reasons.
2007-11-18 18:26:51 +00:00
Jeff Ames
c40cfb01aa
flying in POS should be a bit smoother
2007-11-18 18:20:02 +00:00
Teravus Ovares
7672237bcd
* Tentative Bug fix for OptikSL's intermittant Copy prim error.
2007-11-18 17:25:12 +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
Jeff Ames
924026d01c
cleaned up some mono compiler warnings
2007-11-18 15:14:37 +00:00
Jeff Ames
d10c79d421
first stab at implementation of CopyInventoryItem
2007-11-18 13:50:46 +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
MW
f71fa731f5
Made the background (ie empty space) colour of the exported map image blue.
2007-11-18 12:18:56 +00:00
MW
87b07c19ef
Added "export-map <filename>" console command to the region server that will export a jpg image of the world map covering a 20 X 20 regions area centred on the current active region (ie the one set with change-region). While this should work in grid mode (if using the grid asset server and if my last commit did fix the world map), you might need to call the "export-map" command then wait a little while (60 seconds?) and then call it again so that you make sure the region has got all the texture assets from the asset server.
2007-11-18 12:04:21 +00:00
MW
7f99644864
Attempt to get World Map working in Grid mode, will need to be using the grid asset server for it to work correctly and has only been quickly tested in a three region grid.
...
Moved PermissionManager creation out of the Scene constructor and instead a PermissionManager is passed to the constructor as a param. So that we could create and use custom permissionsManagers.
Added AllowMovement property to ScenePresence which can be used to stop movement of avatars (for example in a custom region that wanted avatars always in one place).
Added PermissionManager call when copying objects, although currently the call will always return true so that it allows copying in places like Wright Plaza.
A few other changes/fixes.
2007-11-18 11:11:44 +00:00
Dalien Talbot
2cd00f46b9
For every problem there's a solution that is simple, neat and wrong.
...
Looks like it has nothing to do with childregions - reverting and will
try to debug after the sleep. Sorry for the noise :)
2007-11-18 07:58:04 +00:00
Dalien Talbot
0d8a2cccfd
Looks like we're requesting the mapblocks for every agent - including
...
childagents. The infrastructure is not robust enough to handle it at
this time - so ignore all the MapBlock requests for childagents.
2007-11-18 07:40:30 +00:00
Dalien Talbot
f7b5c6550b
Second try at having a bandaid for the multiple logins crash
2007-11-18 07:16:17 +00:00
Dalien Talbot
8ebf75ec24
Revert the previous commit - indeed this needs to be fixed in a
...
different place...
2007-11-18 07:07:50 +00:00
Dalien Talbot
aa57b386b7
Trap the error during the logout with connections to multiple sims on
...
the same box (error in closecircuit) - temp band-aid, should have a
better fix.
2007-11-18 06:33:15 +00:00
Dalien Talbot
6866dc5297
Additional debugging output to see for what coordinates is the worldmap
...
requested (crash is gone, but tons of worldmap requests)
2007-11-18 06:16:39 +00:00
Dalien Talbot
baa4e82107
Prevent the region crash in gridmode on bringing up the map
2007-11-18 05:28:28 +00:00
Dalien Talbot
793813a6a6
Added handler for MapNameRequest - OnMapNameRequest
2007-11-18 04:00:04 +00:00
dan miller
8c5add18a2
improved avatar logic -- walk up low steps now, sorta
2007-11-17 23:28:44 +00:00
dan miller
7c18c69668
minor POS tweak for speed
2007-11-17 22:43:05 +00:00
Teravus Ovares
54df1a57d7
* Fix Null comparison for Mono
2007-11-17 21:00:35 +00:00
Teravus Ovares
8a57dd207f
* Fixed space related SimCrasher ODE error when a prim disables itself because it's out of bounds and user moves it back into the space.
2007-11-17 20:34:56 +00:00
Teravus Ovares
5460ba79dc
* fixed goofy documentation error
2007-11-17 19:15:57 +00:00
Teravus Ovares
6cd3980b18
* Added decoding of the AgentThrottleBlock of the AgentThrottle packet. It's still unhandled, and useful data can be sent to the packet throttler :D
2007-11-17 19:06:51 +00:00
MW
a4a1ff3d9b
Added ClickAction property to SceneObjectPart (and the relevant changes in IClientAPI so its used), so that the default click action (ie touch, sit, etc) can be set on a prim. Note: Sill need to handle the incoming packets that set this, from the client.
2007-11-17 12:03:20 +00:00
dan miller
d71b28c731
Out of a fog of alcohol and adenovirus, I present - POS!
...
EXTREMELY basic collision detection; walk on prims
don't rotate anything
do not feed or annoy POS
YMMV
2007-11-17 09:59:07 +00:00
Jeff Ames
6ad471abc0
set svn:eol-style
2007-11-17 08:39:59 +00:00
Jeff Ames
a473289738
minor cleanup of some dodgy bits
2007-11-17 08:14:17 +00:00
Jeff Ames
ba9b317122
added some POS gravity
2007-11-17 06:25:41 +00:00
Jeff Ames
946db5461c
catch exceptions when loading malformed xml files
2007-11-17 05:53:12 +00:00
Teravus Ovares
df507605cd
* ODEPlugin Thinned the avatar out to average SL thin-ness. There's more work to be done on this, however, avatar will have a lot less difficulty getting into tight spaces/prim cuts
2007-11-17 05:16:36 +00:00
Teravus Ovares
3041747bcd
* ODEPlugin - fixed issue where resizing prim causes the prim's collision box to no longer be matching the client's view of where it should be.
2007-11-17 03:48:13 +00:00
Teravus Ovares
5fd2fa687e
* Resolved the situation where prim is loaded from storage and when pushed never stops.
2007-11-16 22:13:13 +00:00
mingchen
eb2f626561
*Added the TimeDilation property to Scene
2007-11-16 22:02:16 +00:00
Teravus Ovares
b2243079ea
* Trying a space/collision optimization technique in ODE. Let me know if you see a difference.
2007-11-16 18:30:25 +00:00
MW
483377adae
More cleaning up when deleting regions from a instance. NOTE: IGridServices.DeregisterRegion() method needs implementing for grid mode.
2007-11-16 13:39:11 +00:00
Jeff Ames
76a67f45c6
fixed some AssemblyInfo files
2007-11-16 10:35:52 +00:00
Jeff Ames
e3998230cc
added dummy POS physics plugin
2007-11-16 10:25:27 +00:00
Teravus Ovares
b63076c303
* ODE step two on the way to separate dynamic space allocation ( One more to go )
2007-11-16 08:53:37 +00:00
Teravus Ovares
9020ec5af9
* Fixed object edit movements causing full object updates instead of terse object updates since unlinking.
2007-11-16 08:52:03 +00:00
lbsa71
3aed77bd2c
*** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM OpenSim.ini.example **
...
* Now moved region storage from region to application, so we have one storage per application, instead of one per region.
* Changed so that the region store providers use connectionstrings, not filenames
* Removed various unfit fields and properties (call me Darwin)
2007-11-15 19:53:10 +00:00
Sean Dague
886f8b5548
make Stopped a bit sloppier which should help address any float round off issues
2007-11-15 19:11:25 +00:00
Teravus Ovares
91b0c44563
* ODE - Started the refactoring process to allow breaking up the scene into smaller spaces
...
* ODE - No new visible speed improvements yet. From the coding side, the beginnings of dynamic space calculation..
2007-11-15 18:37:20 +00:00
lbsa71
57ff76850d
* Added MySQLDataStore (adapted from MonoSqlite
...
* Made startup a little bit more forgiving on dll load
* Minor renamings and musings
2007-11-15 15:32:28 +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
Sean Dague
3ca8eb82a9
added first attempt at storing stopped physical objects
2007-11-14 22:39:59 +00:00
MW
b42dfff4b8
Added "show regions" console command that displays the list of regions in that instance and their X , Y locations. (as requested/suggested by ckrinke)
2007-11-14 22:03:11 +00:00
Sean Dague
c7e125033c
clean up most of my mess on terrain. Someone on .NET please test and make
...
sure this remains working for you.
2007-11-14 21:00:19 +00:00
Sean Dague
ec48b67276
managed to produce and kill the same exception on mono as on .net. Hopefully
...
this means .net is fixed.
2007-11-14 16:35:51 +00:00
Sean Dague
28ff73129b
bury connect creation deeper down in case this is what .NET hates
2007-11-14 16:29:34 +00:00
Sean Dague
8eb2a163c8
random shot in the dark
2007-11-14 16:26:18 +00:00
Teravus Ovares
d8fde94843
* ODE removes an unnecessary lock.
2007-11-14 16:24:19 +00:00
Teravus Ovares
cb6ec3d0f7
* Removes the console enumeration errors on sim start.
2007-11-14 16:12:59 +00:00
Sean Dague
ccd08ae3d0
remove limit stanza, see if this helps.
2007-11-14 16:08:10 +00:00
Sean Dague
02b6f6ca62
get rid of parametrized query, in case this is the .NET issue (I hope not)
2007-11-14 15:52:39 +00:00
Sean Dague
870837d4a8
further adventures in .NET workarounds
2007-11-14 15:35:27 +00:00
Sean Dague
2aec70666a
no, this probably won't work either, but I'm going to at least make sure it works
...
mono still
2007-11-14 15:15:01 +00:00
Sean Dague
980661ed1b
more attempted voodoo around .NET
2007-11-14 15:03:17 +00:00
Sean Dague
5a739cc248
attempt to resolve Sqlite not working on .NET for terrain
2007-11-14 14:11:45 +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
lbsa71
61b301cbcd
* moved outer tool dir into inner tool dir
2007-11-14 11:22:01 +00:00
Brian McBee
666bd6f06e
Another try: Fix moon bleeding over into linden grid. Need to clear your cache to fix it.
2007-11-14 06:00:03 +00:00
Teravus Ovares
52fbc67100
* Should help avatar climb steps better
...
* Reduced ground friction when an avatar is moving
* Followed Dan's advice and moved the walk/run movement controller to target_velocity instead of on the total movement
* Reduced PID_D power by 1/5th (80)
* More avatar movement tweaks.
2007-11-14 02:41:15 +00:00
Teravus Ovares
9a00c26dfe
* Possibly resolved the excess sim lag.
...
* Warning: Only try on Linux, Windows builds still have a terrain database problem.
2007-11-14 01:04:19 +00:00
Teravus Ovares
9f6b3e2357
* Added AvatarPicker in Standalone mode. Works for finding avatar to ban, manually trying to add a friend (with the add button) or useful to those who are curious which usernames have visited your standalone sim. Important for future development :D.
...
* Grid mode always returns 0 results until the Grid Communications portion is done.
2007-11-13 22:48:19 +00:00
Sean Dague
eb41ec00c9
first pass on unlinking of objects. From Jay Clarke (IBM)
2007-11-13 19:57:11 +00:00
MW
448612db62
Added "remove-region <region name>" console command that "should" remove the named region/scene.
2007-11-13 16:31:11 +00:00
Sean Dague
4bc4844646
working now. Needs cleanup, but I'll have to do that after the next meeting
2007-11-13 15:50:56 +00:00
Sean Dague
7810b068f4
some changes to reduce memory significantly by not keeping all
...
terrain revisions in memory. Once I'm sure this is working, I'll purge
out some of the crufty code here.
2007-11-13 15:22:54 +00:00
Jeff Ames
ae4312a698
replaced exception when sitting and typing with rather amusing getting up and sitting back down animation
2007-11-13 13:47:03 +00:00
MW
297cc7ef4f
Some work on cleanly removing Regions.
2007-11-13 12:23:05 +00:00
MW
7f8a69f181
Some work on being able to set/send a users Buddylist info. (added handling code to LoginResponse).
...
And as a test each user signing in will get the test account ("Mr OpenSim") as a friend (online/offline status will not currently show up)
2007-11-13 10:47:39 +00:00
Teravus Ovares
10b41ba455
* Fixed the walk vs fall animation.
...
* Tweaked a few things
2007-11-13 05:10:14 +00:00
Teravus Ovares
57b646b7ae
* Added AV Height Glue & Avatar Height stored on m_AVHeight in ScenePresence
...
* Added glue to send it to the Physics Engines (in meters)
* ODE Initial implementation of Avatar Height :D Change your height and not get all knee bendy
2007-11-13 03:18:54 +00:00
Jeff Ames
3d10dbf233
added IDs for all built-in animations
2007-11-13 02:30:43 +00:00
Teravus Ovares
d9d35f9fd7
* Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.
...
* All thanks to unimplemented packet listing :D
2007-11-12 23:46:26 +00:00
Teravus Ovares
5952441fcc
* Added a lot of Glue to help with reporting proper collisions.
...
* ODE - Fixed the iscolliding property to report a static true when colliding.
* Added reporting of collisions to call UpdateMovementAnimations
* Added Jump - air animation (with arms outstretched).
* Added Fall Animations
* ODE - Added a small amount of X, Y motion control while jumping or Falling
* ODE - Avatar movement animations are still a bit odd sometimes, and had to get this up there.
2007-11-12 21:45:49 +00:00
Sean Dague
b9e971cda9
fix compile issue on mono
2007-11-12 20:35:25 +00:00
Jeff Ames
ad002835d3
enable typing animation for chat, maybe
2007-11-12 20:25:59 +00:00
Jeff Ames
128c7b2d43
added verbose output of unhandled packets from the viewer
2007-11-12 19:01:04 +00:00
Teravus Ovares
9b6e747d78
* Sets ZeroMesher as default. (If you want to cut and hollow, you'll need to uncomment the Meshmerizer in OpenSim.ini)
...
* Fixes a geometry issue in ODE when using ZeroMesher
2007-11-12 16:22:23 +00:00
Jeff Ames
008e4a2be8
set svn:eol-style, reset default config
2007-11-12 14:54:13 +00:00
Teravus Ovares
cdd903c173
* Applied Gerhard's Meshing patch (Thanks! Gerhard)
...
* Addition of Gerhard's ZeroMesher.
* Addition of meshing OpenSim.ini parameter
* Some modifications to the Meshmerizer
* Meshmerizer set to default meshing plugin because ZeroMesher needs a memory locking fix. We'll switch it back after the memory locking issue is resolved.
2007-11-12 12:43:01 +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
Dalien Talbot
aeb7b8cc18
Fixing null pointer exception from Mathias Soeken:
...
e.Scene is copied to locale variable scene and replaced when it is null,
but in the LLVector3 constructor in the next line, e.Scene is used, so
it can be null.
2007-11-11 22:19:33 +00:00
Jeff Ames
db174dfa20
set svn:eol-style
2007-11-11 09:19:21 +00:00
Jeff Ames
33ac0653a3
fixed chatting while sitting
2007-11-11 04:44:52 +00:00
Brian McBee
46fbcad2aa
Fixed bug in assetcache where certain textures were not being packetized correctly
2007-11-11 00:11:34 +00:00
Teravus Ovares
ec77e1eb17
* adds flag in OpenSim.ini for disabling physical prim. Look at OpenSim.ini.example in the bin folder for an example.
2007-11-11 00:08:18 +00:00
Jeff Ames
9a4b4dae5e
removed OdePlugin/Meshing directory
2007-11-10 21:20:55 +00:00
Teravus Ovares
cb07ba0d68
* Moves the Meshmerizer to a separate plugin
...
* Experimental. Linux Prebuild needs testing.
* One more update after this to remove the ODEMeshing directory....
2007-11-10 19:13:52 +00:00
Teravus Ovares
43ea37b5a0
* ODE Fixed annoying bug where resizing causes there to be a 'ghost' prim left that blocks your way.
2007-11-10 17:23:36 +00:00
Teravus Ovares
e9e72fe907
* Added an internal throttle on ODE physics updates
...
* Added a ThrottleUpdates member to PhysicsActor to expose 'throttle' ability to the Scene.
* Updated the ode.dll file with a fix to invalid data passed to ODE's heightfield collision calculator.
2007-11-09 21:01:55 +00:00
Sean Dague
6c77ae5507
add a few more verbose bits
2007-11-09 20:47:20 +00:00
Sean Dague
8ac2f5a3a0
turn back on verbose message for resending packets
2007-11-09 20:32:55 +00:00
Sean Dague
3e5ea796ae
don't break if they haven't defined the Sun section of their config
2007-11-09 20:02:44 +00:00
Sean Dague
114945b842
make Sun progression configurable for the Sim from OpenSim.ini
2007-11-09 19:53:23 +00:00
Teravus Ovares
90274434c6
* Moved BulletX off of the 'constant terse update' method. It now only sends terse updates when needed.
...
* Removed the 'constant poll method' from SceneObjectPart.cs - It was bad :P
* Updated some Masses in ODE to help large prim slow down by friction easier.
2007-11-09 13:45:42 +00:00
Adam Frisby
7fb227ed1e
* Protip: Commit AFTER compiling.
2007-11-09 02:38:26 +00:00
Adam Frisby
b7629d7a3d
* Added some code to prevent a spinlock.
2007-11-09 02:31:40 +00:00
Adam Frisby
7861390f72
* Tweaked how the throttle works.
2007-11-09 02:26:26 +00:00
Adam Frisby
1875317127
* Tweaked throttle sizes. Throttle is now 256kbps outbound per client.
2007-11-09 02:24:14 +00:00
Adam Frisby
5099667844
* Added some *VERY* experimental highly dodgy throttling of outbound packets to help alleviate clients borking during massive amounts of updates. Needs work.
2007-11-09 02:22:01 +00:00
Adam Frisby
3a5ae43d5e
* Fixed compile issue.
2007-11-09 02:13:07 +00:00
Adam Frisby
c93f7188c7
* Added a mutex to the LoginService allowing only a single login simultaneously. (queues)
...
* This is a temporary fix to prevent an issue with adjohn reported when attempting to login large numbers of users in a short period of time.
* A rewritten login service is on the cards.
2007-11-09 01:59:18 +00:00
Teravus Ovares
b01e309414
* Fixed Resending Terse Updates Message on the console causing CPU usage to spike when the network connection isn't 100% and fast.
2007-11-09 01:43:54 +00:00
Teravus Ovares
b74983328c
* Stopped printing the prim's X cordinate difference from the last movement on the Console.
2007-11-08 18:17:48 +00:00
Teravus Ovares
fcc276a68d
* Fixed occasional character drift caused by sim not sending the avatar's final resting velocity.
...
* Added Smooth moving prim
* Added event to PhysicsActor RequestPhysicsterseUpdate to allow physics plugins to be able to schedule a terse update.
2007-11-08 15:22:36 +00:00
Jeff Ames
fc3e247956
fixed non-ASCII chat and IM
2007-11-08 07:14:46 +00:00
Jeff Ames
0b4e15bc35
converted hard-coded chat type values to ChatTypeEnum
2007-11-08 03:11:10 +00:00
Teravus Ovares
9e9dad1cde
* Added Rotational Velocity reporting for Client Interpolation to Terse Updates
...
* Added Angular Velocity reporting for smooth-ish rotations on object collisions
2007-11-08 00:10:40 +00:00
Sean Dague
428d603e87
get rid of the debug line, that's just going to drive everyone nuts
2007-11-07 22:24:38 +00:00
Sean Dague
2884112227
move Sun into a Region Module, pass 1. Currently this works fine with
...
a fixed 30 minute day and the sun going East -> West again. It gets rid of
super noon as well. It's a bit debug heavy right now, which I'll clean up
tomorrow. I also plan to make time progression configurable in OpenSim.ini,
but that will be tomorrow.
2007-11-07 22:22:32 +00:00
Sean Dague
65eb1852a3
add SendSunPos function to IClientAPI to let us pull all the sun
...
calculation logic into a module
2007-11-07 20:29:30 +00:00
Sean Dague
9b6c8ba7d1
disable profuse logging messages for not saving physical
...
objects, as it clouds up the console a bit too much
2007-11-07 20:26:03 +00:00
Jeff Ames
f86a65f14b
refactored some duplicate SceneObjectGroup searching code in Scene
2007-11-07 02:42:18 +00:00
Teravus Ovares
919118f0ef
* fix for Bug 563
...
* fix for ODE geoms not getting disposed of properly when resizing.
2007-11-06 17:19:10 +00:00
lbsa71
ee1fcc729c
* Added better logging to AssetCache
...
* AssetCache now ignores duplicate uploads
* some m_ refactoring
* ignored some bins
2007-11-06 11:10:45 +00:00
dan miller
ec85a31140
physical prims AND other changes in ODE (Teravus) -- note this is experimental!
2007-11-05 22:20:18 +00:00
dan miller
62a43affe4
physical prims
2007-11-05 22:18:12 +00:00
dan miller
c1d05740e5
adding missing ODE files for mesh
2007-11-05 18:05:21 +00:00
MW
7fb9665cf5
Fixed the MyNpcCharacter errors
2007-11-05 15:08:56 +00:00
lbsa71
f6c8c10d3f
* Substituted som 'GenericCall' with Action<>
...
* OnRequestWearables does no longer accept 'Client' as param, since it's always on the current client
* Fixed SendOwnWearables to always operate on self, as that's what it does
2007-11-05 14:38:58 +00:00
MW
73fbacea1f
Started to cleanup/close down childagent connections when a user teleports. As the client will not close old childagent connections without being told explicitly to do so by each region the connection is to. Currently only implemented in standalone mode. ( the TellRegionToCloseChildConnection( ) in OGS1GridServices.cs needs implementing for grid mode, and the inter region .net remoting added for the new messages).
...
hopefully fixed the echo bug in chatmodule.
2007-11-05 13:58:44 +00:00
dan miller
fdb57b28b1
prim cuts in ODE
...
Much thanks to Gerhard!
Merged with Darok's recent changes re: physical prims
2007-11-05 12:25:53 +00:00
MW
6bb1e91d41
Changed it so opensim.exe should scan for new application plugins every time its ran, rather than just the first time (or when the addins and addin-db-000 directories were deleted).
2007-11-05 12:24:07 +00:00
lbsa71
e1e611452b
* UpdateWearable should SendOurAppearance
...
* Ignored some bins
2007-11-05 09:16:42 +00:00
Charles Krinke
7eff1572cb
Thank you, Teravus for: Solution for 'after using physical prim with MonoSqliteDataStore, the sim lags with constantly updating assets.". This mostly affects BulletX.
2007-11-05 04:33:06 +00:00
Jeff Ames
76aa5b81b0
removed duplicated BOMs
2007-11-05 02:48:05 +00:00
Adam Frisby
7896a0c453
* Temporarily reverted SQL syntax.
2007-11-05 01:35:17 +00:00
Adam Frisby
181dd8d8dc
* Changed MySQL Syntax on Region Updates for Grid Server.
2007-11-04 23:31:35 +00:00
MW
d56ed8fe9c
Some more refactoring
2007-11-04 22:22:53 +00:00
MW
1467720f60
Added forgotten ApplicationPlugins directory and moved the load region code out to a plugin.
...
To make opensim search for the new plugin, you will need to delete the "addin-db-000" and "addins" sub directories in bin if you have them.
2007-11-04 22:16:13 +00:00
Adam Frisby
9f4ae7230f
* Small touchup of console messages
2007-11-04 20:37:55 +00:00
Jeff Ames
e0cfa89d83
normalized line endings
2007-11-04 14:52:19 +00:00
MW
18ae60db37
Deleted Regionloader .csproj files.
2007-11-04 14:40:16 +00:00
MW
ef2cea41ce
Added forgotten IApplicationPlugin file
2007-11-04 14:38:12 +00:00
Jeff Ames
2d1c255e8c
normalized line endings
2007-11-04 14:34:45 +00:00
MW
e50a2e2ce2
Applying Teravus patch # 557. Some glue code for the updating of prim's velocity.
2007-11-04 14:06:41 +00:00
MW
039f2c46c0
Added support for OpenSim application plugins (as requested by Adam), which use Mono.addins for loading/management. (which is a pure .net solution so works on both Mono and MS .net, and is under the MIT license, will add the source code for the library later). I also suggest we look into switching to using Mono.addins for our Region module loading management.
...
A little bit more refactoring of Scene.
2007-11-04 13:48:15 +00:00
MW
d34ee746e7
add a IAssetProvider.CommitAssets() call to the grid asset server, when a asset is uploaded to it. Don't think the MySql provider needs this call but the Sql provider does else the assets don't get written out to the database file.
2007-11-04 10:46:05 +00:00
MW
19fe9a0208
Do I really have to write a log entry, can't I just hide this commit somewhere so its added but doesn't show up anywhere. As I can't believe I would make such a stupid mistake and not notice.
2007-11-04 10:40:28 +00:00