Lord Ganja Posted December 27, 2013 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Share Posted December 27, 2013 I updated my SVN to its latest revision 17698. And I encountered errors for the getitem_map patch.. after compiling I encountered this script.c(6592): error C2198: 'itemdb_searchrandomid' : too few arguments for call Here's what in my script.c line 6592: 6591: if(nameid < 0) { 6592: nameid = itemdb_searchrandomid(-nameid); 6593: flag = 1; 6594: } Thanks in advance! Quote Link to comment Share on other sites More sharing options...
goddameit Posted December 28, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: October 19, 2017 Share Posted December 28, 2013 https://github.com/rathena/rathena/search?q=itemdb_searchrandomid&ref=cmdform int itemdb_searchrandomid(int group_id, uint8 sub_group); Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted December 29, 2013 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted December 29, 2013 https://github.com/rathena/rathena/search?q=itemdb_searchrandomid&ref=cmdform int itemdb_searchrandomid(int group_id, uint8 sub_group); Thanks for the reply goddameit. but, am I going to replace that? nameid = itemdb_searchrandomid(-nameid); to int itemdb_searchrandomid(int group_id, uint8 sub_group); Quote Link to comment Share on other sites More sharing options...
Question
Lord Ganja
I updated my SVN to its latest revision 17698. And I encountered errors for the getitem_map patch..
after compiling I encountered this
Thanks in advance!
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.