rosfus Posted July 11, 2013 Posted July 11, 2013 int npc_event_sub(struct map_session_data* sd, struct event_data* ev, const char* eventname) { if ( sd->npc_id != 0 ) { //Enqueue the event trigger. int i; ARR_FIND( 0, MAX_EVENTQUEUE, i, sd->eventqueue[i][0] == '\0' ); if( i < MAX_EVENTQUEUE ) { safestrncpy(sd->eventqueue[i],eventname,50000); //Event enqueued. return 0; } ShowWarning("npc_event: player's event queue is full, can't add event '%s' !\n", eventname); return 1; } i change it to 50000, but it still [Warning] Quote
simplemhan Posted July 11, 2013 Posted July 11, 2013 (edited) you made a mistake in adding an eventqueue, is in the src files but not that place go here https://rathena.svn....k/src/map/map.h find the maxeventqueue and maxeventqueuetimer Edited July 11, 2013 by simplemhan Quote
Question
rosfus
i change it to 50000, but it still [Warning]
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.