CODE |
using System; using Server.Network; using Server.Items; namespace Server.Items { public class MelisandesCorrodedHatchet : Hatchet { public override int LabelNumber{ get{ return 1072115; } } // Melisande's Corroded Hatchet [Constructable] public MelisandesCorrodedHatchet() { Hue = 0x494; SkillBonuses.SetValues( 0, SkillName.Lumberjacking, 5.0 ); Attributes.SpellChanneling = 1; Attributes.WeaponSpeed = 15; Attributes.WeaponDamage = -50; WeaponAttributes.SelfRepair = 4; } public MelisandesCorrodedHatchet( Serial serial ) : base( serial ) { } public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.WriteEncodedInt( 0 ); // version } public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadEncodedInt(); } } } |
CODE |
using System; using Server; using Server.Items; namespace Server.Mobiles { [CorpseName( "a master mikael corpse" )] public class MasterMikael : BaseCreature { [Constructable] public MasterMikael() : base( AIType.AI_Necromage, FightMode.Closest, 10, 1, 0.015, 0.075 ) { Name = "a master mikael"; Hue = 0x8FD; Body = 0x94; BaseSoundID = 0x1C3; |
CODE |
RunUO - [www.runuo.com] Version 2.0, Build 2870.7162 Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...failed (7 errors, 0 warnings) Errors: + Engines/AI/Creature/BaseCreature.cs: CS0117: Line 2030: 'Server.Mobiles.AIType' does not contain a definition for 'AI_Necromage' + Customs/blacklich.cs: CS0117: Line 13: 'Server.Mobiles.AIType' does not contain a definition for ' AI_Necromage' + Mondain's Legacy/Items/Talismans/BaseTalisman.cs: CS0122: Line 903: 'Server.Spells.Fifth.MagicReflectSpell.m_Table' is inacces sible due to its protection level CS0122: Line 922: 'Server.Spells.First.ReactiveArmorSpell.m_Table' is inacce ssible due to its protection level CS0122: Line 941: 'Server.Spells.Second.ProtectionSpell.m_Table' is inaccess ible due to its protection level + Mondain's Legacy/Mobiles/Bedlam/MasterJonath.cs: CS0117: Line 11: 'Server.Mobiles.AIType' does not contain a definition for ' AI_Necromage' + Mondain's Legacy/Mobiles/Bedlam/MasterMikael.cs: CS0117: Line 11: 'Server.Mobiles.AIType' does not contain a definition for ' AI_Necromage' + Mondain's Legacy/Mobiles/Bedlam/MasterTheophilus.cs: CS0117: Line 11: 'Server.Mobiles.AIType' does not contain a definition for ' AI_Necromage' + Mondain's Legacy/Mobiles/Blighted Grove/LadyMelisande.cs: CS0117: Line 17: 'Server.Mobiles.AIType' does not contain a definition for ' AI_Necromage' Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. |
QUOTE (Neuton @ November 11, 2007 12:04 pm) |
Ahh ok duh, so it is important to keep the caps the same when ever you spell. I also downloaded a server.zip that Mal had posted and compared his copy to mine, so I reverted back alot of the changes I did because I followed milkman's instruction; however since they are older they are not compatible with the latest svn I believe. Plus he also had AINecro in hi copy and Mal removed them from his, after I did the changes it compiled fine. A question since its hard to find what exactly is included with the latest svn, the ML stuff in it does it come already with the peerless items that Milkman added and can I just use his peerless map with the svn or do I need to find a way to incorporate his files as well? |