Jump to content
  • 0
Sign in to follow this  
Daedalus

Mvp card disable in woe time

Question

i have 2 times of woe..

 

1. no mvp card in woe monday to friday

2. with mvp card in sat to sunday

 

 

 can u help me how to disable ... my emu. is hercules

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

1.  To disable MVP Card mon - friday

a.) Open your map_zone_db.conf add this (ex. TGK Card)

{	name: "DisableMVP"	inherit: ( "GvG" )	disabled_items: {		Tao_Gunka_Card: true	}},

b.) Open agit_main.txt add this

if (gettime(4) != 6 && gettime(4) != 0) {	setmapflag strnpcinfo(2),mf_zone,"DisableMVP";} else {	setmapflag strnpcinfo(2),mf_zone,"GvG";}

after: gvgon strnpcinfo(2);  <-- click

Share this post


Link to post
Share on other sites
  • 0

how to non disable ?...

 

 

in one castle disable mvp card

 

and another castle non disable mvp card

 

Ok heres the format just add setmapflag if have another one active castle.

if (gettime(4) != 6 && gettime(4) != 0) {	setmapflag "Castle 1 to disable mvp",mf_zone,"DisableMVP";	setmapflag "Castle 2 to disable mvp",mf_zone,"DisableMVP";} else {	setmapflag "Castle 1 to enable mvp",mf_zone,"GvG";	setmapflag "Castle 2 to enable mvp",mf_zone,"GvG";}

 

Share this post


Link to post
Share on other sites
  • 0

ex. schg_cas01? ....

 

 

i will change mf_zone to that one? im right or not

 

if (gettime(4) != 6 && gettime(4) != 0) {
setmapflag "Castle to disable mvp",schg_cas01,"DisableMVP";

 

sorry to my english

Share this post


Link to post
Share on other sites
  • 0

ex. schg_cas01? ....

 

 

i will change mf_zone to that one? im right or not

 

if (gettime(4) != 6 && gettime(4) != 0) {

setmapflag "Castle to disable mvp",schg_cas01,"DisableMVP";

 

sorry to my english

 

"Castle 1 to disable mvp" <-- I mean put here your map name

Share this post


Link to post
Share on other sites
  • 0

  setmapflag "Castle 1 to disable mvp",mf_zone,"schg_cas01";
setmapflag "Castle 2 to disable mvp",mf_zone,"schg_cas02";

 

this one?

Share this post


Link to post
Share on other sites
  • 0

how about this

 

 

{
name: "schg_cas02"
inherit: ( "GvG" )
disabled_items: {
Tao_Gunka_Card: true
}
},

 

 

{
name: "schg_cas01"
inherit: ( "GvG" )
disabled_items: {
Tao_Gunka_Card: true
}
},

 

or

 

 

{
name: "schg_cas01, schg_cas02"
inherit: ( "GvG" )
disabled_items: {
Tao_Gunka_Card: true
}
},

Edited by Daedalus

Share this post


Link to post
Share on other sites
  • 0

how about this

 

 

{

name: "schg_cas02"

inherit: ( "GvG" )

disabled_items: {

Tao_Gunka_Card: true

}

},

 

 

{

name: "schg_cas01"

inherit: ( "GvG" )

disabled_items: {

Tao_Gunka_Card: true

}

},

 

or

 

 

{

name: "schg_cas01, schg_cas02"

inherit: ( "GvG" )

disabled_items: {

Tao_Gunka_Card: true

}

},

You can make a zone name of your choice. 

So my example is "DisableMVP" or any you want

But you need to follow this format:

setmapflag "mapname",mf_zone,"ZoneName";

Share this post


Link to post
Share on other sites
  • 0

Hello Daedalus,

 

Please avoid multiple post/bump of topic, Read Hercules Forum Rules for more information.

 

and dont miss this part.

  • [*]Posts in the support sections may be bumped with 
more information no less than 24 hours after the last post; if you have new information within less than 24h, edit your previous post.

For the min time, I will merge your post.

 

Thanks,

Mhalicot - Int'l Filipino Moderators

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.