传奇之眼

 找回密码
 立即注册
查看: 601|回复: 0

God引擎功能触发

[复制链接]

433

主题

16

回帖

1215

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1215
发表于 2023-8-5 07:48:38 | 显示全部楼层 |阅读模式
各类脚本触发
g_FunctionNPC.GotoLable(TPlayObject(Self), '@AnotherMap', False); //换地图触发QF

英雄创建完成触发 @CreateHeroOK

英雄创建失败且名字重复触发  @HeroNameExists

英雄创建失败且数量超过触发 @HeroOverChrCount

英雄创建失败触发  @CreateHeroFail

删除英雄触发 @DeleteHeroOK

玩家登陆时,人在挂机状态,让人物小退触发  @RESUME

攻城占领触发QF  @GetCastFunc

攻城结束触发QF  @WallWarStopFunc

@AnotherMap     换地图触发

@Startup  @OnStart   NPC初始化成功触发 QF  QM ROBOT

@HttpGet   QF触发

@HttpPost  QF触发

@GetCastFunc   城堡占领触发QF

@WallWarStopFunc   攻城结束触发QF

触发当前NPC标签

@HaveHero  已经有英雄

@HeroNameFilter  英雄名字输入错误

@MsgFilter   输入框内容错误

@InPutInteger  输入框输入整数

@InPutString  输入框输入字符串

@BatchBuy

@BatchBuyFai

@fail_s_repair

@GuildCreate   人物加入行会触发

@GuildClose   人物退出行会触发

@USEGAMEGIRD  灵符使用触发

@GetHeroBak  取回英雄触发

@SaveHero  请过酒的 触发

@ChangeingHumName  改名触发QF

@HumNameExists  名字被占用触发QF

@ChangeHumNameFail   改名失败触发QF

@MarryError   结婚条件不符合触发

@MasterError 拜师条件不符合触发

@NoCanMakeWine   不能酿酒触发

@EndMakeWine    酿酒完毕触发

@NoMakeWineTimeOver   时间还没有到

@NoMakeWine    没有酿酒

@DecMakeWineTimeOK  酿酒时间减少触发

@NoIsInMakeWine    没有酿酒

@OpenGuildFountain  开启行会泉水仓库

@CloseGuildFountain  关闭行会泉水仓库

@GIVEFOUNTAIN_OK   领取泉水成功

@NOGIVEFOUNTAIN   行会泉水量不足

@NOGIVEFOUNTAIN1    已领取过泉水

@GIVEFOUNTAINColse   行会酒泉关闭

@ReadNGHeroOK  英雄学习内功成功触发

@ReadNGHeroFail  英雄学习内功失败触发

@ReadNGOK  学习内功成功触发

@ReadNGFail  学习内功失败触发

@Challenge_Fail  挑战地图退出触发

@AskYBSellFail  使用过元宝寄售触发

@HumanTypeErr  结婚对方不是人类触发

@StartMarry  开始结婚触发

@MarrySexErr  结婚性别错误触发

@MarryDirErr  结婚自己方向不对触发

@MarryCheckDir  结婚对方方向不对触发

@WateMarry

@RevMarry

@EndMarry

@EndMarryFail  结婚时没有准备好

@WateMaster

@RevMaster

@startdealgold  开始收取金币触发

@dealgoldpost  收取金币类型不对触发

@main   NPC被点击触发

@goHero1

@CREATEECTYPE_FAIL   副本创建失败

@CREATEECTYPE_IN     队伍副本已经存在,可直接传送进入

@CREATEECTYPE_IN_副本名字     行会副本已经存在,可直接传送进入

@CreateEctype_Fail_GroupMaster    副本创建失败

@CREATEECTYPE_OK    副本创建成功

@MoveEctype_OK  进入副本成功触发

@CreateGuild  创建行会触发QF

@SuitItem+数字   套装触发QF

@Struck  受物理打击触发QF  对象为自己

@MagicStruck 受魔法攻击触发QF  对象为自己

@Attack 受物理打击触发QF  对象为最后一个攻击自己者

