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 07-23-2006, 01:08 PM   #76 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Exclamation Bow Stringers:

Here are a list of bow stringers I have completed:
  • Linen Thread Stringer (very weak)
  • Cotton Stringer (weak)
  • Silk Stringer (sturdy)
  • Horse Hair Stringer (strong)
  • Hemp Stringer (dependable)
  • Angel Hair Stringer (indestructable) (extremely rare)
I will also be adding wax as an item that raises the strength (durablity) of the string. When the strength reaches zero it breaks.


Here are the pounds per pull based on fletchers skill:
  • 40 lbs (99 or under skill)
  • 60 lbs (105 or better skill)
  • 80 lbs (112 or better skill)
  • 100 lbs (119.9 or better skill)
__________________
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 07-30-2006, 08:26 PM   #77 (permalink)
Forum Newbie
 
Join Date: Feb 2006
Posts: 30
Default

I just saw that you updated the script today. What has changed?

Edit:
I also just tried to install the script and I received an error about the CraftItem.cs
Code:
CS1502: Line 1350: The best overloaded method match for 'Server.Items.BaseRunicTool.ApplyAttributesTo<Server.Items.BaseWeapon> has some invalid arguments
CS1502: Line 1350: Argument '1' : cannot convert from 'Server.Items.BaseJewel' to 'Server.Items.BaseWeapon'
Edit2: I received an pm that someone else has the same problem as me. I will look more into the problem today. The craftitem.cs that I have is no standard one. It is the on from Daat99's OWLTR system but didn't produce an error before installing this script.
This is the section that causes the problem of Daat's script with this one.
Code:
if ( Core.AOS && tool is BaseRunicTool && Daat99OWLTR.Ops[11].Setting)
	((BaseRunicTool)tool).ApplyAttributesTo( jewel );

Last edited by Carlosos; 07-31-2006 at 10:03 AM.
Carlosos is offline   Reply With Quote
Old 07-30-2006, 11:31 PM   #78 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile Carlosos

I added the new CBaseRanged from post #71.

I can't test anything for a while. I have a test server that doesn't produce any errors and have issues with two different versions of 2.0 out there.
__________________
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-01-2006, 01:22 AM   #79 (permalink)
Forum Newbie
 
Join Date: Jun 2004
Posts: 74
Default need some help here please

I'm Runnin 1.0 and want to incorporate his archery into that, couldnt find a version for runuo1.0 so im trying to modify this kit he has to work with my server any help will be greatly appreciated.... New bug I edited the bugged part of the script out just to give it a trial run... the quivers look great, but if i try to put anything... arrows , or anything inside one my server crashes any clues?


RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
- Error: Scripts\Custom\[2.0]Lucid Nagual's Advanced Archery Beta2\Quivers\Base
Quiver.cs: CS0246: (line 148, column 50) The type or namespace name 'TotalType'
could not be found (are you missing a using directive or an assembly reference?)

- Error: Scripts\Custom\[2.0]Lucid Nagual's Advanced Archery Beta2\Quivers\Base
Quiver.cs: CS0246: (line 162, column 33) The type or namespace name 'TotalType'
could not be found (are you missing a using directive or an assembly reference?)

Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

Last edited by evilfreak; 08-01-2006 at 10:15 AM.
evilfreak is offline   Reply With Quote
Old 08-01-2006, 12:15 PM   #80 (permalink)
Newbie
 
ratzerna's Avatar
 
Join Date: Nov 2003
Location: Where ducks live in VA
Age: 42
Posts: 55
Default

I just added it to my server too, same problem.

I've also got installed:
All Spells 7.0.1(d)
CFTB v4.0.1

I noticed All Spells and CFTB (daat99 system stuff) had some overlap on AOS.cs I think. Anybody figure this out?

btw, I did edit the [2.0]AOS.cs to add the required AOS.cs changes.

Quote:
Originally Posted by Carlosos
I just saw that you updated the script today. What has changed?

