|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
Join Date: Mar 2003
Location: where I belong
Posts: 1,786
|
Description: This simple command will allow you to convert items and add-ons into their static equivalent. It was written for freezing preparation, as freezing only locks in statics, walls, and floors.
This ToStatic command is called "usable" because it is derived from the BaseCommand class, and comes with the ability for you to use the Multi and Area modifiers. Installation: Download the attached file and place it in your preferred Scripts subdirectory. Usage:
Updates:
If any problems are encountered with the use of this file, please report it in this thread.
__________________
"Misfortune shows those who are not really friends." -Aristotle "A multitude of words is no proof of a prudent mind." -Thales Last edited by Khaz; 12-11-2006 at 02:23 AM. |
|
|
|
|
#3 (permalink) |
|
Forum Expert
Join Date: Mar 2003
Location: where I belong
Posts: 1,786
|
I've updated the file so that container contents are not lost when a container is targeted with this command. The usage is still the same.
__________________
"Misfortune shows those who are not really friends." -Aristotle "A multitude of words is no proof of a prudent mind." -Thales |
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Mar 2005
Location: Hopefully not near you
Posts: 2,233
|
Ohhh I feel smarter now.
Why? Becuase thanks to this I can go get those cool building addons and use them BIG THANKS TO YOU +++ karma for being soo nice and help so many
__________________
All people have the right to be stupid but some abuse the privilege.
|
|
|
|
|
#5 (permalink) |
|
Forum Expert
|
YES! Good job bro! I'm very impressed!
Infact, I've been waiting for something like this because we have addons that are around 200k items (new towns built in UOArchitect) that we anted to add. Now YOU have made it possible. ++++++Karma bro.. GJ ![]() EDIT: I downloaded, installed and booted runuo. When ingame it tells me "That is not a valid command". Why is this? -Thnx
__________________
![]() WWW.RPK-UO.COM - The WoW-UO Cross-Over Shard Last edited by Admin Vorspire; 05-19-2006 at 04:05 PM. |
|
|
|
|
#6 (permalink) | |
|
Forum Expert
Join Date: Mar 2003
Location: where I belong
Posts: 1,786
|
Quote:
__________________
"Misfortune shows those who are not really friends." -Aristotle "A multitude of words is no proof of a prudent mind." -Thales |
|
|
|
|
|
#8 (permalink) |
|
Forum Expert
Join Date: Mar 2003
Location: where I belong
Posts: 1,786
|
Make sure that the file is underneath your RunUO\Scripts directory. Also ensure that line 16 reads Commands = new string[]{ "ToStatic" }; and line 18 reads Usage = "ToStatic";.
The most likely reason for the invalid command message is that the file is simply not in the Scripts directory, so make sure it is there.
__________________
"Misfortune shows those who are not really friends." -Aristotle "A multitude of words is no proof of a prudent mind." -Thales |
|
|
|
|
#9 (permalink) | |
|
Forum Expert
Join Date: Jan 2004
Location: England
Age: 20
Posts: 442
|
Quote:
Code:
Register( new ToStaticCommand() );
__________________
David's Sig is my Sig. He always says it best.
|
|
|
|
|
|
#11 (permalink) | |
|
Forum Expert
Join Date: Jan 2004
Location: England
Age: 20
Posts: 442
|
Quote:
![]()
__________________
David's Sig is my Sig. He always says it best.
|
|
|
|
|
|
#13 (permalink) |
|
Forum Expert
Join Date: Jan 2004
Location: England
Age: 20
Posts: 442
|
Put in this:
Code:
public static void Initialize()
{
TargetCommands.Register(new ToStaticCommand());
}
just before the Code:
public ToStaticCommand()
__________________
David's Sig is my Sig. He always says it best.
|
|
|
|
|
#14 (permalink) |
|
Forum Expert
Join Date: Mar 2003
Location: where I belong
Posts: 1,786
|
Good catch, tobyjug and Aenima. Thanks. I had forgotten all about that step with new command additions.
The download file has been updated to resolve this issue. ![]()
__________________
"Misfortune shows those who are not really friends." -Aristotle "A multitude of words is no proof of a prudent mind." -Thales |
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|