|
||
|
|||||||
| 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: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Arya's << Addon Generator v[3].0.1 >> __________________________________________________ _______ RunUO RC1[2.0] Compliant Many thanks to Arya for this wonderful and helpful custom script. This is one of the most useful scripts I have ever added to my server, thank you. ________________________________________________ Again...I will say this: I have a ton of custom scripts that I have on my shard. When I try to work on a project (that gives me errors) I get a ton of warnings. I noticed the biggest reoccuring warning was coming from addons. I had to go into every addon made by Arya's Generator and fix a line of code. I also d/l other people's addons and find the same problem. So I went in the Addon Generator script and fixed the issue. I'm hoping everyone updates to this one so that these warnings will stop. Thanks. Note: Now saves hues and names of statics. P.S. Some of you might think I may have strayed from my projects, or that I have no right fixing other people's errors when I have some of my own. I want to make it clear that these issues were in my way as I was fixing my own scripts, and I am fully aware of my own problems. My scripts will be updated soon. I am getting outside help to free up some of my time, so that I can release everything I am holding back on. Or, should I say too busy to get to.
__________________
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:
Last edited by Lucid Nagual; 06-25-2006 at 04:58 PM. |
|
|
|
|
#2 (permalink) |
|
Forum Expert
|
Thanks for this, those errors where annoying, and this is a great script as well.
__________________
Procrastinators unite!
Tomorrow. Saying that Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders. ![]() |
|
|
|
|
#3 (permalink) |
|
Account Terminated
|
Arya has left this community, she doesn't even have Ultima Online installed, I doubt it will be a problem.
Its only when peple are still active, and update their scripts, that people get upset with people trying to repost them. Because that is wrong, and it won't be allowed. |
|
|
|
|
#4 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Quote:
Oh and what is: Hephaestu's Forge?
__________________
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:
Last edited by Lucid Nagual; 04-16-2006 at 11:29 AM. |
|
|
|
|
|
#6 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Quote:
__________________
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:
|
|
|
|
|
|
#8 (permalink) |
|
Forum Expert
Join Date: Mar 2005
Location: Montreal, Canada
Age: 30
Posts: 2,399
|
well i havent tried it yet but i noticed something i didnt like about the addon, it seemed to add everything doubled (noticed thats when i addon2static it) and also when i went manually to remove one part of the addon....
i mentionned that earlier but it went down the drain since people without much knowledge like me get ditched often ![]() |
|
|
|
|
#9 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Quote:
Or is it an adddon2static issue? hum....
__________________
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:
|
|
|
|
|
|
#10 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
I did some testing and here is what I found....
The Addon2Static doesn't save the Hues, so it is not the AddonGen causing the issues. And I found in some cases there where double pieces in an addon but that was caused from the person who made the addon. I will try and come up with a fix for the Addon2Static. Thanks for the report.
__________________
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:
|
|
|
|
|
#11 (permalink) |
|
Forum Expert
Join Date: Mar 2005
Location: Montreal, Canada
Age: 30
Posts: 2,399
|
the fix for the hue saving was fixed in the addon2static if i remember... i havent touched runuo in like about 4 months now.... but its just a line of code to add, if you check back in the topic of addon2static i believe the info is there, or was it addongen.... well it was just one line
my only left prob concerning that was the doubling of items but since i dont mess around scripts anymore, havent been to that.EDIT: hehe sorry about repeating myself, i just saw that you fixed the hue issue.... good job... could you let me know via PM if you ever come up with the doubling static fix? thanx again |
|
|
|
|
#12 (permalink) | ||
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Quote:
Quote:
__________________
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:
|
||
|
|
|
|
#13 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
OK I did a quick test. First I created a one static item addon with addongen. And looked at the script it generated:
Code:
[ Constructable ]
public PaperScreenFacingEastAddon()
{
AddonComponent ac;
ac = new AddonComponent( 9419 );
ac.Hue = 749;
AddComponent( ac, 0, 0, 0 );
}
__________________
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:
|
|
|
|
|
#14 (permalink) |
|
Ok I think I am doing something wrong here. I made a few addon's and part of the addon is missing when I place it in server. Any help with that?
__________________
*farts* oops!! My brain farted...hehehe....:D I have a book called C# For Dummies!! ;) !!! SMACK !!! BAD BRAIN!!! |
|
|
|
|
|
#15 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Quote:
![]()
__________________
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:
|
|
|
|
|
|
#16 (permalink) |
|
There is no errors like i made a sectional couch and part of the couch is missing. heres the script:
Code:
/////////////////////////////////////////////////
// //
// Automatically generated by the //
// AddonGenerator script by Arya //
// //
/////////////////////////////////////////////////
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class SectionalSouthwestAddon : BaseAddon
{
public override BaseAddonDeed Deed
{
get
{
return new SectionalSouthwestAddonDeed();
}
}
[ Constructable ]
public SectionalSouthwestAddon()
{
AddonComponent ac;
ac = new AddonComponent( 1801 );
ac.Hue = 2389;
AddComponent( ac, -2, -1, 0 );
ac = new AddonComponent( 1801 );
ac.Hue = 2389;
AddComponent( ac, -2, -2, 0 );
ac = new AddonComponent( 1801 );
ac.Hue = 2389;
AddComponent( ac, -1, -2, 0 );
ac = new AddonComponent( 1801 );
ac.Hue = 2389;
AddComponent( ac, 0, -2, 0 );
ac = new AddonComponent( 1801 );
ac.Hue = 2389;
AddComponent( ac, 1, -2, 0 );
ac = new AddonComponent( 1801 );
ac.Hue = 2389;
AddComponent( ac, 2, -2, 0 );
ac = new AddonComponent( 15871 );
ac.Hue = 1157;
AddComponent( ac, -1, -1, 0 );
ac = new AddonComponent( 15871 );
ac.Hue = 1157;
AddComponent( ac, 0, -1, 0 );
ac = new AddonComponent( 15871 );
ac.Hue = 1157;
AddComponent( ac, 1, -1, 0 );
ac = new AddonComponent( 15871 );
ac.Hue = 1157;
AddComponent( ac, 2, -1, 0 );
ac = new AddonComponent( 5029 );
ac.Hue = 1157;
AddComponent( ac, 0, -2, 5 );
ac = new AddonComponent( 5029 );
ac.Hue = 1157;
AddComponent( ac, 1, -2, 5 );
ac = new AddonComponent( 5690 );
ac.Hue = 1157;
AddComponent( ac, -2, -1, 5 );
ac = new AddonComponent( 5029 );
ac.Hue = 1157;
AddComponent( ac, -1, -2, 5 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, 2, 2, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, -2, 0, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, -1, -1, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, 0, -1, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, 1, -1, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, 2, -1, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, -1, 1, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, 0, 1, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, 1, 1, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, 2, 1, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, -1, 0, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, 0, 0, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, 1, 0, 0 );
ac = new AddonComponent( 2327 );
ac.Hue = 2389;
AddComponent( ac, 2, 0, 0 );
ac = new AddonComponent( 15872 );
ac.Hue = 1157;
AddComponent( ac, 2, 0, 0 );
ac = new AddonComponent( 15872 );
ac.Hue = 1157;
AddComponent( ac, 2, 1, 0 );
ac = new AddonComponent( 15872 );
ac.Hue = 1157;
AddComponent( ac, 2, 2, 0 );
ac = new AddonComponent( 5690 );
ac.Hue = 1157;
AddComponent( ac, 2, -2, 5 );
ac = new AddonComponent( 2328 );
ac.Hue = 2389;
AddComponent( ac, -2, 1, 0 );
ac = new AddonComponent( 2328 );
ac.Hue = 2389;
AddComponent( ac, 1, 2, 0 );
ac = new AddonComponent( 2328 );
ac.Hue = 2389;
AddComponent( ac, 0, 2, 0 );
ac = new AddonComponent( 2328 );
ac.Hue = 2389;
AddComponent( ac, -1, 2, 0 );
ac = new AddonComponent( 2328 );
ac.Hue = 2389;
AddComponent( ac, -2, 2, 0 );
}
public SectionalSouthwestAddon( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // Version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
public class SectionalSouthwestAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new SectionalSouthwestAddon();
}
}
[Constructable]
public SectionalSouthwestAddonDeed()
{
Name = "SectionalSouthwest";
}
public SectionalSouthwestAddonDeed( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // Version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
__________________
*farts* oops!! My brain farted...hehehe....:D I have a book called C# For Dummies!! ;) !!! SMACK !!! BAD BRAIN!!! |
|
|
|
|
|
#17 (permalink) |
|
Lucid I think I found what I did wrong. I made the bounding box for it right on the corners of the addon. So I dont think I click in the right place for one side and thats the side that got cutoff in the addon when added to the server. I made another this morning and I am gonna try it out when I get home from work. Thx for the help though. I myself and my staff love this thing. They making addon's like crazy and we even came up with something that I myself or them hasnt seen on any other servers
. Gonna be fun. Thank You again for re-releasing this.
__________________
*farts* oops!! My brain farted...hehehe....:D I have a book called C# For Dummies!! ;) !!! SMACK !!! BAD BRAIN!!! |
|
|
|
|
|
#18 (permalink) |
|
Forum Expert
Join Date: Mar 2005
Location: Hopefully not near you
Posts: 2,233
|
Will this addon gen keep the names of items if you rename them before you use the generator? IE: blood redyed and named water will it remain when you create and place the addon?
__________________
All people have the right to be stupid but some abuse the privilege.
|
|
|
|
|
#19 (permalink) |
|
Forum Novice
Join Date: Sep 2004
Posts: 281
|
This addongen script is wonderful, for some reason I never had any warnings. Now does it matter if this script replaces the old one? And is this the same as the addon2static script. Just wondering if it really matters which one should be used to replace. Nice to see the hues in it will now hold, to bad the re-names would not also.
|
|
|
|
|
#20 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Updated!!!
As requested.........I have fixed the AddonGen so that it saves the names of statics too. Please inform me of any issues that you might have. Thanks.
__________________
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:
|
|
|
|
|
#21 (permalink) |
|
Forum Expert
|
I dont know if I'm doing something wrong, but it doesn't save names or hues.
Something I created to test it. A book, hued in 1150: Code:
/////////////////////////////////////////////////
// //
// Automatically generated by the //
// AddonGenerator script by Arya //
// //
/////////////////////////////////////////////////
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class BookAddon : BaseAddon
{
public override BaseAddonDeed Deed
{
get
{
return new BookAddonDeed();
}
}
[ Constructable ]
public BookAddon()
{
AddComponent( new AddonComponent( 4079 ), 0, 0, 0 );
AddonComponent ac;
}
public BookAddon( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // Version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
public class BookAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new BookAddon();
}
}
[Constructable]
public BookAddonDeed()
{
Name = "Book";
}
public BookAddonDeed( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // Version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
__________________
Tides of Magic doc-chaos.dyndns.org - Status: Gathering ideas, working out the concept |
|
|
|
|
#22 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Works for me. Here is my test script:
Code:
/////////////////////////////////////////////////
// //
// Automatically generated by the //
// AddonGenerator script by Arya //
// //
/////////////////////////////////////////////////
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class laddertestAddon : BaseAddon
{
public override BaseAddonDeed Deed
{
get
{
return new laddertestAddonDeed();
}
}
[ Constructable ]
public laddertestAddon()
{
AddonComponent ac;
ac = new AddonComponent( 2214 );
ac.Hue = 6;
ac.Name = " Blue Ladder ";
AddComponent( ac, 0, 0, 0 );
}
public laddertestAddon( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // Version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
public class laddertestAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new laddertestAddon();
}
}
[Constructable]
public laddertestAddonDeed()
{
Name = "laddertest";
}
public laddertestAddonDeed( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // Version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
__________________ 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: |