Edit:
I also just tried to install the script and I received an error about the CraftItem.cs
Code:
CS1502: Line 1350: The best overloaded method match for 'Server.Items.BaseRunicTool.ApplyAttributesTo<Server.Items.BaseWeapon> has some invalid arguments
CS1502: Line 1350: Argument '1' : cannot convert from 'Server.Items.BaseJewel' to 'Server.Items.BaseWeapon'
Edit2: I received an pm that someone else has the same problem as me. I will look more into the problem today. The craftitem.cs that I have is no standard one. It is the on from Daat99's OWLTR system but didn't produce an error before installing this script.
This is the section that causes the problem of Daat's script with this one.
Code:
if ( Core.AOS && tool is BaseRunicTool && Daat99OWLTR.Ops[11].Setting)
    ((BaseRunicTool)tool).ApplyAttributesTo( jewel );

Last edited by ratzerna; 08-01-2006 at 01:16 PM.
ratzerna is offline   Reply With Quote
Old 08-01-2006, 12:34 PM   #81 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile

Quote:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
- Error: Scripts\Custom\[2.0]Lucid Nagual's Advanced Archery Beta2\Quivers\Base
Quiver.cs: CS0246: (line 148, column 50) The type or namespace name 'TotalType'
could not be found (are you missing a using directive or an assembly reference?)

- Error: Scripts\Custom\[2.0]Lucid Nagual's Advanced Archery Beta2\Quivers\Base
Quiver.cs: CS0246: (line 162, column 33) The type or namespace name 'TotalType'
could not be found (are you missing a using directive or an assembly reference?)

Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
The method prolly doesn't exist in 1.0. I'll tell you what......I will add the 1.0 sometime today. It may not have all the current updates but it will be a good solid start.
__________________
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-01-2006, 03:50 PM   #82 (permalink)
Newbie
 
ratzerna's Avatar
 
Join Date: Nov 2003
Location: Where ducks live in VA
Age: 42
Posts: 55
Default

I found the problem with my error above. I was missing this in the BaseRunicTool.cs

I don't remember replacing it today when I upgraded, but that was the difference in an old backup from last week.

Code:
        public void ApplyAttributesTo( BaseJewel jewelry )
        {
            CraftResourceInfo resInfo = CraftResources.GetInfo( m_Resource );

            if ( resInfo == null )
                return;

            CraftAttributeInfo attrs = resInfo.AttributeInfo;

            if ( attrs == null )
                return;

            int attributeCount = Utility.RandomMinMax( attrs.RunicMinAttributes, attrs.RunicMaxAttributes );
            int min = attrs.RunicMinIntensity;
            int max = attrs.RunicMaxIntensity;

            ApplyAttributesTo( jewelry, true, 0, attributeCount, min, max );
        }
ratzerna is offline   Reply With Quote
Old 08-01-2006, 03:57 PM   #83 (permalink)
Newbie
 
ratzerna's Avatar
 
Join Date: Nov 2003
Location: Where ducks live in VA
Age: 42
Posts: 55
Default

I just have a quick question about Advanced Archery. I know it adds all the extra ammo and advanced features. Does it totally remove the ability for generic Archery with a bow and arrows or crossbow and bolts without the quivers?

The reason I ask is, I'm wondering if I'm going to have to change any NPC's I use in quests or as random MOB's that use the ArcherAI for their fighting skill and add a quiver to them.

Ratzerna
ratzerna is offline   Reply With Quote
Old 08-01-2006, 05:21 PM   #84 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile ratzerna

Quote:
I just have a quick question about Advanced Archery. I know it adds all the extra ammo and advanced features. Does it totally remove the ability for generic Archery with a bow and arrows or crossbow and bolts without the quivers?

The reason I ask is, I'm wondering if I'm going to have to change any NPC's I use in quests or as random MOB's that use the ArcherAI for their fighting skill and add a quiver to them.
There is a check in place so that if the quiver isn't equipped the ammo is taken from the backpack. The normal ammo is set by default, so no modifications are needs for NPCs.
__________________
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-03-2006, 02:32 PM   #85 (permalink)
Newbie
 
