Login
User Name:

Password:



Register

Forgot your password?
Item conditions and Damage
Sep 17, 2022 4:01 pm
By Matteo2303
WSL - Ubuntu Compiling Error
Sep 4, 2022 11:56 am
By Zedethar
18 years ago
Sep 4, 2022 11:52 am
By Zedethar
A SMAUG Collaboration
Sep 4, 2022 12:37 am
By Zedethar
set a mobs practicable skills?
Aug 26, 2022 6:13 pm
By pentair
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
SWRFUSS 1.4
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.4
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.3
Author: Various
Submitted by: Samson
Users Online
CommonCrawl, AhrefsBot

Members: 0
Guests: 7
Stats
Files
Topics
Posts
Members
Newest Member
486
3,777
19,574
582
Amanda226

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Bugfix Lists » LoP Bugfix List » auth_update crash
Forum Rules | Mark all | Recent Posts

auth_update crash
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Dec 24, 2017 12:15 am   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,905
JoinedJul 26, 2005

 
in auth.c function auth_update
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 >>