View Single Post
Old 06-24-2006, 12:28 AM   #4 (permalink)
ArteGordon
Master of the Internet
 
Join Date: Aug 2003
Posts: 5,688
Default

Quote:
Originally Posted by Lord Neo
Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Core: Running with arguments: -debug
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)

Errors:
 + 1Custom/XmlPoints-20-v124-1of2/XmlAttachments/XmlPoints.cs:
    CS0104: Line 1364: 'Jail' is an ambiguous reference between 'Server.Regions.Jail' and 'Server.Commands.Jail'
    CS0104: Line 1364: 'Jail' is an ambiguous reference between 'Server.Regions.Jail' and 'Server.Commands.Jail'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.



Code:
			if (Region.Find(from.Location, from.Map) is Jail || Region.Find(target.Location, target.Map) is Jail) return false;
I have the Jail system from this link installed,

Jail System

I removed it and the errors went away and compiled. I do however need a Jail system, is there away around this Arte?
I'm sure other people will be using the same systems as well. Thanks for the Great Scripts.
just make the Jail reference explicit, like this

if (Region.Find(from.Location, from.Map) is Server.Regions.Jail || Region.Find(target.Location, target.Map) is Server.Regions.Jail) return false;
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. "

For questions, information, and support for XmlSpawner and its addons, visit the
XmlSpawner Support Forum
ArteGordon is offline