Jump to content
  • 0

[Help] Disable siege and fortress


conheonit

Question

4 answers to this question

Recommended Posts

  • 0

Pack? Anyway something like that: GameServer.java

 

ClanHallManager.getInstance();

- FortressOfResistance.getInstance();

- DevastatedCastle.getInstance();

BanditStrongholdSiege.getInstance();

AuctionManager.getInstance();

Link to comment
Share on other sites

  • 0

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

     

Link to comment
Share on other sites

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

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