[Bug:Areas] Area conversion fails on Smaug G and R resets.
< Newer Topic
:: Older Topic >
AFKMud 2.1.3
Pages:<< prev 1 next >>
#1 Mar 7, 2010 10:46 pm
Black Hand
GroupAdministrators
Posts3,697
JoinedJan 1, 2002
Bug: Area conversion fails on Smaug G and R resets.
Danger: High - Area conversion fails, resulting in a crash.
Discovered in: AFKMud 2.1.3
Found by: thindil
Fixed by: thindil
---
areaconvert.cpp, load_stresets
Locate:
Change to:
Locate:
Change to:
An apparent oversight somewhere along the way which may have been the result of changes in how AFKMud deals with G and R resets. After fixing it, I was able to safely convert all areas in the official Smaug 1.8b package, and then tested again with several from 1.02a.
Danger: High - Area conversion fails, resulting in a crash.
Discovered in: AFKMud 2.1.3
Found by: thindil
Fixed by: thindil
---
areaconvert.cpp, load_stresets
Locate:
int extra, arg1, arg2, arg3;
Change to:
int extra, arg1, arg2, arg3 = 100;
Locate:
arg3 = fread_number( fp );
Change to:
if( letter != 'G' && letter != 'R' ) arg3 = fread_number( fp );
An apparent oversight somewhere along the way which may have been the result of changes in how AFKMud deals with G and R resets. After fixing it, I was able to safely convert all areas in the official Smaug 1.8b package, and then tested again with several from 1.02a.
Pages:<< prev 1 next >>