Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

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 publish them under the GPL licensing terms. 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.

Reply
 
Thread Tools Display Modes
Old 01-02-2007, 07:07 AM   #1 (permalink)
Newbie
 
Vano-sumy's Avatar
 
Join Date: Jun 2006
Location: Ukraine, Sumy
Posts: 70
Send a message via ICQ to Vano-sumy
Default equip gate, unequip gate[1.0]

unequip gate - moongate will take off from you all your armor and all your items in backpak and will place in a bankbox.
equip gate - moongate will dress on you armor and lay down in backpak a bag of weapon, by reagents, bandages. (if type = 0 then on you leather armor get dressed, if type = 1 on you a boxer complete set get dressed)

P.S Sorry for my English.
Attached Files
File Type: cs equipgate.cs (4.7 KB, 186 views)
File Type: cs unequipgate.cs (3.7 KB, 187 views)
File Type: cs BagOfWeapon.cs (1.3 KB, 151 views)

Last edited by Vano-sumy; 01-02-2007 at 10:39 AM.
Vano-sumy is offline   Reply With Quote
Old 01-02-2007, 10:02 AM   #2 (permalink)
Forum Novice
 
milvaen's Avatar
 
Join Date: Oct 2006
Location: Turkey
Posts: 110
Send a message via MSN to milvaen
Default

Errors:
+ equipgate.cs:
CS0246: Line 149: The type or namespace name 'BagOfWeapon' could not be foun
d (are you missing a using directive or an assembly reference?)
CS1502: Line 149: The best overloaded method match for 'Server.Items.Contain
er.DropItem(Server.Item)' has some invalid arguments
CS1503: Line 149: Argument '1': cannot convert from 'BagOfWeapon' to 'Server
.Item'

I tested it with RunUO 2.0 RC1
milvaen is offline   Reply With Quote
Old 01-02-2007, 10:44 AM   #3 (permalink)
Newbie
 
Vano-sumy's Avatar
 
Join Date: Jun 2006
Location: Ukraine, Sumy
Posts: 70
Send a message via ICQ to Vano-sumy
Default

download this script BagOfWeapon.cs. And all will be ok
Vano-sumy 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 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5