- Removed the complete IP listing when clearing an account's address list in AdminGump. (Due to client limitations for very long lists.)

- Fixed an LOS bug resulting from revision 865 changes, causing items near ceilings to be out of sight.
- Trailing whitespace removal for character statue scripts.
This commit is contained in:
eos 2012-04-29 00:13:41 +00:00
parent d197020a58
commit 96725e7ea8
6 changed files with 86 additions and 95 deletions

View file

@ -2485,19 +2485,9 @@ namespace Server.Gumps
IPAddress[] ips = a.LoginIPs;
if ( ips.Length == 0 )
{
from.SendGump( new AdminGump( from, AdminGumpPage.AccountDetails_Access_ClientIPs, 0, null, "This account has not yet been accessed.", m_State ) );
}
else
{
StringBuilder sb = new StringBuilder();
sb.AppendFormat( "You are about to clear the address list for account {0}. Do you wish to continue?", a );
for ( int i = 0; i < ips.Length; ++i )
sb.AppendFormat( "<br>- {0}", ips[i] );
from.SendGump( new WarningGump( 1060635, 30720, sb.ToString(), 0xFFC000, 420, 400, new WarningGumpCallback( RemoveLoginIPs_Callback ), a ) );
}
from.SendGump( new WarningGump( 1060635, 30720, String.Format( "You are about to clear the address list for account {0} containing {1} {2}. Do you wish to continue?", a, ips.Length, ( ips.Length == 1 ) ? "entry" : "entries" ), 0xFFC000, 420, 280, new WarningGumpCallback( RemoveLoginIPs_Callback ), a ) );
break;
}