|
||
|
|
#1 (permalink) |
|
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. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|