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

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.