Jump to content
  • 0

Breaker Points and Breaker Ladder


Question

5 answers to this question

Recommended Posts

Posted

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.

Posted

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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...