|
||
|
|||||||
| 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 publish them under the GPL licensing terms. 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
~CFTB Custom BODs~ Version [4].0.2 (b) [2.0] RC1 Compliant (Under Construction) Link to Info: Lucid Nagual's << OWLTR & FS Taming Plugin | Carpenter & Fletcher BODs >> Includes: OWLTR Scripts FS Taming Scripts Sirsly's Crystal Crafting Alien's ACC & Central Memory
__________________
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; 03-15-2007 at 10:35 AM. |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
Custom BODs v[4].0.2 (a):
__________________
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; 09-08-2006 at 01:37 PM. |
|
|
|
|
|
#3 (permalink) |
|
Forum Novice
Join Date: Sep 2004
Age: 33
Posts: 685
|
Those other systems listed in the link still required?
__________________
Please don't preach to me. You won't convert me. You won't convince me. I am me and you are you. I will respect you because that's who I am. Disrespect me, and you've only proven who you really are. |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
Yes but they are all included in my package.
__________________
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:
|
|
|
|
|
|
#5 (permalink) |
|
Forum Novice
|
Hmm...I installed and went over all the distro files.I didnt change anything just replaced current distros. I am getting 2 errors. I also noticed there was no playermobile in this package.
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 (2 errors, 0 warnings)
Errors:
+ Customs/Lucid Naguals Systems/BODModule.cs:
CS0246: Line 21: The type or namespace name 'Module' could not be found (are
you missing a using directive or an assembly reference?)
CS0246: Line 236: The type or namespace name 'Module' could not be found (ar
e you missing a using directive or an assembly reference?)
+ Customs/Modified Distro/[2.0]AOS.cs:
CS0234: Line 8: The type or namespace name 'FSB' does not exist in the names
pace 'Server.Spells' (are you missing 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 Arwen_NightHawk; 07-24-2006 at 08:41 AM. |
|
|
|
|
|
#6 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
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:
|
|
|
|
|
|
|
#7 (permalink) | ||
|
Forum Novice
Join Date: Apr 2006
Posts: 386
|
hey lucid sup buddy got this error on istall but addres the two above with install of the all spells this is what i have
Quote:
OK got that one fixed then got these Quote:
Well dont worry about it had to start over sever locked you had to make a new one will let you know how it goes Last edited by supernova72611; 07-24-2006 at 12:55 PM. |
||
|
|
|
|
|
#8 (permalink) |
|
Forum Novice
|
Looks like you might have left one of the distros in that you should have taken out. My guess would be the spell.cs. But I'm a noob and not an experienced scriptor, so I could be wrong. Also, ty Lucid, ty Lucid., ty Lucid.
Lucid is God. ty Lucid, Lucid Rox. Been waiting for this release. |
|
|
|
|
|
#9 (permalink) | |
|
Forum Novice
Join Date: Apr 2006
Posts: 386
|
well with alot of work and time i got this to go in But with allspells and archery and then tamming to lol but anyway lucid have a question its asking me this after install did i do something wrong
Quote:
|
|
|
|
|
|
|
#10 (permalink) |
|
Forum Novice
|
OK got those first 2 errors fixed. Installed that Aliens thing and commented out the FSB thing in AOS.cs script. Now though..I am getting dupe errors from the reagent files from the Ronin scripts.
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 (3 errors, 0 warnings)
Errors:
+ Customs/Lucid Naguals Systems/Ronins Shrink & Taming Craft System/FS Animal T
aming Systems/reagents/DestroyingAngel.cs:
CS0115: Line 27: 'Server.Items.DestroyingAngel.Dupe(int)': no suitable metho
d found to override
+ Customs/Lucid Naguals Systems/Ronins Shrink & Taming Craft System/FS Animal T
aming Systems/reagents/PetrafiedWood.cs:
CS0115: Line 27: 'Server.Items.PetrafiedWood.Dupe(int)': no suitable method
found to override
+ Customs/Lucid Naguals Systems/Ronins Shrink & Taming Craft System/FS Animal T
aming Systems/reagents/SpringWater.cs:
CS0115: Line 27: 'Server.Items.SpringWater.Dupe(int)': no suitable method fo
und to override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
|
|
|
|
|
|
#11 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
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:
Last edited by Lucid Nagual; 07-25-2006 at 03:21 PM. |
|
|
|
|
|
|
#12 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
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:
|
|
|
|
|
|
|
#14 (permalink) |
|
Forum Novice
|
Ok I added in the archery system and I do have the original scales.cs in. So I am unsure why I am getting these errors. But I am now getting 6 errors instead of the 14 I had earlier.
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 (6 errors, 0 warnings)
Errors:
+ Customs/Lucid Naguals Systems/Daat99's OWLTR v2[1]9-2.91/LeatherElementals.cs
:
CS0246: Line 559: The type or namespace name 'GoldScales' could not be found
(are you missing a using directive or an assembly reference?)
CS1502: Line 559: The best overloaded method match for 'Server.Mobiles.BaseC
reature.PackItem(Server.Item)' has some invalid arguments
CS1503: Line 559: Argument '1': cannot convert from 'GoldScales' to 'Server.
Item'
CS0246: Line 631: The type or namespace name 'GoldScales' could not be found
(are you missing a using directive or an assembly reference?)
CS1502: Line 631: The best overloaded method match for 'Server.Mobiles.BaseC
reature.PackItem(Server.Item)' has some invalid arguments
CS1503: Line 631: Argument '1': cannot convert from 'GoldScales' to 'Server.
Item'
CS0246: Line 703: The type or namespace name 'GoldScales' could not be found
(are you missing a using directive or an assembly reference?)
CS1502: Line 703: The best overloaded method match for 'Server.Mobiles.BaseC
reature.PackItem(Server.Item)' has some invalid arguments
CS1503: Line 703: Argument '1': cannot convert from 'GoldScales' to 'Server.
Item'
+ Customs/Lucid Naguals Systems/Rewards/ElvenHairRestylingDeed.cs:
CS0246: Line 97: The type or namespace name 'LongFeatherHair' could not be f
ound (are you missing a using directive or an assembly reference?)
CS0246: Line 98: The type or namespace name 'ShortElfHair' could not be foun
d (are you missing a using directive or an assembly reference?)
CS0246: Line 99: The type or namespace name 'Mullet' could not be found (are
you missing a using directive or an assembly reference?)
CS0246: Line 100: The type or namespace name 'FlowerHair' could not be found
(are you missing a using directive or an assembly reference?)
CS0246: Line 101: The type or namespace name 'LongBigKnobHair' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 102: The type or namespace name 'LongBigBraidHair' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 103: The type or namespace name 'LongBigBunHair' could not be f
ound (are you missing a using directive or an assembly reference?)
CS0246: Line 104: The type or namespace name 'SpikedHair' could not be found
(are you missing a using directive or an assembly reference?)
CS0246: Line 225: The type or namespace name 'LongFeatherHair' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 226: The type or namespace name 'ShortElfHair' could not be fou
nd (are you missing a using directive or an assembly reference?)
CS0246: Line 227: The type or namespace name 'Mullet' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0246: Line 228: The type or namespace name 'MidLongHair' could not be foun
d (are you missing a using directive or an assembly reference?)
CS0246: Line 229: The type or namespace name 'LongBigKnobHair' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 230: The type or namespace name 'LongBigBraidHair' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 231: The type or namespace name 'LongElfTwoHair' could not be f
ound (are you missing a using directive or an assembly reference?)
CS0246: Line 232: The type or namespace name 'SpikedHair' could not be found
(are you missing a using directive or an assembly reference?)
+ Customs/Modified Distro/[2.0]AOS.cs:
CS0246: Line 290: The type or namespace name 'TomeOfKnowledge' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 292: The type or namespace name 'TomeOfKnowledge' could not be
found (are you missing a using directive or an assembly reference?)
+ Customs/Modified Distro/[2.0]DefBlacksmithy.cs:
CS0246: Line 555: The type or namespace name 'CopperScales' could not be fou
nd (are you missing a using directive or an assembly reference?)
CS0246: Line 556: The type or namespace name 'SilverScales' could not be fou
nd (are you missing a using directive or an assembly reference?)
CS0246: Line 557: The type or namespace name 'GoldScales' could not be found
(are you missing a using directive or an assembly reference?)
+ Customs/Modified Distro/[2.0]OreInfo.cs:
CS0246: Line 881: The type or namespace name 'CopperScales' could not be fou
nd (are you missing a using directive or an assembly reference?)
CS0246: Line 882: The type or namespace name 'SilverScales' could not be fou
nd (are you missing a using directive or an assembly reference?)
CS0246: Line 883: The type or namespace name 'GoldScales' could not be found
(are you missing a using directive or an assembly reference?)
+ Customs/Modified Distro/[2.0]Spell.cs:
CS0246: Line 257: The type or namespace name 'SpellCastersKey' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 257: The type or namespace name 'SpellCastersKey' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 257: The type or namespace name 'SpellCastersKey' 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 Arwen_NightHawk; 07-25-2006 at 08:00 PM. |
|
|
|
|
|
#17 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
Quote:
Your script has Gold, Copper and Silver Scales. This system doesn't have that. It is for 2.0 not SVN. You will have to deal with those edits on your own til I get the time to update this for SVN. When I make an update for SVN I am going to make the custom resources TOTALLY CUSTOM. Meaning you can name the resources and ore to anything you want including your own choice of hues with one lil edit. Your AOS: Has a reference to the FSB or TomeOfKnowledge which is in my All Spells System. You will have to comment that out. Your Hair.cs: Must be missing these types of hairs. Here is the file:
__________________
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:
|
|
|
|
|
|
|
#18 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
Quote:
A_Li_N - Completely Custom {Alpha} But don't use Alien's scripts cause they are not updated yet. Use the ones I provide you with.
__________________
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:
|
|
|
|
|
|
|
#19 (permalink) |
|
Newbie
|
I get a crash as follows
Code:
Server Crash Report =================== RunUO Version 2.0, Build 2357.32527 Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2 .NET Framework: 2.0.50727.42 Time: 7/25/2006 9:24:53 PM Mobiles: 4605 Items: 158530 Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Server.Engines.Harvest.Lumberjacking..ctor() at Server.Items.BaseAxe.get_HarvestSystem() at Server.Items.BaseAxe.OnDoubleClick(Mobile from) at Server.Mobile.Use(Item item) at Server.Network.PacketHandlers.UseReq(NetState state, PacketReader pvSrc) at Server.Network.MessagePump.HandleReceive(NetState ns) at Server.Network.MessagePump.Slice() at Server.Core.Main(String[] args) Code:
/*
-<>>--<<>>--<0>>--<< <<2005>> >>--<<0>--<<>>--<<>-
| ____________________________ |
| -=(_)__________________________)=- |
| \_ All Crafts 1.0.0 _\ |
| \_ ------------------- _\ |
| ) Created By: ) |
| /_ Sirsly & Lucid Nagual _/ |
| _/__________________________/ |
| -=(_)__________________________)=- |
| |
-<>>-<< Based off of Daat99's OWLTR system >>-<<>-
*/
using System;
using Server;
using Server.Items;
//--<<OWLTR Edits>>-------------------[Start]
using Server.Mobiles;
using Server.Targeting;
using Server.daat99;
//--<<OWLTR Edits>>-------------------[End]
namespace Server.Engines.Harvest
{
public class Lumberjacking : HarvestSystem
{
//--<<OWLTR Edits>>-------------------[Start]
public override HarvestVein MutateVein( Mobile from, Item tool, HarvestDefinition def, HarvestBank bank, object toHarvest, HarvestVein vein )
{
if ( tool is GargoylesAxe )
{
int veinIndex = Array.IndexOf( def.Veins, vein );
if ( veinIndex >= 0 && veinIndex < (def.Veins.Length - 1) )
return def.Veins[veinIndex + 1];
}
return base.MutateVein( from, tool, def, bank, toHarvest, vein );
}
private static int[] m_Offsets = new int[]
{
-1, -1,
-1, 0,
-1, 1,
0, -1,
0, 1,
1, -1,
1, 0,
1, 1
};
public override void OnHarvestFinished( Mobile from, Item tool, HarvestDefinition def, HarvestVein vein, HarvestBank bank, HarvestResource resource, object harvested, Type type )
{
if ( tool is GargoylesAxe && 0.1 < Utility.RandomDouble() )
{
HarvestResource res = vein.PrimaryResource;
Map map = from.Map;
if ( map == null )
return;
BaseCreature spawned = null;
int i_Level = 0;
if (Daat99OWLTR.Ops[2].Setting)
{
if (type == typeof(Log)) i_Level = 300;
else if (type == typeof(PineLog)) i_Level = 301;
else if (type == typeof(AshLog)) i_Level = 302;
else if (type == typeof(MohoganyLog)) i_Level = 303;
else if (type == typeof(YewLog)) i_Level = 304;
else if (type == typeof(OakLog)) i_Level = 305;
else if (type == typeof(ZircoteLog)) i_Level = 306;
else if (type == typeof(EbonyLog)) i_Level = 307;
else if (type == typeof(BambooLog)) i_Level = 308;
else if (type == typeof(PurpleHeartLog)) i_Level = 309;
else if (type == typeof(RedwoodLog)) i_Level = 310;
else if (type == typeof(PetrifiedLog)) i_Level = 311;
}
else if ( res == resource )
{
try
{
i_Level = Array.IndexOf( def.Veins, vein ) + 300;
}
catch
{
}
}
if (i_Level > 299 && Daat99OWLTR.Ops[15].Setting)
GiveTokens.RewardTokens(from, (i_Level - 299)*10);
if (i_Level > 300)
spawned = new Elementals(i_Level);
if (i_Level > 308)
spawned = new GradeAReaper();
else
spawned = null;
try
{
if ( spawned != null )
{
int offset = Utility.Random( 8 ) * 2;
for ( int i = 0; i < m_Offsets.Length; i += 2 )
{
int x = from.X + m_Offsets[(offset + i) % m_Offsets.Length];
int y = from.Y + m_Offsets[(offset + i + 1) % m_Offsets.Length];
if ( map.CanSpawnMobile( x, y, from.Z ) )
{
spawned.MoveToWorld( new Point3D( x, y, from.Z ), map );
spawned.Combatant = from;
return;
}
else
{
int z = map.GetAverageZ( x, y );
if ( map.CanSpawnMobile( x, y, z ) )
{
spawned.MoveToWorld( new Point3D( x, y, z ), map );
spawned.Combatant = from;
return;
}
}
}
spawned.MoveToWorld( from.Location, from.Map );
spawned.Combatant = from;
}
}
catch
{
}
}
//--<<OWLTR Edits>>-------------------[End]
//////////////////////////////////
// Lucid's HB Addon 1/1 //
//////////////////////////////////
if ( tool is SturdyLumberjackAxe && 0.05 < Utility.RandomDouble() )
{
if ( from.Skills[SkillName.Lumberjacking].Base >= 100 )
{
Container pack = from.Backpack;
pack.DropItem( new GradeALog( Utility.RandomMinMax( 3, 5 ) ) );
from.SendMessage( "Congrats! You have successfully extracted some Grage A logs." );
}
else if ( from.Skills[SkillName.Lumberjacking].Base >= 110 )
{
Container pack = from.Backpack;
pack.DropItem( new GradeALog( Utility.RandomMinMax( 6, 8 ) ) );
from.SendMessage( "Congrats! You have successfully extracted some Grage A logs." );
}
else if ( from.Skills[SkillName.Lumberjacking].Base >= 120 )
{
Container pack = from.Backpack;
pack.DropItem( new GradeALog( Utility.RandomMinMax( 9, 12 ) ) );
from.SendMessage( "Congrats! You have successfully extracted some Grage A logs." );
}
else
return;
}
if ( tool is SturdyAxe && 0.05 < Utility.RandomDouble() )
{
if ( from.Skills[SkillName.Lumberjacking].Base >= 100 )
{
Container pack = from.Backpack;
pack.DropItem( new GradeALog( Utility.RandomMinMax( 3, 5 ) ) );
from.SendMessage( "Congrats! You have successfully extracted some Grage A logs." );
}
else if ( from.Skills[SkillName.Lumberjacking].Base >= 110 )
{
Container pack = from.Backpack;
pack.DropItem( new GradeALog( Utility.RandomMinMax( 6, 8 ) ) );
from.SendMessage( "Congrats! You have successfully extracted some Grage A logs." );
}
else if ( from.Skills[SkillName.Lumberjacking].Base >= 120 )
{
Container pack = from.Backpack;
pack.DropItem( new GradeALog( Utility.RandomMinMax( 9, 12 ) ) );
from.SendMessage( "Congrats! You have successfully extracted some Grage A logs." );
}
else
return;
}
if ( tool is GargoylesAxe && 0.05 < Utility.RandomDouble() )
{
if ( from.Skills[SkillName.Lumberjacking].Base >= 100 )
{
Container pack = from.Backpack;
pack.DropItem( new GradeALog( Utility.RandomMinMax( 6, 8 ) ) );
from.SendMessage( "Congrats! You have successfully extracted some Grage A logs." );
}
else if ( from.Skills[SkillName.Lumberjacking].Base >= 110 )
{
Container pack = from.Backpack;
pack.DropItem( new GradeALog( Utility.RandomMinMax( 9, 12 ) ) );
from.SendMessage( "Congrats! You have successfully extracted some Grage A logs." );
}
else if ( from.Skills[SkillName.Lumberjacking].Base >= 120 )
{
Container pack = from.Backpack;
pack.DropItem( new GradeALog( Utility.RandomMinMax( 13, 15 ) ) );
from.SendMessage( "Congrats! You have successfully extracted some Grage A logs." );
}
else
return;
}
//////////////////////////////////
// End Edit 1/1 //
//////////////////////////////////
}
private static Lumberjacking m_System;
public static Lumberjacking System
{
get
{
if ( m_System == null )
m_System = new Lumberjacking();
return m_System;
}
}
private HarvestDefinition m_Definition;
public HarvestDefinition Definition
{
get{ return m_Definition; }
}
private Lumberjacking()
{
HarvestResource[] res;
HarvestVein[] veins;
#region Lumberjacking
HarvestDefinition lumber = new HarvestDefinition();
// Resource banks are every 4x3 tiles
lumber.BankWidth = 4;
lumber.BankHeight = 3;
// Every bank holds from 20 to 45 logs
lumber.MinTotal = 20;
lumber.MaxTotal = 45;
// A resource bank will respawn its content every 20 to 30 minutes
lumber.MinRespawn = TimeSpan.FromMinutes( 20.0 );
lumber.MaxRespawn = TimeSpan.FromMinutes( 30.0 );
// Skill checking is done on the Lumberjacking skill
lumber.Skill = SkillName.Lumberjacking;
// Set the list of harvestable tiles
lumber.Tiles = m_TreeTiles;
// Players must be within 2 tiles to harvest
lumber.MaxRange = 2;
// Ten logs per harvest action
lumber.ConsumedPerHarvest = 10;
lumber.ConsumedPerFeluccaHarvest = 20;
// The chopping effect
lumber.EffectActions = new int[]{ 13 };
lumber.EffectSounds = new int[]{ 0x13E };
lumber.EffectCounts = new int[]{ 1, 2, 2, 2, 3 };
lumber.EffectDelay = TimeSpan.FromSeconds( 1.6 );
lumber.EffectSoundDelay = TimeSpan.FromSeconds( 0.9 );
lumber.NoResourcesMessage = 500493; // There's not enough wood here to harvest.
lumber.FailMessage = 500495; // You hack at the tree for a while, but fail to produce any useable wood.
lumber.OutOfRangeMessage = 500446; // That is too far away.
lumber.PackFullMessage = 500497; // You can't place any wood into your backpack!
lumber.ToolBrokeMessage = 500499; // You broke your axe.
//--<<OWLTR Edits>>-------------------[Start]
res = new HarvestResource[]
{
new HarvestResource( 00.0, 00.0, 95.0, "You put some Regular logs in your backpack", typeof( Log ) ),
new HarvestResource( 20.0, 10.0, 100.0, "You put some Pine logs in your backpack", typeof( PineLog ) ),
new HarvestResource( 30.0, 20.0, 105.0, "You put some Ash logs in your backpack", typeof( AshLog ) ),
new HarvestResource( 40.0, 30.0, 110.0, "You put some Mohogany logs in your backpack", typeof( MohoganyLog ) ),
new HarvestResource( 50.0, 40.0, 115.0, "You put some Yew logs in your backpack", typeof( YewLog ) ),
new HarvestResource( 60.0, 50.0, 120.0, "You put some Oak logs in your backpack", typeof( OakLog ) ),
new HarvestResource( 70.0, 60.0, 125.0, "You put some Zircote logs in your backpack", typeof( ZircoteLog ) ),
new HarvestResource( 80.0, 70.0, 130.0, "You put some Ebony logs in your backpack", typeof( EbonyLog ) ),
new HarvestResource( 90.0, 80.0, 135.0, "You put some Bamboo logs in your backpack", typeof( BambooLog ) ),
new HarvestResource( 100.0, 90.0, 140.0, "You put some Purple Heart logs in your backpack", typeof( PurpleHeartLog ) ),
new HarvestResource( 110.0, 100.0, 145.0, "You put some Redwood logs in your backpack", typeof( RedwoodLog ) ),
new HarvestResource( 119.0, 110.0, 150.0, "You put some Petrified logs in your backpack", typeof( PetrifiedLog ) )
//new HarvestResource( 00.0, 00.0, 100.0, "You put some Clay in your backpack", typeof( Clay ))
};
veins = new HarvestVein[]
{
new HarvestVein( 34.0, 0.0, res[0], null ), // this line should replace the original line
new HarvestVein( 11.0, 0.5, res[1], res[0] ), // Pine
new HarvestVein( 10.0, 0.5, res[2], res[0] ), // Ash
new HarvestVein( 09.0, 0.5, res[3], res[0] ), // Mohogany
new HarvestVein( 08.0, 0.5, res[4], res[0] ), // Yew
new HarvestVein( 07.0, 0.5, res[5], res[0] ), // Oak
new HarvestVein( 06.0, 0.5, res[6], res[0] ), // Zircote
new HarvestVein( 05.0, 0.5, res[7], res[0] ), // Ebony
new HarvestVein( 04.0, 0.5, res[8], res[0] ), // Bamboo
new HarvestVein( 03.0, 0.5, res[9], res[0] ), // Purple Heart
new HarvestVein( 02.0, 0.5, res[10], res[0] ), // Redwood
new HarvestVein( 01.0, 0.5, res[11], res[0] ), // Petrified
new HarvestVein( 30.0, 0.0, res[12], null ) //Clay
};
//--<<OWLTR Edits>>-------------------[End]
lumber.Resources = res;
lumber.Veins = veins;
m_Definition = lumber;
Definitions.Add( lumber );
#endregion
}
public override bool CheckHarvest( Mobile from, Item tool )
{
if ( !base.CheckHarvest( from, tool ) )
return false;
if ( tool.Parent != from )
{
from.SendLocalizedMessage( 500487 ); // The axe must be equipped for any serious wood chopping.
return false;
}
return true;
}
public override bool CheckHarvest( Mobile from, Item tool, HarvestDefinition def, object toHarvest )
{
if ( !base.CheckHarvest( from, tool, def, toHarvest ) )
return false;
if ( tool.Parent != from )
{
from.SendLocalizedMessage( 500487 ); // The axe must be equipped for any serious wood chopping.
return false;
}
return true;
}
public override void OnBadHarvestTarget( Mobile from, Item tool, object toHarvest )
{
from.SendLocalizedMessage( 500489 ); // You can't use an axe on that.
}
public static void Initialize()
{
Array.Sort( m_TreeTiles );
}
#region Tile lists
private static int[] m_TreeTiles = new int[]
{
0x4CCA, 0x4CCB, 0x4CCC, 0x4CCD, 0x4CD0, 0x4CD3, 0x4CD6, 0x4CD8,
0x4CDA, 0x4CDD, 0x4CE0, 0x4CE3, 0x4CE6, 0x4CF8, 0x4CFB, 0x4CFE,
0x4D01, 0x4D41, 0x4D42, 0x4D43, 0x4D44, 0x4D57, 0x4D58, 0x4D59,
0x4D5A, 0x4D5B, 0x4D6E, 0x4D6F, 0x4D70, 0x4D71, 0x4D72, 0x4D84,
0x4D85, 0x4D86, 0x52B5, 0x52B6, 0x52B7, 0x52B8, 0x52B9, 0x52BA,
0x52BB, 0x52BC, 0x52BD,
0x4CCE, 0x4CCF, 0x4CD1, 0x4CD2, 0x4CD4, 0x4CD5, 0x4CD7, 0x4CD9,
0x4CDB, 0x4CDC, 0x4CDE, 0x4CDF, 0x4CE1, 0x4CE2, 0x4CE4, 0x4CE5,
0x4CE7, 0x4CE8, 0x4CF9, 0x4CFA, 0x4CFC, 0x4CFD, 0x4CFF, 0x4D00,
0x4D02, 0x4D03, 0x4D45, 0x4D46, 0x4D47, 0x4D48, 0x4D49, 0x4D4A,
0x4D4B, 0x4D4C, 0x4D4D, 0x4D4E, 0x4D4F, 0x4D50, 0x4D51, 0x4D52,
0x4D53, 0x4D5C, 0x4D5D, 0x4D5E, 0x4D5F, 0x4D60, 0x4D61, 0x4D62,
0x4D63, 0x4D64, 0x4D65, 0x4D66, 0x4D67, 0x4D68, 0x4D69, 0x4D73,
0x4D74, 0x4D75, 0x4D76, 0x4D77, 0x4D78, 0x4D79, 0x4D7A, 0x4D7B,
0x4D7C, 0x4D7D, 0x4D7E, 0x4D7F, 0x4D87, 0x4D88, 0x4D89, 0x4D8A,
0x4D8B, 0x4D8C, 0x4D8D, 0x4D8E, 0x4D8F, 0x4D90, 0x4D95, 0x4D96,
0x4D97, 0x4D99, 0x4D9A, 0x4D9B, 0x4D9D, 0x4D9E, 0x4D9F, 0x4DA1,
0x4DA2, 0x4DA3, 0x4DA5, 0x4DA6, 0x4DA7, 0x4DA9, 0x4DAA, 0x4DAB,
0x52BE, 0x52BF, 0x52C0, 0x52C1, 0x52C2, 0x52C3, 0x52C4, 0x52C5,
0x52C6, 0x52C7
};
#endregion
}
}
|
|
|
|
|
|
#20 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
Quote:
I'm thinking of coming out with a MegaPack which would contain all of my systems. That system would have a PlayerModule that would hold most of the modules all in one unit and would act like a PlayerMobile.
__________________
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
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
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:
|
|
|
|
|
|
|
#23 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
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:
|
|
|
|
|
|
|
#25 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 38
Posts: 3,508
|
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:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|