Errors:
+ Customs/FS-ATS Gen2 v2.0.0/Bio Enginering/DNA System/Mobiles/Old Stuff/BaseBioCreature.cs:
CS0118: Line 814: Cannot implicitly convert type 'Server.IDamageable' to 'Server.Mobile'. An explicit conversion exists (are you missing a cast?)
+ Customs/FS-ATS Gen2 v2.0.0/Bio Enginering/DNA System/Mobiles/Old Stuff/BBC.cs:
CS0266: Line 227: Cannot implicitly convert type 'Server.IDamageable' to 'Server.Mobile'. An explicit conversion exists (are you missing a cast?)
+ Customs/FS-ATS Gen2 v2.0.0/Bio Enginering/DNA System/Mobiles/BioCreature.cs:
CS0266: Line 214: Cannot implicitly convert type 'Server.IDamageable' to 'Server.Mobile'. An explicit conversion exists (are you missing a cast?)
+ Customs/FS-ATS Gen2 v2.0.0/Bio Enginering/DNA System/Mobiles/BioMount.cs:
CS0266: Line 218: Cannot implicitly convert type 'Server.IDamageable' to 'Server.Mobile'. An explicit conversion exists (are you missing a cast?)
Scripts: One or more scripts failed to compile or no script files were found.
 
Errors:
+ Customs/FS-ATS Gen2 v2.0.0/Bio Enginering/DNA System/Mobiles/Old Stuff/BaseBioCreature.cs:
CS1061: Line 841: 'Server.IDamageable' does not contain a definition for 'FixedParticles' and no extension method 'FixedParticles' accepting a first argument of type 'Server.IDamageable' could be found (are you missing a using directive or an assembly reference?)
CS1061: Line 842: 'Server.IDamageable' does not contain a definition for 'FixedParticles' and no extension method 'FixedParticles' accepting a first argument of type 'Server.IDamageable' could be found (are you missing a using directive or an assembly reference?)
CS1061: Line 933: 'Server.IDamageable' does not contain a definition for 'FixedParticles' and no extension method 'FixedParticles' accepting a first argument of type 'Server.IDamageable' could be found (are you missing a using directive or an assembly reference?)
CS1061: Line 934: 'Server.IDamageable' does not contain a definition for 'FixedParticles' and no extension method 'FixedParticles' accepting a first argument of type 'Server.IDamageable' could be found (are you missing a using directive or an assembly reference?)
 
got it working the lines where he was having the issue with after changing it over to the new IDAmageable only had to remove a few refrences to from. infront of the Fixedparticles and it compiled clean and is working

:) just took me a bit had to get the FS ATS installed in my code so i could see exacly what was going on with it LOL
 
I been having problems with Custom regions in a box ,
Have tried a lot of things just cant get it working like most of the scripts i changed.
any help would be very helpful.

Here is the file


public override bool AllowBeneficial(Mobile from, Mobile target)
{
if ((!m_Controller.AllowBenefitPlayer && target is PlayerMobile) || (!m_Controller.AllowBenefitNPC && target is BaseCreature))
{
from.SendMessage("You cannot perform benificial acts on your target.");
return false;
}
 

Attachments

  • CustomRegion.cs
    14.9 KB · Views: 8
Sorry
[[[[[[[[[[[[[[[[[[[[[[[[[
+ Custoum/systems/Custom Regions in a Box/CustomRegion.cs:
CS0115: Line 233: 'Server.Regions.CustomRegion.AllowHarmful(Server.IDamageable, Server.Mobile)': no suitable method found to override
+ Custoum/systems/JailSystem/HoldingCell.cs:
CS0115: Line 23: 'Server.Regions.HoldingCell.AllowHarmful(Server.Mobile, Server.Mobile)': no suitable method found to override
CS0115: Line 54: 'Server.Regions.HoldingCell.OnCombatantChange(Server.Mobile, Server.Mobile, Server.Mobile)': no suitable method found 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.
[[[[[[[[[[[[[[[[[[[[[[[
 
looks like
AllowHarmful(IDamageable from, Mobile target)
should be
AllowHarmful(Mobile from, IDamageable target)

theyre switched which is why its saying theres no method to override

change for customregion.cs and holdingcell.cs

OnCombatantChange(Server.Mobile, Server.Mobile, Server.Mobile)
should be
OnCombatantChange(Mobile from, IDamageable Old, IDamageable New)
 
TY that worked and oh boy the scripts i got messed up lol. This is going to be painfull.
[doublepost=1481050974][/doublepost]Ok got another one that has 24 errors just like it

/////////////////
public override void OnActionCombat()
{
Mobile combatant = Combatant;

if ( combatant == null || combatant.Deleted || combatant.Map != Map || !InRange( combatant, 12 ) || !CanBeHarmful( combatant ) || !InLOS( combatant ) )
return;

if ( DateTime.Now >= m_NextBreathe )
{
Breathe( combatant );

m_NextBreathe = DateTime.Now + TimeSpan.FromSeconds( 12.0 + (3.0 * Utility.RandomDouble()) ); // 12-15 seconds
}
}

////////////////////////////////

error message :
Errors:
+ Custoum/Evo/Evolution Dragon (No Tokens)/AncientDragon.cs:
CS0266: Line 99: Cannot implicitly convert type 'Server.IDamageable' to 'Server.Mobile'.
 
Back