aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar')
-rwxr-xr-xOpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs7
-rwxr-xr-xOpenSim/Region/OptionalModules/Avatar/Friends/FriendsCommandsModule.cs9
-rwxr-xr-xOpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs4
3 files changed, 6 insertions, 14 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs b/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs
index 1db9ba7..68cdb3b 100755
--- a/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Appearance/AppearanceInfoModule.cs
@@ -180,7 +180,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
180 { 180 {
181 MainConsole.Instance.Output( 181 MainConsole.Instance.Output(
182 "Sending appearance information for {0} to all other avatars in {1}", 182 "Sending appearance information for {0} to all other avatars in {1}",
183 null,
184 sp.Name, scene.RegionInfo.RegionName); 183 sp.Name, scene.RegionInfo.RegionName);
185 184
186 scene.AvatarFactory.SendAppearance(sp.UUID); 185 scene.AvatarFactory.SendAppearance(sp.UUID);
@@ -193,7 +192,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
193 { 192 {
194 MainConsole.Instance.Output( 193 MainConsole.Instance.Output(
195 "Sending appearance information for {0} to all other avatars in {1}", 194 "Sending appearance information for {0} to all other avatars in {1}",
196 null,
197 sp.Name, scene.RegionInfo.RegionName); 195 sp.Name, scene.RegionInfo.RegionName);
198 196
199 scene.AvatarFactory.SendAppearance(sp.UUID); 197 scene.AvatarFactory.SendAppearance(sp.UUID);
@@ -240,7 +238,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
240 { 238 {
241 bool bakedTextureValid = scene.AvatarFactory.ValidateBakedTextureCache(sp); 239 bool bakedTextureValid = scene.AvatarFactory.ValidateBakedTextureCache(sp);
242 MainConsole.Instance.Output( 240 MainConsole.Instance.Output(
243 "{0} baked appearance texture is {1}", null, sp.Name, bakedTextureValid ? "OK" : "incomplete"); 241 "{0} baked appearance texture is {1}", sp.Name, bakedTextureValid ? "OK" : "incomplete");
244 } 242 }
245 ); 243 );
246 } 244 }
@@ -271,12 +269,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
271 if (rebakesRequested > 0) 269 if (rebakesRequested > 0)
272 MainConsole.Instance.Output( 270 MainConsole.Instance.Output(
273 "Requesting rebake of {0} uploaded textures for {1} in {2}", 271 "Requesting rebake of {0} uploaded textures for {1} in {2}",
274 null,
275 rebakesRequested, sp.Name, scene.RegionInfo.RegionName); 272 rebakesRequested, sp.Name, scene.RegionInfo.RegionName);
276 else 273 else
277 MainConsole.Instance.Output( 274 MainConsole.Instance.Output(
278 "No texture IDs available for rebake request for {0} in {1}", 275 "No texture IDs available for rebake request for {0} in {1}",
279 null,
280 sp.Name, scene.RegionInfo.RegionName); 276 sp.Name, scene.RegionInfo.RegionName);
281 } 277 }
282 } 278 }
@@ -320,7 +316,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
320 { 316 {
321 MainConsole.Instance.Output( 317 MainConsole.Instance.Output(
322 "{0} matched {1}", 318 "{0} matched {1}",
323 null,
324 rawUuid, 319 rawUuid,
325 string.Join(", ", matchedAvatars.ToList().ConvertAll<string>(sp => sp.Name).ToArray())); 320 string.Join(", ", matchedAvatars.ToList().ConvertAll<string>(sp => sp.Name).ToArray()));
326 } 321 }
diff --git a/OpenSim/Region/OptionalModules/Avatar/Friends/FriendsCommandsModule.cs b/OpenSim/Region/OptionalModules/Avatar/Friends/FriendsCommandsModule.cs
index 030c9eb..a913ec4 100755
--- a/OpenSim/Region/OptionalModules/Avatar/Friends/FriendsCommandsModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Friends/FriendsCommandsModule.cs
@@ -136,7 +136,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Friends
136 136
137 if (userId == UUID.Zero) 137 if (userId == UUID.Zero)
138 { 138 {
139 MainConsole.Instance.Output("No such user as {0} {1}", null, firstName, lastName); 139 MainConsole.Instance.Output("No such user as {0} {1}", firstName, lastName);
140 return; 140 return;
141 } 141 }
142 142
@@ -146,7 +146,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Friends
146 { 146 {
147 if (!m_friendsModule.AreFriendsCached(userId)) 147 if (!m_friendsModule.AreFriendsCached(userId))
148 { 148 {
149 MainConsole.Instance.Output("No friends cached on this simulator for {0} {1}", null, firstName, lastName); 149 MainConsole.Instance.Output("No friends cached on this simulator for {0} {1}", firstName, lastName);
150 return; 150 return;
151 } 151 }
152 else 152 else
@@ -162,10 +162,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.Friends
162 friends = ((FriendsModule)m_friendsModule).FriendsService.GetFriends(userId); 162 friends = ((FriendsModule)m_friendsModule).FriendsService.GetFriends(userId);
163 } 163 }
164 164
165 MainConsole.Instance.Output("Friends for {0} {1} {2}:", null, firstName, lastName, userId); 165 MainConsole.Instance.Output("Friends for {0} {1} {2}:", firstName, lastName, userId);
166 166
167 MainConsole.Instance.Output( 167 MainConsole.Instance.Output(
168 "{0,-36} {1,-36} {2,-7} {3,7} {4,10}", null, "UUID", "Name", "Status", "MyFlags", "TheirFlags"); 168 "{0,-36} {1,-36} {2,-7} {3,7} {4,10}", "UUID", "Name", "Status", "MyFlags", "TheirFlags");
169 169
170 foreach (FriendInfo friend in friends) 170 foreach (FriendInfo friend in friends)
171 { 171 {
@@ -193,7 +193,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Friends
193 193
194 MainConsole.Instance.Output( 194 MainConsole.Instance.Output(
195 "{0,-36} {1,-36} {2,-7} {3,-7} {4,-10}", 195 "{0,-36} {1,-36} {2,-7} {3,-7} {4,-10}",
196 null,
197 friend.Friend, friendName, onlineText, friend.MyFlags, friend.TheirFlags); 196 friend.Friend, friendName, onlineText, friend.MyFlags, friend.TheirFlags);
198 } 197 }
199 } 198 }
diff --git a/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs b/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs
index 1dd5b0a..ef7d852 100755
--- a/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs
@@ -144,7 +144,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
144 { 144 {
145 MainConsole.Instance.Output( 145 MainConsole.Instance.Output(
146 "Sitting {0} on {1} {2} in {3}", 146 "Sitting {0} on {1} {2} in {3}",
147 null,
148 sp.Name, sitPart.ParentGroup.Name, sitPart.ParentGroup.UUID, m_scene.Name); 147 sp.Name, sitPart.ParentGroup.Name, sitPart.ParentGroup.UUID, m_scene.Name);
149 148
150 sp.HandleAgentRequestSit(sp.ControllingClient, sp.UUID, sitPart.UUID, Vector3.Zero); 149 sp.HandleAgentRequestSit(sp.ControllingClient, sp.UUID, sitPart.UUID, Vector3.Zero);
@@ -154,7 +153,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
154 { 153 {
155 MainConsole.Instance.Output( 154 MainConsole.Instance.Output(
156 "Could not find any unoccupied set seat on which to sit {0} in {1}. Aborting", 155 "Could not find any unoccupied set seat on which to sit {0} in {1}. Aborting",
157 null,
158 sp.Name, m_scene.Name); 156 sp.Name, m_scene.Name);
159 157
160 break; 158 break;
@@ -179,7 +177,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
179 { 177 {
180 if (sp.SitGround || sp.IsSatOnObject) 178 if (sp.SitGround || sp.IsSatOnObject)
181 { 179 {
182 MainConsole.Instance.Output("Standing {0} in {1}", null, sp.Name, m_scene.Name); 180 MainConsole.Instance.Output("Standing {0} in {1}", sp.Name, m_scene.Name);
183 sp.StandUp(); 181 sp.StandUp();
184 } 182 }
185 } 183 }