help me with this

Kei

New member
Messages
101
Points
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

 
Last edited by a moderator:
post here the whole patch please!

 
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.

 
Back
Top