Extended Cell PvP [1.7] in Source Releases Posted July 31, 2018 hlep 9>e:\server apple-ro 2018 new\src\map\unit.cpp(703): error C2664: 'void clif_messagecolor_target(block_list *,unsigned long,const char *,bool,send_target,map_session_data *)': cannot convert argument 1 from 'map_session_data *' to 'block_list *' 9>e:\server apple-ro 2018 new\src\map\unit.cpp(703): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 9>Generating Code... Quote // Addon Cell PVP [Napster] if (bl->type == BL_PC) { struct map_session_data* sd = (TBL_PC*)bl; unsigned int tick = gettick(); if (sd && sd->pvpcan_walkout_tick && !map_getcell( sd->bl.m, x, y, CELL_CHKPVP ) ) { if ( DIFF_TICK(tick, sd->pvpcan_walkout_tick) < battle_config.cellpvp_walkout_delay ) { int e_tick = (battle_config.cellpvp_walkout_delay - DIFF_TICK( tick, sd->pvpcan_walkout_tick))/1000; char e_msg[150]; if( e_tick > 99 ) sprintf(e_msg, msg_txt(sd, 1599), sd->status.name, (double)e_tick / 60); else sprintf(e_msg, msg_txt(sd, 1600), sd->status.name, e_tick+1); clif_messagecolor(sd,color_table[COLOR_YELLOW], e_msg, false, SELF); return 0; } } }
Extended Cell PvP [1.7]
in Source Releases
Posted
hlep
9>e:\server apple-ro 2018 new\src\map\unit.cpp(703): error C2664: 'void clif_messagecolor_target(block_list *,unsigned long,const char *,bool,send_target,map_session_data *)': cannot convert argument 1 from 'map_session_data *' to 'block_list *'
9>e:\server apple-ro 2018 new\src\map\unit.cpp(703): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
9>Generating Code...