• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
I finnaly got to the my core problem an error in the map extractor i didn't see at first (i think)...

Code:
Log of MapExtractor v1.0.1.0
Logging started at: 16-07-2008 12:03:44 UTC

Successfully reached start
Since there were no arguments, doing default extract
Extracting from command -extract
Successfully created default images.txt
Extracting images with following parameters: OffsetX=0 OffsetY=0 ImageSizeX=117 ImageSizeY=45 NumImagesX=8 NumImagesY=8
Loading lightmap at C:\Spil\Paradox Interactive\Cold War Mod\\map
Lightmap1 successfully loaded.
Lightmap1 tile data successfully loaded
Doing the following image: Offset=(0,90), Size=(117,45)
Doing the following image: Offset=(0,0), Size=(117,45)
Doing the following image: Offset=(0,135), Size=(117,45)
Doing the following image: Offset=(0,45), Size=(117,45)
Extracting grayscale of (0,90), Size=(117,45)
Extracting grayscale of (0,135), Size=(117,45)
Extracting grayscale of (0,45), Size=(117,45)
Extracting grayscale of (0,0), Size=(117,45)
Extracting ownership image of (0,90), Size=(117,45)
Extracting tile image of (0,90), Size=(117,45)
Extracting ownership image of (0,135), Size=(117,45)
Extracting ownership image of (0,45), Size=(117,45)
Extracting tile image of (0,135), Size=(117,45)
Extracting tile image of (0,45), Size=(117,45)
Extracting border image of (0,90), Size=(117,45)
Done doing the following image: Offset=(0,90), Size=(117,45)
Doing the following image: Offset=(0,180), Size=(117,45)
Extracting grayscale of (0,180), Size=(117,45)
Extracting ownership image of (0,0), Size=(117,45)
Extracting border image of (0,135), Size=(117,45)
Done doing the following image: Offset=(0,135), Size=(117,45)
Doing the following image: Offset=(0,225), Size=(117,45)
Extracting grayscale of (0,225), Size=(117,45)
Extracting border image of (0,45), Size=(117,45)
Done doing the following image: Offset=(0,45), Size=(117,45)
Doing the following image: Offset=(0,270), Size=(117,45)
Extracting grayscale of (0,270), Size=(117,45)
Extracting tile image of (0,0), Size=(117,45)
Extracting ownership image of (0,180), Size=(117,45)
Extracting tile image of (0,180), Size=(117,45)
Extracting border image of (0,0), Size=(117,45)
Extracting ownership image of (0,225), Size=(117,45)
Done doing the following image: Offset=(0,0), Size=(117,45)
Doing the following image: Offset=(0,315), Size=(117,45)
Extracting grayscale of (0,315), Size=(117,45)
Extracting tile image of (0,225), Size=(117,45)
Extracting ownership image of (0,270), Size=(117,45)
Extracting border image of (0,180), Size=(117,45)
Done doing the following image: Offset=(0,180), Size=(117,45)
Doing the following image: Offset=(117,0), Size=(117,45)
Extracting grayscale of (117,0), Size=(117,45)
Extracting ownership image of (0,315), Size=(117,45)
Extracting tile image of (0,270), Size=(117,45)
Extracting tile image of (0,315), Size=(117,45)
Extracting border image of (0,225), Size=(117,45)
Done doing the following image: Offset=(0,225), Size=(117,45)
Doing the following image: Offset=(117,45), Size=(117,45)
Extracting grayscale of (117,45), Size=(117,45)
Extracting border image of (0,270), Size=(117,45)
Done doing the following image: Offset=(0,270), Size=(117,45)
Doing the following image: Offset=(117,90), Size=(117,45)
Extracting grayscale of (117,90), Size=(117,45)
Extracting border image of (0,315), Size=(117,45)
Done doing the following image: Offset=(0,315), Size=(117,45)
Doing the following image: Offset=(117,135), Size=(117,45)
Extracting grayscale of (117,135), Size=(117,45)
Extracting ownership image of (117,0), Size=(117,45)
Extracting tile image of (117,0), Size=(117,45)
Extracting border image of (117,0), Size=(117,45)
Done doing the following image: Offset=(117,0), Size=(117,45)
Doing the following image: Offset=(117,180), Size=(117,45)
Extracting grayscale of (117,180), Size=(117,45)
Extracting ownership image of (117,180), Size=(117,45)
Extracting ownership image of (117,45), Size=(117,45)
Extracting tile image of (117,180), Size=(117,45)
Extracting ownership image of (117,90), Size=(117,45)
Extracting tile image of (117,45), Size=(117,45)
Extracting tile image of (117,90), Size=(117,45)
Extracting border image of (117,45), Size=(117,45)
Done doing the following image: Offset=(117,45), Size=(117,45)
Doing the following image: Offset=(117,225), Size=(117,45)
Extracting grayscale of (117,225), Size=(117,45)
Extracting ownership image of (117,135), Size=(117,45)
Extracting border image of (117,90), Size=(117,45)
Done doing the following image: Offset=(117,90), Size=(117,45)
Doing the following image: Offset=(117,270), Size=(117,45)
Extracting grayscale of (117,270), Size=(117,45)
Extracting border image of (117,180), Size=(117,45)
Done doing the following image: Offset=(117,180), Size=(117,45)
Doing the following image: Offset=(117,315), Size=(117,45)
Extracting grayscale of (117,315), Size=(117,45)
Extracting tile image of (117,135), Size=(117,45)
Extracting ownership image of (117,225), Size=(117,45)
Extracting ownership image of (117,270), Size=(117,45)
Extracting ownership image of (117,315), Size=(117,45)
Extracting tile image of (117,270), Size=(117,45)
Extracting tile image of (117,315), Size=(117,45)
Extracting tile image of (117,225), Size=(117,45)
Extracting border image of (117,135), Size=(117,45)
Done doing the following image: Offset=(117,135), Size=(117,45)
Doing the following image: Offset=(234,0), Size=(117,45)
Extracting grayscale of (234,0), Size=(117,45)
Extracting border image of (117,270), Size=(117,45)
Done doing the following image: Offset=(117,270), Size=(117,45)
Doing the following image: Offset=(234,45), Size=(117,45)
Extracting grayscale of (234,45), Size=(117,45)
Extracting border image of (117,315), Size=(117,45)
Done doing the following image: Offset=(117,315), Size=(117,45)
Doing the following image: Offset=(234,90), Size=(117,45)
Extracting grayscale of (234,90), Size=(117,45)
Extracting border image of (117,225), Size=(117,45)
Done doing the following image: Offset=(117,225), Size=(117,45)
Doing the following image: Offset=(234,135), Size=(117,45)
Extracting grayscale of (234,135), Size=(117,45)
Extracting ownership image of (234,90), Size=(117,45)
Extracting ownership image of (234,45), Size=(117,45)
Extracting tile image of (234,90), Size=(117,45)
Extracting ownership image of (234,0), Size=(117,45)
Extracting tile image of (234,45), Size=(117,45)
Extracting ownership image of (234,135), Size=(117,45)
Extracting border image of (234,90), Size=(117,45)
Done doing the following image: Offset=(234,90), Size=(117,45)
Doing the following image: Offset=(234,180), Size=(117,45)
Extracting grayscale of (234,180), Size=(117,45)
Extracting border image of (234,45), Size=(117,45)
Extracting tile image of (234,0), Size=(117,45)
Extracting tile image of (234,135), Size=(117,45)
Done doing the following image: Offset=(234,45), Size=(117,45)
Doing the following image: Offset=(234,225), Size=(117,45)
Extracting grayscale of (234,225), Size=(117,45)
Extracting border image of (234,135), Size=(117,45)
Done doing the following image: Offset=(234,135), Size=(117,45)
Doing the following image: Offset=(234,270), Size=(117,45)
Extracting grayscale of (234,270), Size=(117,45)
Extracting border image of (234,0), Size=(117,45)
Done doing the following image: Offset=(234,0), Size=(117,45)
Doing the following image: Offset=(234,315), Size=(117,45)
Extracting grayscale of (234,315), Size=(117,45)
Extracting ownership image of (234,225), Size=(117,45)
Extracting tile image of (234,225), Size=(117,45)
Extracting ownership image of (234,315), Size=(117,45)
Extracting ownership image of (234,270), Size=(117,45)
Extracting border image of (234,225), Size=(117,45)
Extracting tile image of (234,315), Size=(117,45)
Done doing the following image: Offset=(234,225), Size=(117,45)
Doing the following image: Offset=(351,0), Size=(117,45)
Extracting grayscale of (351,0), Size=(117,45)
Extracting tile image of (234,270), Size=(117,45)
Extracting border image of (234,315), Size=(117,45)
Done doing the following image: Offset=(234,315), Size=(117,45)
Doing the following image: Offset=(351,45), Size=(117,45)
Extracting grayscale of (351,45), Size=(117,45)
Extracting border image of (234,270), Size=(117,45)
Extracting ownership image of (234,180), Size=(117,45)
Done doing the following image: Offset=(234,270), Size=(117,45)
Doing the following image: Offset=(351,90), Size=(117,45)
Extracting grayscale of (351,90), Size=(117,45)
Extracting tile image of (234,180), Size=(117,45)
Extracting border image of (234,180), Size=(117,45)
Done doing the following image: Offset=(234,180), Size=(117,45)
Doing the following image: Offset=(351,135), Size=(117,45)
Extracting grayscale of (351,135), Size=(117,45)
Extracting ownership image of (351,0), Size=(117,45)
Extracting tile image of (351,0), Size=(117,45)
Extracting ownership image of (351,135), Size=(117,45)


