Commit 25398155 authored by 花桃白音's avatar 花桃白音

lostfilecheck info format

parent b5418e49
No preview for this file type
...@@ -365,13 +365,14 @@ namespace cardvisa ...@@ -365,13 +365,14 @@ namespace cardvisa
if (cardd.alias == 0 && cti.IsNeedScript())//非同名卡 if (cardd.alias == 0 && cti.IsNeedScript())//非同名卡
{ {
string parentpath = Path.GetDirectoryName(pathName); string parentpath = Path.GetDirectoryName(pathName);
if (!File.Exists(parentpath + "\\script\\c" + code + ".lua")) bool lualost = !File.Exists(parentpath + "\\script\\c" + code + ".lua");
{ bool piclost = !File.Exists(parentpath + "\\pics\\" + code + ".jpg");
lostedFiles += "\r\n" + (code.ToString() + ":lua"); if (lualost || piclost) {
} lostedFiles += "\r\n【" + code.ToString() + "】:"
if (!File.Exists(parentpath + "\\pics\\" + code + ".jpg")) + (lualost ? "脚本丢失" : "")
{ + (lualost && piclost ? "," : "")
lostedFiles += "\r\n" + (code.ToString() + ":pic"); + (piclost ? "图片丢失" : "")
+ "。";
} }
} }
cdbh.Add(new sqldata(cardd.id, DateTime.Now, textssets[i], cardd, false)); cdbh.Add(new sqldata(cardd.id, DateTime.Now, textssets[i], cardd, false));
......
{"ygopath":"E:\\MyCardLibrary\\ygopro\\ygopro222.exe","pathcheck":false,"packDIY": true} {"ygopath":"D:\\MyCardLibrary\\ygopro\\expansions\\222DIY.cdb","pathcheck":false,"packDIY":true,"regs":null}
\ No newline at end of file \ No newline at end of file
e069cfd0605ddd08cfec87f917ab3cd2e82acc13 68b5fe98c2d51ad25704d3c6b1edff9fe5f14c3e
...@@ -52,3 +52,4 @@ C:\Users\Administrator\source\repos\cardvisa\cardvisa\bin\Debug\cardvisa.exe.con ...@@ -52,3 +52,4 @@ C:\Users\Administrator\source\repos\cardvisa\cardvisa\bin\Debug\cardvisa.exe.con
C:\Users\Administrator\source\repos\cardvisa\cardvisa\bin\Debug\cardvisa.exe C:\Users\Administrator\source\repos\cardvisa\cardvisa\bin\Debug\cardvisa.exe
C:\Users\Administrator\source\repos\cardvisa\cardvisa\bin\Debug\cardvisa.pdb C:\Users\Administrator\source\repos\cardvisa\cardvisa\bin\Debug\cardvisa.pdb
E:\project\visa\cardvisa\cardvisa\obj\Debug\cardvisa.PicViewer.resources E:\project\visa\cardvisa\cardvisa\obj\Debug\cardvisa.PicViewer.resources
C:\Users\Administrator\source\repos\cardvisa\cardvisa\obj\Debug\cardvisa.PicViewer.resources
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment