Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 09-13-2004, 11:46 PM   #1 (permalink)
 
Join Date: Dec 2003
Posts: 6
Talking Bag of Holding

Here is my effort on creating a Bag Of Holding.
Its fully tested and lives through a server restart.

type:
[add smallbagofholding for bag that holds 5 items
[add mediumbagofholding for bag that holds 10 items
[add largebagofholding for bag that holds 20 items
[add massivebagofholding for bag that holds 100 items
[add insanebagofholding for bag that holds 1000000 items

and enjoy

Attached Files
File Type: cs SmallBagOfHolding.cs (1.1 KB, 42 views)
File Type: cs MediumBagOfHolding.cs (1.2 KB, 39 views)
File Type: cs LargeBagOfHolding.cs (1.1 KB, 44 views)
File Type: cs MassiveBagOfHolding.cs (1.2 KB, 44 views)
File Type: cs InsaneBagOfHolding.cs (1.2 KB, 55 views)
piolyte is offline   Reply With Quote
Old 09-13-2004, 11:47 PM   #2 (permalink)
 
Join Date: Feb 2004
Location: In front of a computer, Australia
Age: 20
Posts: 162
Send a message via MSN to Radar3
Default

And what does it do?
Radar3 is offline   Reply With Quote
Old 09-13-2004, 11:50 PM   #3 (permalink)
 
Join Date: Dec 2003
Posts: 6
Default

It makes things weightless.
piolyte is offline   Reply With Quote
Old 09-13-2004, 11:54 PM   #4 (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

kk first thing i noticed is that a bag of holding has 3 dif types small which holds 5 items medium holds 10 and large holds 20, just a thought
bzk90 is offline   Reply With Quote
Old 09-13-2004, 11:58 PM   #5 (permalink)
 
Join Date: Oct 2003
Location: Colorado
Age: 29
Posts: 808
Default

I dont know about this bag because I havent looked over the script but there is a bagofholding already that has 3 types.
__________________
[list][*]Visit Spherical Solaris Website![*]Spherical Solaris Shard[/list:u]
SphericalSolaris is offline   Reply With Quote
Old 09-14-2004, 12:00 AM   #6 (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

yes but its buged, every time a server reboots the items get wieght agin
bzk90 is offline   Reply With Quote
Old 09-14-2004, 12:00 AM   #7 (permalink)
 
Join Date: Dec 2003
Posts: 6
Default

But it doesn't live through a server restart.
The weight gets reset.
piolyte is offline   Reply With Quote
Old 09-14-2004, 12:26 AM   #8 (permalink)
 
Join Date: Dec 2003
Posts: 6
Default

Well thats one way to do it
piolyte is offline   Reply With Quote
Old 09-14-2004, 12:30 AM   #9 (permalink)
 
Join Date: Dec 2003
Posts: 6
Default

I reposted new scripts for you all
piolyte is offline   Reply With Quote
Old 09-14-2004, 02:46 AM   #10 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

This script makes no sense.
What is it a Bag of permanent holding? Everything is set to Movable = false.(Doesn't that make it unuseable?)
Even if you remove the Movable line it sets the items weight to 0 (whether it's in the bag or not)...thats why it doesnt change on a restart cause those items no longer weigh anything.
Tru is offline   Reply With Quote
Old 09-16-2004, 04:57 PM   #11 (permalink)
 
Join Date: Dec 2003
Posts: 6
Default

I plan to do more work on it
piolyte is offline   Reply With Quote
Old 09-16-2004, 07:55 PM   #12 (permalink)
 
Join Date: Jan 2004
Location: Huntsville, Alabama
Age: 32
Posts: 195
Send a message via ICQ to Kesia Send a message via AIM to Kesia Send a message via MSN to Kesia Send a message via Yahoo to Kesia
Red face

Thank you for these. I had lost them and was looking for replacements
Kesia 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