Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 03-24-2003, 06:50 PM   #1 (permalink)
 
Join Date: Jan 2003
Location: Canadia
Age: 22
Posts: 1,935
Send a message via ICQ to Dalius Send a message via AIM to Dalius
Default How do I get rid of <insert facet name>?

How do I delete a certain facet from player acess?

Make sure your server is off before doing this.

------------------------------

Go to Scripts\Items\Misc\

Make a backup of the PublicMoongate.cs file.

Open it.

At Line 88, where it starts to say:

[code:1]
count += MoonGen( PMList.Trammel );
count += MoonGen( PMList.Felucca );
count += MoonGen( PMList.Ilshenar );
count += MoonGen( PMList.Malas );
[/code:1]

Delete the names of the facet you wish to be removed. Example, for the sake of examples, let's say you wish to remove Trammel. Those lines should now read:

[code:1]
count += MoonGen( PMList.Felucca );
count += MoonGen( PMList.Ilshenar );
count += MoonGen( PMList.Malas );
[/code:1]

Yay!

Next edit at line 194.

Here is a list of moongate city entries. If you want to get rid of Trammel, delete this section:

[code:1]
public static readonly PMList Trammel =
new PMList( 1012000, 1012012, Map.Trammel, new PMEntry[]
{
new PMEntry( new Point3D( 4467, 1283, 5 ), 1012003 ), // Moonglow
new PMEntry( new Point3D( 1336, 1997, 5 ), 1012004 ), // Britain
new PMEntry( new Point3D( 1499, 3771, 5 ), 1012005 ), // Jhelom
new PMEntry( new Point3D( 771, 752, 5 ), 1012006 ), // Yew
new PMEntry( new Point3D( 2701, 692, 5 ), 1012007 ), // Minoc
new PMEntry( new Point3D( 1828, 2948,-20), 1012008 ), // Trinsic
new PMEntry( new Point3D( 643, 2067, 5 ), 1012009 ), // Skara Brae
new PMEntry( new Point3D( 3563, 2139, 34), 1012010 ), // Magincia
new PMEntry( new Point3D( 3763, 2771, 50), 1046259 ) // Haven
} );
[/code:1]

Yay (part two)

Next edit at line 243.

This next section checks what client you are using and shows different selections for each one.

[code:1]
public static readonly PMList[] UORLists = new PMList[]{ Trammel, Felucca };
public static readonly PMList[] LBRLists = new PMList[]{ Trammel, Felucca, Ilshenar };
public static readonly PMList[] AOSLists = new PMList[]{ Trammel, Felucca, Ilshenar, Malas };
public static readonly PMList[] RedLists = new PMList[]{ Felucca };
[/code:1]

To get rid of trammel, just delete all instances of it, so it would look like this:

[code:1]
public static readonly PMList[] UORLists = new PMList[]{ Felucca };
public static readonly PMList[] LBRLists = new PMList[]{ Felucca, Ilshenar };
public static readonly PMList[] AOSLists = new PMList[]{ Felucca, Ilshenar, Malas };
public static readonly PMList[] RedLists = new PMList[]{ Felucca };
[/code:1]

Wewt! All the script changes have been. You can now start up your server. Players now have no way to acess the facet you just got rid of.

Now, to make sure no items are in it (to save space and make the server less laggier), go to that facet. If you want to get to Trammel, go in game and type

[set map trammel

and click yourself.

Now do these commands:

[go 1 1
[wipe
*target self*
[go 6000 4000
*target self*

That facet is clean.

The facet is now basically finished.
If you have any questions, send me a private message.
Dalius 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