naviluagenerator not work on Hercules latest version version

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.

 
  • Upvote
Reactions: Ind
@haru sir, kindly update the plugin please
default_biggrin.png


Code:
        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
 
I just pushed an update to the plugin to make it compatible with the latest Hercules version. Please test it.

 
Back
Top