Mvp card disable in woe time

Daedalus

New member
Messages
36
Points
0
Age
33
Location
Subic, Zambales
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

 
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

 
Last edited by a moderator:
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.

Code:
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";}
 
Last edited by a moderator:
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

 
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

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

this one?

 
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
}
},

 
Last edited by a moderator:
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:

Code:
setmapflag "mapname",mf_zone,"ZoneName";
 
i know .... thanks
default_smile.png


@kyeme

didnt not working...

+

http://imageshack.us/photo/my-images/163/0ng6.jpg/

http://imageshack.us/photo/my-images/543/ns3q.jpg/

http://imageshack.us/photo/my-images/401/snwv.jpg/

bump

bump @Kyeme

 
Last edited by a moderator:
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

 
Last edited by a moderator:
Back
Top