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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock