rosfus Posted July 11, 2013 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 75 Reputation: 3 Joined: 04/12/13 Last Seen: August 15, 2014 Share 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 Link to comment Share on other sites More sharing options...
simplemhan Posted July 11, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 308 Reputation: 3 Joined: 12/18/11 Last Seen: March 4, 2014 Share 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 Link to comment Share on other sites More sharing options...
rosfus Posted July 11, 2013 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 75 Reputation: 3 Joined: 04/12/13 Last Seen: August 15, 2014 Author Share Posted July 11, 2013 thanx a lot~ Quote Link to comment Share on other sites More sharing options...
Question
rosfus
i change it to 50000, but it still [Warning]
Link to comment
Share on other sites
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.