03-11-2021, 08:00 PM
Hello, i am Murat and new on quick macros
i made an exe for a game with hpmppot atak buf etc functions but when i run exe it sometimes run sometimes stops.
when i check complier option show possible run-time errors i got some errors like below
macro
ShowDialog: F"{<fa "4504359 /5580792 ERR_BADARG">ERR_BADARG}. Macro not found or is encrypted{es}", F"{<fa "4504359 /5580792 ERR_BADARG">ERR_BADARG} (dlgProc)", F"{<fa "4504359 /5580792 ERR_BADARG">ERR_BADARG}. Dialog definition not found or is invalid{es}", F"{<fa "4504359 /5580792 ERR_BADARG">ERR_BADARG} (controls).{controlsErr}", F"cannot load icon {icon}" 8 (<help #IDP_OPT>warning), F"{<fa "4504359 /5580792 ERR_FAILED">ERR_FAILED}. Cannot show dialog. The most common reason is an invalid value in dialog definition: an unknown control class or an invalid control style", F"Error (RT) in dialog: {<fa "4504359 /5580792 _error">_error.description},[][9]line: {<fa "4504359 /5580792 _error">_error.line}" 8 (<help #IDP_OPT>warning), <fa "4504359 /5580792 >warnings">>warnings. <help #IDP_ERR>?
i made an exe for a game with hpmppot atak buf etc functions but when i run exe it sometimes run sometimes stops.
when i check complier option show possible run-time errors i got some errors like below
macro
str dd=
BEGIN DIALOG
0 "" 0x90C80AC8 0x8 0 0 112 114 "Labs" "4"
3 Button 0x54032000 0x0 4 20 48 14 "Pot"
4 Button 0x54032000 0x0 56 20 48 14 "Stop"
5 Button 0x54032000 0x0 4 36 48 14 "Buff"
6 Button 0x54032000 0x0 56 36 48 14 "Stop"
7 Button 0x54032000 0x0 4 52 48 14 "Defans"
9 Button 0x54032000 0x0 56 52 48 14 "Stop"
10 Button 0x54032000 0x0 4 68 48 14 "Atak"
11 Button 0x54032000 0x0 56 68 48 14 "Stop"
13 Button 0x54032000 0x0 28 96 48 14 "STOP"
12 Button 0x54020007 0x0 4 0 102 92 ""
END DIALOG
DIALOG EDITOR: "" 0x2040B02 "*" "" "" ""
if(!ShowDialog(dd &sub.DlgProc 0)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
case WM_INITDIALOG
case WM_DESTROY
case WM_COMMAND goto messages2
ret
messages2
sel wParam
case 3 mac "HpMpPot"
case 4 EndThread "HpMpPot"
case 5 mac "Buff"
case 6 EndThread "Buff"
case 7 mac "Defance"
case 9 EndThread "Defance"
case 10 mac "Atack"
case 11 EndThread "Atack"
case 13 mac "Stop"
ret 1
ShowDialog: F"{<fa "4504359 /5580792 ERR_BADARG">ERR_BADARG}. Macro not found or is encrypted{es}", F"{<fa "4504359 /5580792 ERR_BADARG">ERR_BADARG} (dlgProc)", F"{<fa "4504359 /5580792 ERR_BADARG">ERR_BADARG}. Dialog definition not found or is invalid{es}", F"{<fa "4504359 /5580792 ERR_BADARG">ERR_BADARG} (controls).{controlsErr}", F"cannot load icon {icon}" 8 (<help #IDP_OPT>warning), F"{<fa "4504359 /5580792 ERR_FAILED">ERR_FAILED}. Cannot show dialog. The most common reason is an invalid value in dialog definition: an unknown control class or an invalid control style", F"Error (RT) in dialog: {<fa "4504359 /5580792 _error">_error.description},[][9]line: {<fa "4504359 /5580792 _error">_error.line}" 8 (<help #IDP_OPT>warning), <fa "4504359 /5580792 >warnings">>warnings. <help #IDP_ERR>?