Page 1 of 1
Error-Messages mostly useless
Posted: Sat Dec 05, 2015 8:50 pm
by YuokiTani
I would appreciate some useful error-messages ...
i fighting until this point with 2 similar useless messages before, but now i give up. i can't track it down manual, because all looks okay in editor.
why not give a hint last valid path, *.lua crashing, or path-line thats wrong ?
of course here is the log ...
factorio-Log 0.000 2015-12-05 21:28:57; Factorio 0.12.20 (Build 17489, win64)
0.000 Operating system: Windows 10
0.000 Program arguments: "D:\Games\Factorio_0.12\bin\x64\Factorio.exe"
0.000 Read data path: D:/Games/Factorio_0.12/data
0.000 Write data path: D:/Games/Factorio_0.12
0.000 Binaries path: D:/Games/Factorio_0.12/bin
0.009 Available display adapters: 2
0.009 [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 980 {0x05, [0,0], 1920x1200, 32bit, 60Hz}
0.009 [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 980 {0x01, [-1920,0], 1920x1200, 32bit, 59Hz}
0.009 Create display on adapter 0. Size 1280x720 at position [310, 222]. Monitor 0
0.044 Initialised Direct3D:[0] NVIDIA GeForce GTX 980; driver: nvd3dumx.dll 10.18.13.5598
0.064 Desktop composition is active.
0.064 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 20%] [Screen: 0]
0.126 Loading mod core 0.0.0 (data.lua)
0.128 Loading mod base 0.12.20 (data.lua)
0.170 Loading mod boblogistics 0.12.1 (data.lua)
0.214 Loading mod Landfill 2.1.7 (data.lua)
0.255 Loading mod Larger Inventory 1.0.0 (data.lua)
0.293 Loading mod Side Inserters 1.0.0 (data.lua)
0.334 Loading mod test-mode 0.12.10 (data.lua)
0.381 Loading mod Yuoki 0.2.37 (data.lua)
0.438 Loading mod yi_engines 0.1.7 (data.lua)
0.505 Loading mod yi_railway 0.0.5 (data.lua)
0.577 Loading mod yi_pfw 0.0.6 (data.lua)
0.650 Loading mod boblogistics 0.12.1 (data-updates.lua)
0.713 Loading mod test-mode 0.12.10 (data-updates.lua)
0.787 Loading mod test-mode 0.12.10 (data-final-fixes.lua)
1.607 Error Util.cpp:49: Path not matching the resource path pattern: __source__/path
Re: Error-Messages mostly useless
Posted: Sat Dec 05, 2015 10:13 pm
by YuokiTani
after 3 frustrating hours i tracked it down to
correct:
filename = "__yi_railway__/graphics/entity/railway/2a_cws_tf1_sheet.png",
wrong:
filename = {
"__yi_railway__/graphics/entity/railway/2a_cws_tf1_sheet-0.png",
"__yi_railway__/graphics/entity/railway/2a_cws_tf1_sheet-1.png",
}
because correct is:
filenames = {
"__yi_railway__/graphics/entity/railway/2a_cws_tf1_sheet-0.png",
"__yi_railway__/graphics/entity/railway/2a_cws_tf1_sheet-1.png",
}
and before someone say easy ... this snipset is part of a 300 lines file and not the only 300+ lines-file i changed today.
i thinked the whole time some file-path was wrong, but in this case i suppose sprite not found - error.
a error-message like "parameter mismatch", "method wrong use" in xy.lua would more useful
Re: Error-Messages mostly useless
Posted: Wed Dec 09, 2015 10:12 am
by kovarex
Ok, this is fixed for the next version (0.12.21 or 0.13).
This error is specific to rotated sprite, as other sprite structures use either filename or stripes.
Re: Error-Messages mostly useless
Posted: Thu Dec 10, 2015 3:44 pm
by YuokiTani
Thanks !