Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 06-02-2005, 01:37 AM   #1 (permalink)
Forum Novice
 
Join Date: Jul 2004
Location: IL, USA
Posts: 581
Default Tiller Bell

This script is a small gump with 15 buttons for driving a boat.

12 directional buttons, stop button, anchor up and down.

The script was written to also be a minor gold sink. Each time a player pushes a button, it comsumes 2 GP from their backpack. With no gold in backpack, a message is displayed and the gump closes.

Drop script into custom folder. [add tillerbell or place on a vendor. Double click the bell in backpack to bring up gump. The gump stays up until you right click the gump.

Hope you enjoy it. Any questions or comments are welcome.

Note: This does not work on older versions of RunUO. This was created on version 1.0.0
Attached Files
File Type: cs TillerBell.cs (5.1 KB, 196 views)
haazen is offline  
Old 06-02-2005, 02:48 PM   #2 (permalink)
 
Join Date: Aug 2004
Age: 30
Posts: 546
Default

Your coming up with some nice boating scripts. I cant wait to test them both out tonight.
Memnoch is offline  
Old 06-02-2005, 03:36 PM   #3 (permalink)
 
Join Date: May 2005
Location: london
Age: 21
Posts: 898
Send a message via MSN to etherkye
Default

can you edit amount of gold, and make sure it only works if your in a boat and you own it?
etherkye is offline  
Old 06-02-2005, 03:54 PM   #4 (permalink)
Forum Novice
 
Join Date: Jul 2004
Location: IL, USA
Posts: 581
Default

Edit the amount of gold to be consumed on this line. Change from 2 to some other amount.
if ( pack != null && pack.ConsumeTotal( typeof( Gold ), 2 ) )

If you want no gold required, change the line to look like this
if ( pack != null ) // && pack.ConsumeTotal( typeof( Gold ), 2 ) )

I did not consider making it so just the owner of the boat can use it because many ppl have more than 1 person on the boat and they all give commands to the tillerman. Even if the tillerbell would only work for the owner, anyone can still give the tillerman commands by typing them.
haazen is offline  
Old 06-02-2005, 05:18 PM   #5 (permalink)
 
Join Date: Aug 2004
Age: 30
Posts: 546
Default

the tillerman checks to make sure the one with a key in his pack orders him, otherwise its the one furthest in the back of the boat.
Memnoch is offline  
Old 06-02-2005, 05:56 PM   #6 (permalink)
 
Join Date: Jul 2004
Age: 34
Posts: 191
Thumbs up

Just used this. It's extremely nice. Very well done!
Skarth is offline  
Old 06-02-2005, 06:33 PM   #7 (permalink)
Master of the Internet
 
bzk90's Avatar
 
Join Date: Jun 2003
Location: Nevada
Age: 18
Posts: 6,630
Send a message via AIM to bzk90 Send a message via MSN to bzk90 Send a message via Yahoo to bzk90
Default

good idea
bzk90 is offline  
Old 06-02-2005, 07:55 PM   #8 (permalink)
 
Join Date: Aug 2004
Age: 18
Posts: 14
Default

Very interesting script, hopefully we can all click better than typing

I think this will make the job much easier to control a boat and much faster!
Jordan Knezevic is offline  
Old 06-03-2005, 05:04 PM   #9 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Denver, Colorado
Age: 59
Posts: 25
Send a message via ICQ to paggylee Send a message via Yahoo to paggylee
Default Getting Error

Hello,

I was hoping to try your Script for the Tiller Bell.
I have added it twice to my shard and have gotten these errors twice:



- Error: Scripts\Added Customs\TillerBell.cs: CS0117: (line 98, column 20) 'Ser
ver.Multis.BaseBoat' does not contain a definition for 'FindBoatAt'
- Error: Scripts\Added Customs\TillerBell.cs: CS0117: (line 150, column 6) 'Ser
ver.Multis.BaseBoat' does not contain a definition for 'StartTurn'
- Error: Scripts\Added Customs\TillerBell.cs: CS0117: (line 156, column 6) 'Ser
ver.Multis.BaseBoat' does not contain a definition for 'StartTurn'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.


I am just learning a bit about scripting, and some things confuse me still.
I would appreciate it if you could help me with this.

Thank you
Peg/PaggyLee
paggylee is offline  
Old 06-03-2005, 05:08 PM   #10 (permalink)
 
Join Date: May 2005
Location: london
Age: 21
Posts: 898
Send a message via MSN to etherkye
Default

works fine for me.

the above says to me theres a problem with your base boat script.
etherkye is offline  
Old 06-03-2005, 05:12 PM   #11 (permalink)
Forum Novice
 
Join Date: Aug 2004
Location: Alba
Age: 38
Posts: 185
Default

Quote:
Originally Posted by paggylee
Hello,

I was hoping to try your Script for the Tiller Bell.
I have added it twice to my shard and have gotten these errors twice:



- Error: Scripts\Added Customs\TillerBell.cs: CS0117: (line 98, column 20) 'Ser
ver.Multis.BaseBoat' does not contain a definition for 'FindBoatAt'
- Error: Scripts\Added Customs\TillerBell.cs: CS0117: (line 150, column 6) 'Ser
ver.Multis.BaseBoat' does not contain a definition for 'StartTurn'
- Error: Scripts\Added Customs\TillerBell.cs: CS0117: (line 156, column 6) 'Ser
ver.Multis.BaseBoat' does not contain a definition for 'StartTurn'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.


I am just learning a bit about scripting, and some things confuse me still.
I would appreciate it if you could help me with this.

Thank you
Peg/PaggyLee
I dont know for sure but does system require the findboat command to be installed as well or is it a stand alone

http://runuo.com/forum/showthread.php?t=56751

BTW very nice looking 2 scripts i will try them as soon as i sort out my test server lol
Cerberus is offline  
Old 06-03-2005, 05:13 PM   #12 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Denver, Colorado
Age: 59
Posts: 25
Send a message via ICQ to paggylee Send a message via Yahoo to paggylee
Default

I'm really happy it worked for you... Guess I shouldn't have asked for help... Sorry to bother anyone..
paggylee is offline  
Old 06-03-2005, 05:15 PM   #13 (permalink)
 
Join Date: May 2005
Location: london
Age: 21
Posts: 898
Send a message via MSN to etherkye
Default

it is a standalone as you just drop it into your custom file.

paggy have a look at your base boat file, have you edited it at all? if not then just find a new copy of baseboat and replase yours. see if that works.
etherkye is offline  
Old 06-03-2005, 05:22 PM   #14 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Denver, Colorado
Age: 59
Posts: 25
Send a message via ICQ to paggylee Send a message via Yahoo to paggylee
Default

Sorry I snapped..

Guess we won't be using this script.. I do have a custom BaseBoat. The tillerman will rez a player on the boat in my script.. Would hate to lose that.. Thank you everyone for the help though..

Kyss/Peg
paggylee is offline  
Old 06-03-2005, 05:23 PM   #15 (permalink)
Forum Novice
 
Join Date: Jul 2004
Location: IL, USA
Posts: 581
Default

The 2 scripts I have submitted are stand alone. FindBoat.cs is not required for TillerBell.cs to work. But this is what I found. There is no reference to FindBoatAt method in older RunUO version. It appears that FindBoatAt method was added in version 1.0.0 to support Serpent Pillar. So you need to upgrade to the most recient version of the server for the TillerBell to work. Sorry. But thanks for pointing that out to me. I will edit the post to say for Version 1.0.0.
haazen is offline  
Old 06-03-2005, 05:26 PM   #16 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Denver, Colorado
Age: 59
Posts: 25
Send a message via ICQ to paggylee Send a message via Yahoo to paggylee
Default

Thank you..

To bad you don't have this for 1.0. I am not ready nor knowledgeable enough to upgrade to 1.0.0 without major wipe and I refuse to put our fantastic playerbase thru that AGAIN.. Thank you so much for all the help.. Tis Greatly Appreciated..
paggylee is offline  
Old 06-03-2005, 06:11 PM   #17 (permalink)
Forum Novice
 
Join Date: Aug 2004
Location: Alba
Age: 38
Posts: 185
Default

Quote:
Originally Posted by paggylee
Thank you..

To bad you don't have this for 1.0. I am not ready nor knowledgeable enough to upgrade to 1.0.0 without major wipe and I refuse to put our fantastic playerbase thru that AGAIN.. Thank you so much for all the help.. Tis Greatly Appreciated..
check your pm's
Cerberus is offline  
Old 06-05-2005, 08:37 AM   #18 (permalink)
 
hudel's Avatar
 
Join Date: Oct 2003
Location: Germany
Age: 38
Posts: 508
Send a message via ICQ to hudel
Default

works fine for me. Thanks for this nice gem...
hudel is offline  
 

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