Kido Posted December 31, 2013 Posted December 31, 2013 (edited) Hello i have a script that makes mvps invade citys at by a rando chance it works fine until the city is einbroch always that the invasion starts at einbroch, no mvp is summoned there what could be? thanks in advance - script mvpinis -1,{ OnInit: setarray .Map$[0],"prontera","morocc","geffen","payon","alberta","aldebaran","xmas","comodo","yuno","amatsu","gonryun","umbala","louyang","ayothaya","eibroch","hugel","rachel","veins","moscovia"; setarray .MVP[0],1511,1785,1630,2320,1039,1272,1719,1389,1115,1418,1252,1086,1885,1492,1734,1251,1688,2156,1373,1147,1087,1190,1038,1157,1159,1623,1583,1312,1685,1658; end; OnHour00: OnHour08: OnHour16: killmonster .Map$[ .RandMap ],"All"; set .RandMap,rand( getarraysize( .Map$ ) ); for(set .@i,0; .@i<getarraysize(.MVP); set .@i,.@i+1){ monster .Map$[ .RandMap ],0,0,"MVP Event",.MVP[ .@i ],1,strnpcinfo(0)+"::OnKilled"; } announce "Invasion MvP : lol mvp monster have invaded "+.Map$[ .RandMap ]+" save the city or the city will perish!! ",0; end; OnKilled: announce "Invasion MvP : Someone killed a mvp at "+.Map$[ .RandMap ]+" keep defending!!! ",0; set mvp_point, mvp_point + 1;// +1 mvp point end; } if someone can help me too with the invasion points i would apreciate it so much, since isn't working too, thanks! thank you guys in advance! Edited December 31, 2013 by Kido Quote
AnnieRuru Posted December 31, 2013 Posted December 31, 2013 Hello i have a script that makes mvps invade citys at by a rando chance it works fine until the city is einbroch always that the invasion starts at einbroch, no mvp is summoned there your script "eibroch" but inside db\map_index.txt says einbroch check the spelling ? if someone can help me too with the invasion points i would apreciate it so much, since isn't working too, thanks!you mean like making a ladder ? Quote
Kido Posted December 31, 2013 Author Posted December 31, 2013 Hello i have a script that makes mvps invade citys at by a rando chance it works fine until the city is einbroch always that the invasion starts at einbroch, no mvp is summoned there your script "eibroch" but inside db\map_index.txt says einbroch check the spelling ? if someone can help me too with the invasion points i would apreciate it so much, since isn't working too, thanks!you mean like making a ladder ? didn't see it -___________- i was more focused on the script rather than the spelling of the maps lol thank you yeah, players are not getting mvp points or something, no message at all thanks again Annie Quote
AnnieRuru Posted December 31, 2013 Posted December 31, 2013 OnKilled: announce "Invasion MvP : Someone killed a mvp at "+ .Map$[ .RandMap ] +" keep defending!!! ",0; set mvp_point, mvp_point + 1;// +1 mvp point dispbottom "You have "+ mvp_point +" MVP Points"; end;this should workif you want players to see their points, perhaps you can make another npc for it Quote
Kido Posted December 31, 2013 Author Posted December 31, 2013 oh thank you so much o:! °lollollol huh npc shop, allright o:gonna play over itsince i'm not too sure how exactlyto implement it o: Quote
Question
Kido
Hello
i have a script that makes mvps invade citys at by a rando chance
it works fine
until the city is einbroch
always that the invasion starts at einbroch, no mvp is summoned there
what could be? thanks in advance
if someone can help me too with the invasion points i would apreciate it so much, since isn't working too, thanks!
thank you guys in advance!
Edited by Kido4 answers to this question
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.