Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 01-07-2003, 09:54 PM   #1 (permalink)
 
Join Date: Sep 2002
Posts: 228
Send a message via ICQ to ervin
Default Probably a dumb question but how could i get...

Guild Abbreveations to be over 3 Chars long???
Must be a way
Tried editing the .bin file but run uo didnt like me for that
ervin is offline   Reply With Quote
Old 01-07-2003, 10:05 PM   #2 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Edit the guild script?
Phantom is offline   Reply With Quote
Old 01-07-2003, 10:23 PM   #3 (permalink)
Ace
 
Join Date: Oct 2002
Posts: 136
Default

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...
Ace is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5