Rikimaru Posted November 27, 2011 Posted November 27, 2011 (edited) Hello eAthena.net Board, I searched for a MVP Arena here on theese Forums,and I didn't see one,so I started scripting my own one,and now I'm going to release it for everyone who needs a MVP Arena. Do not do the following: - Claim my Work as yours - Download the Script and edit the Name to your name and release it again. - Use it without having the Credits at the top of the Script. - Editing the Script and removing my name from the Script. - If you edit the Script ALWAYS give the link to this Topic,too. You are allowed to do this : - Edit the Script ,but you have to add my name at the top of the Script,and give a link to this topic! - Download the Script and use it for your Server Thank you. Now to the Script: Price for spawning 1 normal MVP is 50.000.000 Zenny Price for spawning 1 Lighthalzen MVP or Thanatos is 250.000.000 Zenny. You can edit this here : set .@zenyCost, 50000000; // EDIT THIS TO YOUR ZENNY COST!! set .@zenyCost2, 250000000; // EDIT THIS TO YOUR ZENNY COST!! Script : http://pastebin.com/ZYK0WmaW MVP_Arena.txt //##################################################################### //# # //# ##### # ######## # # ##### ## # # # //# # ### ## # # # # # # ### # //# #### # # ## ###### #### # # # # # # //# # ####### ## # # # # # # ####### # //# ##### # # ## # # ##### # ## # # # //# # //##################################################################### // // //=========== Script for eathena Users ====================// //MVP Arena made by Rikimaru on eathena .net ==============// //=========================================================// //======== Description ====================================// //== Easy made MVP Arena with all MVP's except the new ====// //== Renewal MVP's. Do not remove the Credits =============// //== Price to spawn 1 MVP is 50.000.000 Zenny =============// //== Price for Thanatos or LHZ MVP's is 250.000.000 Zenny =// //== Do not Remove theese Credits =========================// //================= Version : =============================// //============= V. 1.0 Bug Fixes by Rikimaru ==============// //=========== Credits End =================================// // // //===================== Script of the MVP Warper ==========// MAP_NAME,XXX,YYY,5 script MVP Warper 101,{ mes "[ MVP Warper ]"; mes "I can warp you to the MVP Room,do you want to go there?"; next; switch(select("Yes!:No!")) { case 1: mes "[ MVP Warper ]"; mes "Okay I'm going to warp you."; warp "guild_vs1",50,50; close; case 2: mes "[ MVP Warper ]"; mes "Okay bye!"; close; } } //========================= First Script End =============// //================== MVP Summoner ========================// guild_vs1,50,57,5 script MVP Summoner 790,{ mes "[ MVP Summoner ]"; mes "Hello,I'm able to spawn MVP's."; mes "Which MVP do you want me to spawn?"; mes "1 MVP costs 50.000.000 Zeny"; mes "LHZ MVPs and Thanatos have a"; mes "cost of 250.000.000 Zenny."; set .@zenyCost, 50000000; set .@zenyCost2, 250000000; next; switch(select("Amon Ra:Assassin Croos Eremes:Atroce:Bacsojin:Baphomet:Beelzebub:Dark Lord:Detale:Doppelganger:Dracula:Drake:Eddga:Evil Snake Lord:Fallen Bishop:Garm:Gloom Under Night:Golden Thief Bug:Gopinich:High Priest Magaleta:High Wizard Katrinn:Ifrit:Incantation Samurai:Kiel D-01:Stormy Knight:Ktullanux:Lady Tanee:Lord Knight Seyren:Lord of Death:Maya:Mistress:Moonlight Flower:Orc Hero:Orc Lord:Osiris:Pharaoh:Phreeoni:RSX 0806:Sniper Shecil:Tao Gunka:Thanatos:Turtle General:Valkyrie Randgris:Whitesmith Harword:Ygnizem")) { case 1: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1511 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 2: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost2 ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost2; atcommand "@spawn 1647 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 3: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1785 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 4: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1630 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 5: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1039 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 6: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1874 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 7: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1272 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 8: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1719 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 9: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1046 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 10: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1389 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 11: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1112 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 12: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1115 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 13: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1418 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 14: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1871 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 15: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1252 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 16: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1768 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 17: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1086 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 18: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1885 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 19: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost2 ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost2; atcommand "@spawn 1649 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 20: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost2 ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost2; atcommand "@spawn 1651 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 21: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1832 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 22: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1492 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 23: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1734 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 24: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1251 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 25: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1779 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 26: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1688 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 27: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost2 ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost2; atcommand "@spawn 1646 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 28: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1373 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 29: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1147 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 30: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1059 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 31: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1150 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 32: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1087 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 33: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1190 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 34: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1038 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 35: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1157 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 36: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1159 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 37: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1623 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 38: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost2 ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost2; atcommand "@spawn 1650 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 39: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1583 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 40: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost2 ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost2; atcommand "@spawn 1708 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 41: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1312 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 42: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost; atcommand "@spawn 1751 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 43: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost2 ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost2; atcommand "@spawn 1648 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } case 44: mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zenny."; if( Zeny < .@zenyCost2 ) { mes "You don't have enough money"; close; } else { set Zeny, Zeny - .@zenyCost2; atcommand "@spawn 1658 1"; mes "[ MVP Summoner]"; mes "MVP Spawned!"; close; } } } guild_vs1,31,68,5 duplicate(MVP Summoner) MVP Summoner#1 790 guild_vs1,31,31,5 duplicate(MVP Summoner) MVP Summoner#2 790 guild_vs1,68,31,5 duplicate(MVP Summoner) MVP Summoner#3 790 guild_vs1,68,68,5 duplicate(MVP Summoner) MVP Summoner#4 790 Screenshot : Comments allowed! Thank you and enjoy this. Yours, Rikimaru Edited November 29, 2011 by Rikimaru 1 Quote
simplynice Posted November 27, 2011 Posted November 27, 2011 This is better than @command: [/b][b]monster "<map name>",<x>,<y>,"<name to show>",<mob id>,<amount>{,"<event label>"};[/b][b] Does it check if the map is being used? Quote
Rikimaru Posted November 27, 2011 Author Posted November 27, 2011 (edited) Okay,I'm going to improve that.And no,sorry,it doesn't check if the map is being used. Edited November 27, 2011 by Rikimaru Quote
llchrisll Posted November 28, 2011 Posted November 28, 2011 (edited) Lol that kinda reminds of the one from FrostRo/HyoRo, well I scripted one by myself. I even tried to add the possibility to choose the spawn quantity, but failed somehow o.o, maybe duo lack of knowledge back then q.q. I wouldn't call that an Arena anyway, either an Summoner ;D, but your choice. Though you named the NPC "Summoner" too o.o Regards, Chris Edit: Took a look at the script: O_O, what long one, could be shortened by half at least^^, using arrays . Edited November 28, 2011 by llchrisll Quote
manabeast Posted November 28, 2011 Posted November 28, 2011 look very fun. and can make the ro zeny economy useful abit. Quote
Rikimaru Posted November 28, 2011 Author Posted November 28, 2011 @ Chris : I remembered an Arena (Summoner) like that from MoonlightRO and then I scripted it for the people,who need a MVP Arena (Summoner).And yes,I know that with the arrays,but I prefer scripting without arrays,because most of the time when I had a script with arrays it was erroring me. @manabeast : Thank you,and enjoy the Script. 1 Quote
llchrisll Posted November 28, 2011 Posted November 28, 2011 it was erroring me. I nearly had to laugh at that, sorry o.o. The only scripts which were erroring me, were not tested scripts or when the SVN was newer then the script itself, like an outdated script syntax or like that. If you allow me to shorten the script I will give my best ^^. Regards, Chris Note: My own Summoner was like that too, but that was when I started scripting . Quote
Rikimaru Posted November 29, 2011 Author Posted November 29, 2011 Yeah,if you want to,do that,read what I said in my First post what RAthena Board users are allowed and not allowed to do with the Script. Quote
llchrisll Posted November 29, 2011 Posted November 29, 2011 (edited) Yeah, I saw that too, but didn't remember at that time >_>. Anyway first here is a proof that it works. Uploaded with ImageShack.us Then the script itself = 93 Lines //##################################################################### //# # //# ##### # ######## # # ##### ## # # # //# # ### ## # # # # # # ### # //# #### # # ## ###### #### # # # # # # //# # ####### ## # # # # # # ####### # //# ##### # # ## # # ##### # ## # # # //# # //##################################################################### // // //=========== Script for eathena Users ====================// //MVP Arena made by Rikimaru on rathena.org ==============// //=========================================================// //======== Description ====================================// //== Easy made MVP Arena with all MVP's except the new ====// //== Renewal MVP's. Do not remove the Credits =============// //== Price to spawn 1 MVP is 50.000.000 Zenny =============// //== Price for Thanatos or LHZ MVP's is 250.000.000 Zenny =// //== Do not Remove theese Credits =========================// //================= Version : =============================// //============= V. 1.0 Bug Fixes by Rikimaru ==============// //============= V. 1.1 Shorted by llchrisll //=========== Credits End =================================// // // //===================== Script of the MVP Warper ==========// prontera,142,168,5 script MVP Warper 101,{ mes "[ MVP Warper ]"; mes "I can warp you to the MVP Room,do you want to go there?"; next; switch(select("Yes!:No!")) { case 1: mes "[ MVP Warper ]"; mes "Okay I'm going to warp you."; warp "guild_vs1",50,50; close; case 2: mes "[ MVP Warper ]"; mes "Okay bye!"; close; } } //========================= First Script End =============// //================== MVP Summoner ========================// guild_vs1,50,57,5 script MVP Summoner 790,{ mes "[ MVP Summoner ]"; mes "Hello,I'm able to spawn MVP's."; mes "Which MVP do you want me to spawn?"; mes "1 MVP costs "+.zeny[1]+" Zeny"; mes "LHZ MVPs and Thanatos have a"; mes "cost of "+.zeny[2]+" Zeny."; next; set .@m,select(.smenu$) - 1; mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zeny."; if( Zeny < .zeny[.mobze[.@m]] ) { mes "You don't have enough money"; close; } else { close2; set Zeny, Zeny - .zeny[.mobze[.@m]]; atcommand "@spawn "+.mobid[.@m] + " "+.mobam[.@m]; npctalk "[ MVP Summoner]: "+getmonsterinfo(.mobid[.@m],0) +" Spawned!"; end; } OnInit: setarray .zeny[1],50000000,250000000; // 50m,250m Zeny // Mob IDs setarray .mobid[0],1511,1647,1785,1630,1039,1874,1272,1719,1046,1389,1112,1115,1418,1871,1252,1768,1086,1885,1649,1651,1832,1492,1734,1251,1779,1688,1646,1373,1147,1059,1150,1087,1190,1038,1157,1159,1623,1650,1583,1708,1312,1751,1648,1658; // Mob Spawn Amount setarray .mobam[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1; // Price: Entry as Index from .zeny // 1 = .zeny[1] - 2 = .zeny[2] setarray .mobze[0],1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,2,1,1,1,2,2; set .smenu$,""; for( set .@s,0; .@s < getarraysize(.mobid); set .@s,.@s + 1) { // Skips an Monster if it does not exist in the db if(getmonsterinfo(.mobid[.@s],0) == "" || getmonsterinfo(.mobid[.@s],0) == "null") continue; // else adding it to the menu set .smenu$,.smenu$ + "- "+getmonsterinfo(.mobid[.@s],0) + ( (.mobid[.@s+1] == 0)?"":":"); } end; } guild_vs1,31,68,5 duplicate(MVP Summoner) MVP Summoner#1 790 guild_vs1,31,31,5 duplicate(MVP Summoner) MVP Summoner#2 790 guild_vs1,68,31,5 duplicate(MVP Summoner) MVP Summoner#3 790 guild_vs1,68,68,5 duplicate(MVP Summoner) MVP Summoner#4 790 Added an changelog entry also Regards, Chris Edited November 29, 2011 by llchrisll Quote
Rikimaru Posted November 29, 2011 Author Posted November 29, 2011 Wow,thank you for the script editing,that looks awesome! I think that everyone's going to like that one. Quote
llchrisll Posted November 30, 2011 Posted November 30, 2011 Wow,thank you for the script editing,that looks awesome! I think that everyone's going to like that one. You're welcome . Good that I was able to help ^^. Regards, Chris 1 Quote
superman54f Posted January 4, 2012 Posted January 4, 2012 (edited) can you edit it that it will need 7227 item or TCG to spawn mvp different mvp has different price... and if there is someone inside the room whom spawn mvp other player will not able to warp or use the npc other than party. also you can not save inside for example i logout while in the map or disconnected. if i log in again i will not be saved or spawn back inside the room also enable to use /nc inside the room? Edited January 4, 2012 by superman54f Quote
Emistry Posted January 4, 2012 Posted January 4, 2012 also you can not save inside for example i logout while in the map or disconnected. if i log in again i will not be saved or spawn back inside the roomalso enable to use /nc inside the room? Open this file.. /conf/mapflag/gvg.txt Remove this line.. // GvG Arenas ============= guild_vs1 mapflag gvg and if there is someone inside the room whom spawn mvp other player will not able to warp or use the npc other than party. Change the Room Warper Script into this prontera,142,168,5 script MVP Warper 101,{ mes "[ MVP Warper ]"; mes "I can warp you to the MVP Room,do you want to go there?"; next; switch(select("Yes!:No!")) { case 1: if( getmapusers("guild_vs1") ){ mes "There is someone inside now.."; }else{ mes "[ MVP Warper ]"; mes "Okay I'm going to warp you."; warp "guild_vs1",50,50; } close; case 2: mes "[ MVP Warper ]"; mes "Okay bye!"; close; } } Quote
Silver Posted May 1, 2012 Posted May 1, 2012 Yeah, I saw that too, but didn't remember at that time >_>. Anyway first here is a proof that it works. Uploaded with ImageShack.us Then the script itself = 93 Lines //##################################################################### //# # //# ##### # ######## # # ##### ## # # # //# # ### ## # # # # # # ### # //# #### # # ## ###### #### # # # # # # //# # ####### ## # # # # # # ####### # //# ##### # # ## # # ##### # ## # # # //# # //##################################################################### // // //=========== Script for eathena Users ====================// //MVP Arena made by Rikimaru on rathena.org ==============// //=========================================================// //======== Description ====================================// //== Easy made MVP Arena with all MVP's except the new ====// //== Renewal MVP's. Do not remove the Credits =============// //== Price to spawn 1 MVP is 50.000.000 Zenny =============// //== Price for Thanatos or LHZ MVP's is 250.000.000 Zenny =// //== Do not Remove theese Credits =========================// //================= Version : =============================// //============= V. 1.0 Bug Fixes by Rikimaru ==============// //============= V. 1.1 Shorted by llchrisll //=========== Credits End =================================// // // //===================== Script of the MVP Warper ==========// prontera,142,168,5 script MVP Warper 101,{ mes "[ MVP Warper ]"; mes "I can warp you to the MVP Room,do you want to go there?"; next; switch(select("Yes!:No!")) { case 1: mes "[ MVP Warper ]"; mes "Okay I'm going to warp you."; warp "guild_vs1",50,50; close; case 2: mes "[ MVP Warper ]"; mes "Okay bye!"; close; } } //========================= First Script End =============// //================== MVP Summoner ========================// guild_vs1,50,57,5 script MVP Summoner 790,{ mes "[ MVP Summoner ]"; mes "Hello,I'm able to spawn MVP's."; mes "Which MVP do you want me to spawn?"; mes "1 MVP costs "+.zeny[1]+" Zeny"; mes "LHZ MVPs and Thanatos have a"; mes "cost of "+.zeny[2]+" Zeny."; next; set .@m,select(.smenu$) - 1; mes "[ MVP Summoner ]"; mes "Okay let me check if you have enough Zeny."; if( Zeny < .zeny[.mobze[.@m]] ) { mes "You don't have enough money"; close; } else { close2; set Zeny, Zeny - .zeny[.mobze[.@m]]; atcommand "@spawn "+.mobid[.@m] + " "+.mobam[.@m]; npctalk "[ MVP Summoner]: "+getmonsterinfo(.mobid[.@m],0) +" Spawned!"; end; } OnInit: setarray .zeny[1],50000000,250000000; // 50m,250m Zeny // Mob IDs setarray .mobid[0],1511,1647,1785,1630,1039,1874,1272,1719,1046,1389,1112,1115,1418,1871,1252,1768,1086,1885,1649,1651,1832,1492,1734,1251,1779,1688,1646,1373,1147,1059,1150,1087,1190,1038,1157,1159,1623,1650,1583,1708,1312,1751,1648,1658; // Mob Spawn Amount setarray .mobam[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1; // Price: Entry as Index from .zeny // 1 = .zeny[1] - 2 = .zeny[2] setarray .mobze[0],1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,2,1,1,1,2,2; set .smenu$,""; for( set .@s,0; .@s < getarraysize(.mobid); set .@s,.@s + 1) { // Skips an Monster if it does not exist in the db if(getmonsterinfo(.mobid[.@s],0) == "" || getmonsterinfo(.mobid[.@s],0) == "null") continue; // else adding it to the menu set .smenu$,.smenu$ + "- "+getmonsterinfo(.mobid[.@s],0) + ( (.mobid[.@s+1] == 0)?"":":"); } end; } guild_vs1,31,68,5 duplicate(MVP Summoner) MVP Summoner#1 790 guild_vs1,31,31,5 duplicate(MVP Summoner) MVP Summoner#2 790 guild_vs1,68,31,5 duplicate(MVP Summoner) MVP Summoner#3 790 guild_vs1,68,68,5 duplicate(MVP Summoner) MVP Summoner#4 790 Added an changelog entry also Regards, Chris When I Try the script theres no menu Help! Quote
Kiritoryu Posted May 7, 2013 Posted May 7, 2013 isit possible to set an amount that can be summon ? and set A limit to it( Max summon: 10 ?).Lets say 1 amonra is 1m. then we able to put an amount of 10 amonra, so it will be total 10m paid. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.