@MagicAttack  受魔法攻击触发QF 对象为最后一个攻击自己者   具体使用可以双开测试便知

@MaginfoToMap    进入魔法连接点触发QF  例如时空术创建的连接点

@infoToMap    进入脚本连接点触发QF

@AnotherMap   换地图触发QF

@ButchItem   挖物品触发QF

@MagTagFunc+技能ID   有目标时  技能触发QF

@MagSelfFunc+技能ID   没目标时  技能触发QF

//脚本命令
//参考DefCheck,DecAction

sSL_BATCHBUY = '@@BatchBuy';
sSL_SENDMSG = '@@sendmsg';//祝福语标识
sSL_SUPERREPAIR = '@s_repair';
sSL_SUPERREPAIROK = '~@s_repair';//特殊修理
sSL_SUPERREPAIRFAIL = '@fail_s_repair';
sSL_REPAIR = '@repair';//修理
sSL_REPAIROK = '~@repair';
sSL_BUY = '@buy';//买物品
sSL_SELL = '@sell';//卖物品
sSL_MAKEDURG = '@makedrug';//炼药
sSL_PRICES = '@prices';
sSL_STORAGE = '@storage';//存仓库
sSL_GETBACK = '@getback';//取仓库
sSL_BIGSTORAGE = '@bigstorage';
sSL_BIGGETBACK = '@biggetback';
sSL_GETPREVIOUSPAGE = '@getpreviouspage';
sSL_GETNEXTPAGE = '@getnextpage';
sSL_UPGRADENOW = '@upgradenow';//升级物品
sSL_UPGRADEING = '~@upgradenow_ing';
sSL_UPGRADEOK = '~@upgradenow_ok';
sSL_UPGRADEFAIL = '~@upgradenow_fail';
sSL_GETBACKUPGNOW = '@getbackupgnow';
sSL_GETBACKUPGOK = '~@getbackupgnow_ok';
sSL_GETBACKUPGFAIL = '~@getbackupgnow_fail';
sSL_GETBACKUPGFULL = '~@getbackupgnow_bagfull';
sSL_GETBACKUPGING = '~@getbackupgnow_ing';
sSL_EXIT = '@exit';
sSL_BACK = '@back';
sSL_MAIN = '@main';
sSL_FAILMAIN = '~@main';

sSL_GETTeacher = '@@getmaster';
sSL_GETMARRY = '@@getmarry';
sSL_USEITEMNAME = '@@useitemname';

{sGETSELLGOLD = '@getsellgold'; //增加拍卖的三个命令 //20080416 去掉拍卖功能
sSELLOFF = '@selloff';
sBUYOFF = '@buyoff';}
sSL_RMST = '@@rmst'; //接受歌曲
sSL_offlinemsg = '@@offlinemsg';//挂机自动回复

sSL_startdealgold = '@startdealgold'; //元宝转帐
sSL_dealgold = '@@dealgold';

sSL_BUILDGUILDNOW = '@@buildguildnow';
sSL_GUILDWAR = '@@guildwar';
sSL_DONATE = '@@donate';
sSL_REQUESTCASTLEWAR = '@requestcastlewarnow';

sSL_CASTLENAME = '@@castlename';//城堡改名
sSL_WITHDRAWAL = '@@withdrawal';//沙巴克取回资金
sSL_RECEIPTS = '@@receipts';//沙巴克存资金
sSL_OPENMAINDOOR = '@openmaindoor';//沙巴克开门
sSL_CLOSEMAINDOOR = '@closemaindoor';//沙巴克关门
sSL_REPAIRDOORNOW = '@repairdoornow';//马上修复城门
sSL_REPAIRWALLNOW1 = '@repairwallnow1';//修城墙一
sSL_REPAIRWALLNOW2 = '@repairwallnow2';//修城墙二
sSL_REPAIRWALLNOW3 = '@repairwallnow3';//修城墙三
sSL_HIREARCHERNOW = '@hirearchernow';
sSL_HIREGUARDNOW = '@hireguardnow';
sSL_HIREGUARDOK = '@hireguardok';
sMarket_Def = 'Market_Def\';
sNpc_def = 'Npc_def\';

