Jump to content
  • 0

how to set emp leader at guild arug_cas03 and schg_cas03?


NeoGenesis

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   0
  • Joined:  01/03/12
  • Last Seen:  

prontera,158,188,4 script Emperium Ladder 808,{

cutin "dpvp",2;

mes "[^FF0000Top5 Emperium Ladder^000000]";

mes "Top 1: ^0000FF" +$top1emp$ +"^000000 With: ^FF0000" +$top1emp +"^000000 Emperium Breaks.";

mes "Top 2: ^0000FF" +$top2emp$ +"^000000 With: ^FF0000" +$top2emp +"^000000 Emperium Breaks.";

mes "Top 3: ^0000FF" +$top3emp$ +"^000000 With: ^FF0000" +$top3emp +"^000000 Emperium Breaks.";

mes "Top 4: ^0000FF" +$top4emp$ +"^000000 With: ^FF0000" +$top4emp +"^000000 Emperium Breaks.";

mes "Top 5: ^0000FF" +$top5emp$ +"^000000 With: ^FF0000" +$top5emp +"^000000 Emperium Breaks.";

close2;

cutin "",255;

end;

} // End Script

function script EmpeLadder {

set @emptotal, getarg(0);

set @nomb$, getarg(1);

if (@emptotal > $top1emp) {

if ($top1emp$ == strcharinfo(0)) {

set $top1emp, @emptotal;

set $top1emp$, @nomb$;

} else {

set @aux, $top1emp;

set @aux$, $top1emp$;

set $top1emp, @emptotal;

set $top1emp$, @nomb$;

set $top2emp, @aux;

set $top2emp$, @aux$;

} // End if

} else if (@emptotal > $top2emp) {

if ($top2emp$ == strcharinfo(0)) {

set $top2emp, @emptotal;

set $nomb2, @nomb$;

} else {

set @aux, $top2emp;

set @aux$, $top2emp$;

set $top2emp, @emptotal;

set $top2emp$, @nomb$;

set $top3emp, @aux;

set $top3emp$, @aux$;

} // End if

} else if (@emptotal > $top3emp) {

if ($top3emp$ == strcharinfo(0)) {

set $top3emp, @emptotal;

set $top3emp$, @nomb$;

} else {

set @aux, $top3emp;

set @aux$, $top3emp$;

set $top3emp, @emptotal;

set $top3emp$, @nomb$;

set $top4emp, @aux;

set $top4emp$, @aux$;

} // End if

} else if (@emptotal > $top4emp) {

if ($top4emp$ == strcharinfo(0)) {

set $top4emp, @emptotal;

set $top4emp$, @nomb$;

} else {

set @aux, $top4emp;

set @aux$, $top4emp$;

set $top4emp, @emptotal;

set $top4emp$, @nomb$;

set $top5emp, @aux;

set $top5emp$, @aux$;

} // End if

} else if (@emptotal > $top5emp) {

if ($top5emp$ == strcharinfo(0)) {

set $top5emp, @emptotal;

set $nomb5, @nomb$;

} else {

set $top5emp, @emptotal;

set $top5emp$, @nomb$;

} // End if

Cancel:

close2;

cutin "",255;

end;

} // End if

return;

} // End function

this script only detect at castle @agitstart but @agitstart2 not detect ..

how to set this to detect @agitstart2 castle to?

Edited by NeoGenesis
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

i guess there should have something like

callfunc "EmpeLadder",......

although i not really sure where you put this ....but i think it should be the place where it triggered by the OnAgitBreak or etc Label.

if what i saying is right...then you have to put that line in all the files in npc/guild2/ so that WOE SE will be included in your ladder

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   0
  • Joined:  01/03/12
  • Last Seen:  

can give example where to wan put that callfunc "EmpeLadder",......??

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

LOL.. dunno ... ==''

you should be the one who know about this since you post this script...

we dunno how the creator try to save the record ..as it is harder to track and view through the txt record..>.<

and since you said it detected agitstart but not agitstart2...

so you must have do extra stuff before ....

double check your work and show us..

Link to comment
Share on other sites

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.

×
×
  • Create New...