Jump to content
  • 0

getitem_map error HELP PLS


Lord Ganja

Question


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

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!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

https://github.com/rathena/rathena/search?q=itemdb_searchrandomid&ref=cmdform

int itemdb_searchrandomid(int group_id, uint8 sub_group);
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

 

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);
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...