Page 1 of 1

[1.1.103] Screenshot command does not check upper bound

Posted: Sat Jan 20, 2024 12:09 am
by DocJade
What did you do?

Input and ran the following screenshot command:
/screenshot 8000 8000 24382994877

What happened?

Instant game crash.

What did you expect to happen instead? It might be obvious to you, but do it anyway!

Game should not crash

Does it happen always, once, or sometimes?

Always

If you can reproduce the issue provide the exact steps!

Open any save, and run the command above.


Seems like a simple fix, just cap the max to the max, like how the screenshot command caps the minimum.

Stack trace logging done
643.814 Error FloatCast.hpp:123: 24382994877.000000 > 2147483647.000000

Re: [1.1.103] Screenshot command does not check upper bound

Posted: Sat Jan 20, 2024 4:36 pm
by Rseding91
Thanks for the report however I can not reproduce what you say. Additionally I do not see a log file on your post so there's no way to diagnose the crash. Please follow: viewtopic.php?f=7&t=3638

Re: [1.1.103] Screenshot command does not check upper bound

Posted: Sun Jan 21, 2024 12:30 am
by DocJade
My apologies! it seems to be fixed in 1.1.101 onwards.

I'm betting it was fixed here 110140

I originally had the crash in 1.1.100 and asked someone if the crash still occurred on the "newest release", they must have also been running 1.1.100
https://discord.com/channels/1396775903 ... 7470257254

Sorry! :cry:

Re: [1.1.103] Screenshot command does not check upper bound

Posted: Sun Jan 21, 2024 12:42 am
by Rseding91
Boskid found that it only happens in the chart view.