Teravus Ovares
9abe4b2ebf
* Start listening for client connections immediately after a region initializes during initial instance startup. (as opposed to waiting for 'all of the regions' to initialize first)
...
* Removed hackish timer based client notification about regions up (no longer needed)
* Added a comment about an inventory based login failure that causes me lots of greif testing and debugging. Comment includes *why* it's failing.
2007-12-12 00:38:57 +00:00
Sean Dague
c7f5a94763
put in a try block to catch the ForEach loop dying.
2007-12-11 22:20:22 +00:00
Sean Dague
6b5db310cd
debug to catch any users of the stop interface
2007-12-11 21:57:11 +00:00
Sean Dague
2e38e534d9
consolidate client view exit paths, this seems to
...
cause a different synchronization issue in other
shutdown routines, though I'm not sure why
2007-12-11 21:47:18 +00:00
Teravus Ovares
d67009a78b
* Added some locking to help race conditions in the neighbors lists
2007-12-11 21:43:17 +00:00
Sean Dague
1fd62bc1af
force a flush before client shutdown, so no important packets are lost
2007-12-11 20:32:22 +00:00
Sean Dague
696fb65199
minor restructure of ClientView.cs to get all the attributes
...
and properties to the top of the class definition.
2007-12-11 19:04:08 +00:00
MW
60c96ab687
Couple of more small changes
2007-12-11 18:29:19 +00:00
Jeff Ames
77841fe35e
Minor cleanup/refactoring of ScenePresence.
...
Changes flying animation to hover when not moving (as per Teravus's suggestion).
2007-12-11 18:03:25 +00:00
MW
909fcd554f
A few minor changes/additions/fixes.
2007-12-11 16:05:53 +00:00
lbsa71
ffd60baa48
* The 'Create' functions should be called to factor up a new, otherwise empty, but with the Id and 1-to-1 child fields instantiated and randomized.
...
* Added two shape constants that
2007-12-11 13:30:08 +00:00
Brian McBee
16903ec488
Implementing updateinventoryfolder: Should now be able to rename folders in inventory
2007-12-11 03:51:32 +00:00
Sean Dague
b7178ec241
refactor SunModule a bit to make more sensible
2007-12-11 03:15:13 +00:00
Jeff Ames
712efda9b9
added copyright notices
2007-12-11 01:26:06 +00:00
Sean Dague
e0c43df52a
default day's to a more sensible 24 hrs instead of 0.5. You
...
can still change this in the config file if you want something
different.
2007-12-10 22:33:49 +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
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
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
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
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
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
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
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
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
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
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
634a22185d
Applied patch from mantis issue #110 (with one or two tiny changes) , thanks mpallari/_SomeOne_
2007-12-03 09:50:33 +00:00
Jeff Ames
4c0ddacc16
minor meaningless changes
2007-12-03 07:26:27 +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
80609c2b15
Some refactoring , mainly on Inventory code.
2007-12-02 13:59:15 +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
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
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
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
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
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
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
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
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
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