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

lostfilecheck info format

parent b5418e49
No preview for this file type
......@@ -363,16 +363,17 @@ namespace cardvisa
var code = cardd.id;
var cti = new CardTypeInfo(cardd.type);
if (cardd.alias == 0 && cti.IsNeedScript())//非同名卡
{
{
string parentpath = Path.GetDirectoryName(pathName);
if (!File.Exists(parentpath + "\\script\\c" + code + ".lua"))
{
lostedFiles += "\r\n" + (code.ToString() + ":lua");
}
if (!File.Exists(parentpath + "\\pics\\" + code + ".jpg"))
{
lostedFiles += "\r\n" + (code.ToString() + ":pic");
}
bool lualost = !File.Exists(parentpath + "\\script\\c" + code + ".lua");
bool piclost = !File.Exists(parentpath + "\\pics\\" + code + ".jpg");
if (lualost || piclost) {
lostedFiles += "\r\n【" + code.ToString() + "】:"
+ (lualost ? "脚本丢失" : "")
+ (lualost && piclost ? "," : "")
+ (piclost ? "图片丢失" : "")
+ "。";
}
}
cdbh.Add(new sqldata(cardd.id, DateTime.Now, textssets[i], cardd, false));
}
......
{"ygopath":"E:\\MyCardLibrary\\ygopro\\ygopro222.exe","pathcheck":false,"packDIY": true}
\ No newline at end of file
{"ygopath":"D:\\MyCardLibrary\\ygopro\\expansions\\222DIY.cdb","pathcheck":false,"packDIY":true,"regs":null}
\ No newline at end of file
e069cfd0605ddd08cfec87f917ab3cd2e82acc13
68b5fe98c2d51ad25704d3c6b1edff9fe5f14c3e
......@@ -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.pdb
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