criseleusis 0 Posted July 24, 2015 Hello everybody. My MVPa rena is loading ok, no erro on map-log, appear in game, but when i click nothing happens. here's the script, is there any error that i did not find? Thank everybody. prontera,150,191,3 script Arena MVP 420,{ mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; menu "Eddga",mvp_eddga, "Abelha-Rainha",mvp_abelharainha, "Flor do Luar",mvp_florluar, "Maya",mvp_maya, "Besouro-Ladrão Dourado",mvp_besourodourado, "Lady Tanee",mvp_lady_tanee, "Hatii"mvp_hatii, // Beta "Freeoni",mvp_freeoni "General Tartaruga",mvp_generaltartaruga, "Orc Lord",mvp_orclord, "Tao Gunka",mvp_taogunka, "Amon Ra",mvp_amonra, "Cavaleiro da Tempestade",mvp_cavaleirotempestade, "Bacsojin",mvp_bacsojin, // Theta "Drake",mvp_drake, "Osiris",mvp_osiris, "Doppelganger",mvp_doppelganger, "Lord of Death",mvp_senhordosmortos, "Dracula",mvp_dracula, "Orc Hero",mvp_orchero, "Dark Snake Lord",mvp_serpentesuprema, "RSX 0806",mvp_rsx0806, // Epsilon "Incantation Samurai",mvp_samurai, "Pharoh",mvp_farao, "Dark Lord",mvp_darklord, "Bafomé",mvp_bafome, "Detale",mvp_detale, "Fantasma de Thanatos",mvp_thanatos, "Vesper",mvp_vesper, "Nenhum",-; close;// Alpha mvp_eddga: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_abelharainha: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_florluar: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_maya: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_besourodourado: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_lady_tanee: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_hatii: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; // Beta mvp_freeoni: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_generaltartaruga: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_orclord: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_taogunka: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_amonra: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_cavaleirotempestade: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_bacsojin: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; // Theta mvp_drake: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_osiris: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_doppelganger: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_senhordosmortos: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_dracula: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_orchero: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_serpentesuprema: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_rsx0806: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close;// Epsilon mvp_samurai: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_farao: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_darklord: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_bafome: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_detale: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_thanatos: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close; mvp_vesper: mes "[ ^0065DFArena MVP^000000 ]"; mes "Gostaria de entrar"; mes "na Arena MVP?"; if (select("Sim!:Não, obrigado.") == 2) close; warp "pvp_n_",0,0; close;}// Protectorsfunction script Protetor { mes "[ ^0065DFProtetor^000000 ]"; switch(select("Curar:Sair")) { case 1: specialeffect2 313; percentheal 100,100; close; case 2: warp "prontera",156,179; end; }}pvp_n_1-2,100,100,4 script Protetor#01 727,{ callfunc "Protector","pvp_n_2-2"; }pvp_n_2-2,100,100,4 script Protetor#02 727,{ callfunc "Protector","pvp_n_3-2"; }pvp_n_3-2,100,100,4 script Protetor#03 727,{ callfunc "Protector","pvp_n_4-2"; }pvp_n_4-2,100,100,4 script Protetor#04 727,{ callfunc "Protector","pvp_n_5-2"; }pvp_n_5-2,100,100,4 script Protetor#05 727,{ callfunc "Protector","pvp_n_6-2"; }pvp_n_6-2,100,100,4 script Protetor#06 727,{ callfunc "Protector","pvp_n_7-2"; }pvp_n_7-2,100,100,4 script Protetor#07 727,{ callfunc "Protector","pvp_n_8-2"; }pvp_n_8-2,100,100,4 script Protetor#08 727,{ callfunc "Protector",""; }pvp_n_1-3,100,100,4 script Protetor#09 727,{ callfunc "Protector","pvp_n_2-3"; }pvp_n_2-3,100,100,4 script Protetor#10 727,{ callfunc "Protector","pvp_n_3-3"; }pvp_n_3-3,100,100,4 script Protetor#11 727,{ callfunc "Protector","pvp_n_4-3"; }pvp_n_4-3,100,100,4 script Protetor#12 727,{ callfunc "Protector","pvp_n_5-3"; }pvp_n_5-3,100,100,4 script Protetor#13 727,{ callfunc "Protector","pvp_n_6-3"; }pvp_n_6-3,100,100,4 script Protetor#14 727,{ callfunc "Protector","pvp_n_7-3"; }pvp_n_7-3,100,100,4 script Protetor#15 727,{ callfunc "Protector","pvp_n_8-3"; }pvp_n_8-3,100,100,4 script Protetor#16 727,{ callfunc "Protector",""; }pvp_n_1-4,100,100,4 script Protetor#17 727,{ callfunc "Protector","pvp_n_2-4"; }pvp_n_2-4,100,100,4 script Protetor#18 727,{ callfunc "Protector","pvp_n_3-4"; }pvp_n_3-4,100,100,4 script Protetor#19 727,{ callfunc "Protector","pvp_n_4-4"; }pvp_n_4-4,100,100,4 script Protetor#20 727,{ callfunc "Protector","pvp_n_5-4"; }pvp_n_5-4,100,100,4 script Protetor#21 727,{ callfunc "Protector","pvp_n_6-4"; }pvp_n_6-4,100,100,4 script Protetor#22 727,{ callfunc "Protector","pvp_n_7-4"; }pvp_n_7-4,100,100,4 script Protetor#23 727,{ callfunc "Protector","pvp_n_8-4"; }pvp_n_8-4,100,100,4 script Protetor#24 727,{ callfunc "Protector",""; }pvp_n_1-5,100,100,4 script Protetor#25 727,{ callfunc "Protector","pvp_n_2-5"; }pvp_n_2-5,100,100,4 script Protetor#26 727,{ callfunc "Protector","pvp_n_3-5"; }pvp_n_3-5,100,100,4 script Protetor#27 727,{ callfunc "Protector","pvp_n_4-5"; }pvp_n_4-5,100,100,4 script Protetor#28 727,{ callfunc "Protector","pvp_n_5-5"; }pvp_n_5-5,100,100,4 script Protetor#29 727,{ callfunc "Protector","pvp_n_6-5"; }pvp_n_6-5,100,100,4 script Protetor#30 727,{ callfunc "Protector","pvp_n_7-5"; }pvp_n_7-5,100,100,4 script Protetor#31 727,{ callfunc "Protector","pvp_n_8-5"; }pvp_n_8-5,100,100,4 script Protetor#32 727,{ callfunc "Protector",""; }// Alphapvp_n_1-2,0,0,0,0 monster Eddga 1115,5,60000,66000pvp_n_2-2,0,0,0,0 monster Abelha-Rainha 1059,5,60000,66000pvp_n_7-2,0,0,0,0 monster Flor do Luar 1150,1,3000000,0pvp_n_4-2,0,0,0,0 monster Maya 1147,5,60000,66000pvp_n_5-2,0,0,0,0 monster Besouro-Ladrão Dourado 1086,1,3600000,0pvp_n_6-2,0,0,0,0 monster Lady Tanee 1688,1,1800000,0pvp_n_7-3,0,0,0,0 monster Hatii 1252,1,3000000,0// Betapvp_n_1-3,0,0,0,0 monster Freeoni 1159,5,60000,66000pvp_n_2-3,0,0,0,0 monster General Tartaruga 1312,5,60000,66000pvp_n_3-3,0,0,0,0 monster Orc Lord 1190,5,60000,66000pvp_n_4-3,0,0,0,0 monster Tao Gunka 1583,1,1800000,0pvp_n_5-3,0,0,0,0 monster Amon Ra 1511,1,3600000,0pvp_n_6-3,0,0,0,0 monster Cavaleiro da Tempestade 1251,1,3000000,0pvp_n_7-3,0,0,0,0 monster Bacsojin 1251,1,3000000,0// Thetapvp_n_1-4,0,0,0,0 monster Drake 1112,5,60000,66000pvp_n_2-4,0,0,0,0 monster Osiris 1038,5,60000,66000pvp_n_3-4,0,0,0,0 monster Doppelganger 1046,5,60000,66000pvp_n_4-4,0,0,0,0 monster Lord of Death 1373,5,60000,66000pvp_n_5-4,0,0,0,0 monster Dracula 1389,1,3600000,0pvp_n_6-4,0,0,0,0 monster Orc Hero 1087,5,60000,66000pvp_n_7-4,0,0,0,0 monster Dark Snake Lord 1251,1,3000000,0pvp_n_8-4,0,0,0,0 monster RSX 0806 1251,1,3000000,0// Epsilonpvp_n_1-5,0,0,0,0 monster Incantation Samurai 1492,5,60000,66000pvp_n_2-5,0,0,0,0 monster Pharoh 1157,5,60000,66000pvp_n_3-5,0,0,0,0 monster Dark Lord 1272,5,60000,66000pvp_n_4-5,0,0,0,0 monster Bafomé 1039,5,60000,66000pvp_y_5-5,0,0,0,0 monster Detale 1719,1,3000000,0pvp_n_6-5,0,0,0,0 monster Memória de Thanatos 1708,1,3600000,0pvp_n_7-5,0,0,0,0 monster Vesper 1708,1,3600000,0// Mapflagspvp_n_1-1 mapflag pvp_nightmaredrop offpvp_n_2-1 mapflag pvp_nightmaredrop offpvp_n_3-1 mapflag pvp_nightmaredrop offpvp_n_4-1 mapflag pvp_nightmaredrop offpvp_n_5-1 mapflag pvp_nightmaredrop offpvp_n_6-1 mapflag pvp_nightmaredrop offpvp_n_7-1 mapflag pvp_nightmaredrop offpvp_n_8-1 mapflag pvp_nightmaredrop offpvp_n_1-2 mapflag pvp_nightmaredrop offpvp_n_2-2 mapflag pvp_nightmaredrop offpvp_n_3-2 mapflag pvp_nightmaredrop offpvp_n_4-2 mapflag pvp_nightmaredrop offpvp_n_5-2 mapflag pvp_nightmaredrop offpvp_n_6-2 mapflag pvp_nightmaredrop offpvp_n_7-2 mapflag pvp_nightmaredrop offpvp_n_8-2 mapflag pvp_nightmaredrop offpvp_n_1-3 mapflag pvp_nightmaredrop offpvp_n_2-3 mapflag pvp_nightmaredrop offpvp_n_3-3 mapflag pvp_nightmaredrop offpvp_n_4-3 mapflag pvp_nightmaredrop offpvp_n_5-3 mapflag pvp_nightmaredrop offpvp_n_6-3 mapflag pvp_nightmaredrop offpvp_n_7-3 mapflag pvp_nightmaredrop offpvp_n_8-3 mapflag pvp_nightmaredrop offpvp_n_1-4 mapflag pvp_nightmaredrop offpvp_n_2-4 mapflag pvp_nightmaredrop offpvp_n_3-4 mapflag pvp_nightmaredrop offpvp_n_4-4 mapflag pvp_nightmaredrop offpvp_n_5-4 mapflag pvp_nightmaredrop offpvp_n_6-4 mapflag pvp_nightmaredrop offpvp_n_7-4 mapflag pvp_nightmaredrop offpvp_n_8-4 mapflag pvp_nightmaredrop offpvp_n_1-5 mapflag pvp_nightmaredrop offpvp_n_2-5 mapflag pvp_nightmaredrop offpvp_n_3-5 mapflag pvp_nightmaredrop offpvp_n_4-5 mapflag pvp_nightmaredrop offpvp_n_5-5 mapflag pvp_nightmaredrop offpvp_n_6-5 mapflag pvp_nightmaredrop offpvp_n_7-5 mapflag pvp_nightmaredrop offpvp_n_8-5 mapflag pvp_nightmaredrop off Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 24, 2015 @@criseleusis On my test server i got some small errors, you can get my fixed version from here: http://upaste.me/aafc211400c8ce2e0 with those changes it seems to work. Also note if you use the hercules emulator, the use of menu is deprecated and it's recommend to use select or prompt instead. Quote Share this post Link to post Share on other sites
0 criseleusis 0 Posted July 24, 2015 @@criseleusis On my test server i got some small errors, you can get my fixed version from here: http://upaste.me/aafc211400c8ce2e0 with those changes it seems to work. Also note if you use the hercules emulator, the use of menu is deprecated and it's recommend to use select or prompt instead. Hello Winterfox, thank you for helping. Can you report me which errors were? I'm using cronus emulator and it did not report any error on map. Thank u Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 24, 2015 (edited) Hi, on line 13 you are missing a comma between "Hatii" and mvp_hatii. on line 16 you are missing a comma at the end of "Freeoni",mvp_freeoni. Some of the mob definitions after line 328 have spaces instead of tabs between them. Your npc warps to "pvp_n_" is that on purpose? Since the monsters seem to be spawned on different maps with different numbers, like pvp_n_1-3 for example. Edited July 24, 2015 by Winterfox Quote Share this post Link to post Share on other sites
0 criseleusis 0 Posted July 25, 2015 Hi, on line 13 you are missing a comma between "Hatii" and mvp_hatii. on line 16 you are missing a comma at the end of "Freeoni",mvp_freeoni. Some of the mob definitions after line 328 have spaces instead of tabs between them. Your npc warps to "pvp_n_" is that on purpose? Since the monsters seem to be spawned on different maps with different numbers, like pvp_n_1-3 for example. No it's not on purpose. I'ill fix this thing, it's beucase I used other script as base to modificate my own Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 25, 2015 (edited) That is how i would do what you want: http://upaste.me/c30e21142d8a01da3 Maybe it helps you a bit. Edited July 25, 2015 by Winterfox Quote Share this post Link to post Share on other sites
0 criseleusis 0 Posted July 26, 2015 @@Winterfox omg, thank you. This script is so clean and functional. Now I see that i need to practice much more. Thank you again. Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 26, 2015 (edited) @@criseleusis You are welcome if you have any questions regarding scripting, you can ask me anytime. Edited July 26, 2015 by Winterfox Quote Share this post Link to post Share on other sites
Hello everybody.
My MVPa rena is loading ok, no erro on map-log, appear in game, but when i click nothing happens.
here's the script, is there any error that i did not find? Thank everybody.
Share this post
Link to post
Share on other sites