Teravus Ovares
5219eb7420
* Split the World Map code into a module.
...
* Implemented a hack so regions beyond the 10,000m range will show the map without having to click on the map before they'll start to show. The hack shows regions around the one you're in, but it won't show the one you're in.. you still need to click on the map to get that (not sure why yet). Additionally, the map still only shows pictures for regions that are hosted on the same instance (no change).
2008-06-12 20:19:42 +00:00
mingchen
0896cb53d4
*Parcel Prim Count Maximums moved to their own functions so modules can override the default method of calculating how many prims a parcel can have.
2008-06-11 17:31:43 +00:00
Jeff Ames
5910a49da6
Update svn properties. Formatting cleanup.
2008-06-10 08:35:46 +00:00
Teravus Ovares
c892ddcd20
* This wraps the autopilot request to the client's sit response. An interesting, but successful way to do it.
...
* This also takes care of a few error situations that were previously never seen.
2008-06-06 12:51:20 +00:00
Charles Krinke
e2d87b04e3
Mantis#1455. Thank you kindly, Mikem for a patch that addresses
...
the client thread terminating when creating a new script.
2008-06-05 14:03:08 +00:00
Justin Clarke Casey
78d7d6edb0
* minor: Yet another minor logging message tweak following on from the last commit
2008-06-05 02:12:44 +00:00
Justin Clarke Casey
7f10e5f338
* minor: Increase verbosity of "new user request denied" incoming session warning for debugging purposes
2008-06-05 01:55:45 +00:00
Justin Clarke Casey
1f605da761
* If a client thread crashes, make an attempt to notify the client and clean up the resources
2008-06-05 01:20:17 +00:00
Justin Clarke Casey
1d745cca17
* Start writing out assets metadata file for archiver
...
* Ignoring it on reload as of yet
2008-06-04 18:50:58 +00:00
Justin Clarke Casey
6e2f3bd3fb
* Start recording abnormal client thread terminations
2008-06-04 16:30:44 +00:00
Justin Clarke Casey
0a2d399cad
* If a ThreadAbortException reaches AuthUser() then let it pass through unmolested
...
* These are only thrown on client shutdown anyway
* This stops the console (harmlessly) spewing stack traces when a client logs off
2008-06-04 01:25:31 +00:00
Justin Clarke Casey
8983877664
* minor: Remove my own stupidity in the last doc comment - it wouldn't actually be all that tricky to try better clean up on a client thread crash. Haven't actually implemented
...
this, though
2008-06-03 21:00:37 +00:00
Justin Clarke Casey
723c9eccad
* minor: Change comment on last commit. My English - not so good.
2008-06-03 20:55:56 +00:00
Justin Clarke Casey
a987840191
* Stop the crash to bash of the entire region server when a client thread fails by catching the exception in AuthUser() instead of letting it propogate out of the thread
2008-06-03 20:27:52 +00:00
Teravus Ovares
61e2254be2
* This should fix presence issues.
2008-06-03 07:12:09 +00:00
Teravus Ovares
52491d4fca
* It's probably safe to remove the 'Warning Duplicate packet detected Packet Dropping.' message
2008-06-03 05:44:28 +00:00
Justin Clarke Casey
8cb5ec5fdd
* Make version information common to all servers
...
* Now all servers respond to the "show version" command on the console
2008-05-31 20:35:12 +00:00
Charles Krinke
48d0084e53
Mantis#1422. Thank you kindly, Xantor for a patch that :
...
- volume doesn't change with a new llLoopSound(same sound, new volume);
- SendFullUpdateToClients sends 0's in all sound related fields when
there's no sound on the prim, thereby improving the amount of data being
sent out on these prims (fixes zeropack)
- Removed some code duplication between llStartSound, llLoopSound and llParticleSystem() calls
2008-05-30 15:34:54 +00:00
Jeff Ames
0462510956
Update svn properties. Formatting cleanup.
2008-05-30 08:35:57 +00:00
Charles Krinke
06147d0492
Mantis#1406. Thank you kindly, Xantor for a patch that:
...
llLoopSound sends out one packet to clients in view, so it doesn't work anymore
when clients enter later on, or the prim is modified in any way.
Solution: Stored sound data on prim, send full update instead.
llStartSound and llLoopSound now accept both LLUUIDs to a sound as well as object
inventory sound names. llStopSound clears prim data and sends full update.
2008-05-28 14:03:08 +00:00
Teravus Ovares
715fbecd79
* Implements duplicate packet tracking. This virtually eliminates object duplication causing 2-3 duplicates depending on the UDP connection quality. This also eliminates duplicated chat, etc.
...
* It's verbose currently since this is new. You'll see: [CLIENT]: Warning Duplicate packet detected X Dropping. After this is sufficiently tested we'll remove that m_log.info line.
2008-05-28 08:40:22 +00:00
Charles Krinke
ed717ec181
Thank you kindly, Melanie for a patch for script reset
...
that creates the event handler chain ready to hook by script engines
2008-05-26 16:16:48 +00:00
Jeff Ames
5d77625e9a
Update svn properties. Formatting cleanup.
2008-05-25 23:27:38 +00:00
Teravus Ovares
c20f7d6171
* A hacky Top Scripts display. It isn't accurate as far as ms accounting, however you can use it to help find out what scripts are causing your simulator to cry.
...
* Access it from the Estate tools/Debug tab.
2008-05-25 20:50:45 +00:00
Teravus Ovares
042c9ed4d8
* Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.
2008-05-25 11:22:05 +00:00
Teravus Ovares
375673ec90
This enables return from the parcel object owner display.
...
There's some oddness with the parcel counts, but if you can get past the oddness, you can return objects under an owner that you have permission to return.
2008-05-24 11:10:21 +00:00
Teravus Ovares
3965fa2ff3
* Implements selected object return.
...
* If user is in the same sim with you, they'll get an inventory update, if not.... oh well, they'll have to clear their cache potentially before they'll see it.
2008-05-24 09:40:14 +00:00
Dr Scofield
09188d5d10
IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in
...
finding out which region a new avatar was logging in to; the same problem
occurred when the client/avatar logged out. the reason was mani-fold:
- Scene.AddNewClient(...) would call SubscribeToClientEvents(client)
which would subscribe to all client events and then call
TriggerOnNewClient(...) BEFORE the ScenePresence object had even been
created and added. i've moved the TriggerOnNewClient() call to the
end of Scene.AddNewClient()
- Scene.AddNewClient(...) is called with child == true; a later call
to ScenePresence.MakeRootAgent() will turn child to false. When
OnNewClient is triggered, child is still true, causing IRCBridgeModule's
FindClientRegion to ignore the ScenePresence of the new avatar.
i've changed IRCBridgeModule to still use OnNewClient and also OnLogout
and OnConnectionClosed but only to signal that the avatar has logged on
(logged off respectively). to track whether an avatar has actually entered
a region i've added EventManager.OnMakeRootAgent (complementing
OnMakeChildAgent).
also, i've cleaned up the internal IRCModule code a bit. currently it
still uses IClientAPI.SendChatMessage() which replicates the code in
ChatModule, that needs to be changed to use TriggerOnChatFromWorld().
2008-05-23 16:07:47 +00:00
Charles Krinke
066b350d20
Thank you kindly, Melanie, for:
...
Nothing huge, but the new button code for producing
a new script does well, but the script will not allow
for name change once created. It reverts back to new script.
2008-05-23 02:45:52 +00:00
MW
811cd3e0bf
change to how initial terrain data is sent. Instead of sending the 64 packets in rapid fire as quickly as possible. The terrain data sending is now done in a threadpool worker thread over ~10 seconds with a thread.sleep between each packet sending. this hasn't been tested thoroughly, so it might not actually help with the atom bomb terrain (missing patches) but its a simple thing to revert if it makes things worse for anyone.
...
10 seconds is roughly the time between the region handshake completing and you being in world where you can see your avatar. So normally the terrain still should have loaded by time you get in the region, although it is possible that sometimes you might see the very end of the terrain load just after you arrive.
2008-05-22 19:44:57 +00:00
Teravus Ovares
c124bb58ec
* Limiting the Quaternion reset to x=y=z=w=0
2008-05-22 19:09:51 +00:00
Justin Clarke Casey
203017f554
* Refactor: Move enhancement of version string with operating system information from Scene to OpenSimMain
...
* This also means the operating system info will show up in the region console (and hence the logs)
2008-05-22 00:32:04 +00:00
Teravus Ovares
0b719286a4
IZ QUATERNION NORMALIZE TO 0? NOWAI! KTHXBYE
2008-05-21 17:29:03 +00:00
Justin Clarke Casey
682fc23e32
* minor: Just a few documentation odds and ends
2008-05-18 19:51:58 +00:00
Teravus Ovares
2bd03b7c8c
* Group type stuff. Nothing spectacular. two packets, sorta almost semi half tiny amount implemented.
2008-05-18 03:21:22 +00:00
Teravus Ovares
349a17f664
* Tweaked patch mantis 1302 and committing it.
2008-05-17 00:16:16 +00:00
Jeff Ames
a5f08b430d
Formatting cleanup.
2008-05-17 00:06:35 +00:00
Teravus Ovares
aa5197304e
* Committing patch from mantis 0001297: [PATCH] Fix behavior of child prim inventories. Also enables 'New Script' button. from Melanie. Thanks Melanie!
2008-05-16 23:11:00 +00:00
Jeff Ames
65c5efe43b
Formatting cleanup.
2008-05-16 01:22:11 +00:00
Teravus Ovares
d60e457463
Committing patch from Melanie. 0001290: [PATCH] implement permissions propagation and script module hooks. Thanks Melanie!
...
* Implements quite a few inventory related perms.
* (from Teravus) Fixes Take Copy
2008-05-15 19:28:10 +00:00
Teravus Ovares
5b4d7922ea
* Adding the very bare minimum for the client to register user as having the group OpenSimulator Tester. This allows us to start examining and implementing the vary many unhandled group packets.
2008-05-14 06:58:32 +00:00
Jeff Ames
6a1b787436
More formatting cleanup.
2008-05-14 05:33:32 +00:00
Jeff Ames
c995d60d37
Formatting cleanup.
2008-05-14 05:11:23 +00:00
Teravus Ovares
9e8dd941f1
* Refactored OutPacket out of ScenePresence
...
* Down to 65 warnings.
2008-05-14 04:57:32 +00:00
Teravus Ovares
9e1cc72c6e
* Refactored OutPacket and FirstName/LastName out of Friends Module.
2008-05-14 03:57:30 +00:00
mingchen
32785921d0
*Complete redo of the permissions module
...
*Removed hardcoded permissions checks
*Added permissions checks where needed
2008-05-13 16:22:57 +00:00
Jeff Ames
2382342c65
Formatting cleanup.
2008-05-12 01:23:03 +00:00
Teravus Ovares
a01b415d6c
0001199: [PATCH] Add support for default animations
...
From Melanie... Thanks Melanie!
.
2008-05-11 21:27:12 +00:00
Adam Frisby
0c831a0c2e
* Mantis #1127 - Patch to implement depreciated patches. Thanks middlelink!
2008-05-11 04:38:02 +00:00
Teravus Ovares
05de723e51
* Refactored two more OutPackets. ObjectPropertiesFamily, and Object Properties.
2008-05-10 20:25:40 +00:00
Teravus Ovares
1ba51dd2fd
* More OutPacket refactors.
...
* Added back a sleep to the kick routine so users get a 'you have been logged off message' when they get kicked from the simulator for various reasons (like 'the simulator is going down')
2008-05-10 13:11:09 +00:00
Teravus Ovares
b67f88a3a2
* Two more OutPacket refactors. TextureSender.
...
* The split image packet sender doesn't like to be refactored (images don't load after it's been refactored), so left that as is for the moment.
2008-05-10 12:45:41 +00:00
Teravus Ovares
536a92ca84
Refactored out a few warnings related to Adam's bane OutPacket
2008-05-10 12:01:36 +00:00
Teravus Ovares
e8478dadc8
* Experiment in Zerocoding.
2008-05-10 10:28:49 +00:00
Teravus Ovares
646df0dc2c
* remove 2 warnings.
2008-05-08 20:45:50 +00:00
mingchen
6c71a04da8
*Added all the permission checks to the sceneexternalchecks and modified permission module to follow this.
...
*This makes permission checking much more modular; allows restrictive and granting module to be made without modifying the existing permission module
2008-05-08 19:37:57 +00:00
Adam Frisby
afd08c7477
* Proper fix for 1191 - Missing TypeData in ViewerEffectEventHandlerArg.
2008-05-08 14:09:12 +00:00
Adam Frisby
4fa0cbdfbb
* You can haz more spring cleaning.
...
* Eventually this codebase will be clean. >_>
2008-05-08 05:35:01 +00:00
Adam Frisby
80cbd468ea
* Some refactorings.
...
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
2008-05-08 04:34:02 +00:00
Adam Frisby
95fbf63b3b
* Temporary fix for Mantis 1177.
2008-05-07 22:19:30 +00:00
Adam Frisby
a95f13a646
* Removes references to libsecondlife.Packets from IClientAPI. BAD PROGRAMMERS. NAUGHTY.
...
* Thanks to Andrew (DeepThink) for working on this one.
2008-05-07 20:31:48 +00:00
Sean Dague
02b1d908e8
enable velocity on our full update, as I think I know why
...
this didn't previously work
2008-05-07 19:48:34 +00:00
Sean Dague
0574355b4b
seriously hope this gives us rotation and rotational velocity
2008-05-07 19:44:22 +00:00
Teravus Ovares
86669a1664
* Other then the prim update experiments that are going on now, llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D.
2008-05-07 19:41:03 +00:00
Sean Dague
b77aa39d64
check in a new approach to this
2008-05-07 19:37:37 +00:00
Sean Dague
30077bf717
ok, reverting the bad packet fill in, going to try this again
...
slightly differently
2008-05-07 19:34:06 +00:00
Sean Dague
37172afe31
make prims reliable to see how that effects this update path
2008-05-07 19:19:38 +00:00
Sean Dague
fd8defcebb
this change probably causes an earthshattering kaboom, and
...
sends all your prims to mars. or it fixes llTargetOmega.
place your bets quickly before I have a chance to test it.
2008-05-07 18:57:43 +00:00
Sean Dague
5ff3c03c12
get all the right bits to SendPrimitiveToClient so we can actually
...
set vel, acc, and rvel in the packet (though this isn't done yet).
2008-05-07 18:40:18 +00:00
Sean Dague
7203648588
if we are aborting the client loop we should tell someone
2008-05-07 18:05:18 +00:00
mingchen
6551f17966
*Added SceneExternalChecks.cs that is used to manage checking the results of multiple functions that register with the class and return the result (usually true/false) based on those results. This is useful for module wanting to put their opinion in decisions such as 'can the user rez this object?'
2008-05-07 17:33:57 +00:00
Sean Dague
3792827cf3
revert 4546, I definitely didn't understand what I was doing here
...
and awebb says he's close to a functional patch for 1166
2008-05-07 15:01:02 +00:00
Sean Dague
4999b00294
attempted fix of http://opensimulator.org/mantis/view.php?id=1166 . This
...
is currently untested and may result in weirdness. Beware this changeset.
2008-05-07 14:41:59 +00:00
Justin Clarke Casey
382b9c18ed
From: Alan M Webb <awebb@vnet.ibm.com>
...
The attached patch moves the sun module incrementally nearer where it
needs to be. Default behavior, i.e. no overriding configuration is to
match Second Life's diurnal/nocturnal rhythm.
All designated values are now sent to the client.There remain a couple
of unanswered questions about how this SHOULD be implemented though.
2008-05-07 14:15:59 +00:00
Sean Dague
0b09966c7e
send actual velocity and angular velocity in terse updates
...
instead of hardcoding to zero when the primitive is non physical.
llTargetOmega should work now.
2008-05-06 22:17:00 +00:00
mingchen
d8e02d9e5c
*LLClientView is now pushed the EstateSettings instead of pulling it from the scene...more to standards
...
*LandChannel no longer requires libsecondlife.Packets (it should have never needed it in the first place)
2008-05-06 18:29:58 +00:00
Teravus Ovares
add13276a9
* Committing a bunch of work for control snatching. Not done yet. No visible features.
2008-05-06 02:47:14 +00:00
Justin Clarke Casey
9655cf2807
* Refactor: Break out permissions code into a separate region PermissionsModule
2008-05-05 20:14:53 +00:00
mingchen
c535f3947d
*Standardized the Land module by removing all references to libsecondlife.packets
2008-05-05 17:44:40 +00:00
Teravus Ovares
ce19234dc8
* Unraveled the DEBUG_CHANNEL mystery.
...
* Moved script errors to the debug channel.
* Typing '/2147483647 OK' results in a debug_channel message.
* Expanded the available parameters that are send-able through IClientAPI
2008-05-05 15:53:11 +00:00
mingchen
ddb3a9bdf8
*Fixed a mistake in the EstateManagementModule that messed up the trunk.
2008-05-04 19:19:18 +00:00
mingchen
63c104efde
*Fixed up EstateManagementModule to the module standard - no more packets allowed!
...
*Started cleaning up the land module
2008-05-04 18:59:18 +00:00
Teravus Ovares
e8acb49fef
* For your fragging desire, damage enabled land works, but watch out!, life does not regenerate until you're dead!
2008-05-03 15:39:40 +00:00
Sean Dague
1edb7992f1
fixed the dos line endings
2008-05-02 19:21:33 +00:00
Adam Frisby
67bbfadc06
* More refactorings of UDPServer.
...
* Removed all references where possible.
* Renamed lots of variables from UDPServerXYZ to clientServerXYZ
2008-05-02 18:26:19 +00:00
Adam Frisby
29b8c84cea
* Commit 2/3 - Please dont attempt to update to this revision until all 3 are in.
2008-05-02 16:41:08 +00:00