AdmCronus 0 Posted May 8, 2015 I have one mapflag fvf, but not show damage in other player or mobs. someone could help? where edit? any solutions? grats Quote Share this post Link to post Share on other sites
0 Oxxy 24 Posted May 8, 2015 FVF - Faction versus faction from Lilith's system? Quote Share this post Link to post Share on other sites
0 AdmCronus 0 Posted May 8, 2015 Yeahp, not show damage! Quote Share this post Link to post Share on other sites
0 Oxxy 24 Posted May 8, 2015 (edited) Yeahp, not show damage! As I remember right there was switch config. Check out faction.conf in conf folder. --Tried to find it, there's no switch config. I'll check the code Find this in clif.c: + if( sd->status.faction_id ) { // Complete Faction System [Lilith]+ if( map[sd->bl.m].flag.fvf ) {+ faction_hp(sd);+ clif_map_property(sd, MAPPROPERTY_AGITZONE);+ } try to comment clif_map_property(sd,MAPPROPERTY_AGITZONE); and then find in atcommand.c +/*==========================================+ * Complete Faction System [Lilith]+ * @fvfon+ *------------------------------------------*/+ACMD_FUNC(fvfon)+{+ int faction_id = 0, relic_id = 0;++ nullpo_retr(-1, sd);++ if( map[sd->bl.m].flag.fvf ) {+ clif_displaymessage(fd, msg_txt(sd,1513)); // FvF is already on+ return -1;+ }++ if( message )+ sscanf(message, "%d %d", &faction_id, &relic_id);++ map[sd->bl.m].faction.id = faction_id;+ map[sd->bl.m].faction.relic = relic_id;++ map[sd->bl.m].flag.fvf = 1;+ clif_map_property_mapall(sd->bl.m, MAPPROPERTY_AGITZONE);+ map_foreachinmap(faction_reload_fvf_sub, sd->bl.m, BL_ALL);+ clif_displaymessage(fd, msg_txt(sd,1512)); // FvF: On+ return 0;+} comment this line: clif_map_property_mapall(sd->bl.m, MAPPROPERTY_AGITZONE); and then find +/*==========================================+ * Complete Faction System [Lilith]+ * @fvfoff+ *------------------------------------------*/+ACMD_FUNC(fvfoff)+{+ nullpo_retr(-1, sd);++ if( !map[sd->bl.m].flag.fvf ) {+ clif_displaymessage(fd, msg_txt(sd,1515)); // FvF is already off+ return -1;+ }++ map[sd->bl.m].flag.fvf = 0;+ map[sd->bl.m].faction.id = 0;+ map[sd->bl.m].faction.relic = 0;+ clif_map_property_mapall(sd->bl.m, MAPPROPERTY_NOTHING);+ map_foreachinmap(faction_reload_fvf_sub, sd->bl.m, BL_ALL);+ clif_displaymessage(fd, msg_txt(sd,1514)); // FvF: Off+ return 0;+}+ comment this line: + clif_map_property_mapall(sd->bl.m, MAPPROPERTY_NOTHING); Edited May 9, 2015 by Oxxy Quote Share this post Link to post Share on other sites
0 AdmCronus 0 Posted May 8, 2015 (edited) thz man! only remove this clif_map_property(sd,MAPPROPERTY_AGITZONE); Edited May 9, 2015 by AdmCronus Quote Share this post Link to post Share on other sites
0 Oxxy 24 Posted May 9, 2015 thz man! only remove this clif_map_property(sd,MAPPROPERTY_AGITZONE); you should actually do it everywhere I said. Because mapflag can be set via @fvfon and in @fvfoff you just shouldn't set map property to nothing, cuz there's no point. tho np buddy. <3 Quote Share this post Link to post Share on other sites
0 AdmCronus 0 Posted May 9, 2015 thx Oxxy !!! Quote Share this post Link to post Share on other sites
I have one mapflag fvf, but not show damage in other player or mobs.
someone could help?
where edit?
any solutions?
grats
Share this post
Link to post
Share on other sites