- Nov 23, 2010
- 75
- 5
- 35
Found this list of commands while digging through chineese website tonight, I'm not running king so not sure of its accuracy but here it is hope it usefull for king operators:
If useless info feel free to delete thread
If useless info feel free to delete thread
King 1010 plug-in unit script order |
MovD0100 INCD85 DecD81 Mul//MulP1P21//in result P9, 3rd parameter =1 affects from the defined variable value, if uses tests %P21 from defined variable Mul MulP1P2//DivP1P2//in result P9, if uses tests %P21 from defined variable Div MovrD0100 AddstrA2 ") “ RUNSCRIPTLABEL[ALL|GUILD|GROUP|PLAYERNAME] “@_CALLBACK” // label the pattern neglects NPC for [@~~*] position ~~ to be possible the random place transfer MOVETOPLAYER role MOVETONPCNPC name DELFILE SETPROJOB SETPROLVL SETPROEXP SETSTORAGEPASSOK ITEMNAMEPREFIX position name CHANGELVL+100 CHANGEPK+100 SETSUPERCHANGE+100 SETTEMPJF+100 SETSERVEREXPMULTIPLE CHECKCARDPASS SETSTFLAG1AAAABBBB // establishes BBBB the ST condition is the 1ST name is AAAA //SETSTFLAG1CCCC// establishes own ST condition is the 1ST name is CCCC //0 has not acknowledged as teacher has not accepted the apprentice //1 skilled worker is skilled worker // skilled worker //2 apprentice is the apprentice // apprentice //3 apprentice is chased finishes an apprenticeship the gate //4 skilled worker the apprentice already finished an apprenticeship //5 skilled worker betrays Shi Men //6 skilled worker the apprentice already achieved finishes an apprenticeship the rank, has not finished an apprenticeship temporarily // skilled worker //7 apprentice to have finished an apprenticeship the rank, has not finished an apprenticeship temporarily // apprentice //8 skilled worker the apprentice chooses does not finish an apprenticeship, but skilled worker not online has not obtained rewards // skilled worker //9 skilled worker achieves finishes an apprenticeship the apprentice who the rank continues to retain to decide the disowning of offspring //10 apprentice retains the priests and disciples related by skilled worker have been relieved, and not online SUBCARD SETUSERJF+100 eats experience user SETFAME+100 EDITITEM[FLD_DESC1~FLD_DESCB]+-=100makeidx ADDMAGIC evil spirit name in religion 5 GIVEEXPEX50000 KICKUSER ATTRIBUTEADD[CLEAR]|DC|SC|MC|MAC|MP|AC|AM1~7|HP100 SETDOUBLEEXP+1000 STARTDOUBLEEXP100 SETLOCK SETUNLOCK TAKEITEMBYIDX1234 GIVEEXAAA1 CHANGEMAGLVLAAA12 GIVEGOLDEX1000 RESETSERVERTOP10//refurbishing server ranking first 10, behind union % *** use SETPOINT+100//establishment metempsychosis dot number of times ACCEPTREBORNBONUS[CLEAR]|DC|SC|MC|MAC|MP|AC|AM1~7|HP100 ENLOADVALUEP9 ". \ A.INI the "" establishment, the test, the default value " // can use from the defined variable ENSAVEVALUEP9 ". \ A.INI the "" establishment, the test, the default value " // can use from the defined variable FormatStr " wherefld_username=%s " %Username FormatStr " wherefld_time=%s " %D0 READSQL " table "" field name, field name 2 "" from defined variable 1, from defined variable 2 " %A9//read plug-in unit database field data default user FormatStr " %s,%s,%s " FLD_CHARACTER, field name 1, field name 2//most 3 variables MOVA7%A9 FormatStr " %s,%s,%s " %Username, field name 1 value, field name 2 value // most 3 variables MOVA8%A9 FormatStr " whereFLD_CHARACTER=%s " %Username WRITESQL " table " %A7%A8%A9//reads in the database field data default user // initialization database FormatStr " whereFLD_CHARACTER=%s " %Username WRITESQL " table "" FLD_CHARACTER " %Username%A9 TAKEBONUSEX[CLEAR]|[INC]|DC|SC|MC|MAC|MP|AC|AM1~7|HP100 ADDEIMEMOLOG " aaaaaaaaaaaaaaaa " SENDUSERSAY " @ permission intimate conversation " ////////////////////////////////////////////////////////////////////// checkcmd: ////////////////////////////////////////////////////////////////////// mov Equal//support from definition constant EqualUSERSTNAME " AAAAA " Large//support from definition constant Small//support from definition constant Elarge//support from definition constant Esmall//support from definition constant Inc Dec Checkbonus The CHECKMAPFLAGksnomove name (is spatial script performer in map) the name type (0: Plays family reputation 1:NPC 2: Map name 3: Map number) ////////////// CHECKMAPFLAGMAPGOURP5//P9 CHECKMAPFLAGNPARAM15//P9 CHECKMAPFLAGSPARAM1 " AAAAAAAAA " //A9 ////////////// CHECKUSERJF100 user The CHECKITEMINFO parameter 1 parameter 2 (the parameter 2 indicate parameter 1 type - >0: On body position 1: In package goods name 2: In package goods ID3: On the body equips the name) CHECKTEMPJF100 CHECKCARDVALUE100 ISONLINE user famous parameter 2 (parameter 2=1, in needs to guarantee the user not online time use) The CHECKWEIGHT thing commodity name // returns surplus carries a heavy load The CHECKBAGGAGEEX//returns already took package number CHECKSTORAGEPASSOK ISGROUPOWNER//returns troop founder's name CHECKFAME100 FINDNPCNPC name GUILDMEMBER [S|T| guild|Spatial] CHECKITEMPRICE knife wound medicine 0 CHECKREBORNBONUS//inspection metempsychosis dot number of times setpoint//p1-p8DcmcschpmpacmacAddPoint CHECKALLOWST plays the family reputation // inspection role whether to allow to acknowledge as teacher ISDUOEXP// ISTESTSERVER CHECKSTFLAG1AAABBB // inspects BBB the ST condition whether is the 1, ST name whether is AAA //CHECKSTFLAG1AAA inspects own ST condition whether is the 1, ST name whether is AAA CHECKITEMCOUNT thing commodity name // this goods quantity returns to P9 in ////////////////////////////////////////////////////////////////////// DynamicValues ////////////////////////////////////////////////////////////////////// %USERJF %USERFAME %USERPK %USERCARDVAL %USERSTFLAG %USERSTNAME %USERMAPNAME %USERSPOUSENAME %USERPROJOB %USERPROLVL %USERPROEXP %USERMAPGOURP %USERREBORNCOUNT//metempsychosis number of times %USERADDBONUSCOUNT//greatly friendly dot number of times the %CURWEEK//distance opens the clothing how many star time the %CURDAY//distance opens clothing how many days the %CURHOUR//distance opens clothing how many hours the %STARTSVRMINUTE//server starts how many minutes %STARTGAMEMINUTE//plays the family to enter plays how many minutes %FLD_NAME//through the CHECKITEMINFO definite goods %FLD_STDMODE %FLD_SHAPE %FLD_UPLVLTYPE %FLD_PRICE %FLD_DESC*//0--13RGB %FLD_NAMEPREFIX %FLD_MAKEINDEX // after RESETSERVERTOP10 may obtain the corresponding place the role related information %WARLVLTOPNAME1//rank 1st warrior's name %WARLVLTOPNAME10 rank 10th warrior's name %WIZLVLTOPNAME1//rank 1st Master's name Master %WIZLVLTOPNAME10 rank 10th name %TAOLVLTOPNAME1//rank 1st taoist priest's name %TAOLVLTOPNAME10 rank 10th taoist priest's name %ALLLVLTOPNAME1//the rank 1st name %ALLLVLTOPNAME10 rank 10th name %WARLVLTOPLVL1//rank 1st warrior's rank %WARLVLTOPLVL10 rank 10th warrior's rank %WIZLVLTOPLVL1 %TAOLVLTOPLVL1 %ALLLVLTOPLVL1 the %WARLVLTOPEXP1//rank 1st warrior current experiences the %WARLVLTOPLVL10 rank 10th warrior's current experience %WIZLVLTOPEXP1 %TAOLVLTOPEXP1 %ALLLVLTOPEXP1 the %WARLVLTOPZS1//rank 1st warrior turns around the rank %WARLVLTOPLVL10 rank 10th warrior to turn around the rank %WIZLVLTOPZS1 %TAOLVLTOPZS1 %ALLLVLTOPZS1 %ALLLVLTOPJOB1//all people place the 1st occupation %ZSTOPNAME1//turns around the rank 1st name %ZSTOPLVL1//turns around the rank 1st rank %ZSTOPEXP1//turns around the rank 1st current experience %ZSTOPJOB1//turns around the rank 1st occupation the %FAMETOPNAME1//prestige 1st name %FAMETOPVALUE1//prestige 1st prestige value ////////////////////////////////////////////////////////////////////// Map label: ////////////////////////////////////////////////////////////////////// KSNOMOVE KSNOMOVEEX KSNOEXEC forbids to die triggers @_USERDIE KsNoMove The priests and disciples are united the wedding ring black magic the world KsNoMoveEx The dungeon escapes the volume to return to the city the guild to return to the city the volume priests and disciples stochastically to unite the wedding ring black magic the world DISKWZJ forbids the jamming to help oneself KSNOIMMU does not permit to drink invincibly MAPGOURP(1002) KSATT(1.2) KSEXP(1.5) KSADDDC(1.7) KSADDAC(0.8) KSADDMAC(0.9) NPARAM1(*) NPARAM2(*) NPARAM3(*) SPARAM1 (“*”) SPARAM2 (“*”) SPARAM3 (“*”) ////////////////////////////////////////////////////////////////////// 00DEF label: ////////////////////////////////////////////////////////////////////// @_ONHOURCHANGE @_ONDAYCHANGE @_ONWEEKCHANGE @_ONUSERHOURCHANGE @_ONUSERDAYCHANGE @_ONUSERWEEKCHANGE @_UPLVLEVENT @_ONREADBOOK(%s) // (evil spirit name in religion) //P9 = black magic ID after // carries out, if P0=0 eats the book defeat, returns to original MAGID to eat the book to be successful ////////////////////////////////////////////////////////////////////// Goods database: ////////////////////////////////////////////////////////////////////// Immunity liquid medicines: Duration DC+DC2*255 Time interval MC+MC2*255 The priests and disciples make the revision are stdmode=0 Time interval MC+MC2*255 //stdmode =0shape=2makeword(ac, ac2)=+ blood dc= every 250 millisecond + volume of blood makeword(mac, mac2)=+ blue *20dc2= every 250 millisecond + blue quantities // revises other stdmode=0shape=2 the goods attribute The monster database increases FameAddDcAddMcAddAcAddMacSHRatioSHValue /// //251 dies must explode the goods //SQL pours into the filtration // @_USERDIE Weapon ultra 17 levels // establishes the special goods refurbishing time // world unites the limit The limit cannot use to kill by poison the human poisonously // revises the husbands and wives to fly mutually overlaps Ultra greatly poisonous Ultra big symbol // sets up a stall // character lock // kills the monster to obtain the prestige need= 244://non-earth member cannot dress 245://non-sand member cannot dress 243://non-sand eldest child cannot dress 242://non-earth eldest child cannot dress NOREVIVAL !! Taking a drug !! Practice black magic !! ADDMAGIC !! RUNSCR May encrypt the document StrRes.txt MiniMap.txt MapInfo.txt MonAIs.txt MonItems \ *.txt MonAi_Def \ *.txt MonGen.txt MapQuest.txt LineNotice.txt Merchant.txt GuardList.txt StartPoint.txt Horse's attribute AC carries a heavy load Dc attack upper limit DcMax natural upper limit Mc soul upper limit McMAX returns to the blood speed @_ONREADBOOK(%s,%s) // (evil spirit name in religion, thing commodity name) addmagic evil spirit name in religion 1take thing commodity name //P9 = black magic ID after // carries out, if P9=0 does not continue to carry out eats the book, if P9= original black magic ID continues to carry out eats the book! // eats the book place to remove all black magic repel inspection nTemp:=FieldByName(FurbishHpMp).AsInteger; // restoration Item.wFurbishHpRatio:=HiWord(nTemp); // restores HP rate 655319991999//Random(65535)<=pStdItem.wFurbishHpRatio Item.wFurbishMpRatio:=LoWord(nTemp); // restores MP rate 6553//Random(65535)<=pStdItem.wFurbishHpRatio nTemp:=FieldByName(SuperHit).AsInteger; // knocking Item.wSuperHitRatio:=HiWord(nTemp); // knocking probability 65531999Random(65535)<=pStdItem.wSuperHitRatio Item.btSuperHitValueMin:=HiByte(LoWord(nTemp)); // knocking percentage 20203Min+random(max-min) Item.btSuperHitValueMax:=LoByte(LoWord(nTemp)); // knocking percentage 3 nTemp:=FieldByName(SuperPoison).AsInteger; // explodes the poison Item.wSuperPoisonRatio:=HiWord(nTemp); // explodes poisonous probability 65531999191ARandom(65535)<=pStdItem.wSuperPoisonRatio Item.btSuperPoisonValueMin:=HiByte(LoWord(nTemp)); // knocking percentage 25Min+random(max-min)191A Item.btSuperPoisonValueMax:=LoByte(LoWord(nTemp)); // knocking percentage 26 !! Takes to bring with some equipment to be possible to return to the blood from the striking power (to have probability) //Random(65535)<=Ratio//FurbishHpMp=makelong(MpRatio, HpRatio) !! Knocking (1: Probability 2: Knocking attack percentage) //Random(65535)<=RatioMin+random(max-min)//SuperHit=makelong(makeword(ValueMax, ValueMin), HitRatio) !! Explodes poisonously (1: Probability 2: Knocking attack percentage) //Random(65535)<=RatioMin+random(max-min)//SuperPoison=makelong(makeword(ValueMax, ValueMin), PoisonRatio) !! The Jin'gang coverall adds against reduces attacks //229228227226225 new Jin'gang coverall //maxax=(mindc+maxdc)*2; mindc, maxdc=mindc/3, maxdc/3 attack lower limit = attack lower limit /3 attack upper limit = attack upper limit /3 defense upper limit = own defense + striking power *2 After the weapon promotes 17 levels, rises to attach the attribute Integral business system !! Miser's ring //224 miser's ring Anicount1 is * (Anicount/10) 10 expressed that 1 time of gold coin 25 express 2.5 times After the weapon promotes 17 levels, rises to attach the attribute // Integral business system // database BuyBackJf // @jfbuy(0) (0 weapon 1 clothes 2 hat 3 necklace 4 bangle 5 ring 6 shoe 7 sundry goods) // @jfsell // goods preservation way. \ Market \ JfGoods \ JfGood_*.dat !! 1. Monster quantity goods // (database) the LogKillCount=1 record altogether has been killed how many //. \ Envir \ KillMonLog \ the AllKillMonLog.ini record monster altogether the integer which kills //. \ Envir \ KillMonLog \ the AllKillMonLog.ini record monster every day the integer which kills the // knock rating document establishment - 5/6MonKillCount>(5+random(6)) piece blows out !! 2. When did the integral exchange curl thing commodity name DropItemCount= which //Envir \ ParamControl \ EI internal parameter .iniDropItemName= must explode also to have how many to explode EndDropItemDatetime= to explode to ended !! 4. Assigns the time to assign the monster to assign the role to explode //. \ Envir \ Monitems \ SetMonItem.ini [@ADDMONITEMS time (2007-05-06@12:12:20) commodity name monster (nil=) role (nil=)] @RELOADADDMONITEMS //SETPKMODE10 // parameter 1=1 establishes the PK athletics pattern (to be possible to use black magic in the NOSPELL map, moreover can only attack this pattern to play family) 0 to cancel the PK athletics pattern // simultaneously establishes carries out this order NPC to challenge the map in the map // parameter 2=0 is the permission takes a drug =1 is forbids to take a drug @_ONDELGUILDMEMBER //ARG (1)= withdrawal guild's role name after // sandy soil guild triggering carries out, if P9=0 normally withdraws from the guild, otherwise withdraws from the defeat @_ONGUILDMAKEALLY //ARG (1)= opposite party name //ARG (2)= opposite party guild after // sandy soil guild triggering carries out, if P9=0 normally forms an alliance, otherwise forms an alliance the defeat |