dave23 Posted June 19, 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 19, 2012 Request for this npc. Ladder just post the top 10 breakers. Quote Link to comment Share on other sites More sharing options...
Bahmut Posted June 21, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 39 Joined: 01/17/12 Last Seen: February 13, 2020 Share 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 Link to comment Share on other sites More sharing options...
dave23 Posted June 22, 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 22, 2012 doesnt work Quote Link to comment Share on other sites More sharing options...
Bahmut Posted June 23, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 39 Joined: 01/17/12 Last Seen: February 13, 2020 Share Posted June 23, 2012 Please be more descriptive! Does it give you an error? Is there no list? Or what? Quote Link to comment Share on other sites More sharing options...
dave23 Posted June 24, 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 24, 2012 npc doesnt show the ladder and doesnt have a close when finish looking at the ladder dont know why. Quote Link to comment Share on other sites More sharing options...
Bahmut Posted June 24, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 39 Joined: 01/17/12 Last Seen: February 13, 2020 Share 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 Link to comment Share on other sites More sharing options...
Question
dave23
Request for this npc. Ladder just post the top 10 breakers.
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.