Skip to content

Instantly share code, notes, and snippets.

@dedmen
Created March 8, 2017 20:41
Show Gist options
  • Save dedmen/f3d49159722d6675034f242cf1cab346 to your computer and use it in GitHub Desktop.
Save dedmen/f3d49159722d6675034f242cf1cab346 to your computer and use it in GitHub Desktop.
{
"callstack": [
{
"contentSample": "call cba_common_fnc_onFrame",
"fileName": "",
"ip": 3,
"lastInstruction": {
"fileOffset": [
1,
0
],
"filename": "",
"name": "function call",
"type": "class GameInstructionFunction"
},
"type": "class CallStackItemSimple",
"variables": null
},
{
"compiled": true,
"contentSample": "\nprivate _tickTime = diag_tickTime;\ncall cba_common_fnc_missionTimePFH;\n\n\n{\n_x params [\"_function\", ",
"final": true,
"ip": 10,
"lastInstruction": {
"fileOffset": [
14,
254
],
"filename": "",
"name": "operator count",
"type": "class GameInstructionOperator"
},
"type": "class CallStackItemData",
"variables": {
"_ticktime": {
"type": "float",
"value": "423.058"
}
}
},
{
"type": "class CallStackItemArrayCount",
"variables": null
},
{
"compiled": true,
"contentSample": "\n_x params [\"_function\", \"_delay\", \"_delta\", \"\", \"_args\", \"_handle\"];\n\nif (diag_tickTime > _delta) t",
"final": true,
"ip": 17,
"lastInstruction": {
"fileOffset": [
9,
174
],
"filename": "",
"name": "operator then",
"type": "class GameInstructionOperator"
},
"type": "class CallStackItemData",
"variables": {
"_args": {
"type": "array",
"value": [
{
"type": "bool",
"value": "false"
}
]
},
"_delay": {
"type": "float",
"value": "0"
},
"_delta": {
"type": "float",
"value": "408.456"
},
"_function": {
"type": "code",
"value": "{\nparams [\"_args\"];\n\n_args params [\"_waitingMsgSent\"];\n\n\nif !(SLX_XEH_MACHINE select 8) exitWith {};\n\n\nif (isNil \"ace_common_settings\" || {!isServer && isNil \"ace_modules_serverModulesRead\"}) exitWith {\nif !(_waitingMsgSent) then {\n_args set [0, true];\ndiag_log text format ['[%1] (%2) %3: %4', toUpper 'ace', 'common', 'INFO', \"Waiting on settings from server...\"];\n};\n};\n\n[_this select 1] call CBA_fnc_removePerFrameHandler;\n\ndiag_log text format ['[%1] (%2) %3: %4', toUpper 'ace', 'common', 'INFO', \"Settings received from server.\"];\n\nif (isServer) then { \n[] call ace_common_fnc_readSettingsFromParamsArray;\n};\n\n[\"ace_common_initSettingsFromModules\", []] call CBA_fnc_localEvent;\n\nif (isServer) then {\n\npublicVariable \"ace_common_settings\";\n};\n\n\nif (hasInterface) then {\ncall ace_common_fnc_loadSettingsFromProfile;\ncall ace_common_fnc_loadSettingsLocalizedText;\n};\n\ndiag_log text format ['[%1] (%2) %3: %4', toUpper 'ace', 'common', 'INFO', \"Settings initialized.\"];\n\n\n[\"ace_settingsInitialized\", []] call CBA_fnc_localEvent;\n\n\nace_common_settingsInitFinished = true;\ndiag_log text format ['[%1] (%2) %3: %4', toUpper 'ace', 'common', 'INFO', format[\"%1 delayed functions running.\", count ace_common_runAtSettingsInitialized]];\n\n{\n(_x select 1) call (_x select 0);\nfalse\n} count ace_common_runAtSettingsInitialized;\n\nace_common_runAtSettingsInitialized = nil; \n}"
},
"_handle": {
"type": "float",
"value": "1"
},
"_x": {
"type": "array",
"value": [
{
"type": "code",
"value": "{\nparams [\"_args\"];\n\n_args params [\"_waitingMsgSent\"];\n\n\nif !(SLX_XEH_MACHINE select 8) exitWith {};\n\n\nif (isNil \"ace_common_settings\" || {!isServer && isNil \"ace_modules_serverModulesRead\"}) exitWith {\nif !(_waitingMsgSent) then {\n_args set [0, true];\ndiag_log text format ['[%1] (%2) %3: %4', toUpper 'ace', 'common', 'INFO', \"Waiting on settings from server...\"];\n};\n};\n\n[_this select 1] call CBA_fnc_removePerFrameHandler;\n\ndiag_log text format ['[%1] (%2) %3: %4', toUpper 'ace', 'common', 'INFO', \"Settings received from server.\"];\n\nif (isServer) then { \n[] call ace_common_fnc_readSettingsFromParamsArray;\n};\n\n[\"ace_common_initSettingsFromModules\", []] call CBA_fnc_localEvent;\n\nif (isServer) then {\n\npublicVariable \"ace_common_settings\";\n};\n\n\nif (hasInterface) then {\ncall ace_common_fnc_loadSettingsFromProfile;\ncall ace_common_fnc_loadSettingsLocalizedText;\n};\n\ndiag_log text format ['[%1] (%2) %3: %4', toUpper 'ace', 'common', 'INFO', \"Settings initialized.\"];\n\n\n[\"ace_settingsInitialized\", []] call CBA_fnc_localEvent;\n\n\nace_common_settingsInitFinished = true;\ndiag_log text format ['[%1] (%2) %3: %4', toUpper 'ace', 'common', 'INFO', format[\"%1 delayed functions running.\", count ace_common_runAtSettingsInitialized]];\n\n{\n(_x select 1) call (_x select 0);\nfalse\n} count ace_common_runAtSettingsInitialized;\n\nace_common_runAtSettingsInitialized = nil; \n}"
},
{
"type": "float",
"value": "0"
},
{
"type": "float",
"value": "408.456"
},
{
"type": "float",
"value": "408.456"
},
{
"type": "array",
"value": [
{
"type": "bool",
"value": "false"
}
]
},
{
"type": "float",
"value": "1"
}
]
}
}
},
{
"compiled": true,
"contentSample": "\n_x set [2, _delta + _delay];\n[_args, _handle] call _function;\nfalse\n",
"final": true,
"ip": 14,
"lastInstruction": {
"fileOffset": [
11,
227
],
"filename": "",
"name": "operator call",
"type": "class GameInstructionOperator"
},
"type": "class CallStackItemData",
"variables": null
},
{
"compiled": true,
"contentSample": "\nparams [\"_args\"];\n\n_args params [\"_waitingMsgSent\"];\n\n\nif !(SLX_XEH_MACHINE select 8) exitWith {};\n",
"final": true,
"ip": 64,
"lastInstruction": {
"fileOffset": [
226,
10217
],
"filename": "z\\ace\\addons\\common\\XEH_postInit.sqf",
"name": "operator then",
"type": "class GameInstructionOperator"
},
"type": "class CallStackItemData",
"variables": {
"_args": {
"type": "array",
"value": [
{
"type": "bool",
"value": "false"
}
]
},
"_this": {
"type": "array",
"value": [
{
"type": "array",
"value": [
{
"type": "bool",
"value": "false"
}
]
},
{
"type": "float",
"value": "1"
}
]
},
"_waitingmsgsent": {
"type": "bool",
"value": "false"
}
}
},
{
"compiled": true,
"contentSample": "\ncall ace_common_fnc_loadSettingsFromProfile;\ncall ace_common_fnc_loadSettingsLocalizedText;\n",
"final": true,
"ip": 3,
"lastInstruction": {
"fileOffset": [
227,
10224
],
"filename": "z\\ace\\addons\\common\\XEH_postInit.sqf",
"name": "function call",
"type": "class GameInstructionFunction"
},
"type": "class CallStackItemData",
"variables": null
},
{
"compiled": true,
"contentSample": "#line 1 \"z\\ace\\addons\\common\\functions\\fnc_loadSettingsFromProfile.sqf\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n#line 1 \"z\\ace\\",
"final": true,
"ip": 4,
"lastInstruction": {
"fileOffset": [
25,
3233
],
"filename": "z\\ace\\addons\\common\\functions\\fnc_loadSettingsFromProfile.sqf",
"name": "operator count",
"type": "class GameInstructionOperator"
},
"type": "class CallStackItemData",
"variables": null
},
{
"type": "class CallStackItemArrayCount",
"variables": null
},
{
"compiled": true,
"contentSample": "\n_x params [\"_name\", \"\", \"_isClientSetable\", \"\", \"\", \"\", \"_isForced\"];\n\n\nif (_isClientSetable) then ",
"final": true,
"ip": 12,
"lastInstruction": {
"fileOffset": [
9,
2933
],
"filename": "z\\ace\\addons\\common\\functions\\fnc_loadSettingsFromProfile.sqf",
"name": "new command",
"type": "class GameInstructionNewExpression"
},
"type": "class CallStackItemData",
"variables": {
"_isclientsetable": {
"type": "bool",
"value": "false"
},
"_isforced": {
"type": "bool",
"value": "false"
},
"_name": {
"type": "string",
"value": "\"ace_cookoff_enableAmmobox\""
},
"_x": {
"type": "array",
"value": [
{
"type": "string",
"value": "\"ace_cookoff_enableAmmobox\""
},
{
"type": "string",
"value": "\"BOOL\""
},
{
"type": "bool",
"value": "false"
},
{
"type": "string",
"value": "\"\""
},
{
"type": "string",
"value": "\"\""
},
{
"type": "array",
"value": null
},
{
"type": "bool",
"value": "false"
},
{
"type": "bool",
"value": "true"
},
{
"type": "string",
"value": "\"\""
}
]
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment