搜索
LUA

LUA

本版块未设置版块简介!请后台版块编辑添加。
  •  帖子: 115
  •  讨论: 115
  •  关注: 0
收起/展开

子版块

GA-lua白皮书

140 / 140
SetOfflinePlayer 2025-5-10 20:32 admin

GP-lua白皮书

0 / 0
从未

CGMSV-lua白皮书

0 / 0
从未
local RightClickNpc = {100500,"右键",4,777,51,54} --右键npc local DisAbleKillCdkey = "/disbadcdkey" --解封 /disbadcdkey xxx local killuser = "/killuser"--踢下指定CDK账号(可踢离线摆摊) /killuser xxx(对 ...
admin 2025-5-10  102 0
Global_Reg.RegTalkEvent("TalkEvent_Watch"); LB = {}; local TalkConfig={1,500};--1表示是否收费0为不收费,500表示收取的费用, function TalkEvent_Watch(_charaIndex, _msg, _color, _range, _size) if(stri ...
admin 2025-5-10  98 0
Delegate.RegInit("announce_Init"); function announce_initialize(_MeIndex) return true; end function announce_create() --宣传大使 if (announce_index == nil) then announce_index = NL.CreateNpc("lu ...
admin 2025-5-10  99 0
Delegate.RegDelLoginEvent("button_LoginEvent"); function button_LoginEvent(player) Protocol.SendLuaCustomPacket(player,"diy6", "宠物算档&[1]|宠物自售&[2]|发送观战代码&[3]|组队踢人&[4]|佣兵&[yb]|离 ...
admin 2025-5-10  119 0
local maxgold = 10000000 --服务器最大魔币 local rmbitemid = 622848 --人民币道具id Delegate.RegDelTalkEvent("ng_TalkEvent"); local GuanZhanPlayer = ""; function ng_TalkEvent(player,msg,color,range, ...
admin 2025-5-10  104 0
tbl_GetPetBps = tbl_GetPetBps or {}; Delegate.RegInit("getpetBp_Init"); function initgetpetBpNpc_Init(index) print("宠物算档大师npc_index = " .. index); return 1; end function initGetPetBpNpc() ...
admin 2025-5-10  111 0
--金卡道具ID shop_vip = 88888; --跑马灯 text_pmd = "HOHOHOHO~跑马灯测试!"; --格式: --"道具ID|价格|折扣额度|形象编号&动作编号" --折扣额度:1~9 = 1~9折 (不填则不打折) --折扣额度:10 ...
admin 2025-5-10  123 0
EXP_RATE_LIST = { exprate_20 = 2; exprate_70 = 2; exprate_125 = 2; exprate_160 = 2; }; local ADD_EXP_RATE = 1; local magic_word = "XXsYZS"; local INIT_B_SKILL_RATE = 1; local ADD_B_SK ...
admin 2025-5-10  97 0
1
admin 2025-5-10  106 0
local CacheStackItemList = {} --道具列表 CacheStackItemList[800510] = 1 --注册道具id为200的道具属于血魔储存道具 CacheStackItemList[800511] = 1 --注册道具id为200的道具属于血魔储存道具 CacheStackItemLis ...
admin 2025-5-10  108 0
Delegate.RegInit("Captcha_Init"); function Init_Captcha(_index) return 1; end function Code_new_tbl() local _tbl_Codeinfo = { Code = ""; State = 1; Time = 0; } return _tbl_Codeinfo; end ...
admin 2025-5-10  103 0
local CAstarttime = 21 --活动开始时间 24小时制 下同 local CAendtime = 22 --活动结束时间 所有怪物都会消失 local CAdays = {0,1,2,3,4,5,6} --活动开启日期 0-6 对应周日-周6 local EnemyMap = 6003 --攻城怪 ...
admin 2025-5-10  103 0
EXP_RATE_LIST = { exprate_20 = 2; exprate_70 = 2; exprate_125 = 2; exprate_160 = 2; }; local ADD_EXP_RATE = 1; local magic_word = "XXsYZS"; local INIT_B_SKILL_RATE = 1; local ADD_B_SK ...
admin 2025-5-10  93 0
--tbl_gl = tbl_gl or {}; --tbl_gl["哥布林"] = 1; --tbl_gl["红帽哥布林"] = 1; --tbl_gl["新手宠"] = 1; Delegate.RegInit("fb1_Init"); function fb1_Init() Protocol.OnRecv("lua/Module/fb1.lua", "D ...
admin 2025-5-10  103 0
tbl_gl = tbl_gl or {}; tbl_gl["哥布林"] = 1; tbl_gl["红帽哥布林"] = 1; tbl_gl["新手宠"] = 1; Delegate.RegInit("FengBao_Init"); function Init_FengBao(_index) return 1; end function DelS(s) ...
admin 2025-5-10  101 0
FindGroupNpcName = "智能组队"--寻求组队Npc名字 FindGroupNpcMetamo = 100658--寻求组队Npc形象 FindGroupNpcMap = {1000,1500}--寻求组队Npc所在地图组 FindGroupNpcPosX = {1,2}--寻求组队NpcX坐标组 FindGroupN ...
admin 2025-5-10  96 0
--声望查询 Delegate.RegInit("fram_Init"); function initframNpc_Init(index) print("声望查询npc_index = " .. index); return 1; end function fram_create() --声望查询 if (fram_index == nil) then ...
admin 2025-5-10  99 0
tbl_GetPetBps = tbl_GetPetBps or {}; Delegate.RegInit("getpetBp_Init"); function initgetpetBpNpc_Init(index) print("宠物算档大师npc_index = " .. index); return 1; end function initGetPetBpNpc() ...
admin 2025-5-10  110 0
hunter_list = {}; --This is an example hunter_list[1] = {}; hunter_list[1].target = {} hunter_list[1].reward = {}; hunter_list[1].reward.item = {}; hunter_list[1].name = "《灵堂的小幽冥》"; hunter_ ...
admin 2025-5-10  96 0
Delegate.RegInit("item_Init"); Delegate.RegDelLoginEvent("item_LoginEvent"); Delegate.RegDelLogoutEvent("item_LogoutEvent"); Delegate.RegDelLoginGateEvent("item_LoginGateEvent"); JpackTable = {68620, ...
admin 2025-5-10  95 0
下一页 »
发布 联系QQ