gametec

Member
Was curious if anyone could assist me in fixing these issues... :)

Warnings:
+ Content/Systems/UltimaLive/SystemAddon/TunnelingSystem/MineMapParsing.cs:
CS0219: Line 51: The variable 'z' is assigned but its value is never used
Errors:
+ Content/Systems/UltimaLive/SystemAddon/TunnelingSystem/Holes.cs:
CS0118: Line 179: 'Server.Items.Facing' is a 'type' but is used like a 'vari
able'

Error: Holes.cs Line 179:

Facing = facing;

Code:
public Hole(Point3D pointDest, Map mapDest, Direction facing, bool up) : base( pointDest, mapDest, false )
{
	Active = true;
	Facing = facing;
	Up = up;
	Name = "Hole";
}

Warning: MineMapParsing.cs Line 179

int z = 0;


Code:
public static void ParseMap(int index, int mines, int levels)
{
	if(Infos.ContainsKey(index))
		return;
			
	Map map = Map.Maps[index];
			
	if(map!=null)
	{
		Utility.PushColor(ConsoleColor.Cyan);
		Console.WriteLine("Parsing map "+map.Name+" for mines...");
		Utility.PopColor();
				
	 int x = Border;
		int y = Border;
		int z = 0;
				
		#region Sanity
		if(mines<1)mines=1;
		if(levels<1)levels=1;
		if(mines>50)mines=50;
		if(levels>50)levels=50;
	 #endregion
				
		string name = map.Name;
				
		Rectangle2D[] m_Areas;
				
		int width = (map.Width-(Border*mines))/mines;
		int height = (map.Height-(Border*levels))/levels;
				
		Dictionary<int,List<DeepMineRegion>> regions = new Dictionary<int, List<DeepMineRegion>>();
 
One last thing for all of you wondering.... I had to use a French to English translator for this:

In Tunneling.cs - the French phrase on line: 294 ... can be translated to read this:

Code:
from.SendMessage("The rock becomes too hard in that direction...");
 
Last edited:
I really don't figure out how I could release that unfinsih version^^ Mine compiles for a while...

I merge you translation, and release a fresh copy.

Thank you.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back