Code: Select all
if (PChar->loc.zone->CanUseMisc(MISC_MOGMENU) || PChar->m_moghouseID
Code: Select all
if (PChar->loc.zone->CanUseMisc(MISC_MOGMENU) || PChar->m_moghouseID
Code: Select all
MISC_NONE = 0x0000, // Able to be used in any area
MISC_ESCAPE = 0x0001, // Ability to use Escape Spell
MISC_FELLOW = 0x0002, // Ability to summon Fellow NPC
MISC_CHOCOBO = 0x0004, // Ability to use Chocobos
MISC_MAZURKA = 0x0008, // Ability to use Mazurka Spell
MISC_TRACTOR = 0x0010, // Ability to use Tractor Spell
MISC_MOGMENU = 0x0020, // Ability to communicate with Nomad Moogle (menu access mog house)
MISC_COSTUME = 0x0040, // Ability to use a Costumes
MISC_PET = 0x0080, // Ability to summon Pets
MISC_TREASURE = 0x0100, // Presence in the global zone TreasurePool
MISC_PVP = 0x0200, // Ability to PvP
MISC_YELL = 0x0400 // Send and receive /yell commands
If I may recommend, is it possible to edit your first post with the working code? This would help those who look at this and would like their own @mh command. Up to you I guess, just seems like it would be helpful for those who follow in the future.uwill99 wrote:Victory!!! Thanks kjLotus, didn't realize it was hexadecimal. Wow it works haha, oh man!!!!!
Let it be said here and now, kjLotus is the bomb diggity. I just changed my job in Mount Zhayolm using @mh. You are awesome man and thank you very much for making this cool little feature work. It took a while to change the misc section, but they are all +32 now (excluding the zones which already had moogle usage.)
Delaide wrote:If I may recommend, is it possible to edit your first post with the working code? This would help those who look at this and would like their own @mh command. Up to you I guess, just seems like it would be helpful for those who follow in the future.uwill99 wrote:Victory!!! Thanks kjLotus, didn't realize it was hexadecimal. Wow it works haha, oh man!!!!!
Let it be said here and now, kjLotus is the bomb diggity. I just changed my job in Mount Zhayolm using @mh. You are awesome man and thank you very much for making this cool little feature work. It took a while to change the misc section, but they are all +32 now (excluding the zones which already had moogle usage.)
Code: Select all
UPDATE zone_settings SET zone_misc = zone_misc & 0x40;