|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#501 (permalink) |
|
Forum Novice
|
People should be aware that there is a change needed to get it to work on RC2 though... Mine worked fine on RC1, but I had to go into RUOVersion.cs and change the settings in there that said rc1 to say rc2. But it is great, and I am glad to be using it in both my rc1 and rc2 shards now.
GreyWolf. |
|
|
|
|
|
#502 (permalink) |
|
Lurker
Join Date: Jan 2007
Age: 23
Posts: 11
|
I am running and RCI1 server and I have downloaded your beta 9 and your patch, i put the files into the customs folder in the scripts folder, did a server reboot, logged in and nothing, i tried using the various commands, but to no avail. I get no errors or anything, just does not want to work, this is my first experience with knives and there are no there downloads or versions of it I have except for the beta 9 and the patch1 ,please help
|
|
|
|
|
|
#503 (permalink) |
|
Forum Novice
|
MarlboroMan... Check one of my threads, look for a thread marked Scripts by GreyWolf79 (it is not there for me to claim credit for, I have marked on the post and in the download some items are not mine but altered by me to run). In the zip is a copy of the chat system (just with the change so it works on rc2 instead). To get it to run on RC1 all that should need to be done is go into RUOVersion and change all the rc2 into rc1 (I think there is 2 spots, maybe 3).
Then just drop it into your custom folder and it should work, that is what I did for my rc2 shard - copied it from the rc1 and made the change in ruoversion... GreyWolf. |
|
|
|
|
|
#504 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 154
|
We are using this chat system on our shard and absolutely love it. Is it possible to have it show the staff level of staffers in public chat? For example:
<Public> GhostRiderGrey [Owner] Hello world! or <Public> Rothgar [Counselor] Hello world!! I have looked through the scripts and options but have failed to find it. Any assistance would be appreciated. -GhostRiderGrey
__________________
A big THANK YOU!! to all who have helped me. I appreciate it very much. Visit the Whispering Pines shard website at wp.dyndns.org |
|
|
|
|
|
#505 (permalink) |
|
Forum Novice
|
I am still new to programming over all, and to c# I am still learning every day... If I were trying to do that to the chat system so that it would give their access level I would search for the section in the chat files that deals with posting the name with the message and then look at the pet leveling files from the FSTS pet breeding package where it shows the way the pets name and level are posted when it raises a level and try to mix that type into it (but like I said I am new to this and my idea may only cause errors - I am not trying to make this change so I have not tried). But I figured the idea of mine may spawn an idea. I know when I was looking in the pet leveling system it said something like "name" {level} type setup... maybe something along the same lines but with {accesslevel} or {display access level} or what ever the command would be for that type thing is... Good luck, and if you succede post here what you did so others can make the change, I suspect I myself would end up using it eventually (just working on a lot of projects myself right now).
GreyWolf. |
|
|
|
|
|
#507 (permalink) | ||
|
Forum Novice
|
Quote:
Quote:
__________________
![]() EA Blows |
||
|
|
|
|
|
#508 (permalink) | |
|
Forum Novice
Join Date: Nov 2007
Posts: 154
|
Quote:
We considered this, but if you do that, when you appear in-game to a player, you appear as GhostRiderGrey [Owner] [Owner], because the system automatically tags your character with their staff title. Is there a way to turn off the automatically generated staff title? Thanks also Greywolf79. I will investigate your suggestion. -GhostRiderGrey
__________________
A big THANK YOU!! to all who have helped me. I appreciate it very much. Visit the Whispering Pines shard website at wp.dyndns.org Last edited by GhostRiderGrey; 09-12-2008 at 04:20 PM. |
|
|
|
|
|
|
#509 (permalink) | |
|
Forum Novice
Join Date: Jan 2006
Posts: 314
|
[quote=GhostRiderGrey;773648]
Quote:
Code:
protected virtual void Broadcast(Mobile m, string msg)
{
string a_Name;
if (m.AccessLevel > AccessLevel.Player)
a_Name = String.Format("{0} [{1}]", m.RawName, m.AccessLevel.ToString());
else
a_Name = m.RawName;
foreach (Data data in Data.Datas.Values)
{
if (c_Mobiles.Contains(data.Mobile) && !data.Ignores.Contains(m))
{
if (c_Style == ChatStyle.Regional && data.Mobile.Region != m.Region)
continue;
data.Mobile.SendMessage(m.AccessLevel == AccessLevel.Player ? ColorFor(data.Mobile) : Data.GetData(m).StaffC, String.Format("<{0}{1}> {2}: {3}", NameFor(m), (c_Style == ChatStyle.Regional && m.Region != null ? "-" + m.Region.Name : ""), a_Name, msg));
}
else if (data.Mobile.AccessLevel >= m.AccessLevel && ((data.GlobalC && !data.GIgnores.Contains(m)) || data.GListens.Contains(m)))
data.Mobile.SendMessage(data.GlobalCC, String.Format("(Global) <{0}{1}> {2}: {3}", c_Name, (c_Style == ChatStyle.Regional && m.Region != null ? "-" + m.Region.Name : ""), a_Name, msg));
}
}
|
|
|
|
|
|
|
#510 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 154
|
Thanks razzels, this seems to work well and does what I wanted it to. Will continue to test to be sure.
Thanks!! -GhostRiderGrey
__________________
A big THANK YOU!! to all who have helped me. I appreciate it very much. Visit the Whispering Pines shard website at wp.dyndns.org |
|
|
|
|
|
#511 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 154
|
Tested and Implemented!! It is working wonderfully well. Thanks a million razzels!
Fixed channel.cs file posted here for others. ![]() -GhostRiderGrey
__________________
A big THANK YOU!! to all who have helped me. I appreciate it very much. Visit the Whispering Pines shard website at wp.dyndns.org |
|
|
|
|
|
#512 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 154
|
Not sure if I should post this here or in the Xanthos Jail script thread. I have installed and activated Xanthos Jail system and changed the Knives Jail.cs file so that the two tie together. It seems to be working for local chat (i.e. one player standiing next to another and talking) but bad words in Public chat (or PMs) are not triggering a jailing (they do still get masked out with ****). Could someone steer me towards the issue and possible solution?
RC1 bye the way. Thanks much, -GhostRiderGrey
__________________
A big THANK YOU!! to all who have helped me. I appreciate it very much. Visit the Whispering Pines shard website at wp.dyndns.org Last edited by GhostRiderGrey; 09-15-2008 at 06:43 PM. |
|
|
|
|
|
#513 (permalink) | |
|
Forum Novice
Join Date: Jan 2006
Posts: 314
|
Quote:
|
|
|
|
|
|
|
#514 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 154
|
Thanks razzles, there is an option in knives fora filter penalty of Jail. But is this using the knives filter list or the Xanthos list? The xanthos list seems to work better, as the knives will take the t i t out of title with ***, or the a s s out of assume, which is annoying. The xanthos list does not do this.
__________________
A big THANK YOU!! to all who have helped me. I appreciate it very much. Visit the Whispering Pines shard website at wp.dyndns.org |
|
|
|
|
|
#515 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 154
|
if you have have the option to jail turned on in knives, and you have tit and ass in the knives filter list, then saying title or assume will get you jailed. Not good, lol
-GhostRiderGrey
__________________
A big THANK YOU!! to all who have helped me. I appreciate it very much. Visit the Whispering Pines shard website at wp.dyndns.org |
|
|
|
|
|
#516 (permalink) | |
|
Forum Novice
Join Date: Jan 2006
Posts: 314
|
Quote:
Code:
// // Call this from your chat system command handler to have public // chat monitored. // For instance, to add monitoring to Knives chat 2.0 // Search for: // string text = Filter( e.Mobile, e.ArgString ); // and insert this line directly after it (uncommented): // Xanthos.SpeechCop.Jail.CheckChatSpeech( e.Mobile, text ); // <- xanthos Jail speech change this line only // Code:
if (!CanChat(m, true))
return;
if(c_Filter)
msg = Chat3.Filter.FilterText(m, msg);
Xanthos.SpeechCop.Jail.CheckChatSpeech(m, msg);
if (!CanChat(m, false))
return;
if (!c_Mobiles.Contains(m))
{
m.SendMessage(Data.GetData(m).SystemC, General.Local(34));
return;
}
|
|
|
|
|
|
|
#517 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 154
|
Wow Razzles, TY. Quick question. In the latest revision of Xanthos jail, he changed the namespace
Code:
Changed the namespace from the SpeechCop to JailSystem Code:
Xanthos.SpeechCop.Jail.CheckChatSpeech(m, msg); Thanks again! -GhostRiderGrey *EDIT* Just checked and SpeechCop does need to be changed to JailSystem Code:
Xanthos.JailSystem.Jail.CheckChatSpeech(m, msg); Thanks!!
__________________
A big THANK YOU!! to all who have helped me. I appreciate it very much. Visit the Whispering Pines shard website at wp.dyndns.org Last edited by GhostRiderGrey; 09-19-2008 at 06:17 PM. |
|
|
|
|
|
#519 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 154
|
Have tested and are making progress. With the latest change, it is now monitoring Public as well as local chat using the Xanthos word list. It is not, however, monitoring PMs yet. Do you have suggestions as to where to look to change this?
Thanks! GhostRiderGrey
__________________
A big THANK YOU!! to all who have helped me. I appreciate it very much. Visit the Whispering Pines shard website at wp.dyndns.org |
|
|
|
|
|
#520 (permalink) | |
|
Forum Novice
Join Date: Jan 2006
Posts: 314
|
Quote:
Code:
if (Data.GetData(Owner).Recording == this)
Data.GetData(Owner).Recording = null;
if (Data.FilterMsg)
{
c_Text = Filter.FilterText(Owner, c_Text, false);
c_Subject = Filter.FilterText(Owner, c_Subject, false);
}
Xanthos.JailSystem.Jail.CheckChatSpeech(Owner, c_Text);
Xanthos.JailSystem.Jail.CheckChatSpeech(Owner, c_Subject);
if (c_MsgType == MsgType.System)
{
foreach (Data data in Data.Datas.Values)
{
data.AddMessage(new Message(Owner, c_Subject, c_Text, MsgType.System));
General.PmNotify(data.Mobile);
}
}
|
|
|
|
|
|
|
#521 (permalink) | |
|
Forum Expert
|
Quote:
__________________
"That He would leave His place on high and come for sinful man to die. You count it strange, so once did I, before I knew my Savior" ~ Aaron Shust
|
|
|
|
|
|
|
#524 (permalink) |
|
Forum Expert
|
What are you seeing? You should be getting a folder with other folders and Jail.cs and RUOVersion.cs in the main folder.
__________________
"That He would leave His place on high and come for sinful man to die. You count it strange, so once did I, before I knew my Savior" ~ Aaron Shust
|
|
|
|