dave23 Posted June 13, 2012 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 99 Reputation: 0 Joined: 04/23/12 Last Seen: May 5, 2022 Share Posted June 13, 2012 1. Breaker Points - I need a breaker points bulletin. It's like a pvp ladder http://www.eathena.ws/board/index.php?showtopic=260239&hl=ladder but it counts the players breaking point. Please modify this then it posts in a bulletin the top 10. 2. Need a valkyrie helm changer that exchange with an amount of zeny. Quote Link to comment Share on other sites More sharing options...
GM Zimtkeks Posted June 13, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 137 Reputation: 23 Joined: 06/08/12 Last Seen: June 29, 2012 Share Posted June 13, 2012 1. If you mean by ,,Breaking Points" the Amount of how many times he/ she has broken the Emperium during Siegetime http://www.eathena.ws/board/index.php?showtopic=233189 | I hope linking to eathena is okay!? 2. Which Valkyrie Helm do you like to exchange? The real one which can be created ingame or a custom version one? ItemID('s) would be appreciated as well as what for you like to exchange it for (need ItemID here as well). Amount of Zeny is also needed^^ Quote Link to comment Share on other sites More sharing options...
Joseph Posted June 13, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 341 Reputation: 43 Joined: 01/10/12 Last Seen: June 29, 2020 Share Posted June 13, 2012 (edited) Try this. Not tested though. map,x,y,z script Name 100,{ setarray .@v, 1234,100, 4321,1000; //<ItemID>,<Zeny>{...} set .@n$, "[Valkyrie Helm Changer]"; for ( set .@i, 0; .@i < getarraysize(.@v); set .@i, .@i + 2 ) { set .@menu$, .@menu$ + getitemname(.@v[.@i]) + ":"; if ( countitem(.@v[.@i]) > 0 ) setarray .@tmp[getarraysize(.@tmp), .@v[.@i]; } mes .@n$; mes "Which Valkyrie Helm would you like to have?"; set .@j, select ( .@menu$ ) - 1; set .@k, 0; if ( getarraysize(.@tmp) > 1 ) { set .@menu$, ""; for ( set .@i, 0; .@i < getarraysize(.@tmp); set .@i, .@i + 1 ) set .@menu$, .@menu$ + getitemname(.@tmp[.@i]) + ":"; mes .@n$; mes "There are more than one Valkyrie Helm in your inventory."; mes "Please select one to be exchanged."; set .@k, select ( .@menu$ ) - 1; } next; mes .@n$; if ( !.@tmp ) { mes "You need a Valkyrie Helm to use my services."; close; } if ( Zeny < .@v[.@j+1] ) { mes "You need " + .@v[.@j+1] + "z to use my services."; close; } mes "Thank you!"; close2; delitem .@tmp[.@k], 1; getitem .@v[.@j], 1; set Zeny, Zeny - .@v[.@j+1]; end; } Edited June 13, 2012 by Joseph Quote Link to comment Share on other sites More sharing options...
dave23 Posted June 14, 2012 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 99 Reputation: 0 Joined: 04/23/12 Last Seen: May 5, 2022 Author Share Posted June 14, 2012 1. When it is the 23rd of the month, The top breaker will receive a prize that's what i need. 2. Ahm zeny is 1b For exchanging, I'll take care of the item id Quote Link to comment Share on other sites More sharing options...
Joseph Posted June 14, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 341 Reputation: 43 Joined: 01/10/12 Last Seen: June 29, 2020 Share Posted June 14, 2012 2. Ahm zeny is 1b For exchanging, I'll take care of the item id Here it is.. map,x,y,z script Name 100,{ set .@z, 1000000000; // Zeny (Default: 1b) setarray .@v, 1234,4321; // <ItemID1>,<ItemID2>{...} set .@n$, "[Valkyrie Helm Changer]"; // NPC Name for ( set .@i, 0; .@i < getarraysize(.@v); set .@i, .@i + 1 ) { set .@menu$, .@menu$ + getitemname(.@v[.@i]) + ":"; if ( countitem(.@v[.@i]) > 0 ) setarray .@tmp[getarraysize(.@tmp), .@v[.@i]; } mes .@n$; mes "Which Valkyrie Helm would you like to have?"; set .@j, select ( .@menu$ ) - 1; set .@k, 0; if ( getarraysize(.@tmp) > 1 ) { set .@menu$, ""; for ( set .@i, 0; .@i < getarraysize(.@tmp); set .@i, .@i + 1 ) set .@menu$, .@menu$ + getitemname(.@tmp[.@i]) + ":"; mes .@n$; mes "There are more than one Valkyrie Helm in your inventory."; mes "Please select one to be exchanged."; set .@k, select ( .@menu$ ) - 1; } next; mes .@n$; if ( !.@tmp ) { mes "You need a Valkyrie Helm to use my services."; close; } if ( Zeny < .@z ) { mes "You need " + .@z + "z to use my services."; close; } mes "Thank you!"; close2; delitem .@tmp[.@k], 1; getitem .@v[.@j], 1; set Zeny, Zeny - .@z; end; } Quote Link to comment Share on other sites More sharing options...
joaopedrorios Posted November 27, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 08/02/12 Last Seen: February 27, 2018 Share Posted November 27, 2012 this NPC has some syntax errors when i use on cronus - emulator , can you fix for me ? and when i exchange a helm depending of which is the helm vanishes , sorry of my bad english XDD WebRep Classificação geral Este site não tem classificação (número de votos insuficientes) Quote Link to comment Share on other sites More sharing options...
Question
dave23
1. Breaker Points
- I need a breaker points bulletin. It's like a pvp ladder http://www.eathena.ws/board/index.php?showtopic=260239&hl=ladder but it counts the players breaking point. Please modify this then it posts in a bulletin the top 10.
2. Need a valkyrie helm changer that exchange with an amount of zeny.
Link to comment
Share on other sites
5 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.