the command to view newly added changes and to add/delete changes crashes the mud, you can add changes just fine but once you try to view them it crashes it, it happens on clean builds of 4.5.3 in redhat linux 9.0
Logged In: YES user_id=30030
The problem is line 431 of changes.c
if (NullStr(arg1)) c = top_change - 16;
Here is my fix:
After the if statement, put this
if( c < 0 ) c = 0;
what was happening, is that if you didn't have more than 16 changes, it was going negative and trying to pull up an array index of -15 or something.
Log in to post a comment.
Logged In: YES
user_id=30030
The problem is line 431 of changes.c
if (NullStr(arg1))
c = top_change - 16;
Here is my fix:
After the if statement, put this
if( c < 0 )
c = 0;
what was happening, is that if you didn't have more than 16
changes, it was going negative and trying to pull up an array
index of -15 or something.