Page 1 of 1

[1.1.5] Minimalist breaks on summon.

Posted: Sun Mar 30, 2014 3:31 am
by grayswandir
I'm running Marson's UI mod and a couple others, so the origin of the problem could be there.

I was in dreadfell, I learned the Thalore summon skill and used it, and then the minimalist display died. I lost the full stacktrace, but I remember it was:
Minimalist.lua:1609, toScreenFull bad argument #10, nil instead of integer.

I tried switching to the classical interface and reloading, and got this on loading the save file:

Code: Select all

Lua Error: /engine/utils.lua:678: bad argument #2 to 'oldNewFont' (number expected, got nil)
	At [C]:-1 
	At [C]:-1 oldNewFont
	At /engine/utils.lua:678 newFont
	At /mod/class/uiset/Classic.lua:51 activate
	At /mod/class/Game.lua:101 runReal
	At /mod/class/Game.lua:91 run
	At /engine/Module.lua:831 instanciate
	At /engine/utils.lua:1902 showMainMenu
	At /engine/init.lua:153 
	At [C]:-1 dofile
	At /loader/init.lua:196 
Also, I had an escort on that level. When I forced it to quit and then reloaded, the escort no longer showed up in my party, and had switched from the antimagic reward to the normal one when completed.

Re: [1.1.5] Minimalist breaks on summon.

Posted: Sun Mar 30, 2014 12:42 pm
by Marson
It looks like they are both mine.

The first error is caused by a shadow field being empty. That line isn't reached unless you have the GPL shaders turned off. I thought I tested that, but this particular combo must have slipped through.

The second error is because a font size doesn't exist. I've neglected to test Classic on the past few builds. I should either make sure it stays compatible or block that option.

It's really tough to test for all the possible ways someone might have ToME set up, so I appreciate these reports. I'll work on fixing both errors. In the mean time, will your rig run with the GPL shaders on? You just need the main shaders, not the three listed below it (Advanced, Distortion, Volumetric).

If you need to reset to Minimalist manually, put

tome.uiset_mode = "Minimalist"

into

Users\[username]\T-Engine\4.0\settings\tome.uiset_mode.cfg

--------

Should be fixed now.