View Single Post
Old 03-07-2006, 12:02 AM   #1 (permalink)
Asmir3
Forum Expert
 
Asmir3's Avatar
 
Join Date: Sep 2005
Location: A-Town Baby
Age: 19
Posts: 620
Default Removing Facts From Public Moongate

How to Remove Trammel/Felucca/Ilshenar/Mallas/Tokuno from public Moongate

I see lot of ppl asking how to remove facts from publicmoongate

First Open PublicMoongate.cs
Find That line
Code:
[Usage( "MoonGen" )]
		[Description( "Generates public moongates. Removes all old moongates." )]
		public static void MoonGen_OnCommand( CommandEventArgs e )
		{
			DeleteAll();

			int count = 0;

			count += MoonGen( PMList.Trammel );
			count += MoonGen( PMList.Felucca );
			count += MoonGen( PMList.Ilshenar );
			count += MoonGen( PMList.Malas );
			count += MoonGen( PMList.Tokuno );

			World.Broadcast( 0x35, true, "{0} moongates generated.", count );
		}
Next
What ever fact u dont want just put // those in the front
Example 1 say u dont want Trammel
Code:
[Usage( "MoonGen" )]
		[Description( "Generates public moongates. Removes all old moongates." )]
		public static void MoonGen_OnCommand( CommandEventArgs e )
		{
			DeleteAll();

			int count = 0;

			//count += MoonGen( PMList.Trammel );
			count += MoonGen( PMList.Felucca );
			count += MoonGen( PMList.Ilshenar );
			count += MoonGen( PMList.Malas );
			count += MoonGen( PMList.Tokuno );

			World.Broadcast( 0x35, true, "{0} moongates generated.", count );
		}
That is how is should look!

Now Step #2
Find this code
Code:
public static readonly PMList[] UORLists		= new PMList[] { Trammel, Felucca };
		public static readonly PMList[] UORListsYoung	= new PMList[] { Trammel };
		public static readonly PMList[] LBRLists		= new PMList[] { Trammel, Felucca, Ilshenar };
		public static readonly PMList[] LBRListsYoung	= new PMList[] { Trammel, Ilshenar };
		public static readonly PMList[] AOSLists		= new PMList[] { Trammel, Felucca, Ilshenar, Malas };
		public static readonly PMList[] AOSListsYoung	= new PMList[] { Trammel, Ilshenar, Malas };
		public static readonly PMList[] SELists			= new PMList[] { Trammel, Felucca, Ilshenar, Malas, Tokuno };
		public static readonly PMList[] SEListsYoung	= new PMList[] { Trammel, Ilshenar, Malas, Tokuno };
		public static readonly PMList[] RedLists		= new PMList[] { Felucca };
		public static readonly PMList[] SigilLists		= new PMList[] { Felucca };
Say ur still removing just trammel well where ever u see trammel take it out and sometimes u if it only says trammel then rename with Felucca
Example Here I'm still just removing trammel
Code:
public static readonly PMList[] UORLists		= new PMList[] { Felucca };
		public static readonly PMList[] UORListsYoung	= new PMList[] { Felucca };
		public static readonly PMList[] LBRLists		= new PMList[] {  Felucca, Ilshenar };
		public static readonly PMList[] LBRListsYoung	= new PMList[] { Ilshenar };
		public static readonly PMList[] AOSLists		= new PMList[] { Felucca, Ilshenar, Malas };
		public static readonly PMList[] AOSListsYoung	= new PMList[] { Trammel Ilshenar, Malas };
		public static readonly PMList[] SELists			= new PMList[] { Felucca, Ilshenar, Malas, Tokuno };
		public static readonly PMList[] SEListsYoung	= new PMList[] { Trammel Ilshenar, Malas, Tokuno };
		public static readonly PMList[] RedLists		= new PMList[] { Felucca };
		public static readonly PMList[] SigilLists		= new PMList[] { Felucca };
That is how it should look notice that I removed the , too.
__________________

Now open - uo15.net - The best in Publish 15 emulation

Last edited by Asmir3; 08-02-2007 at 11:25 PM.
Asmir3 is offline   Reply With Quote