Replace sandbox wrapper scripts.

This commit is contained in:
Matthias Mailänder
2023-05-08 21:04:45 +02:00
committed by abcdefg30
parent e8dd85419f
commit 445b736885
15 changed files with 188 additions and 763 deletions

View File

@@ -1,27 +0,0 @@
Container@SCRIPT_ERROR_PANEL:
Height: PARENT_BOTTOM
Width: PARENT_RIGHT
Children:
Label@DESCA:
X: 15
Y: 15
Width: PARENT_RIGHT - 30
Height: 20
Font: Bold
Align: Center
Text: The map script has encountered a fatal error
Label@DESCB:
X: 15
Y: 45
Width: PARENT_RIGHT - 30
Height: 20
Font: Regular
WordWrap: true
Text: The details of the error have been saved to lua.log in the logs directory.
Label@DESCC:
X: 15
Y: 65
Width: PARENT_RIGHT - 30
Height: 20
Font: Regular
Text: Please send this file to the map author so that they can fix this issue.

View File

@@ -123,7 +123,7 @@ ChromeLayout:
cnc|chrome/ingame-infochat.yaml
cnc|chrome/ingame-info.yaml
cnc|chrome/ingame-infobriefing.yaml
cnc|chrome/ingame-infoscripterror.yaml
common|chrome/ingame-infoscripterror.yaml
cnc|chrome/ingame-infoobjectives.yaml
cnc|chrome/ingame-infostats.yaml
cnc|chrome/ingame-info-lobby-options.yaml

View File

@@ -1,6 +1,7 @@
Container@SCRIPT_ERROR_PANEL:
Height: PARENT_BOTTOM
Width: PARENT_RIGHT
Logic: ScriptErrorLogic
Children:
Label@DESCA:
X: 15
@@ -16,7 +17,7 @@ Container@SCRIPT_ERROR_PANEL:
Width: PARENT_RIGHT - 30
Height: 20
Font: Regular
WordWrap: true
Align: Center
Text: The details of the error have been saved to lua.log in the logs directory.
Label@DESCC:
X: 15
@@ -24,4 +25,15 @@ Container@SCRIPT_ERROR_PANEL:
Width: PARENT_RIGHT - 30
Height: 20
Font: Regular
Align: Center
Text: Please send this file to the map author so that they can fix this issue.
ScrollPanel@SCRIPT_ERROR_MESSAGE_PANEL:
X: 20
Y: 96
Width: PARENT_RIGHT - 40
Height: 300
Children:
Label@SCRIPT_ERROR_MESSAGE:
X: 4
Y: 2
Width: PARENT_RIGHT - 32