Jump to content
  • 0
Kei

help me with this

Question

i have this patch from annieruru but i'm having an error

 

 

npc.c: In function 'npc_read_event_script':npc.c:4135: error: 'struct Script_Config' has no member named 'stat_calc_event_name'

 

 

heres the script

 

 

{"Stat Calc Event",script->config.stat_calc_event_name},

 

i dont know whats the problem is

Edited by Kei

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

i have this patch from annieruru but i'm having an error

 

 

npc.c: In function 'npc_read_event_script':npc.c:4135: error: 'struct Script_Config' has no member named 'stat_calc_event_name'

 

 

heres the script

 

 

{"Stat Calc Event",script->config.stat_calc_event_name},

 

i dont know whats the problem is

script.h

Under 

struct Script_Config {

Add

 

const char *stat_calc_event_name; 

Then recompile.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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