dave23 Posted June 19, 2012 Posted June 19, 2012 Request for this npc. Ladder just post the top 10 breakers. Quote
Bahmut Posted June 21, 2012 Posted June 21, 2012 Use this: http://rathena.org/b...breaker +ladder And add this: goto Llad; before this code block: mes "[ ^00FF00 Kaspersky ^000000 ]"; mes "Hello there "+strcharinfo(0)+", what do you want to do?"; menu "Check Emperium Break Points",-,"View Breaker Ladder",Llad,"Exchange Points",Lex,"Nothing",Lno; next; It should look like this: goto Llad; mes "[ ^00FF00 Kaspersky ^000000 ]"; mes "Hello there "+strcharinfo(0)+", what do you want to do?"; menu "Check Emperium Break Points",-,"View Breaker Ladder",Llad,"Exchange Points",Lex,"Nothing",Lno; next; Haven't tested this but it should work. Quote
Bahmut Posted June 23, 2012 Posted June 23, 2012 Please be more descriptive! Does it give you an error? Is there no list? Or what? Quote
dave23 Posted June 24, 2012 Author Posted June 24, 2012 npc doesnt show the ladder and doesnt have a close when finish looking at the ladder dont know why. Quote
Bahmut Posted June 24, 2012 Posted June 24, 2012 Remove the next from this block: Llad: next; for( set .@x,0; .@x<=9; set .@x,.@x+1 ) { mes "^0000FF"+(.@x+1)+".^000000 "+.@name$[.@x]+" - ^FF0000"+.@count[.@x]+"^000000 Point(s)"; } // .@x starts at 0, but you want to start with '1st', so use (.@x+1) close; It should look like this: Llad: for( set .@x,0; .@x<=9; set .@x,.@x+1 ) { mes "^0000FF"+(.@x+1)+".^000000 "+.@name$[.@x]+" - ^FF0000"+.@count[.@x]+"^000000 Point(s)"; } // .@x starts at 0, but you want to start with '1st', so use (.@x+1) close; And the ladder starts to count after you have added the code mentioned in the other thread: Installation:npc/guild/agit_template.txt find: // The Emperium has been broken. OnAgitBreak: set .@GID,getcharid(2); // Show and log error if an unguilded player breaks the Emperium. (Should NEVER happen) add: // The Emperium has been broken. OnAgitBreak: set brokeemp,brokeemp+1; set .@GID,getcharid(2); // Show and log error if an unguilded player breaks the Emperium. (Should NEVER happen) Quote
Question
dave23
Request for this npc. Ladder just post the top 10 breakers.
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.