后端Lua
后端Lua
后端Lua
[2026/3/16 21:11:48] CallLua1 Func:lua_showitems 1 luaErr:.\Envir\Market_Def\LuaFunc-0.lua:332: bad argument #1 to 'tonumber' (value expected) stack traceback: [C]: in function 'tonumber' .\Envir\Market_Def\LuaFunc-0.lua:332: in function <.\Envir\M
后端Lua
function handlerequest(actor, msgid, arg1, arg2, arg3, sMsg) if msgid == 58003 then --npc对话 local cfg = json2tbl(sMsg) local checkfile = lib:fileExists(string.format("scripts/game/%s.lua", cfg.Script)) p("111222222222
后端Lua
local npc = {} EquipPos = {[0] = "衣服",[1] = "武器",[2] = "勋章",[3] = "头盔",[4] = "项链",[5] = "手镯(右)" , [6] = "手镯(左)",[7] = "戒指(右)",[8] = "戒指(左)",[10] = "腰带",[11] = "靴子"} npc.Attribute = { attName = { [1] = "血量", [3] = "攻击下限", [4] = "
后端Lua
local npc = {} EquipPos = {[0] = "衣服",[1] = "武器",[2] = "勋章",[3] = "头盔",[4] = "项链",[5] = "手镯(右)" , [6] = "手镯(左)",[7] = "戒指(右)",[8] = "戒指(左)",[10] = "腰带",[11] = "靴子"} npc.Attribute = { attName = { [1] = "血量", [3] = "攻击下限", [4] = "
后端Lua
local npc = {} EquipPos = {[0] = "衣服",[1] = "武器",[2] = "勋章",[3] = "头盔",[4] = "项链",[5] = "手镯(右)" , [6] = "手镯(左)",[7] = "戒指(右)",[8] = "戒指(左)",[10] = "腰带",[11] = "靴子"} npc.Attribute = { attName = { [1] = "血量", [3] = "攻击下限", [4] = "
后端Lua
邀请码,存到全局,并且保存
后端Lua
-- 金条 function stdmodefunc103(play,item) if getbagitemcount(play,"金条") >= 1 then changemoney(play,1,"+",1000000,"使用金条",true) return item else sendmsg(play, 1, '{"Msg":"<font color=\'#ff0000\'>背包物品数量不足!!</font>","Type":
后端Lua
[2026/3/16 16:28:37] Print:执行洗练操作,13,装备洗练,2013,0 [2026/3/16 16:28:37] Print:====== 开始洗练 ====== [2026/3/16 16:28:37] Print:玩家ID: 10000000001771943785000353664, 装备位置: 0, 装备唯一ID: 4904400 [2026/3/16 16:28:37] Print:进入refined时数据状态: [2026/3/16 16:28:37] Pr
后端Lua
function claim_reward(actor) local width = getconst(actor, "$SCREENWIDTH") / 2 --屏幕宽 local height = getconst(actor, "$SCREENHEIGHT") / 2 --屏幕高 local str = string.format([[ <Layout|x=%d|y=%d|width=80|height=80|link=@exit> <Img|x=0|y=
后端Lua
function claim_reward(actor) local width = getconst(actor, "$SCREENWIDTH") / 2 --屏幕宽 local height = getconst(actor, "$SCREENHEIGHT") / 2 --屏幕高 local str = string.format([[ <Layout|x=%d|y=%d|width=80|height=80|link=@exit> <Img|x=0|y=0|move=0|bg=1|rese
后端Lua
function claim_reward(actor) local width = getconst(actor, "$SCREENWIDTH") / 2 --屏幕宽 local height = getconst(actor, "$SCREENHEIGHT") / 2 --屏幕高 local str = string.format([[ <Layout|x=%d|y=%d|width=80|height=80|link=@exit> <Img|x=0|y=
后端Lua
say界面获取按钮坐标方法
后端Lua
screffects函数只能在固定坐标播放,怎么才能实现不同坐标多次播放
后端Lua