Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //============================================================//
- // This script is made by Plug and Play //
- // Contact us on Facebook http://facebook.com/plugandplayPH //
- // Website : http://plugandplay.cf //
- // VIP MVP Summoner v.2 //
- // Hercules Support : Free Release //
- // Do not removed the credit //
- //============================================================//
- // --> Description <-- //
- // Can summon any mvp listed in each category //
- // Item is needed to summon a Mvp //
- // Limit Summon Count to avoid summon abuse //
- // You need to configure SET script to make it work //
- // Report Bug : Bump the Topic or send a PM //
- //============================================================//
- // --> New Version <-- //
- // VIP MVP Summoner v.2 //
- // Enable to use item in reseting the MVP Count Status //
- //============================================================//
- guild_vs3,50,55,4 script MVP Summoner 123,{
- mes "[ MVP Summoner ]";
- mes "Good Day ^FF0000"+strcharinfo(0)+"^000000";
- mes "You can choose any MVP Boss you want to summon now";
- mes "MVPs has been classified as";
- mes "^FF0000Normal MVP^000000 ^00FF00Rare MVP^000000 ^0000FFLHZ MVP^000000";
- next;
- mes "[ MVP Summoner ]";
- mes "But before you can summon a MVP";
- mes "You need the following items";
- mes "^FF0000Normal MVP^000000 : "+.itemcount[0]+"x "+getitemname(.itemrequired[0]);
- mes "^00FF00Rare MVP^000000 : "+.itemcount[0]+"x "+getitemname(.itemrequired[1]);
- mes "^0000FFLHZ MVP^000000 : "+.itemcount[0]+"x "+getitemname(.itemrequired[2]);
- next;
- menu "^FF0000Normal MVP^000000",normalmvp,"^00FF00Rare MVP^000000",raremvp,"^0000FFLHZ MVP^000000",lhzmvp,"Exit Summoning Area",exit_area;
- normalmvp:
- if ( #NormalMVPCount == .NormalMVP_Max && #NormalMVPCount <= .NormalMVP_Max ){
- mes "[ MVP Summoner ]";
- mes "You already summoned";
- mes "^CC0000"+.NormalMVP_Max+"^000000 Normal Mvp Monster";
- mes "Limit Status will be resetted after 24 Hours";
- mes "Talk to MVP Summoner Reseter in Prontera to Reset";
- close;
- }
- if ( countitem(.itemrequired[0]) < .itemcount[0] ){
- mes "[ MVP Summoner ]";
- mes "Sorry, You don't have";
- mes "^CC0000"+.itemcount[0]+"x "+getitemname(.itemrequired[0])+"^000000";
- close;
- }
- if ( countitem(.itemrequired[0]) >= .itemcount[0] && #NormalMVPCount <= .NormalMVP_Max ){
- mes "[ MVP Summoner ]";
- set .@NormalCount,.NormalMVP_Max - #NormalMVPCount;
- mes "Choose ^FF0000Normal MVP^000000";
- mes "You only have ^00CC00"+.@NormalCount+" Summon^000000 Left";
- set .@NormalMVP_Menu$,"";
- for (set @i,0; @i < getarraysize(.NormalMVPList); set @i,@i+1)
- set .@NormalMVP_Menu$,.@NormalMVP_Menu$ + ""+getmonsterinfo(.NormalMVPList[@i],0)+":";
- next;
- set .@NormalMVPSelect,select( .@NormalMVP_Menu$ ) - 1;
- mes "[ MVP Summoner ]";
- mes "Do you want to summon";
- mes getmonsterinfo(.NormalMVPList[.@NormalMVPSelect],0);
- next;
- menu "Yes Summon Now",summon_Normal_now,"Nope, Not Now",not_summon_Normal;
- summon_Normal_now:
- message strcharinfo(0),"You summoned "+getmonsterinfo(.NormalMVPList[.@NormalMVPSelect],0);
- monster .mvpmap_summon$,.x_coordinate,.y_coordinate,getmonsterinfo(.NormalMVPList[.@NormalMVPSelect],0),.NormalMVPList[.@NormalMVPSelect],1;
- delitem .itemrequired[0], .itemcount[0];
- if( #NormalMVPCount > 0){
- #NormalMVPCount += 1;
- }
- if( #NormalMVPCount == 0){
- #NormalMVPCount += 1;
- #ResetNormalCount = gettimetick(2) + 24*60*60;
- }
- close;
- not_summon_Normal:
- close;
- end;
- }
- end;
- raremvp:
- if ( #RareMVPCount == .RareMVP_Max && #RareMVPCount <= .RareMVP_Max ){
- mes "[ MVP Summoner ]";
- mes "You already summoned";
- mes "^CC0000"+.RareMVP_Max+"^000000 Rare Mvp Monster";
- mes "Limit Status will be resetted after 24 Hours";
- mes "Talk to MVP Summoner Reseter in Prontera to Reset";
- close;
- }
- if ( countitem(.itemrequired[1]) < .itemcount[1] ){
- mes "[ MVP Summoner ]";
- mes "Sorry, You don't have";
- mes "^CC0000"+.itemcount[1]+"x "+getitemname(.itemrequired[1])+"^000000";
- close;
- }
- if ( countitem(.itemrequired[1]) >= .itemcount[1] && #RareMVPCount <= .RareMVP_Max ){
- mes "[ MVP Summoner ]";
- set .@RareCount,.RareMVP_Max - #RareMVPCount;
- mes "Choose ^FF0000Rare MVP^000000";
- mes "You only have ^00CC00"+.@RareCount+" Summon^000000 Left";
- set .@RareMVP_Menu$,"";
- for (set @i,0; @i < getarraysize(.RareMVPList); set @i,@i+1)
- set .@RareMVP_Menu$,.@RareMVP_Menu$ + ""+getmonsterinfo(.RareMVPList[@i],0)+":";
- next;
- set .@RareMVPSelect,select( .@RareMVP_Menu$ ) - 1;
- mes "[ MVP Summoner ]";
- mes "Do you want to summon";
- mes getmonsterinfo(.RareMVPList[.@RareMVPSelect],0);
- next;
- menu "Yes Summon Now",summon_Rare_now,"Nope, Not Now",not_summon_Rare;
- summon_Rare_now:
- message strcharinfo(0),"You summoned "+getmonsterinfo(.RareMVPList[.@RareMVPSelect],0);
- monster .mvpmap_summon$,.x_coordinate,.y_coordinate,getmonsterinfo(.RareMVPList[.@RareMVPSelect],0),.RareMVPList[.@RareMVPSelect],1;
- delitem .itemrequired[1], .itemcount[1];
- if( #RareMVPCount > 0){
- #RareMVPCount += 1;
- }
- if( #RareMVPCount == 0){
- #RareMVPCount += 1;
- #ResetRareCount = gettimetick(2) + 24*60*60;
- }
- close;
- not_summon_Rare:
- close;
- end;
- }
- end;
- lhzmvp:
- if ( #LhzMVPCount == .LhzMVP_Max && #LhzMVPCount <= .LhzMVP_Max ){
- mes "[ MVP Summoner ]";
- mes "You already summoned";
- mes "^CC0000"+.LhzMVP_Max+"^000000 Lhz Mvp Monster";
- mes "Limit Status will be resetted after 24 Hours";
- mes "Talk to MVP Summoner Reseter in Prontera to Reset";
- close;
- }
- if ( countitem(.itemrequired[2]) < .itemcount[2] ){
- mes "[ MVP Summoner ]";
- mes "Sorry, You don't have";
- mes "^CC0000"+.itemcount[2]+"x "+getitemname(.itemrequired[2])+"^000000";
- close;
- }
- if ( countitem(.itemrequired[2]) >= .itemcount[2] && #LhzMVPCount <= .LhzMVP_Max ){
- mes "[ MVP Summoner ]";
- set .@LhzCount,.LhzMVP_Max - #LhzMVPCount;
- mes "Choose ^FF0000Lhz MVP^000000";
- mes "You only have ^00CC00"+.@LhzCount+" Summon Left";
- set .@LhzMVP_Menu$,"";
- for (set @i,0; @i < getarraysize(.LhzMVPList); set @i,@i+1)
- set .@LhzMVP_Menu$,.@LhzMVP_Menu$ + ""+getmonsterinfo(.LhzMVPList[@i],0)+":";
- next;
- set .@LhzMVPSelect,select( .@LhzMVP_Menu$ ) - 1;
- mes "[ MVP Summoner ]";
- mes "Do you want to summon";
- mes getmonsterinfo(.LhzMVPList[.@LhzMVPSelect],0);
- next;
- menu "Yes Summon Now",summon_Lhz_now,"Nope, Not Now",not_summon_Lhz;
- summon_Lhz_now:
- message strcharinfo(0),"You summoned "+getmonsterinfo(.LhzMVPList[.@LhzMVPSelect],0);
- monster .mvpmap_summon$,.x_coordinate,.y_coordinate,getmonsterinfo(.LhzMVPList[.@LhzMVPSelect],0),.LhzMVPList[.@LhzMVPSelect],1;
- delitem .itemrequired[2], .itemcount[2];
- if( #LhzMVPCount > 0){
- #LhzMVPCount += 1;
- }
- if( #LhzMVPCount == 0){
- #LhzMVPCount += 1;
- #ResetLhzCount = gettimetick(2) + 24*60*60;
- }
- close;
- not_summon_Lhz:
- close;
- end;
- }
- exit_area:
- killmonster .mvpmap_summon$,"All";
- savepoint "prontera",116,73;
- warp "prontera",105,65;
- end;
- OnInit:
- //============ Maximum Summon Settings ================//
- set .NormalMVP_Max,15;
- set .RareMVP_Max,10;
- set .LhzMVP_Max,5;
- //========== Summon Map Setting ==============//
- //use /where to get the exact coor
- // use 0 in both x and y if you want it random coordinate
- set .mvpmap_summon$,"guild_vs3";
- set .x_coordinate,0; // Horizontal
- set .y_coordinate,0; // Vertical
- //======== Item Requirements and Amount Needed =========//
- setarray .itemrequired[0],501,502,503; //Normal MVP = 501 | Rare MVP = 502 | LHZ = 503
- setarray .itemcount[0],10,20,30; //now many item needed in each array ( 501=10 | 502=20 | 503=30 )
- //======= List of Normal MVPS ========//
- setarray .NormalMVPList,1038, // Osiris
- 1039, // Baphomet
- 1046, // Doppelganger
- 1059, // Mistress
- 1086, // Golden Thief Bug
- 1087, // Orc Hero
- 1112, // Drake
- 1115, // Eddga
- 1147, // Maya
- 1150, // Moonlight Flower
- 1157, // Pharaoh
- 1159, // Phreeoni
- 1190, // Orc Lord
- 1251, // Stormy Knight
- 1252, // Garm
- 1272, // Dark Lord
- 1312, // Turtle General
- 1373, // Lord of the Dead
- 1389, // Dracula
- 1418, // Evil Snake Lord
- 1492, // Incantation Samurai
- 1511, // Amon Ra
- 1583, // Tao Gunka
- 1623, // RSX
- 1630, // Bacsojin
- 1658, // General Egnigem
- 1685, // Vesper
- 1719, // Detale
- 1779, // Ktullanux
- 1785, // Atroce
- 1885; // Gopinich
- //======= List of Rare MVPS ========//
- setarray .RareMVPList, 1688, // Lady Tanee
- 1708, // Thanatos
- 1734, // Kiel D-01
- 1751, // Randgris
- 1768, // Gloom Undernight
- 1832, // Ifrit
- 1871, // Fallen Bishop
- 1874, // Berzebub
- 1917, // Wounded Morocc
- 2022; // Nidhoggr's Shadow
- //======= List of LHZ MVPS ========//
- setarray .LhzMVPList,1646, // Lord Knight
- 1647, // Assassin Cross
- 1648, // Whitesmith
- 1649, // High Priest
- 1650, // Sniper
- 1651; // High Wizard
- end;
- OnPCLogoutEvent:
- if ( (#NormalMVPCount || #RareMVPCount || #LhzMVPCount) && (strcharinfo(3) == .mvpmap_summon$ )){
- killmonster .mvpmap_summon$,"All";
- savepoint "prontera",116,73;
- end;
- }
- } //end of header
- // ================ MVP Summoner Manager ===========================//
- prontera,105,70,4 script MVP Summoner Manager 125,{
- mes "[ MVP Summoner Manager ]";
- mes "Hello ^CC0000"+strcharinfo(0)+"^000000";
- mes "This is the Manager of the Summoner";
- mes "How can I help you?";
- next;
- menu "^CC0000Enter VIP MVP Summoner^000000",vip_summoner,"^00CC00Reset MVP Count^000000",reset_mvp_count;
- vip_summoner:
- mes "[ MVP Summoner Manager ]";
- mes "Only 1 Player can enter in the VIP MVP Summon Room";
- next;
- mes "[ MVP Summoner Manager ]";
- if( getmapusers(.mvpmap_respawn$) > 0 ){
- mes "Sorry, Only 1 player is allowed to enter";
- mes "Wait until the player is done summoning";
- close;
- }
- if( getmapusers(.mvpmap_respawn$) == 0 ){
- warp .mvpmap_respawn$,.x_respawn,.y_respawn;
- savepoint .mvpmap_respawn$,.x_respawn,.y_respawn;
- }
- end;
- reset_mvp_count:
- mes "[ MVP Summoner Manager ]";
- mes "There is two option in reseting";
- mes "MvP Count Status";
- mes "Using ^00CC00"+.itemresetamount+"pcs "+getitemname(.itemresetreq)+"^000000";;
- mes "Or reset it after 24 Hours";
- next;
- menu "Reset using "+getitemname(.itemresetreq),res_using_item,"Check Time Reset",check_time_reset;
- res_using_item:
- if(#NormalMVPCount == 0 && #RareMVPCount == 0 && #LhzMVPCount == 0){
- mes "[ MVP Summoner Manager ]";
- mes "You already resetted the MVP Count Status";
- close;
- }
- if( countitem(.itemresetreq) < .itemresetamount){
- mes "[ MVP Summoner Manager ]";
- mes "Sorry, You don't have ^00CC00"+.itemresetamount+"pcs "+getitemname(.itemresetreq)+"^000000";
- mes "All Mvp Count every 24 hours";
- close;
- }
- if( countitem(.itemresetreq) >= .itemresetamount){
- mes "[ MVP Summoner Manager ]";
- mes "MVP Count has been resetted";
- mes "You can now summon again";
- mes "You can only reset MVP Count";
- mes "Every 24 Hours from the 1st summon";
- set #NormalMVPCount,0;
- set #RareMVPCount,0;
- set #LhzMVPCount,0;
- set #ResetNormalCount,0;
- set #ResetRareCount,0;
- set #ResetLhzCount,0;
- delitem .itemresetreq, .itemresetamount;
- message strcharinfo(0),"Reset MVP Count Status has been resetted, you can summon again";
- close;
- }
- end;
- check_time_reset:
- if(#NormalMVPCount == 0 && #RareMVPCount == 0 && #LhzMVPCount == 0){
- mes "[ MVP Summoner Manager ]";
- mes "You already resetted the MVP Count Status";
- close;
- }
- if(#ResetNormalCount > gettimetick(2) || #ResetRareCount > gettimetick(2) || #ResetLhzCount > gettimetick(2)){
- mes "[ MVP Summoner Manager ]";
- mes "Sorry, You can only reset";
- mes "All Mvp Count every 24 hours";
- close;
- }
- else{
- mes "[ MVP Summoner Manager ]";
- mes "MVP Count has been resetted";
- mes "You can now summon again";
- mes "You can only reset MVP Count";
- mes "Every 24 Hours from the 1st summon";
- set #NormalMVPCount,0;
- set #RareMVPCount,0;
- set #LhzMVPCount,0;
- message strcharinfo(0),"Reset MVP Count Status has been resetted, you can summon again";
- close;
- }
- end;
- OnInit:
- //========== Summon Map Setting ==============//
- //use /where to get the exact coor
- set .mvpmap_respawn$,"guild_vs3";
- set .x_respawn,50; // Horizontal
- set .y_respawn,50; // Vertical
- set .itemresetreq,501; // Item Need to reset the MVP Count Status
- set .itemresetamount,10; // Amount of item needed to reset MVP Count Status
- }
- // LOG OUT Setting
- - script MVP Summoner Logout -1,{
- }
- // SET MAPFLAG
- guild_vs3 mapflag pvp off
- guild_vs3 mapflag gvg off
- guild_vs3 mapflag monster_noteleport
- guild_vs3 mapflag nowarp
- guild_vs3 mapflag nowarpto
- guild_vs3 mapflag noreturn
- guild_vs3 mapflag noteleport
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement