游戏王残局简化版

Check-in [81015f535b]
Login

Check-in [81015f535b]

Overview
Comment:完成
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 81015f535bda8b71162cedfa33f37a860162ecd618020658f5905cb489ab7e00
User & Date: 顽雨沉风 on 2024-02-03 09:54:22
Other Links: manifest | tags
Context
2024-02-03
11:34
逐步深入 check-in: a8787a258d user: 顽雨沉风 tags: trunk
09:54
完成 check-in: 81015f535b user: 顽雨沉风 tags: trunk
09:39
升级 check-in: d7e39f5d2e user: 顽雨沉风 tags: trunk
Changes

Modified 残局文料/lua_lib/常用库.lua from [6635bf6e53] to [e1b5af1d98].

1
2
3
4
5
6
7
8
local d_4 = {}
local 简文件库 = require("lfs")
--~ 排
--~ 办排中值的能
--~ 入参2
--~ 入参3
--~ 入参4
function d_5.历排(o1_11, o1, o2, o3, o4)
|







1
2
3
4
5
6
7
8
local d_5 = {}
local 简文件库 = require("lfs")
--~ 排
--~ 办排中值的能
--~ 入参2
--~ 入参3
--~ 入参4
function d_5.历排(o1_11, o1, o2, o3, o4)
123
124
125
126
127
128
129
130
  k1_4:flush()
  k1_4:close()
  end
function d_5.删左右空白(o1)
  o1 = string.gsub(o1, "^%s+", "")
  return string.gsub(o1, "%s+$", "")
  end
return d_4







|
123
124
125
126
127
128
129
130
  k1_4:flush()
  k1_4:close()
  end
function d_5.删左右空白(o1)
  o1 = string.gsub(o1, "^%s+", "")
  return string.gsub(o1, "%s+$", "")
  end
return d_5

Modified 残局文料/残局改名.lua from [76f5ac5d54] to [2610dc5efe].

1
2
3
4
5
6
7
8
9
10






11
12
13
14
15
16
17
18
19
20


21
22
23
24
25
26
27
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 d_5 = {}
--~ 文
function d_5.局筛则数(o1)
  






  end
--~ 目对
function d_5.残局改名(o1)
  local k1_9, k2_9
  --~ 文件排
  k1_9 = f.历文(o1.文件目, 简文件库.dir)
  k1_9 = f.历排(k1_9, f.全筛, "%.lua$")
  for o2 = 1, #k1_9 do
    k1_9[o2] = f.加前缀(k1_9, o1.文件目)
    k1_9[o2] = f.读文件(k1_9)


    end
  --~ 则数排
  k2_9 = f.历排(k1_9, d_5.局筛则数)
  end
d_5.目对 = {
  ["文件目"] = "../single/"
  , ["数据库路"] = [[D:\install\YGOPro\cards.cdb]]









|
>
>
>
>
>
>






|

|
|
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 d_5 = {}
--~ 文
function d_5.局筛则数(o1)
  local k1
  local k1_9
  --~ 则数排
  k1_9 = f.历文(o1, string.gmatch, "[^\n]+")
  k1_9 = f.历排(k1_9, f.全筛前缀, "Debug.ReloadFieldBegin")
  k1 = string.match(k1_9[1], "[0-9]")
  return k1 or 3
  end
--~ 目对
function d_5.残局改名(o1)
  local k1_9, k2_9
  --~ 文件排
  k1_9 = f.历文(o1.文件目, 简文件库.dir)
  k1_9 = f.历排(k1_9, f.全筛后缀, ".lua")
  for o2 = 1, #k1_9 do
    k1_9[o2] = f.加前缀(k1_9[o2], o1.文件目)
    k1_9[o2] = f.读文件(k1_9[o2])
    k1_9[o2] = string.gsub(k1_9[o2], "%-%-" .. "%[(=*)%[" .. ".-" .. "%]%1%]", "")
    k1_9[o2] = string.gsub(k1_9[o2], "%-%-" .. "[^\n]*", "")
    end
  --~ 则数排
  k2_9 = f.历排(k1_9, d_5.局筛则数)
  end
d_5.目对 = {
  ["文件目"] = "../single/"
  , ["数据库路"] = [[D:\install\YGOPro\cards.cdb]]