Feistz Posted September 4, 2012 Posted September 4, 2012 Hello, I just patched my server with Xantara's http://rathena.org/board/files/file/2242-package-itemmap-getitem-map/ but i got some compile error.. here it is:- pc.c 1>d:\server files\rathena\src\map\pc.c(5150): error C2198: 'map_addflooritem' : too few arguments for call Line 5150 /*------------------------------------------ * pc_getitem_map [Xantara] *------------------------------------------*/ int pc_getitem_map(struct map_session_data *sd,struct item it,int amt,int count,e_log_pick_type log_type) { int i, flag; nullpo_ret(sd); for ( i = 0; i < amt; i += count ) { if ( !pet_create_egg(sd,it.nameid) ) { // if not pet egg if ( flag = pc_additem(sd,&it,count,log_type) ) { clif_additem(sd, 0, 0, flag); if( pc_candrop(sd,&it) ) map_addflooritem(&it,count,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0); } } } log_pick_pc(sd, log_type, -amt, &sd->status.inventory[i]); return 1; } Anyone can help me fix this? Quote
Rebel Posted September 4, 2012 Posted September 4, 2012 map_addflooritem(&it,count,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0); 1 Quote
Question
Feistz
Hello,
I just patched my server with Xantara's http://rathena.org/board/files/file/2242-package-itemmap-getitem-map/
but i got some compile error.. here it is:-
Line 5150
Anyone can help me fix this?
2 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.