Page MenuHomeFeedback Tracker

Esc disconnect button custom action crashes game
Assigned, WishlistPublic

Description

Game crashes for me when setting a custom action on esc-menu abort button. RPT + BIDMP + MDMP attached as ZIP.

Details

Legacy ID
604584089
Severity
None
Resolution
Open
Reproducibility
Always
Category
Game Crash
Steps To Reproduce

Make a simple mission with one soldier and copy this into debug console:

  • spawn {

disableSerialization;
waitUntil {

		waitUntil{!isNull (findDisplay 49)};
		_abortButton = (findDisplay 49) displayCtrl 104;
		_abortButton ctrlSetText "Abort";
		_abortButton buttonSetAction "
			closeDialog 0;
			closeDialog 0;
			uiNamespace setVariable [""BIS_fnc_guiMessage_status"", false];

			_abort = [
			    ""Do you really want to abort?"",
			    ""Abort"",
			    ""Yes"",
			    ""No""
			] call bis_fnc_GUImessage;
			if(!_abort) exitWith {};

			[""END1"",true,true] call BIS_fnc_endMission;
		";
		waitUntil{isNull (findDisplay 49)};
		false;

};
};

Double press Esc (to refresh the screen) and press "Abort".
Your game will crash

Event Timeline

chris579 edited Steps To Reproduce. (Show Details)Jul 22 2015, 5:14 PM
chris579 set Category to Game Crash.
chris579 set Reproducibility to Always.
chris579 set Severity to None.
chris579 set Resolution to Open.
chris579 set Legacy ID to 604584089.May 8 2016, 12:25 PM
Adam added a comment.Jul 23 2015, 8:22 AM

The code you have attached does not work. Could you please check again if the code was copy pasted correctly? Thanks.