samboy/ObHack

Fatal error when building megawad 0FreeDoom3

samboy opened this issue · 2 comments

There is a fatal error when ObHack attempts to build the megawad with the seed 0FreeDoom3 and the default values.

Steps to reproduce

cd ObHack-engine-697
rm -f CONFIG.cfg
./ObHack 0FreeDoom3

Expected results

A 32-level megawad with the filename 0FreeDoom3 is created.

Actual results

The following error prevents the megawad from being completed:

ObHack-engine-697/scripts/builder.lua:7853: attempt to perform arithmetic on field 'f_h' 
(a nil value)

Bug fixed, all standard tests run and pass. Test added to look for these kinds of issues (it tries building all 100 megawads from 0FreeDoom0 to 9FreeDoom9 three times each)

I have been able to make 100 megawads without issue.