- Fixed spawner to correctly spawn sea creatures on water tiles.
- Fixed the individual clear button in the spawner gump. - The spawner gump now reloads unless it is closed or cancel is pressed. - Fixed conflicting button IDs in AdminGump. - Fixed the Developer and Owner accesslevel buttons for accounts in AdminGump. - Owners are now allowed to set other accounts as Owner. - The client gump now accounts for the visibility list when checking visibility of higher accesslevel focus mobs. - The hue of the Protector shroud is now picked randomly as well, it is no longer the inverse of their boots hue.
This commit is contained in:
parent
6962ed06bf
commit
e372d20b00
5 changed files with 98 additions and 33 deletions
|
|
@ -759,7 +759,7 @@ namespace Server.Gumps
|
|||
AddButtonLabeled( 10, 410, GetButtonID( 5, 28 ), "Delete marked" );
|
||||
|
||||
AddButtonLabeled( 210, 390, GetButtonID( 5, 29 ), "Mark all" );
|
||||
AddButtonLabeled( 210, 410, GetButtonID( 5, 33 ), "Unmark house owners" );
|
||||
AddButtonLabeled( 210, 410, GetButtonID( 5, 35 ), "Unmark house owners" );
|
||||
}
|
||||
|
||||
for ( int i = 0, index = (listPage * 12); i < 12 && index >= 0 && index < m_List.Count; ++i, ++index )
|
||||
|
|
@ -983,7 +983,7 @@ namespace Server.Gumps
|
|||
AddButtonLabeled( 227, 225, GetButtonID( 5, 16 ), "View all shared accounts" );
|
||||
AddButtonLabeled( 227, 245, GetButtonID( 5, 17 ), "Ban all shared accounts" );
|
||||
AddButtonLabeled( 227, 265, GetButtonID( 5, 18 ), "Firewall all addresses" );
|
||||
AddButtonLabeled( 227, 285, GetButtonID( 5, 34 ), "Clear all addresses" );
|
||||
AddButtonLabeled( 227, 285, GetButtonID( 5, 36 ), "Clear all addresses" );
|
||||
|
||||
AddHtml( 225, 315, 180, 80, Color( "List of IP addresses which have accessed this account.", LabelColor32 ), false, false );
|
||||
|
||||
|
|
@ -2301,7 +2301,7 @@ namespace Server.Gumps
|
|||
|
||||
break;
|
||||
}
|
||||
case 20:
|
||||
case 20: // Change access level
|
||||
case 21:
|
||||
case 22:
|
||||
case 23:
|
||||
|
|
@ -2326,7 +2326,7 @@ namespace Server.Gumps
|
|||
case 34: newLevel = AccessLevel.Owner; break;
|
||||
}
|
||||
|
||||
if ( newLevel < from.AccessLevel )
|
||||
if ( newLevel < from.AccessLevel || from.AccessLevel == AccessLevel.Owner )
|
||||
{
|
||||
a.AccessLevel = newLevel;
|
||||
|
||||
|
|
@ -2449,7 +2449,12 @@ namespace Server.Gumps
|
|||
|
||||
break;
|
||||
}
|
||||
case 33: // Unmark house owners
|
||||
case 33: // Change access level (extended)
|
||||
case 34:
|
||||
{
|
||||
goto case 20;
|
||||
}
|
||||
case 35: // Unmark house owners
|
||||
{
|
||||
ArrayList list = m_List;
|
||||
ArrayList rads = m_State as ArrayList;
|
||||
|
|
@ -2475,7 +2480,7 @@ namespace Server.Gumps
|
|||
|
||||
break;
|
||||
}
|
||||
case 34: // Clear login addresses
|
||||
case 36: // Clear login addresses
|
||||
{
|
||||
Account a = m_State as Account;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.Net;
|
||||
using Server;
|
||||
using Server.Accounting;
|
||||
using Server.Mobiles;
|
||||
using Server.Network;
|
||||
using Server.Targets;
|
||||
using Server.Commands;
|
||||
|
|
@ -38,7 +39,7 @@ namespace Server.Gumps
|
|||
from.SendMessage( "That character no longer exists." );
|
||||
return;
|
||||
}
|
||||
else if ( from != focus && focus.Hidden && from.AccessLevel < focus.AccessLevel )
|
||||
else if ( from != focus && focus.Hidden && from.AccessLevel < focus.AccessLevel && ( !( focus is PlayerMobile ) || !((PlayerMobile)focus).VisibilityList.Contains( from ) ) )
|
||||
{
|
||||
from.SendMessage( "That character is no longer visible." );
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue