samboy / ObHack

A random map generator for Doom engine games
https://samiam.org/slump
Other
33 stars 1 forks source link

Fatal error when building megawad 0FreeDoom3 #12

Closed samboy closed 4 years ago

samboy commented 4 years ago

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)
samboy commented 4 years ago

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)

samboy commented 4 years ago

I have been able to make 100 megawads without issue.