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 make them public domain. 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 03-16-2007, 01:22 AM   #26 (permalink)
Forum Newbie
 
Join Date: Oct 2006
Posts: 2
Default Using RC1

I am using RC1. But it works fine. That error was from a script that someone else edited before. Dled it before I seen the link to this post area. Anyway the script works fine for me. No probs from the get go. In fact I made a battle arena script that is 54x54 with an optional force field that surrounds it so players cannot run off in mid battle. Working on another add on to it well multiple addons with different wall layouts for paint ball or monster bash events. Now if I could just figure out this dang xmlspawner I'll be good to go lol.
dniats311 is offline   Reply With Quote
Old 03-16-2007, 07:45 AM   #27 (permalink)
Forum Novice
 
qwerty84's Avatar
 
Join Date: Apr 2006
Location: Abbiategrasso, Italy
Age: 24
Posts: 134
Send a message via ICQ to qwerty84 Send a message via MSN to qwerty84
Default

funzionality of this script? to what it serves?
qwerty84 is offline   Reply With Quote
Old 03-16-2007, 09:52 AM   #28 (permalink)
Forum Novice
 
Cheetah2003's Avatar
 
Join Date: Jun 2006
Location: Laramie, Wyoming
Age: 37
Posts: 359
Send a message via ICQ to Cheetah2003 Send a message via AIM to Cheetah2003 Send a message via MSN to Cheetah2003 Send a message via Yahoo to Cheetah2003
Default

Quote:
Originally Posted by qwerty84 View Post
funzionality of this script? to what it serves?
Say you build a structure using something like Pandora's Box.

With this script, you can take a 'snapshot' of that structure and have a deed that lets players build a copy of it.
__________________
Take a walk on The Wild side.
Cheetah2003 is offline   Reply With Quote
Old 03-18-2007, 06:07 AM   #29 (permalink)
Forum Expert
 
Manu's Avatar
 
Join Date: Jul 2005
Location: München/Deutschland (Munich/Germany)
Age: 27
Posts: 1,947
Send a message via ICQ to Manu Send a message via Skype™ to Manu
Default

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2626.34701
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Commands/AddonGenerator.cs:
    CS0029: Line 213: Cannot implicitly convert type 'System.Collections.Generic
.List<Server.Tile>' to 'System.Collections.ArrayList'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
SVN 162, no other custom scripts.
__________________
Tides of Magic
doc-chaos.dyndns.org - Status: Gathering ideas, working out the concept
Manu is offline   Reply With Quote
Old 03-18-2007, 06:59 AM   #30 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile

Quote:
Originally Posted by Manu View Post
Code:
RunUO - [www.runuo.com] Version 2.0, Build 2626.34701
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Commands/AddonGenerator.cs:
    CS0029: Line 213: Cannot implicitly convert type 'System.Collections.Generic
.List<Server.Tile>' to 'System.Collections.ArrayList'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
SVN 162, no other custom scripts.
I'm not supporting SVN at this point in time.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 03-18-2007, 07:53 AM   #31 (permalink)
Forum Expert
 
Manu's Avatar
 
Join Date: Jul 2005
Location: München/Deutschland (Munich/Germany)
Age: 27
Posts: 1,947
Send a message via ICQ to Manu Send a message via Skype™ to Manu
Default

So it would work with the binary they provide, but not the SVN snapshot?
__________________
Tides of Magic
doc-chaos.dyndns.org - Status: Gathering ideas, working out the concept
Manu is offline   Reply With Quote
Old 03-18-2007, 12:16 PM   #32 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile

Quote:
Originally Posted by Manu View Post
So it would work with the binary they provide, but not the SVN snapshot?
It works with RC1.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 03-18-2007, 12:34 PM   #33 (permalink)
Forum Expert
 
Manu's Avatar
 
Join Date: Jul 2005
Location: München/Deutschland (Munich/Germany)
Age: 27
Posts: 1,947
Send a message via ICQ to Manu Send a message via Skype™ to Manu
Default

Cool, thanks
__________________
Tides of Magic
doc-chaos.dyndns.org - Status: Gathering ideas, working out the concept
Manu is offline   Reply With Quote
Old 04-12-2007, 05:24 PM   #34 (permalink)
Forum Newbie
 
Join Date: Jun 2006
Age: 26
Posts: 13
Default Commands

What are the commands?
Lord Nikon is offline   Reply With Quote
Old 04-13-2007, 06:35 AM   #35 (permalink)
Forum Novice
 