/// ////////////////////////////////////////////////////////////////
{$region '变量索引'}

v_SERVERNAME = 1;
v_SERVERIP = 2;
v_WEBSITE = 3;
v_BBSSITE = 4;
v_CLIENTDOWNLOAD = 5;
v_QQ = 6;
v_PHONE = 7;
v_BANKACCOUNT0 = 8;
v_BANKACCOUNT1 = 9;
v_BANKACCOUNT2 = 10;
v_BANKACCOUNT3 = 11;
v_BANKACCOUNT4 = 12;
v_BANKACCOUNT5 = 13;
v_BANKACCOUNT6 = 14;
v_BANKACCOUNT7 = 15;
v_BANKACCOUNT8 = 16;
v_BANKACCOUNT9 = 17;
v_GAMEGOLDNAME = 18;
v_GAMEPOINTNAME = 19;
v_USERCOUNT = 20;
v_MACRUNTIME = 21;
v_SERVERRUNTIME = 22;
v_DATETIME = 23;
v_HIGHLEVELINFO = 24;
v_HIGHPKINFO = 25;
v_HIGHDCINFO = 26;
v_HIGHMCINFO = 27;
v_HIGHSCINFO = 28;
v_HIGHONLINEINFO = 29;
v_HIGHLEVEL = 30;
v_KILLMONEXPMULTIPLE = 100;
v_MASTEROKLEVEL = 101;
v_GAMEGIRDNAME = 102;
v_GAMEDIAMONDNAME = 103;
v_ACCOUNTGOLDNAME = 104;
v_YEAR = 105;
v_MONTH = 106;
v_DAY = 107;
v_DATE = 108;
v_HOUR = 109;
v_MINUTE = 110;
v_SECOND = 111;

v_LEVELORDER = 200;
v_DEALGOLDPLAY = 201;
v_NPCSHOPNAME = 202;
v_UNIXTIME = 203;
v_REQUESTCASTLEWARITEM = 204;
v_REQUESTCASTLEWARDAY = 205;
v_REQUESTBUILDGUILDITEM = 206;
v_GUILDWARFEE = 207;
v_BUILDGUILDFEE = 208;
v_CMD_DATE = 209;
v_CMD_ALLOWMSG = 210;
v_CMD_LETSHOUT = 211;
v_CMD_LETTRADE = 212;
v_CMD_OPUSHOP = 213;
v_CMD_LETGUILD = 214;
v_CMD_ENDGUILD = 215;
v_CMD_BANGUILDCHAT = 216;
v_CMD_AUTHALLY = 217;
v_CMD_AUTH = 218;
v_CMD_AUTHCANCEL = 219;
v_CMD_USERMOVE = 220;
v_CMD_SEARCHING = 221;
v_CMD_ALLOWGROUPCALL = 222;
v_CMD_GROUPRECALLL = 223;
v_CMD_ATTACKMODE = 224;
v_CMD_REST = 225;
v_CMD_BOSPPK = 226;
v_CMD_STORAGESETPASSWORD = 227;
v_CMD_STORAGECHGPASSWORD = 228;
v_CMD_STORAGELOCK = 229;
v_CMD_STORAGEUNLOCK = 230;
v_CMD_UNLOCK = 231;

