Jump to content
  • 0

Anyone can help me About Harmony!


Question

Posted
Hi help me please

harmony.c:83:2: warning: implicit declaration of function 'pc_group_id2group' [-Wimplicit-function-declaration]
harmony.c:83:25: warning: initialization makes pointer from integer without a cast [enabled by default]
harmony.c:86:2: warning: implicit declaration of function 'pc_group_get_level' [-Wimplicit-function-declaration]
make[1]: *** [obj_sql/harmony.o] Error 1


SVN: Rathena
 
 

4 answers to this question

Recommended Posts

Posted

Hi jaycee016,

 

What I can recommend is edit '/trunk/src/map/harmony.c' and find the following;

 

int _harmony_localfix_pc_group_id2level(int id) {
      GroupSettings* group = pc_group_id2group(id);
      if (!group)
              return 0;
      return pc_group_get_level(group);
}

And then comment it out by doing the following;

//int _harmony_localfix_pc_group_id2level(int id) {
//      GroupSettings* group = pc_group_id2group(id);
//      if (!group)
//              return 0;
//      return pc_group_get_level(group);
//}
  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...