Feistz Posted September 4, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 139 Reputation: 10 Joined: 11/10/11 Last Seen: April 12 Share 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 Link to comment Share on other sites More sharing options...
Rebel Posted September 4, 2012 Group: Members Topic Count: 68 Topics Per Day: 0.01 Content Count: 436 Reputation: 32 Joined: 02/19/12 Last Seen: May 22, 2024 Share Posted September 4, 2012 map_addflooritem(&it,count,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0); 1 Quote Link to comment Share on other sites More sharing options...
Feistz Posted September 4, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 139 Reputation: 10 Joined: 11/10/11 Last Seen: April 12 Author Share Posted September 4, 2012 Thank you! Worked like a charm Quote Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
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.