Join Date: Oct 2004
Age: 37
Posts: 28
Default

I red the entire thread just to make sure this error has not been mentioned before and I didn't see it so here goes:

If you have a quiver (the ultimate quiver) and it's empty and you drop arrows on it (as opposed to "opening" the quiver and putting the arrows "in" it) the arrows disappear.

The error happens equipped or not and will NOT happen if you have one arrow in the quiver (aka if you "open" the quiver and put one arrow inside you can drag and drop as many more as you please).

I also noticed that if you have say, only poison arrows in your quiver and you drag and drop say, freeze arrows onto your quiver the freeze arrows will disappear.
ZacK_Black is offline   Reply With Quote
Old 08-07-2006, 03:10 PM   #86 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 310
Default

I have your Archery script installed and i also have Levelable Items installed! but when i add a Levelable Bow it cannot shoot the special arrows your script provides! just wondering if theres a line of code or something i would need to add to all the levelable bows so they can shoot them explosive arrows and all that! no worries of your bussy. just hopeing for a levelable bow that shoots your cool arrows
PhoenixDIE is offline   Reply With Quote
Old 08-07-2006, 05:48 PM   #87 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile PhoenixDIE

Quote:
I have your Archery script installed and i also have Levelable Items installed! but when i add a Levelable Bow it cannot shoot the special arrows your script provides! just wondering if theres a line of code or something i would need to add to all the levelable bows so they can shoot them explosive arrows and all that! no worries of your bussy. just hopeing for a levelable bow that shoots your cool arrows
Post the code to one of your bows and I will try and help you.
__________________
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-08-2006, 01:30 AM   #88 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 310
Default

here are the levelable bows that the Levelable item script provided me! be awsome if you figured it out! thx again! man!
Attached Files
File Type: cs LevelBow.cs (1.7 KB, 38 views)
File Type: cs LevelCompositeBow.cs (1.7 KB, 35 views)
File Type: cs LevelCrossbow.cs (1.6 KB, 36 views)
File Type: cs LevelHeavyCrossbow.cs (1.6 KB, 36 views)
File Type: cs LevelJukaBow.cs (2.3 KB, 35 views)
File Type: cs LevelRepeatingCrossbow.cs (1.6 KB, 35 views)
PhoenixDIE is offline   Reply With Quote
Old 08-08-2006, 10:43 AM   #89 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile PhoenixDIE

Quote:
here are the levelable bows that the Levelable item script provided me! be awsome if you figured it out! thx again! man!
Holy crap lol. I didn't expect you to post all of them, but all is better than one. I think I know what the isue is already. I will get back with you.

Edit: OK is this from Dracana's system? If not post the BaseLevelRanged.cs! 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:
Lucid Nagual is offline   Reply With Quote
Old 08-08-2006, 03:08 PM   #90 (permalink)
Newbie
 
Join Date: Oct 2004
Age: 37
Posts: 28
Default

Quote:
Originally Posted by ZacK_Black
I red the entire thread just to make sure this error has not been mentioned before and I didn't see it so here goes:

If you have a quiver (the ultimate quiver) and it's empty and you drop arrows on it (as opposed to "opening" the quiver and putting the arrows "in" it) the arrows disappear.

The error happens equipped or not and will NOT happen if you have one arrow in the quiver (aka if you "open" the quiver and put one arrow inside you can drag and drop as many more as you please).

I also noticed that if you have say, only poison arrows in your quiver and you drag and drop say, freeze arrows onto your quiver the freeze arrows will disappear.

So I guess this is an issued that won't be resolved any time soon?
ZacK_Black is offline   Reply With Quote
Old 08-08-2006, 04:25 PM   #91 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile ZacK_Black

Quote:

Quote:
Originally Posted by ZacK_Black
I red the entire thread just to make sure this error has not been mentioned before and I didn't see it so here goes:

