parent
bba3da2fd7
commit
0fcc9b6be4
@ -2057,9 +2057,14 @@ int guild_castledataloadack(int len, struct guild_castle *gc) {
|
|||||||
if( i != ev )
|
if( i != ev )
|
||||||
guild_request_info(c->guild_id);
|
guild_request_info(c->guild_id);
|
||||||
else { // last owned one
|
else { // last owned one
|
||||||
guild_npc_request_info(c->guild_id, script_config.agit_init_event_name);
|
char event_name[EVENT_NAME_LENGTH];
|
||||||
guild_npc_request_info(c->guild_id, script_config.agit_init2_event_name);
|
|
||||||
guild_npc_request_info(c->guild_id, script_config.agit_init3_event_name);
|
snprintf( event_name, EVENT_NAME_LENGTH, "::%s", script_config.agit_init_event_name );
|
||||||
|
guild_npc_request_info(c->guild_id, event_name);
|
||||||
|
snprintf( event_name, EVENT_NAME_LENGTH, "::%s", script_config.agit_init2_event_name );
|
||||||
|
guild_npc_request_info(c->guild_id, event_name);
|
||||||
|
snprintf( event_name, EVENT_NAME_LENGTH, "::%s", script_config.agit_init3_event_name );
|
||||||
|
guild_npc_request_info(c->guild_id, event_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,7 @@ static struct view_data npc_viewdb2[MAX_NPC_CLASS2_END-MAX_NPC_CLASS2_START];
|
|||||||
static struct script_event_s
|
static struct script_event_s
|
||||||
{ //Holds pointers to the commonly executed scripts for speedup. [Skotlex]
|
{ //Holds pointers to the commonly executed scripts for speedup. [Skotlex]
|
||||||
struct event_data *event[UCHAR_MAX];
|
struct event_data *event[UCHAR_MAX];
|
||||||
const char *event_name[UCHAR_MAX];
|
const char *event_name[EVENT_NAME_LENGTH];
|
||||||
uint8 event_count;
|
uint8 event_count;
|
||||||
} script_event[NPCE_MAX];
|
} script_event[NPCE_MAX];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user