Hide some monsters from @mi or @whereis result – Free Code!
It’s been a while after my last post.
Maybe this is just a simple modification, not my pure idea. Someone sent me a PM in rAthena.org, asked something related with @mobinfo/@mi result. Basically, he wanted to hide certain monster(s) from @mi result, or just “only show this monster from this list for player when the @monsterinfo or @mi is being used”.
I just simply reply some hints there. No, not because I was stingy there, just because he posted in “Source Support”, I just try support by hints. But then, secretly I made it myself.
As I mentioned on that rAthena.org post, try to make new file for listing the monster that will be shown in the @mi result. Ahh but, when I worked at, I reverse it! I had an idea make the list to “do NOT display this monster in @monsterinfo/@mi result”. The monster’s identifier is using Monster ID.
In first test, remembered about @whereis command. Well, I thought maybe the monster that “hidden” from @monsterinfo/@mi also should be hid from @whereis result. And then, I done 2 bitmask values for a monster in the list.
1 – Don’t display at @monsterinfo
2 – Don’t display at @whereis
Finally, it became hide monster from @monsterinfo or @whereis result for players.
Structure: <MonsterID>,<Flag>,<MinGroup>
And for a little spice, I added battle config to enable or disable this feature faster.
// Enable ‘db/mob_hide_list.txt’ list? (Note 1)
mob_hide_list: yes
Hide some monsters from @mi or @whereis result – Free Code!
Download “Hide monster from @mi or @whereis” .patch file for eAthena
Download “Hide monster from @mi or @whereis” .diff file for rAthena
Download “Hide monster from @mi or @whereis” .patch file for 3CeAM
Download “Hide monster from @mi or @whereis” .patch file for Hercules
*Above are Mediafire links*