Jump to content
  • 0

[Help] Disable siege and fortress


Question

4 answers to this question

Recommended Posts

  • 0
Posted

Pack? Anyway something like that: GameServer.java

 

ClanHallManager.getInstance();

- FortressOfResistance.getInstance();

- DevastatedCastle.getInstance();

BanditStrongholdSiege.getInstance();

AuctionManager.getInstance();

  • 0
Posted

If you want to desactivate ingame, you have to add configs, which basically do the same than Chr.Trance says.

 

      ClanHallManager.getInstance();

    if (!Config.DISABLE_SIEGES)
    {
          // CH sieges
          FortressOfResistance.getInstance();
          DevastatedCastle.getInstance();
          BanditStrongholdSiege.getInstance();

          // Siege engine
          SiegeManager.getInstance().getSieges();
   FortSiegeManager.getInstance();
   TerritoryWarManager.getInstance();
    }

     AuctionManager.getInstance();

 

And add code in config aswell, and in the good .properties.

 

I'm not even sure you can do it properly, it will surely bug in many places. All those codes are so imbricated than you will surely have to do big rework...

 

Another solution, more simple, is to delete sieges content in sql...

     

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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