行为类型定义:
logUnKnow=0,
logMonScatter = 1, //怪物爆物
logHumScatter = 2, //人物爆物
logHumDrop = 3, //丢物品
logPickUp = 4, //拾取物品
logGive = 5, //给予物品
logTake = 6, //收取物品
logDeal = 7, //物品交易
logOffLineDeal = 8, //物品寄售
logYBNum = 9, //元宝操作
logBindYBNum =10, //绑定元宝操作
logGoldNum = 11, //金币操作
logBindGoldNum = 12, //绑定金币操作
logBuyShopItem = 13, //物品购买
logSellShopItem = 14, //物品出售
logBuyBackShopItem = 15, //物品下架
logCreateMon = 16, //创建怪
logKilled = 17, //人物挂亡
logBagToStorage = 18, //背包到仓库
logStorageToBag = 19, //仓库到背包
logLoginOn = 20, //上线
logLoginOut = 21, //下线
logReLive = 22, //复活LOG_ADDITEM_YB_BUY
logLevelChg = 23, //等级变化
logYBCrush = 24, //冲值
logPileItem =25, //叠加物品
logSplitItem =26, //拆分物品
logCityOwner =27, //城主更换
logOffLineGive=28, //离线给予
logAddTitle=29, //给予称号
logDelTitle=30, //删除称号
logGMCmd=31, //执行GM指令
logCityGold=32, //城堡金币变化
logReName=33, //更名
logOpenCopy=34, //开启副本
logHeroLoginOn=35, //英雄上线
logHeroLoginOut=36, //英雄下线
logHeroLevelChg=37, //英雄等级变化
logItemChange =38, //物品属性变化
logHeroScatter =39, //英雄爆物
logHeroDrop = 40, //英雄丢物品
logHeroKilled = 41, //英雄挂亡
logSellRole=42, //卖角色
logSystemYB=43, //系统出产元宝
行为logItemChange 子类型(原因)定义:
LOG_ITEMCHG_LEVEL = 1; -- 物品等级变化
LOG_ITEMCHG_EXP = 2; -- 物品经验变化
LOG_ITEMCHG_POWER = 3; -- 物品能量变化
添加物品原因定义(logGive):
ADD_ITEM_DIGUP = 1 ;--挖
ADD_ITEM_NPC_BUY = 2 ;--NPC购买
ADD_ITEM_PICK_UP = 3 ;--拾取
ADD_ITEM_GM_GIVE = 4 ;--GM给予
ADD_ITEM_TAKEOFF = 5 ;--穿戴脱下
ADD_ITEM_OFFLINEDEAL= 6 ;--寄售
ADD_ITEM_SHOP = 7 ;--摆摊
ADD_ITEM_YB_BUY = 8 ;--商城购买
ADD_ITEM_FACE_DEAL = 9 ;--面对面交易
ADD_ITEM_UNPACK = 10 ;--解包
ADD_ITEM_PACK = 11 ;--捆包
ADD_ITEM_GIVE = 12 ;--普通给予
ADD_ITEM_STORE_BACK =13 ;--仓库取回
ADD_ITEM_SPLIT_GIVE= 14 ;--分拆
ADD_ITEM_FETCH_POT = 15 ;--从罐类取出
ADD_ITEM_YB_GIFT = 16 ;--商城赠送
ADD_ITEM_UPGRADE = 17 ;--武器升级
ADD_ITEM_OFFLINEDEAL_BACK =18 ;--寄售取回
ADD_ITEM_NPC_BUYBACK = 20; --NPC回购玩家物品
ADD_ITEM_LOTTERY = 21; --彩票中奖
ADD_ITEM_SCRIPT = 22; --脚本给予
ADD_ITEM_CENTER = 23; --平台送道具
删除物品原因定义(logTake):
DEL_ITEM_DROP = 101 ;--丢弃
DEL_ITEM_NPC_TAKE = 102 ;--NPC回购
DEL_ITEM_NPC_SELL = 103 ;--NPC出售
DEL_ITEM_GM_TAKE = 104 ;--GM没收
DEL_ITEM_TAKEON =105 ;--穿戴
DEL_ITEM_OFFLINEDEAL= 106 ;--寄售
DEL_ITEM_SHOP = 107 ;--摆摊
DEL_ITEM_TAKE = 108 ;--NPC扣除
DEL_ITEM_FACE_DEAL =109 ;--面对面交易
DEL_ITEM_UNPACK = 110 ;--解包
DEL_ITEM_PACK = 111 ;--捆包
DEL_ITEM_USE = 112 ;--物品使用
DEL_ITEM_STORE = 113 ;--存入仓库
DEL_ITEM_OVERLAP = 114 ;--堆叠,叠加物品
DEL_ITEM_PUT_POT = 115 ;--放入罐类
DEL_ITEM_UPGRADE = 116 ;--武器升级
DEL_ITEM_YBSTORE = 117; --商城消费
DEL_ITEM_MAPBUFF = 118; --地图buff
DEL_ITEM_CREATEGUILD = 121; --创建行会
DEL_ITEM_ERRITEM = 122; --系统删除错误物品
DEL_ITEM_DURA0 = 123; --耐久耗尽
DEL_ITEM_BROKEN = 124; --武器升级失败
DEL_ITEM_TASK_TAKE = 125; --任务收集
DEL_ITEM_DISASSEMBLY_TAKE = 126; --装备分解
增加元宝原因,脚本必须从1000以后开始定义
GM_TAKE = 0x20000; --GM收取
YB_ADD_RECHARGE = 0x10000; --元宝冲值
YB_ADD_GMADD = 1; --GM命令增加
YB_ADD_YBDEAL = 2; --元宝交易获取
YB_ADD_DRAWFUND = 3; --领取行会基金,绑定元宝
YB_ADD_GUILDTASK = 4; --完成行会任务
YB_ADD_PICKUP = 5; --拾取
YB_ADD_PLAYER_SHOP_SELL = 6; --玩家商铺出售
YB_ADD_MAPBUFF = 7; --地图buff
YBADD_PLAYER_SHOP= 8;
YB_ADD_AWARD= 9; --抽奖,藏宝图,宝箱,需记录物品名称
YB_ADD_TASK= 10; --任务给与
扣元宝原因,脚本扣元宝必须从1000以后开始定义
YB_DEC_ACCEPT_YBDEAL = 101; --支付元宝交易订单
YB_DEC_TIANGUAN = 102; --元宝进入天关
YB_DEC_GUILDFUND = 103; --元宝冲行会基金
YB_DEC_BUY_GOODS = 105; --购买物品
YB_DEC_EXPIRE_YBDEAL = 106; --过期交易取回扣费
YB_DEC_BUY_YBSHOP_ITEM = 107; --购买元宝商城道具
YB_DEC_MELTING = 108; --武器元宝熔炼
YB_DEC_BUY_YBSHOP_ITEM_BIND = 109; --绑定元宝购买元宝商城道具
YB_DEC_MARRY_CAR = 110; --婚车扣元宝
YB_DEC_HOPE_POOL = 111; --许愿池许愿
YB_DEC_TAKE = 112; --脚本收取
YB_DEC_PLAYER_SHOP_BUY = 113; --从玩家商铺购买物品
YB_DEC_GMTAKE = 114; --GM扒取
YB_DEC_RELIVE = 115; --复活消耗
YB_DEC_MAPBUFF = 116; --地图buff
YB_DEC_BUY_YBSHOP_GIFT = 117; --购买元宝商城道具(赠送)
YB_DEC_PLAYSHOP = 118;
YB_DEC_QUICK_BUY =1000; --快捷购买
--增加金币编号,脚本必须从1000以后开始定义
GOLD_ADD_GMADD = 1; --GM命令增加金币
GOLD_ADD_SELLSHOPITEM = 2; --向商店卖出物品
GOLD_ADD_CREATEGUILDFAIL = 3; --创建行会失败返还
GOLD_ADD_GIVE = 4; --给予
GOLD_ADD_PICKUP = 5; --拾取
GOLD_ADD_FACEDEAL = 6; --玩家面对面交易金币
GOLD_ADD_LOTTERY = 7; --彩票中奖
GOLD_ADD_CASTLE_GET = 8; --沙巴克领取
GOLD_ADD_MAPBUFF = 9; --地图buff
GOLD_ADD_PLAYSHOP = 10; --摆摊出售商品
GOLD_ADD_UNPACK = 11; --金币解包
GOLD_ADD_NPC_BUYBACK = 12; --NPC回购
--扣金币编号,脚本必须从1000以后开始定义
GOLD_DEC_DROP = 101; --玩家扔金币
GOLD_DEC_FACEDEAL = 102; --玩家面对面交易出的金币
GOLD_DEC_BUYSHOPITEM = 103; --从商店购买物品
GOLD_DEC_BUYBACKSHOPITEM = 104; --从商店回购卖出的物品
GOLD_DEC_REQ_WAR = 105; --申请沙巴克攻城
GOLD_DEC_REPAIR = 106; --修理物品
GOLD_DEC_CREATEGUILD = 107; --玩家创建行会扣除
GOLD_DEC_TIANGUAN = 108; --金币进入天关
GOLD_DEC_MELTING = 109; --武器金币熔炼
GOLD_DEC_REPAIRWALL = 110; --修理城墙
GOLD_DEC_TAKE = 111;
GOLD_DEC_UNMARRY = 112; --离婚
GOLD_DEC_TRANSPORT = 114; --地图传送
GOLD_DEC_EMAIL = 115; --发邮件
GOLD_DEC_TEACHER = 116; --脱离师门
GOLD_DEC_STARTGUILDWAR = 122; --开启行会战
GOLD_DEC_CASTLE_STROE = 123; --存入沙巴克
GOLD_DEC_MAPBUFF = 124; --地图buff
GOLD_DEC_PLAYSHOP = 125; --购买玩家摆摊物品
GOLD_DEC_HUANJING=1026 --虚迷幻境
GOLD_DEC_PACK = 126; --金币捆包
GOLD_DEC_QUICK_BUY=1001; --快捷购买
|