qwerty84's Avatar
 
Join Date: Apr 2006
Location: Abbiategrasso, Italy
Age: 24
Posts: 134
Send a message via ICQ to qwerty84 Send a message via MSN to qwerty84
Default

Quote:
Originally Posted by Lord Nikon View Post
What are the commands?
Quote:
Originally Posted by Lucid Nagual View Post
Place your static items and then type in the command like this example:
[addongen MyAddon

MyAddon would represent whatever name you would like your addon to be called. (If you choose to use the gump please do not select the static button.)

And then target the two outer boundries of the statics.

O------------
|.................|
|.................|
|.................|
|.................|
-------------O

The blue circles represent the areas that you target. The dotted lines would be the area that holds the statics items that you want to create the addon with. Hold this answers all your questions
qwerty84 is offline   Reply With Quote
Old 04-28-2007, 05:21 AM   #36 (permalink)
Forum Expert
 
mogbert's Avatar
 
Join Date: Sep 2004
Location: Canada
Age: 27
Posts: 294
Default just one error

im still getting an error with the auction system. it says somthing about ayra.server.items and ayra saving accounts.
CS0234 line 66 and line 100 type or namespace "savings" doesnt exist.
ill try to fix it up now if i can haha.
__________________
Lets go get some BBQ and get Busy.
mogbert is offline   Reply With Quote
Old 04-28-2007, 06:11 AM   #37 (permalink)
Forum Expert
 
Join Date: Feb 2003
Location: East Coast USA
Posts: 1,359
Default

I fixed the conflict I had with the Auction system by simply changing the namespace of addongen from Arya.Misc to Arya.AddonGen. 1 line change, didn't affect anything else as far as I can tell.
__________________
the-retelling.org : scripts and tech demo
Alari is offline   Reply With Quote
Old 04-28-2007, 06:27 AM   #38 (permalink)
Forum Expert
 
mogbert's Avatar
 
Join Date: Sep 2004
Location: Canada
Age: 27
Posts: 294
Default thanks

thanks ill give that a try
__________________
Lets go get some BBQ and get Busy.
mogbert is offline   Reply With Quote
Old 04-28-2007, 12:29 PM   #39 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile

Quote:
Originally Posted by Alari View Post
I fixed the conflict I had with the Auction system by simply changing the namespace of addongen from Arya.Misc to Arya.AddonGen. 1 line change, didn't affect anything else as far as I can tell.
Yeah. Xanthos should have used a different namespace.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 04-29-2007, 03:51 AM   #40 (permalink)
UO Hobbyist
 
kirax2's Avatar
 
Join Date: Jul 2004
Age: 32
Posts: 179
Default

Is there a version of this script that works with static (frozen into .mul) items? I have some custom houses frozen into the map that I would very much like to turn into add-ons.

Thanks for your help!
-kirax2
kirax2 is offline   Reply With Quote
Old 07-31-2007, 05:17 AM   #41 (permalink)
Forum Expert
 
Hammerhand's Avatar
 
Join Date: Jan 2006
Location: Look behind you....
Age: 44
Posts: 1,356
Default

I'm getting dupes as well. This is what keeps coming up. Test1 is static items, test2 is not.
test1
Quote:
[ Constructable ]
public AG_test1Addon()
{
AddComponent( new AddonComponent( 7630 ), 0, -1, 0 );
AddComponent( new AddonComponent( 7631 ), 0, 0, 0 );
AddComponent( new AddonComponent( 7629 ), 0, 1, 0 );
AddonComponent ac;
ac = new AddonComponent( 7629 );
ac.Hue = 90;
AddComponent( ac, 0, 1, 0 );
ac = new AddonComponent( 7630 );
ac.Hue = 86;
AddComponent( ac, 0, -1, 0 );
ac = new AddonComponent( 7631 );
ac.Hue = 88;
AddComponent( ac, 0, 0, 0 );
This is test 2
Quote:
[ Constructable ]
public AG_test2Addon()
{
AddComponent( new AddonComponent( 7631 ), 0, 0, 0 );
AddComponent( new AddonComponent( 7630 ), 0, -1, 0 );
AddComponent( new AddonComponent( 7629 ), 0, 1, 0 );
AddonComponent ac;
ac = new AddonComponent( 7629 );
ac.Hue = 90;
AddComponent( ac, 0, 1, 0 );
ac = new AddonComponent( 7630 );
ac.Hue = 86;
AddComponent( ac, 0, -1, 0 );
ac = new AddonComponent( 7631 );
ac.Hue = 88;
AddComponent( ac, 0, 0, 0 );
I see 2 of each item no matter which way it goes. If I remove the AddComponent( new AddonComponent, I no longer get the hue loss, nor do I lose names if I rename them. I am using RC1 if that makes any difference.
__________________
May you have the strength of eagles' wings,
the faith and courage to fly to new heights,
and the wisdom of the universe to carry you there.

Last edited by Hammerhand; 07-31-2007 at 05:23 AM.
Hammerhand is offline   Reply With Quote
Old 08-04-2007, 02:40 PM   #42 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile

Quote:
Originally Posted by Hammerhand View Post
I'm getting dupes as well. This is what keeps coming up. Test1 is static items, test2 is not.
test1


This is test 2


I see 2 of each item no matter which way it goes. If I remove the AddComponent( new AddonComponent, I no longer get the hue loss, nor do I lose names if I rename them. I am using RC1 if that makes any difference.
The problem is your using the menu. The menu has issues that I never got around to fixing. Please try the command instead: [addongen MyAddon
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 08-04-2007, 02:42 PM   #43 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile

Quote:
Originally Posted by kirax2 View Post
Is there a version of this script that works with static (frozen into .mul) items? I have some custom houses frozen into the map that I would very much like to turn into add-ons.

Thanks for your help!
-kirax2
I agree. I will try and look into that option. The current option isn't working and is what is causing duplicate items.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 08-04-2007, 10:11 PM   #44 (permalink)
Forum Expert
 
Hammerhand's Avatar
 
Join Date: Jan 2006
Location: Look behind you....
Age: 44
Posts: 1,356
Default

Lucid... I tried your suggestion, then experimented... Turns out, you can use the menu as long as the static isnt set to true. Thats what seems to cause the dupes. So I'm guessing that when static is set to true, the addongen thinks its a second set of items to add? Dunno.. I'm no big brained scripter, just a guy that works nights. Anywho.. thx for the help. Its a handy lil program Arya created. Thx to Arya and you both. *bows to the gods of creativity*
__________________
May you have the strength of eagles' wings,
the faith and courage to fly to new heights,
and the wisdom of the universe to carry you there.
Hammerhand is offline   Reply With Quote
Old 01-08-2008, 05:39 PM   #45 (permalink)
Lurker
 
Join Date: Nov 2003
Posts: 3
Default namespace AND a type

ok, so I am getting a conflict that says I cannot create a namespace and a type both named Server.Command, Im guessing I just didnt extract it correctly, whats going on here?
casey13 is offline   Reply With Quote
Old 06-15-2008, 09:23 PM   #46 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 23
Default

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2959.20979
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 1 warnings)
Warnings:
 + Customs/PlayerMadeStatue.cs:
    CS0105: Line 29: The using directive for 'System.Collections.Generic' appear
ed previously in this namespace
Errors:
 + Customs/AddonGenerator.cs:
    CS0029: Line 213: Cannot implicitly convert type 'System.Collections.Generic
.List<Server.Tile>' to 'System.Collections.ArrayList'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
I get this error messege trying to use your script. (i've gotten the warning messege before... but i'd like to use this script)
eric@wuurld.org is offline   Reply With Quote
Old 06-15-2008, 09:25 PM   #47 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 23
Default

nevermind <3 thanks though, i had to switch to the RC2 version rather than this RC1.
eric@wuurld.org is offline   Reply With Quote
Old 07-08-2008, 06:07 PM   #48 (permalink)
Forum Novice
 
Grom09's Avatar
 
Join Date: Apr 2007
Posts: 118
Default svn

im using svn but..
im getting this
Errors:
+ CUSTOM/Addons/[2[1].0]AddonGenerator.cs:
CS0029: Line 213: Cannot implicitly convert type 'System.Collections.Generic
.List<Server.Tile>' to 'System.Collections.ArrayList'

how can i fix?
Grom09 is offline   Reply With Quote
Old 08-20-2008, 03:22 PM   #49 (permalink)
Forum Novice
 
Grom09's Avatar
 
Join Date: Apr 2007
Posts: 118
Default

is there a newer addon for svn?
cause i cant fix it
Grom09 is offline   Reply With Quote
Old 08-20-2008, 03:40 PM   #50 (permalink)
CEO
Forum Novice
 
CEO's Avatar
 
Join Date: Jun 2004
Age: 48
Posts: 781