|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#27 (permalink) |
|
Join Date: Jun 2005
Location: Nebraska
Age: 31
Posts: 181
|
I noticed that the filter stops regular speech from being seen if they are jailed for it..... I wondered if you could make that happen with the chat filter as well...? When they say something in chat and get jailed for it it still shows up instead of being filtered out....
Perhaps even an auto-squelch for global chat if they reach 300 stones or something so that they have to get staff to unsquelch them. That would save alot of time so you dont have to manually squelch grief players. Just a suggestion... By the way this is probably THE most useful script I have gotten for my shard next to the chat system itself. Thank you SO much. |
|
|
|
|
#30 (permalink) | ||
|
Forum Expert
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
|
Quote:
Uhm your not supposed to be able to remove your backpack... so technically that "bug" should never occur.
__________________
Quote:
Just a Simple Staff Tool You can leave me messages. Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else." |
||
|
|
|
|
#32 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Posts: 561
|
around line 216 you have this:
Code:
ArrayList finalitems = new ArrayList( backpack.Items );
foreach ( Item item in finalitems )
{
if ( item is JailRock )
item.Delete();
else if ( item.Movable ) // Non movable pack items must remain (i.e. skill balls)
bag.DropItem( item ); }
|
|
|
|
|
#34 (permalink) | |
|
Forum Expert
Join Date: Nov 2003
Posts: 561
|
Quote:
A couple other things I modified: Just a cosmetic in jailhammer.cs: Code:
public override void OnSingleClick ( Mobile from )
{
LabelTo( from, "You have to mine {0} pieces of jail rock.", m_Rock);
}
public override void AddNameProperty( ObjectPropertyList list )
{
list.Add( "You have to mine " + m_Rock + " pieces of jail rock!");
}
|
|
|
|
|
|
#36 (permalink) | |
|
Guest
Posts: n/a
|
Quote:
|
|
|
|
#38 (permalink) | |
|
Guest
Posts: n/a
|
Quote:
On second thought, did you create a JailSlaveDriver? He has nothing to do with jailing you and must be created by an admin when you place your JailTeleporter. |
|
|
|
#39 (permalink) |
|
Just to let u know that i use this system and your safe rez script on my shard and i noticed that when u die and are still a ghost and say a cuss word u are taken to jail and all is good so far but when u rez and then get unjailed or exit the jail a death shroud appears in your bag an is unmovable (only a GM can remove them) not a big deal just a lil annoying....just wanted u to know is all
![]() |
|
|
|
|
|
#41 (permalink) | |
|
Forum Novice
|
Quote:
I can't mine the rock from the mountain walls to get jail rock and followed your directions and tried with the "cave floor" using your "/get name" command and edited the code where it was indicated in one of the files...I tired every combination like; "cave floor", "cavefloor, "CaveFloor", "Cave Floor" etc...I seem that I can't mine jail rock every way I try it. I get to correct messge when I use the hammer (Like the message changed to adjust that I should mine cave floor) but nothing ever happens... Any ideas?...thanks in advance...great system btw |
|
|
|
|
|
#42 (permalink) |
|
Guest
Posts: n/a
|
Turmoil - let me make sure I understand what is happening. You used the [get name command and it reported that the floor you selected was "cave floor"? And then once you change the constant in the code to "cave floor" you cannot mine from the mountain walls? Is this correct? If so this is what I would expect. Target whatever tile type you will be mining and then that is the only type of tile you can get ore from after you change the constant in the code.
|
|
|
#43 (permalink) | |
|
Quote:
this is the spot u have to change the part in red to what ever it is u get from the [ get name command - that is all u should change for it to start mining that tile ):Code:
// Cnfigurable options public static AccessLevel kJailImmuneLevel = AccessLevel.GameMaster; public static int kRockAmount = 250; public static string kWhatToMine = "stone"; // Change this to mine your jail tiles. Find tile name with admin command [get name public static int kHammerDifficulty = 65; // precent chance of getting no jail rock on a mining attempt public static Point3D JailLocation = new Point3D( 5278, 1164, 0 ); public static Point3D FreeLocation = new Point3D( 1430, 1697, 0 ); public static Map JailMap = Map.Trammel; public static Map FreeMap = Map.Trammel; also note that what ever this is set to that is the only type of tile u could mine from then on. Hope that helps u also this is in JailCommand.cs and as u can see i use the normal tram jail cells and make them mine from there so that way i dont have to mess with any region controls and worry about them using the help menu and all that good stuff. ![]() |
||
|
|
|
|
#45 (permalink) | |
|
Guest
Posts: n/a
|
Quote:
|
|
|
|
#46 (permalink) |
|
Newbie
Join Date: Nov 2003
Posts: 61
|
I dont know why, but I installed the system, setup a jail area inside of an unused mountainous area, and set the jail coordinates
**** Code:
#endregion AuthorHeader
using System;
using Server;
using Server.Items;
using Server.Mobiles;
using Server.Targeting;
using System.Collections;
namespace Xanthos.SpeechCop
{
public class Jail
{
// Cnfigurable options
public static AccessLevel kJailImmuneLevel = AccessLevel.Administrator;
public static int kRockAmount = 100;
public static string kWhatToMine = "rock"; // Change this to mine your jail tiles. Find tile name with admin command [get name
public static int kHammerDifficulty = 65; // precent chance of getting no jail rock on a mining attempt
public static Point3D JailLocation = new Point3D( 1715, 1064, 0 );
public static Point3D FreeLocation = new Point3D( 3770, 1308, 0 );
public static Map JailMap = Map.Trammel;
public static Map FreeMap = Map.Felucca;
public static string kJailRockName = "Jail Rock"; // This should not be changed
private static ArrayList m_BadWords = new ArrayList();
public static void Initialize()
However, whenever I [jail someone, they end up at coords 1594, 3300, 0 in Trammel. The trammel part I want, but the actual location is FUBAR. Anyone have any understanding why it's going there?? Also, when I tested it, the prisoner leaving jail goes to 1430, 1696, 0 in Trammel??? Help? Any help would be greatly appreciated. |
|
|
|
|
#47 (permalink) | |
|
Guest
Posts: n/a
|
Quote:
I have changed the installation instructions on the first post to indicate that sources need not be modified as once can use the teleporter to configure the jail settings. Let me know if this post does not resolve your issue. |
|
|
|
#50 (permalink) | |
|
Quote:
if u dont use the normal jail area as your target location you will have to set up region controls to block that there is a custom region creator out there, it may be in the archive by now...that should help you out ![]() |
||
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|