You are not logged in.
Pages: 1
Found this one today. Pressed capital E in the rest menu. Actually it is pressing the shift (left) that cause the rest menu to crash. Also Ctrl (left) crashed it
Starting C:\NPPAngband_QT-Jeff\NPPQT\NPPGAMES.exe...
ASSERT: "uint(i) < uint(size())" in file ..\..\Qt\5.5\mingw492_32\include\QtCore/qstring.h, line 851
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
C:\NPPAngband_QT-Jeff\NPPQT\NPPGAMES.exe exited with code 255
...
several exits with code 03 after this
Last edited by hydraa (2016-03-11 15:39:12)
Offline
Finally, an easy one to find & fix!
cmd_actions.cpp, line 2279 add these 2 lines. The line below it was the crash. If a key was not pressed, the game would try to read the first letter of a NULL string.
+// Otherwise, the isLetter check below would cause the game to crash if just a modifier was pressed
+if (!txt.length()) return;
if (txt.at(0).isLetter())
{
Offline
Finally, an easy one to find & fix!
cmd_actions.cpp, line 2279 add these 2 lines. The line below it was the crash. If a key was not pressed, the game would try to read the instant knockout guide first letter of a NULL string.
Thanks for the fix!
Last edited by Rahn (2017-12-02 03:04:25)
Offline
Pages: 1