Full Version : XMLMobFactions
xmlspawner >>XMLMobFactions Troubleshooting >>XMLMobFactions


<< Prev | Next >>

Hanse of DL- 07-09-2006
After installing the factions and rebooting, I have this error:

RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors)
Errors:
+ Customs/XmlMobFactions_20_v106a/XmlAttachments/XmlMobFactions.cs:
CS0246: Line 92: The type or namespace name 'Blackthorn' could not be found
(are you missing a using directive or an assembly reference?)
CS0246: Line 102: The type or namespace name 'Sphynx' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0246: Line 133: The type or namespace name 'AcidElemental' could not be fo
und (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.

I am totally stumped, what did I do wrong?

ArteGordon- 07-13-2006
those are mobiles that you dont have scripted on your server so you will need to take them out of these lists in xmlmobfactions.cs

QUOTE

  private static Type[] HumanoidMembers =
  new Type[]
    {
    typeof( Ogre ), typeof( OgreLord ), typeof( ArcticOgreLord ),typeof( Orc ), typeof( OrcishMage ),
    typeof( OrcishLord ), typeof( OrcBrute ), typeof( OrcBomber ), typeof( OrcCaptain ), typeof( Troll ),
    typeof( Cyclops ), typeof( Titan ), typeof( Juggernaut ), typeof( JukaMage ), typeof( JukaLord ),
    typeof( JukaWarrior ), typeof( Blackthorn ), typeof( Betrayer ), typeof( Ettin ), typeof( Ratman ),
    typeof( RatmanMage ), typeof( RatmanArcher )
    };

  private static Type[] UndeadMembers =
  new Type[]
    {
    typeof( AncientLich ), typeof( Bogle ), typeof( BoneMagi ), typeof( Lich ), typeof( LichLord ),
    typeof( Shade ), typeof( Spectre ), typeof( Wraith ), typeof( BoneKnight ), typeof( Ghoul ),
    typeof( Mummy ), typeof( SkeletalKnight ), typeof( Skeleton ), typeof( Zombie ), typeof(Succubus),
    typeof( SkeletalMage), typeof( RottingCorpse ), /* CUSTOM MOB */ typeof( Sphynx )
    };


and the same for the acid elemental a little further down in the ElementalMembers list.

HellRazor- 02-03-2007
Arte,

I get the same thing on a clean RunUO install of the latest SVN.

These don't appear to be in the RunUO distro so I recommend you comment these lines out of the release.

- HR

ArteGordon- 02-05-2007
yeah, thanks. I accidentally left those in the last release. They are custom mobs. I'll try to remember to comment them out for the next one.