游戏王残局简化版

Check-in [d8075946c6]
Login

Check-in [d8075946c6]

Overview
Comment:有字易混,故用真
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d8075946c6da075fb86205e32f1c922d23edefa22464845e6c250c5f1edbdac4
User & Date: 顽雨沉风 on 2024-02-03 11:52:37
Other Links: manifest | tags
Context
2024-02-03
11:57
将有新表 check-in: b2d67bda64 user: 顽雨沉风 tags: trunk
11:52
有字易混,故用真 check-in: d8075946c6 user: 顽雨沉风 tags: trunk
11:34
逐步深入 check-in: a8787a258d user: 顽雨沉风 tags: trunk
Changes

Modified 残局文料/残局改名.lua from [86e9ea024a] to [245cf2514d].

1
2
3
4
5
6
7
8




9
10
11
12
13
14
15
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)
  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








>
>
>
>







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
  --~ 则数排
  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.筛效果的卡数)
  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.目对)







>
|









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.筛效果的卡数)
  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.目对)