Jump to content
  • 0

HELP WOE Controller Wont Auto Kick


WoWNyx

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  11/13/13
  • Last Seen:  

Hello im trying to get my Woe controller to auto kick players from Woe Castles that aren't in the list of active castles for the day of WoE.

Any idea where i went wrong ?

im using Euphy's WOE Controller for this.

//===== rAthena Script =======================================//= Euphy's WOE Controller//===== By: ==================================================//= Euphy//===== Current Version: =====================================//= 1.5//===== Compatible With: =====================================//= rAthena SVN r16958+//===== Description: =========================================//= A controller for War of Emperium designed for//= simplicity and ease of use.//= Many concepts taken from ToastOfDoom's script,//= and "rewards" function originally by Goddameit.//===== Additional Comments: =================================//= Be sure to disable the default agit controllers!//== npc\guild\agit_controller.txt//== npc\guild2\agit_start_se.txt//============================================================// Information NPC//============================================================prontera,149,193,4    script    WOE Information    835,{    doevent "WOE_CONTROL::OnMenu";    end;OnAgitStart:    while(agitcheck()) {        specialeffect EF_BEGINSPELL6;        sleep 425;    }    end;}// Script Core//============================================================-    script    WOE_CONTROL    -1,{function Disp_Owner; function Add_Zero;OnInit:// -----------------------------------------------------------//  Configuration settings.// -----------------------------------------------------------    set .CastleWarp,0;        // 1: Always enable all castle warps. | 0: Warp only to active castles.    set. AutoKick,1;        // Automatically kick players from inactive castles during WOE? (1:yes / 0:no)    set .NoOwner,1;         // Automatically kick players from unconquered castles outside of WOE? (1:yes / 0:no)    set .ExitWarp,1;        // Warp all players from castles when WOE ends? (1:yes / 0:no)    set .GMAccess,99;        // GM level required to access Session Manager.// -----------------------------------------------------------//  Reward options.// -----------------------------------------------------------//  [1] Enable rewards.//  [2] Mail all rewards.//      - If not set, players receive items in their inventory.//      - Only ONE item can be sent via mail, plus Zeny.//      - Note that offline players do NOT receive rewards.//  [4] Only reward Guild Masters.//      - If not set, all guild members are rewarded.//      - If mailing is enabled (option 2), offline Guild Masters WILL receive rewards.//  [8] Duplicate IP check.//      - Members in a guild with the same IP address are not rewarded.//      - If Guild Masters is enabled (option 4), this feature is not used.// -----------------------------------------------------------    // Combine values as needed (e.g. 1|8 = 1+8 = 9).    set .Options, 1|8;    // Rewards per castle.    // -- when given directly: ,{,,,...}    // -- via mail (option 2): ,,    setarray .Reward[0],14001,1;// -----------------------------------------------------------//  Constants (leave this section alone).// -----------------------------------------------------------    setarray .Castles$[0],        "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05",        "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05",        "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05",        "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05",        "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05",        "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05";    setarray .EndLabel$[0],"ar01","ar02","ar03","ar04","ar05","sc01","sc02","sc03","sc04","sc05";    setarray .Days$[0],"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday";    setarray .Regions$[0],"Prontera","Payon","Geffen","Aldebaran","Arunafeltz","Schwaltzvalt";    setarray .Map$[0],"prt_gld","pay_gld","gef_fild13","alde_gld","aru_gld","sch_gld";    setarray .MapX[0],134,240,153,111,208,121,295,317,140,204,214,308,143,193,305,48, 95,142,239,264,158,83, 68,299,292,293,288, 97,137, 71;    setarray .MapY[0], 65,128,137,240,240,233,116,293,160,266, 75,240,240,278, 87,83,249, 85,242, 90,272,47,155,345,107,100,252,196, 90,315;// -----------------------------------------------------------    set .Size, getarraysize($WOE_CONTROL);    if (.AutoKick || .NoOwner)        for(set .@i,0; .@i
Edited by WoWNyx
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...