Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 12-05-2007, 06:36 PM   #1 (permalink)
Lurker
 
Join Date: Jan 2006
Posts: 1
Default Help for the Town Crier

I know I am a dummy at times but for some reason i cannot get my town criers to announce his/her messages for very long. I even have trouble setting it up for short periods of time. I never can get the time format typed in right. Could some one help me with this? Is there a limitation as to the amount of time a crier can deliver the message?

Last edited by musicman603; 12-05-2007 at 06:38 PM. Reason: forgot something
musicman603 is offline   Reply With Quote
Old 12-08-2007, 09:56 AM   #2 (permalink)
Forum Novice
 
Join Date: Apr 2007
Location: In the Immortal realm of Hell
Posts: 113
Send a message via MSN to rmacham
Default

Here is a way to make it so it will last a long time or a short time.


do the [towncriers command then it will ask you to specify.

The duration.

For Long Period:

19:50:00 (Hours:Minutes:Seconds) (Can be anything, i am just using examples) This one is for 19 hours and 50 minutes

For Short Period

01:00:00 (HRS:MINS:SECONDS) This one is jsut for 1 hour.

Then he will need the message.

Just type in what you want

Example:

Hello, And welcome to the Shard, Today we have....

Last edited by rmacham; 12-08-2007 at 09:57 AM. Reason: Wrong Command
rmacham is offline   Reply With Quote
Old 12-08-2007, 01:46 PM   #3 (permalink)
Newbie
 
Join Date: Dec 2004
Age: 25
Posts: 40
Send a message via MSN to pierre123
Default

btw if ur msg is to long just press enter u can keep goin on msg and when ur msg is all typed and u pressed enter ... hit esc to close it and u towncrier should stay saying the msg in 10-30sec
__________________
“The simple step of a courageous individual is not to take part in the lie. One word of truth outweighs the world.”
pierre123 is offline   Reply With Quote
Old 02-22-2008, 07:20 AM   #4 (permalink)
Lurker
 
Join Date: Feb 2008
Age: 38
Posts: 8
Default

Quote:
Originally Posted by musicman603 View Post
-CUT
i cannot get my town criers to announce his/her messages for very long.
-CUT

For my shard, i set duration of one year in this way:

Found original line (the first half is the same) and subst whith this
Code:
m_ExpireTime = DateTime.Now + TimeSpan.FromDays( 365.0 );


Good bye ^^
Kiko-Anno1ooo is offline   Reply With Quote
Old 04-23-2008, 05:28 PM   #5 (permalink)
Newbie
 
Join Date: Apr 2008
Age: 28
Posts: 14
Default Somewhat related!

I have an issue that after the server saves and restarts the town criers messages are all wiped. So when I want to run them for a week or two it doesn't seem to want to cooperate.

If anyone has an idea let me know. Thanks.
wiltdflaur is offline   Reply With Quote
Old 04-23-2008, 06:52 PM   #6 (permalink)
Forum Novice
 
Join Date: Jan 2006
Posts: 327
Default

Quote:
Originally Posted by wiltdflaur View Post
I have an issue that after the server saves and restarts the town criers messages are all wiped. So when I want to run them for a week or two it doesn't seem to want to cooperate.

If anyone has an idea let me know. Thanks.
Type your messages into a Notepad (or other text editor of choice) text file and copy/paste after each restart.
razzles is offline   Reply With Quote
Old 04-23-2008, 09:41 PM   #7 (permalink)
Newbie
 
Join Date: Apr 2008
Age: 28
Posts: 14
Default

Yeah I was trying to prevent that, like if I take off for a few days then the information wouldn't be saved.
wiltdflaur is offline   Reply With Quote
Old 04-25-2008, 11:45 PM   #8 (permalink)
Lurker
 
Join Date: Apr 2008
Posts: 5
Default

You could just expand the town crier script so it saves the messages and only allows them to expire when the time is up.
cinamori is offline   Reply With Quote
Old 04-26-2008, 02:29 AM   #9 (permalink)
Newbie
 
Join Date: Apr 2008
Age: 28
Posts: 14
Default

Kinda new to C# how exactly would I do that?
wiltdflaur is offline   Reply With Quote
Old 04-26-2008, 01:42 PM   #10 (permalink)
Forum Novice
 
Join Date: Feb 2008
Age: 27
Posts: 187
Default

Best thing to do is search the archives for a shard greeter. Open up the script its self and edit the lines were it has "this is a stupid message please edit me" blah blah blah. you can use that code for later on making other stuff. O use it as a resource for furture projects. Sometimes having a good script for a resource comes in handy later on down the road.
__________________
Need help Scripting? Visit my script archive and drop me a line. oldschoolknight.ipbfree.com/index.php?
old_school 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