@Smoke @LucasBrito can u revert BG emblem update?
because in newer client guild emblem does not show in BG map or require EnbleBGEmblem patch which has alignment problems.
better show battleground emblem at top of players head than show nothing. User can easily remove BG sword emblem by making them transparent.
Also if possible please check IP_check function, because it is not working.
Just installed this plugin, wanted to try it out. I'm unsure what it was like before, but seems the BG Guild Emblems are not displaying correctly.
https://github.com/Smokexyz/HerculesBG/issues/39
@caspe it would be better to include
#if PACKETVER <= clientver, replacing clientver with the last known compatible one. I'm not familiar with this plugin, but I guess it would be this part?
/* Display emblem on head of char [lucaslsb] */
#if PACKETVER <= 20141022
if (hBG_enabled && sd->state.changemap && map->list[sd->bl.m].flag.battleground)
clif->map_type(sd, MAPTYPE_BATTLEFIELD);
if (hBG_enabled && map->list[sd->bl.m].flag.battleground)
clif->map_property(sd, MAPPROPERTY_AGITZONE);
#endif
and then,
// clif interface overloading [lucaslsb]
#if PACKETVER <= 20141022
clif->sendbgemblem_area = clif_sendbgemblem_area_overloading;
clif->sendbgemblem_single = clif_sendbgemblem_single_overloading;
#endif
but after testing, it seems this is pointless, as the newer clients show the emblems just fine (read below). Better to add a config for whether you'd rather show the sword or not.
ALSO your alignment issue is not exclusive to guild emblems. It's to do with the zoom in/out of your client. It can happen with some headgears to, such as ugly ass wings.
Exhibit A, zoomed in.
Exhibit B, zoomed to an appropriate amount.