Author Topic: [FIXED] Error with Large levels  (Read 875 times)

enhas

  • Contributor
  • *****
  • Posts: 118
[FIXED] Error with Large levels
« on: September 16, 2009, 08:49:12 AM »
Using these settings, OBLIGE gives an error and doesn't make the level:

Settings =
{
  ammo = normal
  detail = high
  engine = skulltag
  game = doom2
  health = less
  length = single
  light = mixed
  mode = sp
  mons = heaps
  outdoors = mixed
  powers = normal
  seed = 3340
  size = large
  strength = crazy
  theme = doom_tech
  traps = mixed
}

I wasn't using any modules or modded files (except doom.lua with WolfSS hack, but that shouldn't make any difference here).
CROWD: What do you want?
FRY: Fry's dog!
CROWD: When do you want it?
FRY: Fry's dog!

Glaice

  • Contributor
  • *****
  • Posts: 1250
  • Veteran OBLIGE modder
    • The Doom Video Vault
Re: Error with Large levels
« Reply #1 on: September 16, 2009, 12:32:57 PM »
I'm pretty sure the error message(s) would be in LOGS.TXT in the Oblige installation folder.

enhas

  • Contributor
  • *****
  • Posts: 118
Re: Error with Large levels
« Reply #2 on: September 16, 2009, 02:32:37 PM »
Reproduced it:

Stack Trace:
  1: calc_height() @ planner.lua:181
  2: choose_big_size() @ planner.lua:224
  3: Plan_CreateRooms() @ planner.lua:277
  4: Plan_rooms_sp() @ planner.lua:931
  5: Level_build_it() @ levels.lua:420
  6: Level_make() @ levels.lua:483
  7: Game_make_all() @ levels.lua:525
  8: ob_build_cool_shit() @ oblige.lua:520

LUA script error:
...GamesDoomMap GeneratorsOblige/scripts/planner.lua:181: attempt to perform arithmetic on field '?' (a nil value)
CROWD: What do you want?
FRY: Fry's dog!
CROWD: When do you want it?
FRY: Fry's dog!

andrewj

  • Developer
  • *****
  • Posts: 1519
Re: Error with Large levels
« Reply #3 on: September 17, 2009, 12:26:12 AM »
Thanks for the detailed reported.

Should be fixed now.