Jump to content
  • 0
Sign in to follow this  
benormal

How Can i Close Castles

Question

8 answers to this question

Recommended Posts

  • 0

Hello.

 

By default, WoE castles have an Emperium when unoccupied.

 

For disabling this behavior, you can comment lines 150 and 152 of npc/guild/agit_main.txt and also edit line 173 to:

if (0) {

 

This may arise you some warnings but it should work fine.

 

Sorry for the rushed reply, I'm supposed to be somewhere else right now.

Share this post


Link to post
Share on other sites
  • 0

use @agitend or @agitend2

 

 

and to completely disable WoE, disable it in npc/script_guild.conf

its already running but still emperiums there i wanna close castles

Share this post


Link to post
Share on other sites
  • 0

Hello.

 

By default, WoE castles have an Emperium when unoccupied.

 

For disabling this behavior, you can comment lines 150 and 152 of npc/guild/agit_main.txt and also edit line 173 to:

if (0) {

 

This may arise you some warnings but it should work fine.

 

Sorry for the rushed reply, I'm supposed to be somewhere else right now.

 

Thank you so much sir!

Share this post


Link to post
Share on other sites
  • 0

I don't know if it makes some warnings scream on your map console. I could try to help you fix them if you want.

 

Now i wanna open just prtg_cas01 how can i make this ?

Share this post


Link to post
Share on other sites
  • 0

As far as I know, the modifications I provided are not related to definitely close any castles.

 

Just use a WoE setter and open the castles you want.

Share this post


Link to post
Share on other sites
  • 0

Now i wanna open just prtg_cas01 how can i make this ?

https://github.com/HerculesWS/Hercules/blob/master/npc/warps/guildcastles.txt

 

comment every warp portal that leads to other castles other than the portals that leads to prtg_cas01

 

 

using WoE setter script is a bandage solution,

I wouldn't recommend using some external script because it will discourage members from learning how to script

Edited by AnnieRuru

Share this post


Link to post
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.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.