Jump to content
  • 0
Thunderbolt

naviluagenerator not work on Hercules latest version version

Question

3 answers to this question

Recommended Posts

  • 0

The warnings you show don't seem to be a problem. The plugin should still compile.

 

Line 150 and 155 are two lines that are the same as path.c in Hercules (and they cause a warning in your plugin because of different compiler settings -- you can disable sign comparison check warnings in your VS solution)

Line 501, 566, 567, 568, 569, 570, 571 are recommending the use of a Microsoft-specific function instead of a standard function. For obvious reasons, we can't do that.

 

You can either silence or ignore those warnings. The warnings we generally silence are:

- 4018

- 4100

- 4800

- 4996

(or at the very least, 4018 and 4996 in this case).

 

If there's any other issues that prevent the plugin from working correctly, please let me know.

Share this post


Link to post
Share on other sites
  • 0

@haru sir, kindly update the plugin please :D

 

        CC      naviluagenerator.c
naviluagenerator.c: In function 'atcommand_createnavigationlua_sub_mob':
naviluagenerator.c:402:81: error: 'const struct view_data' has no member named  class_'
  fprintf(fp, OUT_INDENT OUT_INDENT "%d," OUT_SEPARATOR, (amount<<16)|mobinfo->vd.class_);
                                                                                 ^
naviluagenerator.c: In function 'atcommand_createnavigationlua_sub_warp':
naviluagenerator.c:448:69: error: 'struct view_data' has no member named 'class '
  fprintf(fp_link, OUT_INDENT OUT_INDENT "%d," OUT_SEPARATOR, (nd->vd->class_ == WARP_CLASS) ? 99999 : (int)nd->vd->class_);
                                                                     ^
naviluagenerator.c:448:114: error: 'struct view_data' has no member named 'class_'
  fprintf(fp_link, OUT_INDENT OUT_INDENT "%d," OUT_SEPARATOR, (nd->vd->class_ == WARP_CLASS) ? 99999 : (int)nd->vd->class_);
                                                                                                                  ^
make[1]: *** [../../plugins/naviluagenerator.so] Error 1

Share this post


Link to post
Share on other sites
  • 0

I just pushed an update to the plugin to make it compatible with the latest Hercules version. Please test it.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.