/// ////////////////////////////////////////////////////////////////
v_RANDOMNO = 1000;
v_KILLMONNAME = 1001;
v_KILLPLAYERNAME = 1002;
v_KILLPLAYERMAP = 1003;
v_KILLMONMAP = 1004;
v_MOVEMONMAP = 1005;
v_BSNAME = 1006;
v_TARGETNAME = 1007;
v_BUTCHITEMNAME = 1008;
v_ATTACKMODE = 1009;
v_CLIENTVERSION = 1010;
v_MAXBAGITEMSLOT = 1011;
v_CreateEctype_IN = 1012;
v_RecallRemainingTime = 1013;
v_REVIVALTIME = 1014;
v_CURRRTARGETNAME = 1015;
v_CURRRTARGETFULLNAME = 1017;
v_CURRRUSEMAGICID = 1018;
v_ATTACKMONSTER_NAME = 1019;
v_ATTACKMONSTER_NAMEEX = 1020;
v_ATTACKMONSTER_MAXHP = 1021;
v_ATTACKMONSTER_MAXHPEX = 1022;
v_ATTACKMONSTER_HP = 1023;
v_ATTACKMONSTER_HPEX = 1024;
v_ATTACKMONSTER_X = 1025;
v_ATTACKMONSTER_XEX = 1026;
v_ATTACKMONSTER_Y = 1027;
v_ATTACKMONSTER_YEX = 1028;
v_HTTPUrl = 1029;
v_HTTPUrlEnc = 1030;
v_HTTPPostParam = 1031;
v_HTTPPostParamEnc = 1032;
v_HTTPReqName = 1033;
v_HTTPOK = 1034;
v_HTTPTEXT = 1035;
v_PickDropItemMakeIndex = 1036;
v_USERNAME = 1037;
v_USERALLNAME = 1038;
v_SFNAME = 1039;
v_CLIENTTYPE = 1040;
v_CHANNEL = 1041;
v_MAPNAME = 1042;
v_MapTitle = 1043;
v_KILLER = 1044;
v_MONKILLER = 1045;
v_QUERYYBDEALLOG = 1046;
v_GUILDNAME = 1047;
v_TAGMAPNAME1 = 1048;
v_TAGMAPNAME2 = 1049;
v_TAGMAPNAME3 = 1050;
v_TAGMAPNAME4 = 1051;
v_TAGMAPNAME5 = 1052;
v_TAGMAPNAME6 = 1053;
v_BZD1 = 1054;
v_BZD2 = 1055;
v_BZD3 = 1056;
v_BZD4 = 1057;
v_BZD5 = 1058;
v_BZD6 = 1059;
v_BZD7 = 1060;
v_BZD8 = 1061;
v_BZD9 = 1062;
v_BZD10 = 1063;
v_TAGX1 = 1064;
v_TAGX2 = 1065;
v_TAGX3 = 1066;
v_TAGX4 = 1067;
v_TAGX5 = 1068;
v_TAGX6 = 1069;
v_TAGY1 = 1070;
v_TAGY2 = 1071;
v_TAGY3 = 1072;
v_TAGY4 = 1073;
v_TAGY5 = 1074;
v_TAGY6 = 1075;
v_GUILDMEMBERCOUNT = 1076;
v_GUILDFOUNTAIN = 1077;
v_ALCOHOL = 1078;
v_MEDICINEVALUE = 1079;
v_RANKNAME = 1080;
v_RELEVEL = 1081;
v_LEVEL = 1082;
v_USEGAMEGIRD = 1083;
v_BUYSHOP = 1084;
v_BUYNAME = 1085;
v_GETCRYSTALEXP = 1086;
v_GETCRYSTALNGEXP = 1087;
v_CRYSTALEXP = 1088;
v_CRYSTALNGEXP = 1089;
v_CRYSTALLEVEL = 1090;
v_GETEXP = 1091;
v_HEROGETEXP = 1092;
v_GLORYPOINT = 1093;
v_STATSERVERTIME = 1094;
v_RUNDATETIME = 1095;
v_RUNDATEDAY = 1096;
v_RUNDATEMIN = 1097;
v_USERID = 1098;
v_IPADDR = 1099;
v_MAP = 1100;
v_MAPCODE = 1101;
v_X = 1102;
v_SELFX = 1103;
v_Y = 1104;
v_SELFY = 1105;
v_HP = 1106;
v_MAXHP = 1107;
v_MP = 1108;
v_MAXMP = 1109;
v_AC = 1110;
v_MAXAC = 1111;
v_MAC = 1112;
v_MAXMAC = 1113;
v_DC = 1114;
v_MAXDC = 1115;
v_MC = 1116;
v_MAXMC = 1117;
v_SC = 1118;
v_MAXSC = 1119;
v_EXP = 1120;
v_MAXEXP = 1121;
v_PKPOINT = 1122;
v_CREDITPOINT = 1123;
v_HW = 1124;
v_MAXHW = 1125;
v_BW = 1126;
v_MAXBW = 1127;
v_WW = 1128;
v_MAXWW = 1129;
v_GOLDCOUNT = 1130;
v_GOLDCOUNTX = 1131;
v_LUCKY = 1132;
v_GAMEGOLD = 1133;
v_GAMEDIAMOND = 1134;
v_GAMEGIRD = 1135;
v_GAMEPOINT = 1136;
v_ACCOUNTGOLD = 1137;
v_HUNGER = 1138;
v_LOGINTIME = 1139;
v_LOGINLONG = 1140;
v_DRESS = 1141;
v_WEAPON = 1142;
v_RIGHTHAND = 1143;
v_HELMET = 1144;
v_ZHULI = 1145;
v_SUBSTAN = 1146;
v_SUPET = 1147;
v_NECKLACE = 1148;
v_RING_R = 1149;
v_RING_L = 1150;
v_ARMRING_R = 1151;
v_ARMRING_L = 1152;
v_BUJUK = 1153;
v_BELT = 1154;
v_BOOTS = 1155;
v_CHARM = 1156;
v_SHIELD = 1157;
v_HORSE = 1158;
v_DRUM = 1159;
v_HAT = 1160;
v_SDRESS = 1161;
v_SWEAPON = 1162;

