zhen 发表于 2019-10-5 17:17:12

《龙武》获取VIP等级、元宝、钻石的方法

1、增加元宝和钻石的方法

利用创建角色,进入游戏后的礼包领取,获取得元宝及钻石:
修改服务端文件 D:\lw\Bin\Server\Data\Lua_Cehua\LoginGiftCfg.lua
gXiaMiLoginGiftMail =
{
      topic = "更新黄金礼包",
      context = "恭喜你完成游戏更新,感谢你的耐心等待,现赠送你更新黄金礼包1个,祝你游戏愉快!",
      
      rewardList =
      {
                {goodid = 4906, num = 50, idtype = 1, bindFlag = 1 },-- 增值银币1000000
                {goodid = 2310, num = 10, idtype = 1, bindFlag = 1 },   -- 精炼石
                {goodid = 2070, num = 10, idtype = 1, bindFlag = 1 },-- 换车令
                {goodid = 5191, num = 1, idtype = 1, bindFlag = 1 },-- 时装礼盒
      },
}

gDaXiaLoginGiftMail =
{
      topic = "更新钻石礼包",
      context = "恭喜你完成游戏更新,感谢你的耐心等待,现赠送你更新钻石礼包1个,祝你游戏愉快!",
      
      rewardList =
      {
                {goodid = 4937, num = 9000, idtype = 1, bindFlag = 1 },-- 钻石增值10000
                {goodid = 4920, num = 1, idtype = 1, bindFlag = 1 },-- 元宝增值100000000
                {goodid = 9000, num = 1, idtype = 1, bindFlag = 1 },-- 测试脚本 -- 超级神石
      },
}


道具礼包ID可以在下面的文件中找
D:\lw\Bin\Server\Data\Lua_Cehua\UseGoods.lua


2、获取VIP等级的方法
这个方法,玩得就大了,哈哈,GM工具,超级神器,细心的朋友,在上面的代码中已经发现了,道具ID 9000 超级神石,对!就这玩意,太神了!往下看


要获得此神器,需要设置一个文件: D:\lw\Bin\Server\Data\Lua\test\supperstone.lua
第1步>、在防火墙中加入游戏世界ID 3001
G_GameWorldIDTable =
{
       = 1,
       = 1,
       = 1,
复制代码


第2步>、在登录礼包中加入超级神石,ID为9000
{goodid = 9000, num = 1, idtype = 1, bindFlag = 1 },-- 测试脚本 -- 超级神石

chengbuo 发表于 2019-12-30 17:46:17

这个资源找了很久了

chengbuo 发表于 2019-12-30 18:05:38

没有比这个更好的了
页: [1] 2
查看完整版本: 《龙武》获取VIP等级、元宝、钻石的方法