Jump to content
  • 0

Castel open during non WoE


Question

Posted

Hello,

atm if WoE off the unconquerd castel have an Emperium and can be taken. If remember a config serverside that this can be turn off.

 

But i cant find it. Where is the option that castel only during WoE have an Emperium if they are unquoncerd?

4 answers to this question

Recommended Posts

Posted (edited)

To turn off WoE, use these two script commands:

 

WoE FE

 

AgitEnd;

 

WoE SE

 

AgitEnd2;

 

I recommend using Toasty's WoE Controller for automated WoEs for which there are only specific castles that are open (not all castles; @agitstart/@agitstart2).

Edited by Boom
Posted

Nope the problem is not the WoE times. If WoE is not activ and a castel is not conquerd by a guild the Emperium is still at the Emp room. If a player break the emp it is hidden till WoE is activ.

Posted

Nope the problem is not the WoE times. If WoE is not activ and a castel is not conquerd by a guild the Emperium is still at the Emp room. If a player break the emp it is hidden till WoE is activ.

 

This is the specific code on agit_main.txt for your concern, I think:

// War of Emperium has ended.
OnAgitEnd:
    if (strnpcinfo(0) == "Gld_Agit_Manager") end;
    GvgOff strnpcinfo(2);
    // If the castle has no owner at the end of WoE, do not kill Emperium.
    if (GetCastleData(strnpcinfo(2),1)) {
        KillMonster strnpcinfo(2),"Agit#"+strnpcinfo(2)+"::OnAgitBreak";
    }
    end;

 

The emperium will not be killed. It's an official behavior unless you modify it. /no1

Hope this answers your question where it is...

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