Hi there i get the script from a Chinese friend and i converted to English version but seen a lot problem in the script .,.
any one can help me fix that ? thank you so much .
The problem is
-Party leader can't register mes: You are not Team leader.
-the map flag paste to upside, the npc is click nothing, no chat log out .
but i feel still a lot trouble inside ... thank you for helping ..
prontera,182,214,4 script MVP Challanger 115,{ set @ZenyC,800000; set @ZenyP,500000; set @Player,12; set @BaseLv,99; setarray @Class[1],0,4001; setarray @ModID[1],1038,1039,1046,1059,1086,1087,1112,1115,1147,1150, 1157,1159,1190,1251,1252,1273,1312,1373,1389,1418,1492,1511,1583,1630,1688,2156; setarray @GuanRests[1],5; set @Summon,1; setarray @GuanMod[1],1,1,1,1,1,1,1,1,1,1,2; set @OpenShop,0; set @ReMinZeny,80; set @ReMaxZeny,300; setarray @ReItemAID[1],12186,607,608,2658,5013,5357,12246,5597; setarray @ReItemNum[1],1,700,400,1,1,1,2,1; set @ModIDSize,(getarraysize(@ModID)-1); set @ItemSize,(getarraysize(@ReItemAID)-1); set @GuanSize,(getarraysize(@GuanMod)-1);06guild_01.gat mapflag nomemo 06guild_01.gat mapflag noteleport 06guild_01.gat mapflag nosave 06guild_01.gat mapflag nopenalty 06guild_01.gat mapflag nobranch 06guild_01.gat mapflag noloot 06guild_02.gat mapflag nomemo 06guild_02.gat mapflag noteleport 06guild_02.gat mapflag nosave 06guild_02.gat mapflag nopenalty 06guild_02.gat mapflag nobranch 06guild_02.gat mapflag noloot 06guild_03.gat mapflag nomemo 06guild_03.gat mapflag noteleport 06guild_03.gat mapflag nosave 06guild_03.gat mapflag nopenalty 06guild_03.gat mapflag nobranch 06guild_03.gat mapflag noloot 06guild_04.gat mapflag nomemo 06guild_04.gat mapflag noteleport 06guild_04.gat mapflag nosave 06guild_04.gat mapflag nopenalty 06guild_04.gat mapflag nobranch 06guild_04.gat mapflag noloot 06guild_05.gat mapflag nomemo 06guild_05.gat mapflag noteleport 06guild_05.gat mapflag nosave 06guild_05.gat mapflag nopenalty 06guild_05.gat mapflag nobranch 06guild_05.gat mapflag noloot 06guild_06.gat mapflag nomemo 06guild_06.gat mapflag noteleport 06guild_06.gat mapflag nosave 06guild_06.gat mapflag nopenalty 06guild_06.gat mapflag nobranch 06guild_06.gat mapflag noloot 06guild_07.gat mapflag nomemo 06guild_07.gat mapflag noteleport 06guild_07.gat mapflag nosave 06guild_07.gat mapflag nopenalty 06guild_07.gat mapflag nobranch 06guild_07.gat mapflag noloot 06guild_08.gat mapflag nomemo 06guild_08.gat mapflag noteleport 06guild_08.gat mapflag nosave 06guild_08.gat mapflag nopenalty 06guild_08.gat mapflag nobranch 06guild_08.gat mapflag noloot guild_room.gat mapflag nomemo guild_room.gat mapflag noteleport guild_room.gat mapflag nosave guild_room.gat mapflag nopenalty guild_room.gat mapflag nobranch //shop Dealer#0 -1,663:100,501:-1,502:-1,503:-1,504:-1,505:-1,506:-1,525:-1,610:-1,645:-1,656:-1,657:-1,662:-1,715:-1,716:-1,717:-1,1065:-1,1750:-1,1751:-1,1752:-1,1753:-1,13200:-1,13201:-1,13202:-1,13250:-1,13251:-1;//========================================================// if ( getcharid(1) == 0 ) { mes "[MVP Warper]"; mes "Sorry, You don't have any party!"; mes "Cannot participiant."; close; } if ( BaseLevel < @BaseLv ) { mes "[MVP Warper]"; mes "Sorry, Your lv is out of required."; mes "Cannot participiant."; mes "Lv must be^FF0000"+ @BaseLv +"^000000"; close; } for ( set .@CheckClass,1; .@CheckClass < (getarraysize(@Class)+1); set .@CheckClass,.@CheckClass+1 ) { if ( class == @Class[.@CheckClass] ) { mes "[MVP Warper]"; mes "Sorry,^FF0000"+ jobname(class) +"^000000 cannot be participiant."; close; } }//====================================================// mes "[MVP Warper]"; mes "Hi, I'm MVP Warper"; mes "How may i serve you?"; next; select("I Wish to register!"); for ( set @MnF,1; @MnF <= 5; set @MnF,@MnF+1 ) { if ( getmapusers("06guild_0"+@MnF) == 0 ) { set @PID[@MnF],0; } } for ( set @MnF,1; @MnF <= 5; set @MnF,@MnF+1 ) { if ( getcharid(0) == @PID[@MnF] ){ mes "[MVP Warper]"; mes "Are you PARTY of [^FF0000"+ getpartyname(getcharid(1)) +"^000000]?"; mes "For the ENTRANCE FEE is^FF0000"+ @zenyp +"^000000zeny."; next; if (select("Register.","No.")==2) { mes "[MVP Warper]"; mes "Thank you and please come again."; close; } if ( @Start[@MnF] == 1 ) { mes "[MVP Warper]"; mes "Sorry, Your teammate is already begin the MVP Challanges."; mes "Please waiting or join to other PARTY."; close; } if ( zeny < @zenyc ) { mes "[MVP Warper]"; mes "Sorry, you are insufficient funds."; close; } if ( getmapusers("06guild_0"+@MnF) >= @Player ) { mes "[MVP Warper]"; mes "The partymember of[^FF0000"+ getpartyname(getcharid(1)) +"^000000]if full."; mes "Please waiting or join to other PARTY."; close; } set zeny,zeny - @zenyp; warp " 06guild_0 "+@MnF,49,47; end; } }//====================================================// mes "[MVP Warper]"; mes "Do you want to register with your teammate?"; mes "For the ENTRANCE FEE is^FF0000"+ @zenyp +"^000000zeny."; next; if (select("Register.","No")==2) { mes "[MVP Warper]"; mes "Thank you and please come again."; close; } if ( getcharid(0) != CID[@MnF]) { mes "You are not the Team leader!"; close; } } for ( set @MnF,1; @MnF <= 5; set @MnF,@MnF+1 ) { if ( getmapusers("06guild_0"+@MnF) == 0 ) { enablenpc "MVP Master#"+@MnF; enablenpc "Dealer#"+@MnF; killmonsterall "06guild_0"+@MnF; set Zeny,Zeny- @ZenyC ; set @Start[@MnF],0; set @PID[@MnF],getcharid(1); set CID[@MnF],getcharid(0); set @GuanShu[@MnF],1; announce "The partymember of["+ getpartyname(@PID[@MnF]) +"], please find [MVP Warper] !",15; warp "06guild_0"+@MnF,49,47; end; } } mes "[MVP Warper]"; mes "Sorry all the places is currently in use."; mes "Please wait, thank you"; close;}//=================mapflag========================////====================================================//06guild_01,50,49,4 script Referee#1 115,{ callfunc "Referee",1; }06guild_02,50,49,4 script Referee#2 115,{ callfunc "Referee",2; }06guild_03,50,49,4 script Referee#3 115,{ callfunc "Referee",3; }06guild_04,50,49,4 script Referee#4 115,{ callfunc "Referee",4; }06guild_05,50,49,4 script Referee#5 115,{ callfunc "Referee",5; }//====================================================// set @MnF,getarg(0); mes "[Referee]"; if ( @GuanShu[@MnF] == 0 ) { mes "Sorry about server shut down accidently."; mes "I will fund back for you."; next; if ( getcharid(0) == @CID[@MnF] ) { set zeny,zeny + @ZenyC; } else { set zeny,zeny + @ZenyP; } warp "SavePoint",0,0; close; } if ( getcharid(0) == @CID[@MnF] ) { mes "You are not the Team leader!"; close; } mes "Hi, Im Referee"; mes "How may i serve you?"; next; switch(select("Start!","Wait.",(@GuanShu[@MnF] != 1?"":"Giveup!"))) { case 1: if ( getmapusers("06guild_0"+@MnF) >= @Player ) { mes "[Referee]"; mes "Sorry, member limit is over^FF0000"+ @Player +"^000000"; close; } set @Start[@MnF],1; set @Quantity[@MnF],@GuanMod[$@GuanShu[@MnF]]; set @Check[@MnF],@Quantity[@MnF]; disablenpc "Referee#"+@MnF; if ( @OpenShop ) { disablenpc "Dealer#"+@MnF; } doevent "Mod::OnSummon"; close; case 2: mes "[Referee]"; mes "OK, Im waiting your order."; close; case 3: mes "[Referee]"; mes "OK, i will send you out."; mes "So we only fund back ^FF0000 HALF ^000000zeny"; mes "Are you confirm to QUIT?"; next; if (select("Yes!","No!")==1) { if ( getcharid(0) == CID[@MnF] ) { set zeny,zeny + ( @ZenyC /2); } else { set zeny,zeny + ( @ZenyP /2); } warp "SavePoint",0,0; } close; }}//====================================================//OnSummon: if ( @Summon ) { for ( set .@SummonNun,1; .@SummonNun < (@Check[@MnF]+1); set .@SummonNun,.@SummonNun+1 ) { set @Mod[@MnF],rand(1,@ModIDSize); set @Quantity[@MnF],@Quantity[@MnF]-1; monster "06guild_0"+@MnF,50,50,"--ja--",@ModID[@Mod[@MnF]],1," Mod::OnKill"; announce "Referee : ["+getmonsterinfo(@ModID[@Mod[@MnF]],MOB_NAME)+"] is summoned!",1; } announce "Referee : All the MVP is summoned, let's start.(Totally is"+@Check[@MnF]+"MVP)",1; } else { set @Mod[@MnF],rand(1,@ModIDSize); set @Quantity[@MnF],@Quantity[@MnF]-1; monster "06guild_0"+@MnF,50,50,"--ja--",@ModID[@Mod[@MnF]],1," Mod::OnKill"; announce "Referee : ["+getmonsterinfo(@ModID[@Mod[@MnF]],MOB_NAME)+"] is summoned, let's start.(Left"+@Quantity[@MnF]+"MVP)",1; } if ( @GuanShu[@MnF] == @GuanSize ) { announce "Referee : Come to the last, keep going on!",1; } end;OnKill: if ( @Summon ) { set @FCheck[@MnF],@Check[@MnF]-1; if ( @Check[@MnF] != 0 ) { end; } } else { if ( @Quantity[@MnF] != 0 ) { addtimer 1000,"Mod::OnSummon"; end; } } announce "Referee : Congrat Stage ["+$@GuanShu[@MnF]+"]is passed!",17; if ( @GuanShu[@MnF] == @FGuanSize ) { addtimer 5000," Mod::OnWarp"; end; } for ( set .@CheckRests,1; .@CheckRests < (getarraysize(@GuanRests)+1); set .@CheckRests,.@CheckRests+1 ) { if ( @GuanShu[@MnF] == @GuanRests[.@CheckRests] ) { set @GuanShu[@MnF],@GuanShu[@MnF] +1; announce "Referee : Time to rest, ready for next battle!",17; enablenpc "Referee#"+@MnF; //if ( @OpenShop ) { //announce "Referee : 地圖 12 點鐘方向設有 [道具商人] 唷!",17; //enablenpc "道館商人#"+@MnF; } end; } } //set @GuanShu[@MnF],@GuanShu[@MnF] +1; //set @Quantity[@MnF],@GuanMod[@GuanShu[@MnF]]; //set @Check[@MnF],@Quantity[@MnF]; //addtimer 5000,"Mod::OnSummon"; //end;OnWarp: announce "referee : Congrats TEAM ["+ getpartyname(@PID[@MnF]) +"] pass the challange",15; areawarp "06guild_0"+@MnF,0,0,300,300,"guild_room",42,285;}//====================================================//guild_room.gat,30,285,6 script DarkEasonz 115,{ mes "**Get YOUR PRIZE here!**"; mes "[^996699 Randomly get an item. ^000000]"; mes "[^ff0000 Good luck yo~ ^000000]"; percentheal 100,100; //,20001,20003,20007 setarray .@i,20001,20002,20003,20006,20007,20016,2647,607,608,12186,984,985; setarray .@q,2,2,1,2,2,1,100,200,2,40,40; if(getgmlevel() >= 98){ next; mes "[^ff0000 GMmode ^000000]"; mes ".@i(element num) ="+getarraysize(.@i)+""; mes ".@q(element num) ="+getarraysize(.@q)+""; for (set .@a,0;.@a<getarraysize(.@i);set .@a,.@a+1) mes "^880000"+(.@a+1) +"^000000. [^006600"+ getitemname(.@i[.@a]) +"^000000] ^880000"+.@q[.@a]+"個^000000"; set .@a,0; } next; set .@n,rand(0,(getarraysize(.@i)-1)); getitem .@i[.@n],.@q[.@n]; warp "SavePoint",0,0; close;//====================================guild_room.gat,52,284,4 script Darkeasonz 115,{ mes "**Get YOUR PRIZE here!**"; mes "[^996699 Randomly ZENY ^000000]"; mes "[^ff0000 Good luck yo~ ^000000]"; percentheal 100,100; next; set .@zeny,rand(0,48000); set .@zeny,(25*.@zeny)+800000; set zeny,zeny+.@zeny; dispbottom " Zeny incressed " +.@zeny+ " 。"; warp "SavePoint",0,0; close;}