v_IPLOCAL = 1257;
v_GUILDBUILDPOINT = 1258;
v_GUILDAURAEPOINT = 1259;
v_GUILDSTABILITYPOINT = 1260;
v_GUILDFLOURISHPOINT = 1261;
v_PICKDROPITEMNAME = 1262;
v_CURITEMNAME = 1263;
v_CURUSERNAME = 1264;
v_USERSTATENAME = 1265;
v_FBTIME = 1266;
v_CURRTEMSTDMODE = 1267;
v_CURRTEMNAME = 1268;
v_JOB = 1269;
v_GENDER = 1270;
v_HAIR = 1271;
v_BAGSIZE = 1272;

v_USERNEWNAME = 1300;
v_KILLMONEXPRATE = 1301;
v_KILLMONEXPRATETIME = 1302;
v_FBMAP = 1303;
v_SCRIPTPARAM1 = 1304;
//v_SPA =1304;
{$endregion}
/// ////////////////////////////////////////////////////////////////

sSL_UserLevelOrder = '@UserLevelOrder';
sSL_WarrorLevelOrder = '@WarrorLevelOrder';
sSL_WizardLevelOrder = '@WizardLevelOrder';
sSL_TaoistLevelOrder = '@TaoistLevelOrder';
sSL_MasterCountOrder = '@MasterCountOrder';
sSL_UsernGoldOrder = '@UsernGoldOrder';
sSL_UsernGameGoldOrder = '@UsernGameGoldOrder';

sSL_LevelOrderHomePage = '@LevelOrderHomePage';
sSL_LevelOrderPreviousPage = '@LevelOrderPreviousPage';
sSL_LevelOrderNextPage = '@LevelOrderNextPage';
sSL_LevelOrderLastPage = '@LevelOrderLastPage';
sSL_MyLevelOrder = '@MyLevelOrder';

sSL_CreateHero = '@@CreateHero';//创建英雄脚本命令
sSL_LyCreateHero = '@@LyCreateHero';//创建英雄脚本命令
sSL_BuHero ='@@BuHero';//酒馆英雄NPC 20080514
sSL_PlayMakeWine ='@PlayMakeWine';//酿酒 标识 20080619
sSL_PlayDrink ='@PlayDrink';//请酒,斗酒 20080515
sSL_DealYBme = '@dealybme';//元宝寄售:出售物品 20080316
sSL_ybdeal ='@ybdeal';//元宝寄售 20080316

sSL_UPGRADEITEMS = '@upgradeitems';//装备重新洗出属性