#################################
An exception has occurred.
#################################
Exception: System.NullReferenceException
16-07-2008 12:06:10
Message: Object reference not set to an instance of an object.
Extracting border image of (351,0), Size=(117,45)
Done doing the following image: Offset=(351,0), Size=(117,45)
Doing the following image: Offset=(351,180), Size=(117,45)
Extracting grayscale of (351,180), Size=(117,45)
Extracting tile image of (351,135), Size=(117,45)
Source: MapExtractor

STACK TRACE
Void DrawLeaf(Int32, Int32, MapUtility.Leaf, CoreLib.Graphics.ImageData`1[CoreLib.Graphics.RgbData])
   at MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
   at MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
   at MapUtility.Lightmap.GetTrueColoredGrayscaleLayer(Int32 x, Int32 y, Int32 captureWidth, Int32 captureHeight)
   at MapUtility.Extraction.ExtractGrayscale(Lightmap map, Rectangle bounds)
   at MapUtility.Extraction.ExtractSection(Lightmap lm, Rectangle bounds)
   at MapUtility.Extraction.ExtractFileTask.TaskOverride()
   at CoreLib.Task.DoTask(Int32 index, TaskQueue tq)
   at CoreLib.TaskQueue.DoWork(Object value)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)
 
Jamie550 said:
Sir Freak: Are these the vanilla map files? If you do it again, does the exact same error occur?

Well they havn't been edited yet....in the setting .txt file i have set it to my cold war folder...

anyway when i tried again i got a different error...

Code:
Log of MapExtractor v1.0.1.0
Logging started at: 16-07-2008 12:44:45 UTC

Successfully reached start
Since there were no arguments, doing default extract
Extracting from command -extract
Successfully created default images.txt
Extracting images with following parameters: OffsetX=0 OffsetY=0 ImageSizeX=117 ImageSizeY=45 NumImagesX=8 NumImagesY=8
Loading lightmap at C:\Spil\Paradox Interactive\Star Wars Mod\\map
Lightmap1 successfully loaded.
Lightmap1 tile data successfully loaded
Doing the following image: Offset=(0,0), Size=(117,45)
Doing the following image: Offset=(0,45), Size=(117,45)
Doing the following image: Offset=(0,135), Size=(117,45)
Doing the following image: Offset=(0,90), Size=(117,45)
Extracting grayscale of (0,0), Size=(117,45)
Extracting grayscale of (0,135), Size=(117,45)
Extracting grayscale of (0,45), Size=(117,45)
Extracting grayscale of (0,90), Size=(117,45)
Extracting ownership image of (0,90), Size=(117,45)
Extracting tile image of (0,90), Size=(117,45)
Extracting ownership image of (0,135), Size=(117,45)
Extracting ownership image of (0,45), Size=(117,45)
Extracting tile image of (0,135), Size=(117,45)
Extracting tile image of (0,45), Size=(117,45)
Extracting border image of (0,90), Size=(117,45)
Done doing the following image: Offset=(0,90), Size=(117,45)
Doing the following image: Offset=(0,180), Size=(117,45)
Extracting grayscale of (0,180), Size=(117,45)
Extracting border image of (0,135), Size=(117,45)
Done doing the following image: Offset=(0,135), Size=(117,45)
Doing the following image: Offset=(0,225), Size=(117,45)
Extracting grayscale of (0,225), Size=(117,45)
Extracting border image of (0,45), Size=(117,45)
Done doing the following image: Offset=(0,45), Size=(117,45)
Doing the following image: Offset=(0,270), Size=(117,45)
Extracting grayscale of (0,270), Size=(117,45)
Extracting ownership image of (0,0), Size=(117,45)
Extracting tile image of (0,0), Size=(117,45)
Extracting ownership image of (0,180), Size=(117,45)
Extracting tile image of (0,180), Size=(117,45)
Extracting ownership image of (0,225), Size=(117,45)
Extracting border image of (0,0), Size=(117,45)
Done doing the following image: Offset=(0,0), Size=(117,45)
Doing the following image: Offset=(0,315), Size=(117,45)
Extracting grayscale of (0,315), Size=(117,45)
Extracting tile image of (0,225), Size=(117,45)
Extracting border image of (0,180), Size=(117,45)
Done doing the following image: Offset=(0,180), Size=(117,45)
Doing the following image: Offset=(117,0), Size=(117,45)
Extracting grayscale of (117,0), Size=(117,45)
Extracting ownership image of (0,270), Size=(117,45)
Extracting tile image of (0,270), Size=(117,45)
Extracting ownership image of (0,315), Size=(117,45)
Extracting tile image of (0,315), Size=(117,45)
Extracting border image of (0,225), Size=(117,45)
Done doing the following image: Offset=(0,225), Size=(117,45)
Doing the following image: Offset=(117,45), Size=(117,45)
Extracting grayscale of (117,45), Size=(117,45)
Extracting border image of (0,270), Size=(117,45)
Done doing the following image: Offset=(0,270), Size=(117,45)
Doing the following image: Offset=(117,90), Size=(117,45)
Extracting grayscale of (117,90), Size=(117,45)
Extracting border image of (0,315), Size=(117,45)
Done doing the following image: Offset=(0,315), Size=(117,45)
Doing the following image: Offset=(117,135), Size=(117,45)
Extracting grayscale of (117,135), Size=(117,45)
Extracting ownership image of (117,0), Size=(117,45)
Extracting tile image of (117,0), Size=(117,45)
Extracting border image of (117,0), Size=(117,45)
Done doing the following image: Offset=(117,0), Size=(117,45)
Doing the following image: Offset=(117,180), Size=(117,45)
Extracting grayscale of (117,180), Size=(117,45)
Extracting ownership image of (117,45), Size=(117,45)
Extracting ownership image of (117,180), Size=(117,45)
Extracting tile image of (117,180), Size=(117,45)
Extracting tile image of (117,45), Size=(117,45)
Extracting ownership image of (117,90), Size=(117,45)
Extracting border image of (117,45), Size=(117,45)
Done doing the following image: Offset=(117,45), Size=(117,45)
Doing the following image: Offset=(117,225), Size=(117,45)
Extracting grayscale of (117,225), Size=(117,45)
Extracting tile image of (117,90), Size=(117,45)
Extracting border image of (117,90), Size=(117,45)
Done doing the following image: Offset=(117,90), Size=(117,45)
Doing the following image: Offset=(117,270), Size=(117,45)
Extracting grayscale of (117,270), Size=(117,45)
Extracting border image of (117,180), Size=(117,45)
Extracting ownership image of (117,135), Size=(117,45)
Done doing the following image: Offset=(117,180), Size=(117,45)
Doing the following image: Offset=(117,315), Size=(117,45)
Extracting grayscale of (117,315), Size=(117,45)
Extracting ownership image of (117,225), Size=(117,45)
Extracting tile image of (117,225), Size=(117,45)
Extracting tile image of (117,135), Size=(117,45)
Extracting ownership image of (117,270), Size=(117,45)
Extracting tile image of (117,270), Size=(117,45)
Extracting ownership image of (117,315), Size=(117,45)
Extracting tile image of (117,315), Size=(117,45)
Extracting border image of (117,135), Size=(117,45)
Done doing the following image: Offset=(117,135), Size=(117,45)
Doing the following image: Offset=(234,0), Size=(117,45)
Extracting grayscale of (234,0), Size=(117,45)
Extracting border image of (117,225), Size=(117,45)
Done doing the following image: Offset=(117,225), Size=(117,45)
Doing the following image: Offset=(234,45), Size=(117,45)
Extracting grayscale of (234,45), Size=(117,45)
Extracting border image of (117,270), Size=(117,45)
Done doing the following image: Offset=(117,270), Size=(117,45)
Doing the following image: Offset=(234,90), Size=(117,45)
Extracting grayscale of (234,90), Size=(117,45)
Extracting border image of (117,315), Size=(117,45)
Done doing the following image: Offset=(117,315), Size=(117,45)
Doing the following image: Offset=(234,135), Size=(117,45)
Extracting grayscale of (234,135), Size=(117,45)
Extracting ownership image of (234,90), Size=(117,45)
Extracting ownership image of (234,45), Size=(117,45)
Extracting tile image of (234,90), Size=(117,45)
Extracting tile image of (234,45), Size=(117,45)
Extracting border image of (234,90), Size=(117,45)
Done doing the following image: Offset=(234,90), Size=(117,45)
Doing the following image: Offset=(234,180), Size=(117,45)
Extracting grayscale of (234,180), Size=(117,45)
Extracting border image of (234,45), Size=(117,45)
Extracting ownership image of (234,135), Size=(117,45)
Done doing the following image: Offset=(234,45), Size=(117,45)
Doing the following image: Offset=(234,225), Size=(117,45)
Extracting grayscale of (234,225), Size=(117,45)
Extracting ownership image of (234,0), Size=(117,45)
Extracting tile image of (234,135), Size=(117,45)
Extracting tile image of (234,0), Size=(117,45)
Extracting border image of (234,135), Size=(117,45)
Done doing the following image: Offset=(234,135), Size=(117,45)
Doing the following image: Offset=(234,270), Size=(117,45)
Extracting grayscale of (234,270), Size=(117,45)
Extracting border image of (234,0), Size=(117,45)
Done doing the following image: Offset=(234,0), Size=(117,45)
Doing the following image: Offset=(234,315), Size=(117,45)
Extracting grayscale of (234,315), Size=(117,45)
Extracting ownership image of (234,225), Size=(117,45)
Extracting tile image of (234,225), Size=(117,45)
Extracting border image of (234,225), Size=(117,45)
Done doing the following image: Offset=(234,225), Size=(117,45)
Doing the following image: Offset=(351,0), Size=(117,45)
Extracting grayscale of (351,0), Size=(117,45)
Extracting ownership image of (234,315), Size=(117,45)
Extracting ownership image of (234,270), Size=(117,45)
Extracting tile image of (234,315), Size=(117,45)
Extracting tile image of (234,270), Size=(117,45)
Extracting ownership image of (234,180), Size=(117,45)
Extracting tile image of (234,180), Size=(117,45)
Extracting border image of (234,270), Size=(117,45)
Extracting border image of (234,315), Size=(117,45)
Done doing the following image: Offset=(234,270), Size=(117,45)
Doing the following image: Offset=(351,45), Size=(117,45)
Extracting grayscale of (351,45), Size=(117,45)
Extracting border image of (234,180), Size=(117,45)
Done doing the following image: Offset=(234,315), Size=(117,45)
Doing the following image: Offset=(351,90), Size=(117,45)
Extracting grayscale of (351,90), Size=(117,45)
Done doing the following image: Offset=(234,180), Size=(117,45)
Doing the following image: Offset=(351,135), Size=(117,45)
Extracting grayscale of (351,135), Size=(117,45)
Extracting ownership image of (351,0), Size=(117,45)
Extracting tile image of (351,0), Size=(117,45)
Extracting ownership image of (351,135), Size=(117,45)
Extracting tile image of (351,135), Size=(117,45)
Extracting border image of (351,0), Size=(117,45)
Done doing the following image: Offset=(351,0), Size=(117,45)
Doing the following image: Offset=(351,180), Size=(117,45)
Extracting grayscale of (351,180), Size=(117,45)
Extracting border image of (351,135), Size=(117,45)
Done doing the following image: Offset=(351,135), Size=(117,45)
Doing the following image: Offset=(351,225), Size=(117,45)
Extracting grayscale of (351,225), Size=(117,45)
Extracting ownership image of (351,45), Size=(117,45)
Extracting ownership image of (351,90), Size=(117,45)
Extracting tile image of (351,45), Size=(117,45)
Extracting ownership image of (351,225), Size=(117,45)
Extracting tile image of (351,90), Size=(117,45)
Extracting tile image of (351,225), Size=(117,45)
Extracting border image of (351,225), Size=(117,45)
Done doing the following image: Offset=(351,225), Size=(117,45)
Doing the following image: Offset=(351,270), Size=(117,45)
Extracting grayscale of (351,270), Size=(117,45)
Extracting ownership image of (351,180), Size=(117,45)
Extracting ownership image of (351,270), Size=(117,45)
Extracting tile image of (351,270), Size=(117,45)
Extracting tile image of (351,180), Size=(117,45)
Extracting border image of (351,90), Size=(117,45)
Extracting border image of (351,45), Size=(117,45)
Done doing the following image: Offset=(351,90), Size=(117,45)
Doing the following image: Offset=(351,315), Size=(117,45)
Extracting grayscale of (351,315), Size=(117,45)
Done doing the following image: Offset=(351,45), Size=(117,45)
Doing the following image: Offset=(468,0), Size=(117,45)
Extracting grayscale of (468,0), Size=(117,45)
Extracting ownership image of (351,315), Size=(117,45)
Extracting tile image of (351,315), Size=(117,45)
Extracting border image of (351,180), Size=(117,45)
Done doing the following image: Offset=(351,180), Size=(117,45)
Doing the following image: Offset=(468,45), Size=(117,45)
Extracting grayscale of (468,45), Size=(117,45)
Extracting border image of (351,270), Size=(117,45)
Done doing the following image: Offset=(351,270), Size=(117,45)
Doing the following image: Offset=(468,90), Size=(117,45)
Extracting grayscale of (468,90), Size=(117,45)
Extracting border image of (351,315), Size=(117,45)
Done doing the following image: Offset=(351,315), Size=(117,45)
Doing the following image: Offset=(468,135), Size=(117,45)
Extracting grayscale of (468,135), Size=(117,45)
Extracting ownership image of (468,0), Size=(117,45)
Extracting tile image of (468,0), Size=(117,45)
Extracting ownership image of (468,135), Size=(117,45)



#################################
An exception has occurred.
#################################
Exception: System.NullReferenceException
16-07-2008 12:47:06
Message: Object reference not set to an instance of an object.
Source: MapExtractor

STACK TRACE
MapUtility.Leaf FindLeaf(System.Predicate`1[MapUtility.Leaf])
   at MapUtility.Leaf.FindLeaf(Predicate`1 comparison)
   at MapUtility.Leaf.FindSolution(Int32 x, Int32 y, Int32 rightX, Nullable`1 bottomY, MapBlock same, Predicate`1 check)
   at MapUtility.Leaf.FindCoordinates(Int32 x, Int32 y)
   at MapUtility.Leaf.get_BottomRightNeighbor()
   at MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
   at MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
   at MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
   at MapUtility.Lightmap.GetTrueColoredGrayscaleLayer(Int32 x, Int32 y, Int32 captureWidth, Int32 captureHeight)
   at MapUtility.Extraction.ExtractGrayscale(Lightmap map, Rectangle bounds)
   at MapUtility.Extraction.ExtractSection(Lightmap lm, Rectangle bounds)
   at MapUtility.Extraction.ExtractFileTask.TaskOverride()
   at CoreLib.Task.DoTask(Int32 index, TaskQueue tq)
   at CoreLib.TaskQueue.DoWork(Object value)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)
 
Let me bump this thread to report what i think it's a bug. The program (latest beta, 1.2.3) seems to ignore adj-mod.txt because (as i said in the tutorial thread) the step three tells me to delete 19 connections, well, i write 19 connections to delete in adj-mod.txt, go through step three, but it still tells me that i need to delete 19!.

I say that it seems to be ignoring adj-mod.txt because without changing nothing (after going through step 3 a second time) it does not says nothing like "there is no connection between prov x and prov y so deleting it would not have any effect"
 
Jamie550 said:
Kretoxian: Try it and post log.txt

No, still no luck (with 1.2.4b of course) from this huge list of deletes:

Code:
#This file modifies the creation of adjacent.tbl by MapMaker
#It overrides the default calculations of province adjancies
#To be used, this file must be placed in the same directory as MapMaker
#This default file may be needed for HoI, use it if not using it causes a milestone error
#The format is from;to;action
#From is the first province, to is the second, and the action is either Add or Delete

759;2573;Delete
2573;759;Delete
1700;1697;Delete
1697;1700;Delete
1700;1699;Delete
1699;1700;Delete
1699;1720;Delete
1720;1699;Delete
1720;1719;Delete
1719;1720;Delete
1719;1715;Delete
1715;1719;Delete
1715;1714;Delete
1714;1715;Delete

It has only deleted me two provs. and log.txt is empty.
 
Jamie550 said:
Slokehaven: Any log.txt?

no not really it sort of crashes on startup. it says the program stopped working. I get the option to close program after windows stops analysing. I have vista. when I hit the close button it flashes some text faster than i can read or print screen or dump screen. so unless you can tell me where it is stored I can't hand it over :(
 
Skolehaven said:
no not really it sort of crashes on startup. it says the program stopped working. I get the option to close program after windows stops analysing. I have vista. when I hit the close button it flashes some text faster than i can read or print screen or dump screen. so unless you can tell me where it is stored I can't hand it over :(
Invoke MapExtractor from the command prompt

Instructions if needed
Go into MapExtractor's folder. Hold down shift and right click. Find open command window here and select it. Type "MapExtractor" without quotes. Now the crash data should continue to be displayed on screen.
 
Jamie550 said:
Invoke MapExtractor from the command prompt

Instructions if needed
Go into MapExtractor's folder. Hold down shift and right click. Find open command window here and select it. Type "MapExtractor" without quotes. Now the crash data should continue to be displayed on screen.

now here's what it says:
D:\Program Files\jamie\MapUtility v1.2.4b>Mapextractor

Ikke-afviklet undtagelse: System.TypeInitializationException: Typeinitialisering
sfunktionen for 'MapUtility.Lightmap' udløste en undtagelse. ---> System.Overflo
wException: Værdien var enten for stor eller for lille til en byte uden fortegn.

ved System.Byte.Parse(String s, NumberStyles style, NumberFormatInfo info)
ved MapUtility.Colorscales.Color..ctor(String line1, String line2, String lin
e3, String line4) i E:\Projects\MapUtility\shared\Colorscales.cs:linje 115
ved MapUtility.Colorscales..ctor() i E:\Projects\MapUtility\shared\Colorscale
s.cs:linje 27
ved MapUtility.Lightmap..cctor() i E:\Projects\MapUtility\shared\Lightmap.cs:
linje 142
--- Slut på staksporing af indre undtagelser ---
ved MapUtility.Extraction.ExtractImages(Int32 offsetX, Int32 offsetY, Int32 i
mageSizeX, Int32 imageSizeY, Int32 numImagesX, Int32 numImagesY) i E:\Projects\M
apUtility\MapExtractor\Extraction.cs:linje 67
ved MapUtility.Extraction.DefaultExtract() i E:\Projects\MapUtility\MapExtrac
tor\Extraction.cs:linje 56
ved MapUtility.Program.StartupWork(String[] args) i E:\Projects\MapUtility\Ma
pExtractor\Program.cs:linje 102
ved MapUtility.Program.Main(String[] args) i E:\Projects\MapUtility\MapExtrac
tor\Program.cs:linje 13

sorry it's a danish version of windows but I can translate it if need be for those few lines...
 
Jamie550 said:
Kretoxian: Log.txt has absolutely nothing in it? Not a single character?

Nope, completely blank. (I haven't touched it of course!)
 
Hi. I have some problem in ID map.

Somebody can tell me what type of error is:

" El índice estaba fuera del intervalo. Debe ser un valor no negativo e inferior al tamaño de la colección.
Nombre del parámetro: index" ??

In english, more or less...

"The index was out of range/intervale. The value must be a not negative and smaller than the size of the (collection).
Name of the parametre: Index"


What I need to do to fix it?? Help please
 
Skolehaven: It would appear that one of the values in your colorscales.csv has a value not within the range 0-255. If you are actually allowed to have numbers outside this range, tell me and I'll fix it.

Kretoxian: :eek:o Er..yes that would be me forgetting to uncomment the Log.Load()s after testing. Wait a bit.

rommel_sniper: See other thread you posted in
 
Jamie550 said:
Skolehaven: It would appear that one of the values in your colorscales.csv has a value not within the range 0-255. If you are actually allowed to have numbers outside this range, tell me and I'll fix it.

I think i am as the map already works perfect. btw all i need to do is fixing some minor incoherences. sounds weird though