aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar (follow)
Commit message (Collapse)AuthorAgeFilesLines
* forgot to actually remove IRCBridgeModule.FindClientRegion()Dr Scofield2008-05-231-32/+0
|
* IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield2008-05-232-3/+860
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.Dr Scofield2008-05-231-709/+37
| | | | | | | | | | | | | ChatModule is now only doing in-world chat. IRCBridgeModule is only doing, well, bridging chat to/from IRC. Both modules are now using a new OnChatFromWorld event handler (which Scene.PacketHandler is feeding for chat from in-world instead of going via the Interface method). This refactoring will allow us to easily add other bridge modules (e.g., an XMPP bridge module). there is still a bug in IRCBridgeModule (inherited from the old ChatModule) where FindClientRegion does not really find the client region...
* Thank you kindly, Melanie, for a patch which:Charles Krinke2008-05-231-0/+4
| | | | | | | | | Previously, upload charging was possible only for UPD uploads. This is because UDP uploads are charged by the viewer, while in CAPS, this was changed to be server side, so hackers couldn't avoid paying the upload charge. This patch adds a method to allow implementation of this serverside charge.
* * Plug in stubbed out archiver moduleJustin Clarke Casey2008-05-221-2/+2
|
* i'm extending the RestStreamHandler.Handler(...) signature to actually Dr Scofield2008-05-202-4/+8
| | | | | | | | | | | provide OSHttpRequest and OSHttpResponse to our REST handler. also, this adds proper RestPlugin.IsGod() checking against the X-OpenSim-Godkey HTTP request header. last, i added XML doc comments to RestPlugin.cs
* * Patch #1312 from Melanie - Abstracts Money Module to IMoneyModule.Adam Frisby2008-05-181-9/+0
|
* * Group type stuff. Nothing spectacular. two packets, sorta almost semi ↵Teravus Ovares2008-05-181-9/+45
| | | | half tiny amount implemented.
* Thank you very kindly, Melanie for: Charles Krinke2008-05-171-2/+3
| | | | | | | The money module witll register (claim) an interface slot, even when disabled. This patch fixes it so that it will not register to supply this interface unless it's activated.
* Formatting cleanup.Jeff Ames2008-05-166-22/+22
|
* * Added standard copyright and removed un-necessary using of ↵Teravus Ovares2008-05-141-1/+0
| | | | libsecondlife.Packets
* * Adding the very bare minimum for the client to register user as having the ↵Teravus Ovares2008-05-141-38/+9
| | | | group OpenSimulator Tester. This allows us to start examining and implementing the vary many unhandled group packets.
* * Added 3 warnings in response to the warnings. Adam, read the warnings.Teravus Ovares2008-05-141-0/+1
|
* * Refactored OutPacket out of ScenePresence Teravus Ovares2008-05-141-1/+1
| | | | | * Down to 65 warnings.
* * Removed 19 warningsTeravus Ovares2008-05-142-3/+3
|
* * Refactored OutPacket and FirstName/LastName out of Friends Module.Teravus Ovares2008-05-141-27/+13
|
* * Added the same catch on the 2nd place that objects fail to lock.Teravus Ovares2008-05-141-0/+7
|
* * Applying Melanie's FriendList related crash patch. She discovered that ↵Teravus Ovares2008-05-141-1/+8
| | | | .NET throws a different error then mono does. Thanks Melanie!
* * Cleaning up code, making it conform to OpenSim standards.Adam Frisby2008-05-061-1/+1
|
* * Unraveled the DEBUG_CHANNEL mystery.Teravus Ovares2008-05-051-9/+21
| | | | | | | | * 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
* * Refactor: Renaming item and folder tree search methods to have Find*() ↵Justin Clarke Casey2008-05-031-1/+1
| | | | prefixes
* * For your fragging desire, damage enabled land works, but watch out!, life ↵Teravus Ovares2008-05-031-3/+74
| | | | does not regenerate until you're dead!
* * Rolled back a few changes.Adam Frisby2008-05-016-92/+96
|
* * Spring cleaning on Region.Environment. Adam Frisby2008-05-016-96/+92
| | | | | | | * Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
* * Cleaned namespaces of entire solution. OpenSim directories now correspond ↵Adam Frisby2008-05-012-4/+4
| | | | with namespaces.
* Update svn properties. Minor formatting cleanup.Jeff Ames2008-05-0110-4442/+4442
|
* * Cruft removal step #1. Cleaning Modules directory.Adam Frisby2008-04-309-1042/+1067
|
* * Refactored Environment/Modules directory - modules now reside in their own ↵Adam Frisby2008-04-3010-0/+4426
directory with any associated module-specific classes. * Each module directory is currently inside one of the following category folders: Agent (Anything relating to do with Client<->Server communications.), Avatar (Anything to do with the avatar or presence inworld), Framework (Classes modules can use), Grid (Grid traffic, new OGS2 grid comms), Scripting (Scripting functions, etc), World (The enrivonment/scene, IE Sun/Tree modules.) * This should be moved into a seperate project file.