sSL_MAKEGEM = '@makegemlist'; //所有物品
sSL_MAKEFOOD = '@makefood'; //食物类物品
sSL_MAKEPOTION = '@makepotion';//药水恢复类
sSL_MAKEGEMS = '@makegem'; //升级宝石类物品
sSL_MAKEITEM = '@makeitem'; //装备类物品
sSL_MAKETUFF = '@makestuff'; //技能类物品
sSL_MAKEETC = '@makeetc'; //原料类物品
sSL_MAKEOPN = '@makeopn'; //其他类物品

sSL_MAKEWEAPON = '@makeWeapon'; //武器:5,6,99
sSL_MAKEDRESS = '@makeDress'; // 衣服:10,11,77,88
sSL_MAKENECKLACE = '@makeNecklace'; //项链:19,20,21
sSL_MAKERING = '@makeRing'; //戒指:22,23
sSL_MAKEARMRING = '@makeArmring'; // 手镯:24,26
sSL_MAKEHELMET = '@makeHelmet'; // 头盔:15,16
sSL_MAKERIGHTHAND = '@makeRighthand'; //勋章:30
sSL_MAKEBOOTS = '@makeBoots';//靴子:52,62
sSL_MAKEBELT = '@makeBelt';//腰带:54,64
sSL_MAKECHARM = '@makeCharm'; //宝石:53,63
sSL_MAKEDRAGON = '@makeDragon'; //魔血石与火龙印 7

@H.TakeOff   QF

@H.TakeOn    QF

@HeroGetExp  分配给英雄经验触发QF

@HeroLogin    英雄登录触发QM

@HeroLevelUp  英雄升级触发QF

@H.StdModeFunc  英雄使用物品触发QF

@pickupitem+物品名字    宝宝拾取触发QF

@PickUpItemex  宝宝拾取触发QF

@GetExp  人物取得的经验触发QF

@CancelMission  是删除任务触发QF

@OnTimer+数字  个人定时器触发  共255个

@NormNpc + NPC名字   点击NPC触发QF

@USEGAMEGIRD  灵符使用触发QF

@GuildClose   人物退出行会触发

@Member  打开会员功能窗口触发QM

@LevelOrder   好像是点击排行榜触发

@QueryUserHeroState   查看英雄装备触发   QF     英雄和主人都可以触发

@QueryUserState

@StartAutoOnline  开始挂机触发QF

@StopAutoOnline  停止挂机触发QF

@CreateChatRoomReq  创建聊天室QF

@MakeItemOK   锻造装备成功触发QF

@MakeItemOff   锻造装备失败触发QF

@OnInit  @Login  @Logon    人物登陆触发QM

@StdModeFunc+数字    使用物品触发

@PlayDie  死亡触发QF

@playSkill    人物学技能触发QF

@HeroplaySkill  英雄学技能触发QF

@KillMissionMob  宝宝杀死怪触发QF

@PlayLevelUp  人物升级触发QF

@KillPlay  杀人触发QF

@ChangeHumNameOK   QF

@GroupClose   退出组队时触发QF

@GroupCreate   创建小组时触发QF

@GroupAddMember   加入小组时触发QF

@GroupDelMember    删除小组成员时触发QF

@交易成功    QF

@GuildCreate  人物加入行会触发QF

@ReQuestGuildWar  申请行会战QF

@KillMonster  @OnKillMob  @OnKillMon  杀怪触发QF

@Attack  攻击触发

@TakeOff

@TakeOn

@ChangeItems   修理物品触发当前NPC

@PlayOffLine   人物下线触发

@PlayReconnection   人物小退触发

@Challenge    触发段(传送挑战地图)

@BuyShop  商铺购买触发QF

@摆摊     摆摊触发

@StartMyShop  摆摊检查触发

@GetCrystalData    客户端点击天地结晶,返回经验等


Still stuck? How c
我的


回复

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|网站地图|RSS|传奇之眼|快捷导航

GMT+8, 2024-5-26 07:48 , Processed in 1.198955 second(s), 22 queries .

Website address vvvmy.com

information content © 2001-2024, QQ:3756474.

快速回复 返回顶部 返回列表