Various small bug reports regarding Maniacs features

Since I can’t get GitHub to work, for the time being I’ll try to assemble bugs not regarding the battle system in this thread. These were found in EasyRPG Player 0.8.1.1 on Windows 11.

  • Repost from https://github.com/EasyRPG/Player/issues/3493 : When the input values use leading zeros for padding, EasyRPG Player gives very unexpected results with the .toNum operator.
    One TPC example to replicate the error:
t[1] .asg "\E[023]"
t[1] .asg .subs t[1], 3, 3
t[1] .toNum v[1]
@msg.show "\T[1]: \V[1]"

While the Maniacs runtime stores 23 into the variable as expected, in EasyRPG Player it becomes 19 instead, and an input of 099 turns into just 0.

  • Not quite sure if this is considered a bug, but using TPC, it’s possible (and very useful) to use a string variable for specifying a font to be used in a string picture. While the Maniacs runtime handles it correctly, trying to edit the string picture command through the GUI reduces the font input field to just “A”, and EasyRPG Player seems to do the same when interpreting the command.

Found another one, while testing a colorful exfont this happened:


It seems to occur more the stronger the colors are, so my guess is that there’s something off about how the rendering retrieves color information of that particular symbol.
The exfont image used above:
exfont

And in a similar vein, if for some reason you use a traditional exfont in .bmp format, this is the result: