后端Lua
后端Lua
后端Lua
local leishen = {} -- 主处理函数 function leishen.link(actor, msgid, arg1, arg2, arg3, sMsg) -- 检查配置 if not cfg_leishen or not next(cfg_leishen) then lib:msg(actor, "配置错误", 1) return end local rlv_str = getplaydef(ac
后端Lua
SL:RegisterLuaNetMsg(2028, function(msgID, p1, p2, p3, timeDataStr) SL:Print(timeDataStr) local timeData = SL:JsonDecode(timeDataStr, false) or {} local totalCount = timeData.totalCount or 0 local percent = timeData.pe
后端Lua
local leishen = {} -- 主处理函数 function leishen.link(actor, msgid, arg1, arg2, arg3, sMsg) -- 检查配置 if not cfg_leishen or not next(cfg_leishen) then lib:msg(actor, "配置错误", 1) return end local rlv_str = getplaydef(ac
后端Lua
前后端交互的接口
后端Lua
前端发送请求 后端接收触发 怎么接收
后端Lua
后端接受前端的协议
后端Lua
stdmodefunc 双击物品后如何查看是否是绑定物品? 并获取对应物品的数量
后端Lua
local leishen = {} -- 主处理函数 function leishen.link(actor, msgid, arg1, arg2, arg3, sMsg) -- 检查配置 if not cfg_leishen or not next(cfg_leishen) then lib:msg(actor, "配置错误", 1) return end local rlv_str = getplaydef(ac
后端Lua
-- Button_5: 触发特效 local config = { preEff = 83433, -- 预警特效ID startEff = 83383, -- 技能特效ID cd = 40, -- 特效cd时间 num = math.random(3, 5) -- 3-5个特效 } local now = os.time()
后端Lua
local leishen = {} -- 主处理函数 function leishen.link(actor, msgid, arg1, arg2, arg3, sMsg) -- 检查配置 if not cfg_leishen or not next(cfg_leishen) then lib:msg(actor, "配置错误", 1) return end local rlv_str = getplaydef(ac
后端Lua
local leishen = {} -- 主处理函数 function leishen.link(actor, msgid, arg1, arg2, arg3, sMsg) -- 检查配置 if not cfg_leishen or not next(cfg_leishen) then lib:msg(actor, "配置错误", 1) return end local rlv_str = getplaydef(ac
后端Lua
不在跨服地图判断
后端Lua
sendmsg(actor,1, '{"Msg":"<outline color='#000000' size='2'><font color='#ff0000' size='18'">正在加载数据中....请稍后</font></outline>,"Type":9}')修正一下
后端Lua