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

     

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..