Tomahawk Posted June 24, 2020 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 28 Reputation: 7 Joined: 07/17/18 Last Seen: 20 hours ago Share Posted June 24, 2020 Is it possible to change area_size based on mapflag? I'm trying to change clif.cpp with no luck if(mapdata->flag[MF_NEWAREA]) { map_foreachinallarea(clif_send_sub, bl->m, bl->x-20, bl->y-20, bl->x+20, bl->y+20, BL_PC, buf, len, bl, type);} else { map_foreachinallarea(clif_send_sub, bl->m, bl->x-AREA_SIZE, bl->y-AREA_SIZE, bl->x+AREA_SIZE, bl->y+AREA_SIZE, BL_PC, buf, len, bl, type);} break; Map server crashes on start. Thank you for reading. Quote Link to comment Share on other sites More sharing options...
Question
Tomahawk
Is it possible to change area_size based on mapflag? I'm trying to change clif.cpp with no luck
if(mapdata->flag[MF_NEWAREA]) { map_foreachinallarea(clif_send_sub, bl->m, bl->x-20, bl->y-20, bl->x+20, bl->y+20, BL_PC, buf, len, bl, type);} else { map_foreachinallarea(clif_send_sub, bl->m, bl->x-AREA_SIZE, bl->y-AREA_SIZE, bl->x+AREA_SIZE, bl->y+AREA_SIZE, BL_PC, buf, len, bl, type);} break;
Map server crashes on start. Thank you for reading.
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.