If you have a quiver (the ultimate quiver) and it's empty and you drop arrows on it (as opposed to "opening" the quiver and putting the arrows "in" it) the arrows disappear.

The error happens equipped or not and will NOT happen if you have one arrow in the quiver (aka if you "open" the quiver and put one arrow inside you can drag and drop as many more as you please).

I also noticed that if you have say, only poison arrows in your quiver and you drag and drop say, freeze arrows onto your quiver the freeze arrows will disappear.




So I guess this is an issued that won't be resolved any time soon?
Not at the moment. I am in the middle of another project at the moment. I also work long hours 6 days a week, so I have very little time. I will get to this as soon as I can.
__________________
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-08-2006, 05:46 PM   #92 (permalink)
Newbie
 
Join Date: Oct 2004
Age: 37
Posts: 28
Default

Thanks for the update. I just wanted to make sure that it didn't fall through the cracks.
ZacK_Black is offline   Reply With Quote
Old 08-11-2006, 06:48 PM   #93 (permalink)
Forum Expert
 
serenity lace's Avatar
 
Join Date: Jul 2006
Location: Bartlesville Ok
Age: 33
Posts: 385
Send a message via ICQ to serenity lace Send a message via MSN to serenity lace Send a message via Yahoo to serenity lace
Question ok weird error

im trying to install the archery sys so i can installl your cftb sys(love that idea!) and i have checked my way thru other errors via this thread but i havent found this one and am clueless as to what to do. i updated aos.cs like you said and updated all the other filres. then my server gives me this:

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 1 warnings)
Warnings:
 + Misc/AOS.cs:
    CS0162: Line 214: Unreachable code detected
Errors:
 + Misc/AOS.cs:
    CS0161: Line 206: 'Server.AosAttributes.GetValue(Server.Mobile, Server.AosAt
tribute)': not all code paths return a value
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
Please when you get time could someone help me work this one out?
serenity lace is offline   Reply With Quote
Old 08-11-2006, 10:55 PM   #94 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile serenity lace

Quote:
ok weird error
im trying to install the archery sys so i can installl your cftb sys(love that idea!) and i have checked my way thru other errors via this thread but i havent found this one and am clueless as to what to do. i updated aos.cs like you said and updated all the other filres. then my server gives me this:

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527Core: Running on .NET Framework Version 2.0.50727Scripts: Compiling C# scripts...failed (1 errors, 1 warnings)Warnings: + Misc/AOS.cs: CS0162: Line 214: Unreachable code detectedErrors: + Misc/AOS.cs: CS0161: Line 206: 'Server.AosAttributes.GetValue(Server.Mobile, Server.AosAttribute)': not all code paths return a valueScripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again.


Please when you get time could someone help me work this one out?
Post your AOS.cs and I will take a look at it.
__________________
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-11-2006, 11:06 PM   #95 (permalink)
Forum Expert
 
serenity lace's Avatar
 
Join Date: Jul 2006
Location: Bartlesville Ok
Age: 33
Posts: 385
Send a message via ICQ to serenity lace Send a message via MSN to serenity lace Send a message via Yahoo to serenity lace
Default

here it is. Thanx alot! You Really Rock!
Attached Files
File Type: cs AOS.cs (30.5 KB, 37 views)
serenity lace is offline   Reply With Quote
Old 08-14-2006, 01:51 AM   #96 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 310
Default

Edit: OK is this from Dracana's system? If not post the BaseLevelRanged.cs! Thanks [/quote]

Yes its from Dracana's system..ill post any way just to make sure you get the right one!
Attached Files
File Type: cs BaseLevelRanged.cs (5.5 KB, 38 views)
PhoenixDIE is offline   Reply With Quote
Old 08-22-2006, 05:30 AM   #97 (permalink)
Forum Newbie
 
Join Date: Jun 2003
Posts: 30
Default

Does any one have any idea what this is all about :
Code: