- 积分
- 33
- 最后登录
- 2022-4-10
- 阅读权限
- 10
- 积分
- 33
- 帖子
- 14
- 精华
- 0
新手上路
- UID
- 36728
- 威望
- 0
- 贡献
- 13
- 在线时间
- 5 小时
- 注册时间
- 2022-3-20
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 任我飞 于 2022-3-24 20:24 编辑
白鹭冰雪GM使用教程,先在数据库中找到mmo_account数据库的表globaluser,找到自己的角色账号,设置gmlevel为10(最高);
修改服务端\build\SessionServer\GM.txt里面的
gmloginip=
{
“127.0.0.7” –里面的IP改成你自己的IP
}, 这样就拥有了GM权限,启动服务端,登陆游戏,在聊天框输入GM命令就可以啦,如 @Move 兽人古墓一层
附GM命令文件
- #include "StdAfx.h"
- #include "ChatSystem.h"
- #include "ctype.h"
- #include "../base/Container.hpp"
- // 方便组批量修改的宏定义
- #define GM_LEVEL0 0
- #define GM_LEVEL1 1
- #define GM_LEVEL2 2
- #define GM_LEVEL3 3
- #define GM_LEVEL4 4
- #define GM_LEVEL5 5
- #define GM_LEVEL6 6
- #define GM_LEVEL7 7
- #define GM_LEVEL8 8
- #ifndef _DEBUG
- #define GM_LEVEL9 9
- #else
- #define GM_LEVEL9 0
- #endif
- #define GM_LEVEL10 10
- //GM指令是以@开头的命令,使用空格分隔,比如@additem 102 1 用[]括起的参数不输入则使用默认
- const CChatSystem::GMHANDLE CChatSystem::GmCommandHandlers[]=
- {
- {"Go", GM_LEVEL9, &CChatSystem::GmGo}, // 移动到指定地图坐标 @Go 地图名(或场景id) X(default) Y(default)
- {"enter", GM_LEVEL9, &CChatSystem::GMEnterFuben}, // 移动到指定地图坐标 @Go 地图名
- {"Monster", GM_LEVEL9, &CChatSystem::GmMonster}, // 生成怪物 @Monster 怪物名(或id) 数量(1) 存活时间(0) 等级(0) 血量比(100)
- {"Skill", GM_LEVEL9, &CChatSystem::GmLearnSkill}, // 学习技能 @Skill 技能ID 技能等级
- {"DelSkill", GM_LEVEL9, &CChatSystem::GmDeleteSkill}, // 删除技能 @DelSkill 技能ID
- {"PR", GM_LEVEL9, &CChatSystem::GmPR}, // 测试坐标旋转 @PR 相对位置x 相对位置y
- {"AR", GM_LEVEL9, &CChatSystem::GmAR}, // 测试坐标旋转 @AR 鼠标位置x 鼠标位置y 相对位置x 相对位置y
- {"AddBuff", GM_LEVEL9, &CChatSystem::GmAddBuff}, // 添加BUFF @AddBuff buffId
- {"DelBuff", GM_LEVEL9, &CChatSystem::GmDelBuff}, // 删除BUFF @DelBuff buffId
- {"CatchMonster", GM_LEVEL9, &CChatSystem::GmCatchMonster}, // 抓取怪物 @CatchMonster 怪物名
- {"Item", GM_LEVEL9, &CChatSystem::GmAddItem}, // 添加物品 @AddItem 物品id 物品num(默认为1)
- {"DelItem", GM_LEVEL9, &CChatSystem::GmDelItem}, // 删除物品 @DelItem 物品id 物品num(默认为1)
- {"WorldMessage", GM_LEVEL9, &CChatSystem::WorldMessage}, // 系统公告消息 @WorldMessage 消息内容 公告提示类型
- {"Level", GM_LEVEL9, &CChatSystem::GmSetSelfLevel}, // 设置自己的等级 @Level 等级
- {"AddValue", GM_LEVEL9, &CChatSystem::AddValue}, // 增加数值 @AddValue type num
- {"SetValue", GM_LEVEL9, &CChatSystem::SetValue}, // 设定数值 @SetValue type num
- {"DropItem", GM_LEVEL9, &CChatSystem::GmDropItem}, // 掉落物品 @DropItem type num
- {"Info", GM_LEVEL9, &CChatSystem::Info}, // 查询信息 @info xxx arg
- {"drop", GM_LEVEL9, &CChatSystem::Drop}, // 掉落表 @drop id
- {"AddMoney", GM_LEVEL9, &CChatSystem::GmAddMoney}, // 添加金钱 @AddMoney 金钱类型 金钱数量 (类型:0绑定金币 1金币 2绑定元宝 3元宝)
- {"addCircleNum", GM_LEVEL9, &CChatSystem::GMAddCircleNum}, // 添加没转人数 @addCircleNum 转数 人数
- {"deathdrop", GM_LEVEL9, &CChatSystem::GMDeathDropItem}, // 添加没转人数 @deathdrop
- {"addservermail", GM_LEVEL9, &CChatSystem::GmAddServerMail}, // 添加全服邮件 @addservermail [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
- {"setJm", GM_LEVEL9, &CChatSystem::GMSetJMLv}, // 设置经脉等级 @setJm lv
- {"setJyEd", GM_LEVEL9, &CChatSystem::GMSetTradingQuota}, // 设置交易额度 @setJyEd value
- {"setBless", GM_LEVEL9, &CChatSystem::GMSetBlessValue}, // 设置祝福值 @setBless value
- {"setQuestState", GM_LEVEL9, &CChatSystem::GMSetQuestState}, // 设置任务状态 @setQuestState id state
- {"clearQuestlog", GM_LEVEL9, &CChatSystem::GMClearQuestlog}, // 清空任务记录 @clearQuestlog
- {"Attr", GM_LEVEL9, &CChatSystem::GmAttr}, // 设置 @Attr attrId value
- {"MonthCard", GM_LEVEL9, &CChatSystem::GmMonthCard}, // 设置 @Attr attrId value
- {"DamageInfo", GM_LEVEL0, &CChatSystem::GmDamageInfo}, // 设置输出伤害 @damageinfo 1/0
- {"make", GM_LEVEL9, &CChatSystem::GmMakeRealItem}, // 造物品 @Make [物品id] [数量] 场景id 怪物id
- {"ChgJob", GM_LEVEL9, &CChatSystem::GMChgJob}, // 改变职业 @ChgJob 职业id 性别id
- {"addPet", GM_LEVEL9, &CChatSystem::GMADDLootPet}, // 改变职业 @ChgJob 职业id 性别id
- //5级权限以上才能使用
- {"Move", GM_LEVEL9, &CChatSystem::GmMove}, // 移动到指定地图 @Move 地图名称
- {"Monster2", GM_LEVEL9, &CChatSystem::GmMonster2 }, // 生成怪物 @monster2 怪物名字 外形id
- {"AddItem", GM_LEVEL9, &CChatSystem::GmAddItem}, //添加物品 @AddItem 物品ID [数量] [品质] [强化等级]
- {"AddPet2", GM_LEVEL9, &CChatSystem::GmAddPet }, //添加宠物 @addpet 宠物的名字 [强化] [品质]
- {"AddHero", GM_LEVEL9, &CChatSystem::GmAddHero }, //添加英雄 @AddHero 英雄ID,英雄阶,英雄等级
- {"DoMapActor", GM_LEVEL9, &CChatSystem::GmDoMapActor }, //
- {"Shutup", GM_LEVEL9, &CChatSystem::GmShutup}, //禁言 @Shutup 角色名称 时间(分钟)
- {"AddExp", GM_LEVEL9, &CChatSystem::GmAddSelfExp}, //添加自己的经验 @AddExp 经验值
- {"superman", GM_LEVEL9, &CChatSystem::GmSetSuperMan}, //添加任务dQuest 任务id
- {"ReGoto", GM_LEVEL9, &CChatSystem::GmReGoto}, //传送至指定角色身边 @ReGoto 角色名称
- {"Who", GM_LEVEL9, &CChatSystem::GmWho}, //获取服务器在线人数 @Who
- {"AdjustExp", GM_LEVEL9, &CChatSystem::GmAdjustExp}, //设置别人的经验 @AdjustExp 玩家的名字 数量
- {"ReleaseShutup", GM_LEVEL9, &CChatSystem::ReleaseShutup}, //将指定角色禁言状态解除 @ReleaseShutup 角色名称
- {"ShutupList", GM_LEVEL9, &CChatSystem::ShutupList}, //查看禁言列表 @ShutupList
- {"NotifyMsg", GM_LEVEL9, &CChatSystem::NotifyMsg}, //给指定玩家发消息 @NotifyMsg 角色名称 消息内容
- {"AdjustLevel", GM_LEVEL9, &CChatSystem::GmAdjustLevel}, //调整目标玩家的等级 @adjustlevel 玩家的名字 玩家的等级
- {"MoveToNPC", GM_LEVEL9, &CChatSystem::GmMoveToNPC}, //移动到指定地图指定NPC位置 @MoveToNPC 地图名称 NPC名称
- {"kick", GM_LEVEL9, &CChatSystem::GmKick}, //踢人 @kick 玩家名字
- {"sethide", GM_LEVEL9, &CChatSystem::GmSetActorHide}, //设置玩家隐身 @sethide 玩家名称 是否隐身(0 显示 1 隐身)
- {"setgm", GM_LEVEL9, &CChatSystem::GmSetGm}, //设置Gm的头衔 @setgm 添加头衔(0 取消 1 添加)
- {"Recall", GM_LEVEL9, &CChatSystem::GmRecall}, //将指定角色传送到身边 @Recall 角色名称
- {"targetIntPro", GM_LEVEL9, &CChatSystem::GmSetTargetIntPro}, //设置目标属性 @targetIntPro 属性ID 属性的值
- {"TraceSystem", GM_LEVEL9, &CChatSystem::GmTraceSystem}, //开启或者关闭系统的网络消息输出 @TraceSystem
- {"ReloadNPC", GM_LEVEL9, &CChatSystem::GmRefresh}, //刷新挂在NPC身上的脚本([SYS FUNCTION:全局功能NPC, SYS MONSTER:全局怪物脚本]) @ReloadNPC NPC的名字
- {"RSF", GM_LEVEL9, &CChatSystem::GmReloadGlobalNpc},//重新载入全局npc的脚本 @RSF
- {"RS", GM_LEVEL9, &CChatSystem::GmReloadScriptNpc},//重新载入角色所在的场景的所有npc的脚本 @RS
- {"ReloadLang", GM_LEVEL9, &CChatSystem::ReloadLang}, //刷新语言包 @ReloadLang
- {"ReloadItem", GM_LEVEL9, &CChatSystem::ReloadItem}, //刷新道具配置 @ReloadItem
- {"ReloadMonster", GM_LEVEL9, &CChatSystem::ReloadMonster}, //刷新怪物配置 @ReloadMonster
- {"call", GM_LEVEL9, &CChatSystem::CallScriptFunc}, //调用脚本函数 @call 新手老人 getNpc,1,2 :注意是执行本人所在的场景的npc的脚本
- {"callf", GM_LEVEL9, &CChatSystem::CallScriptFuncNoEntity}, //调用脚本函数 @callf 新手老人 getNpc,1,2 :注意是执行本人所在的场景的npc的脚本(不传入实体参数)
- {"AddTargetHero", GM_LEVEL9, &CChatSystem::GmAddTargetHero}, //给目标玩家的添加英雄 @AddTargetHero 玩家的名字 英雄的职业 性别 等级 转数
- {"SkillCD", GM_LEVEL9, &CChatSystem::GmSkillCDSwitch}, //设置技能CD启用与否 @SkillCD 0/1(关闭/开启)
- {"Acceptrole", GM_LEVEL9, &CChatSystem::Acceptrole}, //增加一个任务 @AddQuest 任务id
- {"SetZBPMtime", GM_LEVEL9, &CChatSystem::GMSetZBPMtime}, //@setZBPMtime 10 2014-3-10-12:00:00
- {"SetZBPMdata", GM_LEVEL9, &CChatSystem::GMSetZBPMdata}, //@setZBPMdata 30,31,32 100,200,300 10,20,30
- {"FinishQuest", GM_LEVEL9, &CChatSystem::FinishQuest}, //设置任务完成状态 @FinishQuest 任务id 设置完成还是未完成(1是完成,0是未完成)
- {"IntPro", GM_LEVEL9, &CChatSystem::GmSetIntProperty}, //设置玩家属性 @IntPro 属性ID 属性的值(整数型的)
- {"showintpro", GM_LEVEL9, &CChatSystem::GmShowIntProperty}, //查看玩家属性 #showIntPro 属性ID
- {"AddKeyword", GM_LEVEL9, &CChatSystem::GmAddKeyword}, //添加关键字到词库 @AddKeyword 关键词 分类(1:敏感词库, 2禁言词库)
- {"WorldMessage", GM_LEVEL9, &CChatSystem::WorldMessage}, //系统公告消息 @WorldMessage 消息内容 公告提示类型
- {"AddGold", GM_LEVEL9, &CChatSystem::GmAddGold}, //GM增加指定角色金钱 @AddGold [角色名称] [金钱类型] [金钱数量],,支持对不在线的用户发放金钱,除了元宝
- {"Present", GM_LEVEL9, &CChatSystem::GmAddPresent}, //发派物品 @Present 人物名称 物品名称 [数量=1] [品质=0] [强化=0] 是否绑定[yes=1,no=0] 文本信息(参考addgold的说明)
- {"AddFbCount", GM_LEVEL9, &CChatSystem::AddFubenCount}, //增加(或减少)副本的次数 @AddFubenCount [人物名称] [副本名称] [数量,负数是减少]
- {"TraceActor", GM_LEVEL9, &CChatSystem::GmTraceActor}, //追踪一个玩家的网络数据 @TraceActor
- {"DumpFb", GM_LEVEL9, &CChatSystem::GmDumpFuben}, //
- {"checkset", GM_LEVEL9, &CChatSystem::GmCheckGameSet},
- ///// 暂时没有明确归类的
- {"Icon", GM_LEVEL9, &CChatSystem::GmChangeIcon}, //更改头像 @Icon 头像ID
- {"Property", GM_LEVEL9, &CChatSystem::GmPrintProperty}, //打印隐藏的属性 @Property
- {"Invite", GM_LEVEL9, &CChatSystem::GmInviteTeam}, //要求玩家组队 @Invite 玩家名字
- {"LeaveTeam", GM_LEVEL9, &CChatSystem::GmLeaveTeam}, //离开队伍 @LeaveTeam
- {"SetMonsterMove", GM_LEVEL9, &CChatSystem::GmSetMonsterMove}, //GM设置怪物的运动状态 @SetMonsterMove
- {"targetIntPro", GM_LEVEL9, &CChatSystem::GmSetTargetIntPro}, //@targetIntPro 属性ID 属性的值
- {"viewPro", GM_LEVEL9, &CChatSystem::GmViewTargetProperty}, //@viewIntPro
- {"ClearBag", GM_LEVEL9, &CChatSystem::GmClearBag}, //清空背包 @ClearBag
- {"reloadfw", GM_LEVEL9, &CChatSystem::GmRefreshfw}, //刷新过滤字 @reloadfw
- {"ShowFriendList", GM_LEVEL9, &CChatSystem::GmShowFriendList},
- {"skill", GM_LEVEL9, &CChatSystem::GmLearnSkillByName}, //@LearnSkill 技能ID 技能等级
- {"useskill", GM_LEVEL9, &CChatSystem::GmUseSkill}, //@useskill 技能ID 技能等级
- {"forgetskill", GM_LEVEL9, &CChatSystem::GmForgetSkillByName}, //@forgetskill 技能名字
- {"SetEquipItemProp", GM_LEVEL9, &CChatSystem::SetEquipItemProp}, //@SetEquipItemProp 装备槽位号 propid proval
- {"SetExpGetToday", GM_LEVEL9, &CChatSystem::SetExpGetToday}, // @SetExpGetToday 数量
- {"SetTraceOpt", GM_LEVEL9, &CChatSystem::SetTraceOpt}, // @SetTraceOpt 类型 开启标志
- {"RefreshMonster", GM_LEVEL9, &CChatSystem::RefreshMonster}, // @RefreshMonster
- // {"AddBtTime", GM_LEVEL9, &CChatSystem::AddBanneretTime }, // @AddBanneretTime type time(秒为单位)
- {"SetHeadTitle", GM_LEVEL9, &CChatSystem::GmSetHeadTitle }, //@SetTopTitle 头衔ID 0 清空头衔
- {"RefreshRank", GM_LEVEL9, &CChatSystem::GmRefreshRank }, //@RefreshTopTitle 刷新排行榜
- {"RefreshHeadTitle", GM_LEVEL9, &CChatSystem::GmRefreshHeadTitle}, //@RefreshTopTitle 刷新在线玩家头衔
- {"vtp", GM_LEVEL9, &CChatSystem::ViewTargetProp }, //@vtp propid
- {"fcmopen", GM_LEVEL9, &CChatSystem::GmSetFcmOpen }, //@fcmopen
- {"fcmclose", GM_LEVEL9, &CChatSystem::GmSetFcmClose }, //@fcmopen
- {"nreload", GM_LEVEL9, &CChatSystem::GmReloadConfigByName }, //@nreload 配置的名字
- {"ireload", GM_LEVEL9, &CChatSystem::GmReloadConfigById }, //@ireload 通过ID装载配置
- {"dmopen", GM_LEVEL9, &CChatSystem::GmSetGambleOpen }, //@dmopen 打开赌博系统
- {"dmclose", GM_LEVEL9, &CChatSystem::GmSetGambleClose }, //@dmclose 关闭赌博系统
- {"setchatlevel", GM_LEVEL9, &CChatSystem::GmSetChatLevel }, //@setchatlevel near 或 World 或 Secret 或 Guild 或 Team 1
- {"setchatrecharge", GM_LEVEL9, &CChatSystem::GmSetChatRecharge }, //@setchatrecharge near 或 World 或 Secret 或 Guild 或 Team 1
- {"setchatforbitlevel", GM_LEVEL9, &CChatSystem::GmSetChatForbitLevel }, //@setchatforbitlevel 最大等级
- {"dbspc", GM_LEVEL9, &CChatSystem::GmGetDBSendPacketCount}, //@dbspc
- {"asi", GM_LEVEL9, &CChatSystem::GmSetActorSaveInterval}, //@asi time
- {"kill", GM_LEVEL9, &CChatSystem::GMKill }, //@kill 玩家名字
- {"tracePacket", GM_LEVEL9, &CChatSystem::TracePacket }, //@tracepacket 玩家名称
- {"addguildys", GM_LEVEL9, &CChatSystem::GuildAddYs }, //@tracepacket 帮派玥石
- {"ReqTran", GM_LEVEL9, &CChatSystem::ReqTransmit }, // @ReqTransmit destServerId
- {"si", GM_LEVEL9, &CChatSystem::TraceServerInfo }, // @si 打印服务器信息
- {"smf", GM_LEVEL9, &CChatSystem::SetActorMsgFilter }, // @sf 设置角色消息过滤器
- {"testssb", GM_LEVEL9, &CChatSystem::TestSessionBroad }, // @testssb
- {"startCs", GM_LEVEL9, &CChatSystem::GmStartCommonServer }, // @stopCs 关闭连接到跨服
- {"setGuildLeader", GM_LEVEL9, &CChatSystem::GmSetGguildLeader }, //@setGuildLeader 帮派名称 帮主名称 设置帮派帮主
- {"Circle", GM_LEVEL9, &CChatSystem::GmSetActorCircle}, //@circle [人名]转数
- {"CirclePoint", GM_LEVEL9, &CChatSystem::GmResetActorCirclePoint}, //@CirclePoint [人名] 重置潜力点
- {"ClearCsRank", GM_LEVEL9, &CChatSystem::GmClearCsRank }, //@ClearCsRank destServerId 删除跨服榜单 带destServerId参数指定删除某个服务器的榜单
- {"SaveCsRank", GM_LEVEL9, &CChatSystem::GmSaveCsRank }, //@SaveCsRank 广播所有逻辑服将雕像榜单数据发到session
- {"LoadCsRank", GM_LEVEL9, &CChatSystem::GmLoadCsRank }, //@LoadCsRank 广播所有逻辑服重新取下榜单
- {"ClearAllMsg", GM_LEVEL9, &CChatSystem::GmClearAllMsg }, //@清屏
- {"ForbidUser", GM_LEVEL9, &CChatSystem::GmForbidUserById }, //@禁止玩家
- {"UnForbidUser", GM_LEVEL9, &CChatSystem::GmUnForbidUserById }, //@取消禁止玩家
- {"SetWulinMaster", GM_LEVEL9, &CChatSystem::GMSetWulinMaster }, //设置武林盟主 @SetWulinMaster 玩家名称
- {"addactivity", GM_LEVEL9, &CChatSystem::GmAddActivity }, //Gm增加活跃度
- {"createnpc", GM_LEVEL9, &CChatSystem::GmCreateNpc }, //Gm创建npc 场景名 npc名
- {"addnpc", GM_LEVEL9, &CChatSystem::GmCreateNpcById}, //GM添加npc @addnpc npcID
- {"ontracepacket", GM_LEVEL9, &CChatSystem::GmTracePacket }, //统计数据包 @ontracepacket 0 开启统计 1 关闭统计
- {"setopenservertime", GM_LEVEL9, &CChatSystem::GmSetOpenServerTime }, //gm设置开服时间 格式如:@setopenservertime 2012-10-03-01:00:00
- {"setmergeservertime", GM_LEVEL9, &CChatSystem::GmSetMergeServerTime }, //gm设置开服时间 格式如:@setmergeservertime 2012-10-03-01:00:00
- {"setChatLog", GM_LEVEL9, &CChatSystem::GmSetChatLog}, //@setChatLog 1 默认关闭(0),1表示开启, 设置聊天log是否存盘
- {"setquicktime", GM_LEVEL9, &CChatSystem::GmSetQuickTimes }, //设置次数
- {"setEquipDropRate", GM_LEVEL9, &CChatSystem::GmSetActorDropRate}, //@setEquipDropRate 暴率值
- {"setquickrate", GM_LEVEL9, &CChatSystem::GMSetQuickRate }, //设置加速的倍率
- {"setspid", GM_LEVEL9, &CChatSystem::GmSetSpGuidId}, //@setspid 1 设置spID
- {"setServerId", GM_LEVEL9, &CChatSystem::GmSetServerId}, //@setServerId 24 设置服务器id
- {"loadguilddata", GM_LEVEL9, &CChatSystem::GmLoadGuildDataFromDb}, //从数据服加载行会信息 @loadguilddata
- {"setactorguild", GM_LEVEL9, &CChatSystem::GmSetActorGuild}, //设置玩家的行会 @setactorguild 行会名称 玩家名称
- {"delactorguild", GM_LEVEL9, &CChatSystem::GmDeleteActorGuild}, //设置玩家的行会id为0 @delactorguil 玩家名称
- {"setluck", GM_LEVEL9, &CChatSystem::GmSetEquipLuck}, //设置玩家武器幸运值 @setluck 玩家名 10
- {"SetSbkGuild", GM_LEVEL9, &CChatSystem::GMSetSbkGuild }, //设置sbk行会 @SetSbkGuild 行会名称
- {"bmsbk", GM_LEVEL9, &CChatSystem::GmGuildSignUpSbk}, //设置某行会报名今天的沙巴克战 @bmsbk 行会名称 是否报名(0,取消报名 1 报名)
- {"setsbkpos", GM_LEVEL9, &CChatSystem::GmSetSbkPos}, //设置沙巴克职位 @setsbkpos 行会名称 玩家名称 职位id(2-5 护法) 1认命 0 取消
- {"createpos", GM_LEVEL9, &CChatSystem::GmSetActorCreatePos}, //设置出生点 @createpos 出生点个数
- {"addpos", GM_LEVEL9, &CChatSystem::GmAddActorCreatePos}, //gm添加出生点 @addpos 出生点x 出生点y
- {"setidlerole", GM_LEVEL9, &CChatSystem::GmSetIdlePlayer}, //设置空闲玩家 @setidlerole 1 1
- {"openquickkick", GM_LEVEL9, &CChatSystem::GmOpenQuickKick}, //设置检测使用外挂的人就踢下
- {"openquickseal", GM_LEVEL9, &CChatSystem::GmOpenQuickSeal}, //开启使用外挂被踢时封号
- {"setcreateindex", GM_LEVEL9, &CChatSystem::GmSetEnterId}, //设置创建角色进入的新手村的索引 @setcreateindex 入口id
- {"setlhzsgm", GM_LEVEL9, &CChatSystem::GmSetLhzsTitle}, //设置头衔 @setlhzsgm 玩家名称 头衔id 是否添加(0 取消 1 添加)
- {"SetTempCombineTime", GM_LEVEL9, &CChatSystem::GmSetServerTempCombineTime}, //设置服务器的合区时间(用于后台设置开启某些系统用) @SetTempCombineTime 倒数分钟
- {"killmonster", GM_LEVEL9, &CChatSystem::GmKillMonster}, //@killmonster 场景名字 怪名字 是否爆装备(1爆,0不爆)
- {"killallmonster", GM_LEVEL9, &CChatSystem::GmKillAllMonster}, //@killallmonster
- {"rkf", GM_LEVEL9, &CChatSystem::GmSetCrossConfig}, //@reloadcross 加载跨服配置
- {"kfid", GM_LEVEL9, &CChatSystem::GmSetCommonServerId}, //@crossserverid 10000 设置公共服的ID
- {"setrank", GM_LEVEL9, &CChatSystem::GmSetRanking}, //设置排行 @setrank 排行名字 Id Value
- {"saveallrank", GM_LEVEL9, &CChatSystem::GmSaveAllRank}, //强制所有的存盘
- {"changename", GM_LEVEL9, &CChatSystem::GmChangeNameFlag}, //开启修改名字 @changename 状态(0 关闭 1 开启)
- {"opentrace", GM_LEVEL9, &CChatSystem::GmOpenTrace}, // @opentrace 状态(0 关闭 1 开启)
- {"setsavelog", GM_LEVEL9, &CChatSystem::GmSetSaveQuestLogFlag}, //设置是否保存任务到日志服务器 @setsavelog 状态(0 关闭 1 开启)
- {"setcoinlog", GM_LEVEL9, &CChatSystem::GmSetSaveCoinLogFlag}, //设置是否保存任务到日志服务器 @setcoinlog 状态(0 关闭 1 开启)
- {"setzjlevel", GM_LEVEL9, &CChatSystem::GmSetBuildLevel}, //gm改变行会建筑的等级 @setzjlevel 行会名称 建筑编号(1 主殿 2 行会商店 3 月光宝盒 4 封印兽碑 9震天龙弹) 改变建筑等级(正 为加 负 为减)
- {"clearbuilddata", GM_LEVEL9, &CChatSystem::GmclearActorBuildData}, //gm清除玩家行会建筑操作数据 @clearbuilddata 玩家名字
- {"clearguildbuild", GM_LEVEL9, &CChatSystem::GmClearGuildBuildData}, //清除行会的建筑的数据 @clearguildbuild 行会名称
- {"clearguildtime", GM_LEVEL9, &CChatSystem::GmClearGuildBuildTime}, //清除行会的建筑的冷却时间 @clearguildtime 行会名称
- {"changegx", GM_LEVEL9, &CChatSystem::GmChangeActorGx}, //改变玩家的贡献 @changegx 玩家名字 改变的值
- {"testfilter", GM_LEVEL9, &CChatSystem::GmTestFilter}, // 测试屏蔽字性能
- {"clearBossHard", GM_LEVEL9, &CChatSystem::GmClearBossHard }, //清除boss难度
- {"setguildcoin", GM_LEVEL9, &CChatSystem::GmSetGuildCoin }, //设置行会资金 @setguildcoin 资金
- {"addmail", GM_LEVEL9, &CChatSystem::GmAddMail}, //添加邮件
- {"addonemail", GM_LEVEL9, &CChatSystem::GmAddOneMail}, //添加邮件
- {"openckquick", GM_LEVEL9, &CChatSystem::GmSetOpenCkSpeedFalg}, //开启检测加速外挂 @openckquick 状态(0 关闭 1 开启)
- {"setwctime", GM_LEVEL9, &CChatSystem::GmSetDeviationTimes}, //设置检测加速外挂的误差时间(单位毫秒) @setwctime 误差时间
- {"setchecktime", GM_LEVEL9, &CChatSystem::GmSetCkIntevalTime}, //设置校验的间隔时间(单位秒) @setchecktime 间隔时间
- {"setspeedcheck", GM_LEVEL9, &CChatSystem::GmSetSpeedCheck}, //设置检测加速相关值@setspeedcheck 加速检查值(整型,一般为58) 时间比率检测值(整型,一般100) 开始检测发包的次数(整型一般为4), s_nNormalTime
- {"setspeedvalue", GM_LEVEL9, &CChatSystem::GmSetSpeedValue}, //设置新检测加速外挂的参数 @setspeedvalue 参数类型(1:是否为肯定在加速百分比上限参数 2:是否为肯定在加速百分比下限参数 3:可能在加速百分比上限参数 4:误判百分比下限) 参数值(1到100的数值)
- {"dofile", GM_LEVEL9, &CChatSystem::GmLoadNpcFile}, //加载NPC文件
- {"doquest", GM_LEVEL9, &CChatSystem::GmLoadQuestFile}, //加载任务npc文件
- {"totalMonsterCount", GM_LEVEL9, &CChatSystem::GmTotalAllSceneMonsterCount}, //统计所有地图刷怪总量
- {"mapInfo", GM_LEVEL9, &CChatSystem::GmGetCurrSceneInfo}, //获取当前场景信息
- {"setTaxing", GM_LEVEL9, &CChatSystem::GmSetTaxing}, //设置税收信息
- {"setrundomkey", GM_LEVEL9, &CChatSystem::GmSetRundomKey}, //设置玩家的随机数 @setrundomkey 玩家名称 值
- {"delGuild", GM_LEVEL9, &CChatSystem::GmDeleteGuild}, //无条件从数据库中删除
- {"addNewTitle", GM_LEVEL9, &CChatSystem::GmAddNewTitle}, //添加新头衔 @addnewtitle 人物名 头衔id
- {"delnewtitle", GM_LEVEL9, &CChatSystem::GmDelNewTitle}, //删除新头衔 @delnewtitle 人物名 头衔id
- {"addCustomTitle", GM_LEVEL9, &CChatSystem::GmAddCustomTitle}, //添加自定义新头衔 @addcustomtitle 人物名 头衔id
- {"delCustomTitle", GM_LEVEL9, &CChatSystem::GmDelCustomTitle}, //删除自定义新头衔 @delcustomtitle 人物名 头衔id
- {"delvar", GM_LEVEL9, &CChatSystem::GmDelVar}, //删除静态变量
- {"resetWorldLevel", GM_LEVEL9, &CChatSystem::GmResetWorldLevel},//重置世界等级(变0级)
- {"callScript", GM_LEVEL9, &CChatSystem::GmSetActorCallScript},//执行脚本函数 @callscript 人物名字 脚本函数名
- {"reLoadWorldLevel", GM_LEVEL9, &CChatSystem::GmReLoadWorldLevel},//从数据库读世界等级
- {"setFootPrintPay", GM_LEVEL9, &CChatSystem::GmSetFootPrintPay},//设置足迹派送 @setFootPrintPay 开启时间(%d-%d-%d-%d:%d:%d)(开启时间为0表示清数据) 持续分钟数 方案id
- {"setAuction", GM_LEVEL9, &CChatSystem::GmSetAuction}, //设置竞拍 物品id/数量/金钱类型/底价/加价
- {"TestBackStage", GM_LEVEL9, &CChatSystem::GmTestBackStage}, //测试后台指令
- {"KickSetStatus", GM_LEVEL9, &CChatSystem::GmKickAndSetActorStatus}, // 踢人与设置人物状态 @KickSetStatus 禁用标志(非0则为禁用) 转数 等级
- {"OpenBFS", GM_LEVEL9, &CChatSystem::GmOpenBallFanStore}, // 开启球迷积分兑换 @OpenBFS 开启或关闭 开启时间 持续天数
- {"OpenBlackHouse", GM_LEVEL9, &CChatSystem::GmOpenBlackHouse}, //开启小黑屋 0关闭 1 开启
- {"QuitBlackHouse", GM_LEVEL9, &CChatSystem::GmQuitBlackHouse}, //退出小黑屋 参数:人名(不填表示自己)
- {"CleanBlackHouse", GM_LEVEL9, &CChatSystem::GmCleanBlackHouse}, //清理小黑屋数据 参数:人名(不填表示自己)
- {"SetSoulLevel", GM_LEVEL9, &CChatSystem::GMSetSoulLevel}, //设置武魂等级
- {"AddRankPoint", GM_LEVEL9, &CChatSystem::GMAddRankPoint}, //设置排行榜积分 @AddRankPoint 排行榜名字 增加多少积分
- {"SetAchieve", GM_LEVEL9, &CChatSystem::SetAchieve}, //设置成就状态
- {"FuBen", GM_LEVEL9, &CChatSystem::GmFuBen}, //副本测试GM指令
- {"RingLevel", GM_LEVEL9, &CChatSystem::GMSetRingLevel}, //设置特戒培养的等级 @RingLevel 人名 物品id 等级(-1变非激活,0激活了是0级)
- {"DebugLua", GM_LEVEL9, &CChatSystem::GmDebugLua}, //调试脚本用
- {"Shop", GM_LEVEL9, &CChatSystem::GmShop}, //商店GM指令
- {"QuestMove", GM_LEVEL9, &CChatSystem::QuestMove}, //测试速传, 参数@QuestMove 场景id,x,y
- {"PkValue", GM_LEVEL9, &CChatSystem::GmPkValue}, //增加PK值
- {"Exploit", GM_LEVEL9, &CChatSystem::GmExploit}, //增加功勋值
- {"EquipPosLevel", GM_LEVEL9, &CChatSystem::GmSetEquipPosStrongLevel},//设置部位强化的等级 @EquipPosLevel 玩家名 位置 等级(位置=-1即设全部位置)
- {"SetGuildTree", GM_LEVEL9, &CChatSystem::GmSetGuildTree}, //设置行会神树 @SetGuildTree 行会名称 神树等级 神树进度
- {"SetGuildFruit", GM_LEVEL9, &CChatSystem::GmSetGuildFruit}, //设置行会神树果实 @SetGuildFruit 行会名称 果实等级 果实进度 果实数量
- {"SetMyGuildTree", GM_LEVEL9, &CChatSystem::GmSetMyGuildTree}, //设置本人行会神树
- {"SetMyGuildFruit", GM_LEVEL9, &CChatSystem::GmSetMyGuildFruit}, //设置本人行会神树果实
- {"SetGuildTask", GM_LEVEL9, &CChatSystem::GmSetGuildTask}, //设置行会任务,@SetGuildTask 行会名称 任务ID,任务当前进度
- {"RefreshGuildTask", GM_LEVEL9, &CChatSystem::GmRefreshGuildTask}, //@RefreshGuildTask 行会名称 任务进度 --强行刷新行会任务和任务进度
- {"AddConsignItem", GM_LEVEL9, &CChatSystem::GmAddConsignItem}, //随机增加寄卖物品 @AddConsignItem [数量] *主要是测试用*
- {"ClearConsignItem", GM_LEVEL9, &CChatSystem::GmClearConsignItem}, //删除寄卖物品 @ClearConsignItem [1:清全部,0只清Add出来的]
- {"DoWorship", GM_LEVEL9, &CChatSystem::GmDoWorship}, //设置行会神树果实 @DoWorship flag param TO DELETE
- {"DoProtecteTuCity", GM_LEVEL9, &CChatSystem::GmDoProtecteTuCity}, //土城保卫战 @DoProtecteTuCity flag param
- {"DoRewardQuest", GM_LEVEL9, &CChatSystem::GmDoRewardQuest}, //赏金任务 @DoRewardQuest flag param
- {"DoCom", GM_LEVEL9, &CChatSystem::GmDoCompensate}, //游戏补偿 1|2|60|2016-3-2-12:00:00|300|补偿 TO DELETE
- {"DoSupplyBattle", GM_LEVEL9, &CChatSystem::GmDoSupplyBattle}, //补给争夺
- {"DoSevenGoodGift", GM_LEVEL9, &CChatSystem::GmDoSevenGoodGift}, //七日豪礼 TO DELETE
- {"DoChallengeFB", GM_LEVEL9, &CChatSystem::GmDoChallengeFB}, //挑战副本
- {"DoAllCharge", GM_LEVEL9, &CChatSystem::GmDoAllCharge}, //累积充值(不可重置)
- {"DoGuildSiege", GM_LEVEL9, &CChatSystem::GmDoGuildSiege}, //攻城战
- {"DoGameStore", GM_LEVEL9, &CChatSystem::GmDoGameStore}, //游戏商城
- {"GuildDepotItemReject",GM_LEVEL9, &CChatSystem::GmGuildDepotItemReject}, //行会功能
- {"MaterialFB", GM_LEVEL9, &CChatSystem::GmDoMaterialFB}, //材料副本
- {"GuildAuth", GM_LEVEL9, &CChatSystem::GmSetGuildAuth}, //官方认证
- {"OpenSevTheme", GM_LEVEL9, &CChatSystem::GmDoOpenSevTheme}, //开服主题活动
- {"DailyCharge", GM_LEVEL9, &CChatSystem::GmDoDailyCharge}, //开服主题活动
- {"GiveAward", GM_LEVEL9, &CChatSystem::GmDoGiveAward}, //角色类型奖励 @GiveAward type id value
- {"GenAttrInSmith", GM_LEVEL9, &CChatSystem::GmGenAttrInSmith}, //从极品库中随机抽取N调属性
- {"ReloadVSPDef", GM_LEVEL9, &CChatSystem::GmReloadVSPDef},
- {"setfcmstatus", GM_LEVEL9, &CChatSystem::GmSetFcmStatus}, //设置防沉迷玩家状态 @setfcmstatus statusFlag(0未注册1成年2未成年)
- };
复制代码
|
|