1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
+
+
+
+
|
package.path = [[.\lua_lib\?.lua;]] .. package.path
package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
local 字集码互转库 = require("u8_to_a")
local u8 = 字集码互转库.u8_to_a
local f = require(u8("常用库"))
local 简文件库 = require("lfs")
local 简数据库库 = require("lsqlite3")
local d_5 = {}
function d_5.筛有效果卡的卡数(o1_8)
local k1_8
f.历排(o1_8, d_5.局滤)
end
--~ 卡编排
function d_5.筛卡对_一维(o1_8)
return f.历排(o1_8, d_5.筛卡对)
end
--~ 卡编
function d_5.筛卡对(o1_8)
for o1_5 in 数据库:nrows("select * from datas where id = " .. o1_8) do
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
+
-
+
|
--~ 则数排
k2_9 = f.历排(k1_9, d_5.局筛则数)
--~ 各文件的卡编排
k3_9 = f.历排(k1_9, d_5.局筛卡编)
_G.数据库 = 简数据库库.open(o1.数据库路)
--~ 各文件的卡对排
k4_9 = f.历排(k3_9, d_5.筛卡对_一维)
--~ 真效果卡的卡数排
k5_9 = f.历排(k4_9, d_5.筛有效果的卡数)
k5_9 = f.历排(k4_9, d_5.筛真效果卡的卡数)
end
d_5.目对 = {
["文件目"] = "../single/"
, ["数据库路"] = [[D:\install\YGOPro\cards.cdb]]
}
for o1, o2 in pairs(d_5.目对) do
d_5.目对[o1] = f.操类(o2, "string", u8)
end
d_5.残局改名(d_5.目对)
|