Page 1 of 1

[1.3.3] % in name breaks things badly

Posted: Fri Jan 08, 2016 7:51 pm
by Stuntofthelitter
If a character has a % in their name and then dies the game goes into an endless error loop.

Code: Select all

Lua Error: /engine/LogDisplay.lua:123: bad argument #1 to 'format' (no value)
	At [C]:-1 
	At [C]:-1 format
	At /engine/LogDisplay.lua:123 logdisplay
	At /mod/class/uiset/Minimalist.lua:382 log
	At /mod/class/Game.lua:1408 displayDelayedLogDamage
	At /mod/class/Game.lua:1265 
 ----------------  Stack Dump ----------------
--------------- Stack Dump Finished ---------------

Re: % in name breaks things badly

Posted: Fri Jan 08, 2016 8:16 pm
by Radon26
hmm... what about
_
*
/
.
does any of these cause problems? just asking.

also, standard
system, version, steam or not? mods probably wouldn't make something like that, but wouldn't hurt to add either.

Re: % in name breaks things badly

Posted: Fri Jan 08, 2016 8:34 pm
by Stuntofthelitter
No, none of those. Of course no addons, I know what I'm doing with bug reports ;)

It happens on windows for certain but I don't know what OS the original player who had it happening was on. I don't see any reason why it would vary with OS.

Re: % in name breaks things badly

Posted: Sat Jan 09, 2016 1:21 am
by tentoir
I tried it on Mac earlier today, and it still broke.

Re: [1.3.3] % in name breaks things badly

Posted: Sun Jan 10, 2016 1:44 pm
by darkgod
lol! fixed