Yvan Major
Member
Something wrong about this "ArrayList" wich give me an error compiling script.
This is the error i am getting while loading, my Windows is in french, maybe why some texts are in french.
Thanks for any help!
Code:
#region FS:ATS Edits
if ( FSATS.EnablePetLeveling == true )
{
ArrayList toCheck = new ArrayList();
List<DamageEntry> rights = this.DamageEntries;
foreach ( DamageEntry entry in rights )
{
if ( entry.Damager is BaseCreature )
{
BaseCreature bc = (BaseCreature)entry.Damager;
if ( bc.Controlled == true && bc.ControlMaster != null )
toCheck.Add( entry.Damager );
}
}
foreach ( Mobile mob in toCheck )
{
if ( mob is BaseCreature )
{
BaseCreature bc = (BaseCreature)mob;
PetLeveling.CheckLevel( this, bc, toCheck.Count );
}
}
}
#endregion
This is the error i am getting while loading, my Windows is in french, maybe why some texts are in french.
Code:
------------------------------------------------------------------------------------------------------------------------
ServUO - [https://www.servuo.com] Version 0.5, Build 6537.17055
Core: Optimizing for 4 64-bit processors
RandomImpl: CSPRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Failed with: 1 errors, 1 warnings
Warnings:
+ Services/Revamped Dungeons/Covetous Void Spawn/Creatures/CovetousCreature.cs:
CS0108: Line 13: 'Server.Mobiles.CovetousCreature.Level' masque le membre hérité 'Server.Mobiles.BaseCreature.Level'. Utilisez le mot clé new si le masquage est intentionnel.
Errors:
+ Mobiles/Normal/BaseCreature.cs:
CS0246: Line 6004: Le type ou le nom d'espace de noms 'ArrayList' est introuvable (une directive using ou une référence d'assembly est-elle manquante ?)
CS0246: Line 6004: Le type ou le nom d'espace de noms 'ArrayList' est introuvable (une directive using ou une référence d'assembly est-elle manquante ?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Thanks for any help!