Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
Bing

Members: 0
Guests: 27
Stats
Files
Topics
Posts
Members
Newest Member
489
3,792
19,646
597
Aileenutz

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Bugfix Lists » AFKMud Bugfix List » [Bug:Areas] Area conversion f...
Forum Rules | Mark all | Recent Posts

[Bug:Areas] Area conversion fails on Smaug G and R resets.
< Newer Topic :: Older Topic > AFKMud 2.1.3

Pages:<< prev 1 next >>
Post is unread #1 Mar 7, 2010 10:46 pm   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,685
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:
      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 >>