|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#3 (permalink) |
|
Join Date: Oct 2002
Posts: 136
|
Found GuildAbbrvPromp.cs in the scripts/gumps/guilds directory (I Think)
In this file, find the following lines... [code:1] public override void OnResponse( Mobile from, string text ) { if ( GuildGump.BadLeader( m_Mobile, m_Guild ) ) return; text = text.Trim(); if ( text.Length > 3 ) text = text.Substring( 0, 3 ); if ( text.Length > 0 ) { if ( Guild.FindByAbbrev( text ) != null ) m_Mobile.SendMessage( "{0} conflicts with the abbreviation of an existing guild.", text ); else m_Guild.Abbreviation = text; } GuildGump.EnsureClosed( m_Mobile ); m_Mobile.SendGump( new GuildmasterGump( m_Mobile, m_Guild ) ); } } }[/code:1] I think this should be remplaced by [code:1] public override void OnResponse( Mobile from, string text ) { if ( GuildGump.BadLeader( m_Mobile, m_Guild ) ) return; text = text.Trim(); if ( text.Length > 0 ) { if ( Guild.FindByAbbrev( text ) != null ) m_Mobile.SendMessage( "{0} conflicts with the abbreviation of an existing guild.", text ); else m_Guild.Abbreviation = text; } GuildGump.EnsureClosed( m_Mobile ); m_Mobile.SendGump( new GuildmasterGump( m_Mobile, m_Guild ) ); } } }[/code:1] I just removed [code:1] if ( text.Length > 3 ) text = text.Substring( 0, 3 );[/code:1] But you should ask somebody else, because I dont know how to script well... |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|