auth_update crash
< Newer Topic
:: Older Topic >
Pages:<< prev 1 next >>
#1 Dec 24, 2017 12:15 am
Geomancer
GroupAdministrators
Posts1,946
JoinedJul 26, 2005
in auth.c function auth_update
find
change it to
If you have a character waiting in the auth list and hes destroyed etc... when it updates the auth list it will crash.
find
void auth_update( void ) { CHAR_DATA *vch; AUTH_DATA *auth; int count = 0; bool pfile, authsave = false; for( auth = first_auth; auth; auth = auth->next ) {
change it to
void auth_update( void ) { CHAR_DATA *vch; AUTH_DATA *auth, *auth_next; int count = 0; bool pfile, authsave = false; for( auth = first_auth; auth; auth = auth_next ) { auth_next = auth->next;
If you have a character waiting in the auth list and hes destroyed etc... when it updates the auth list it will crash.
Pages:<< prev 1 next >>