IMPORTANT NOTE
PLEASE DO READ THE FOLLOWING
The SQF-VM project stopped releasing "handcrafted builds" in favor of utilizing CI. Please head over to the Actions tab and download the latest binaries from one of the releases listen in there.
Changelog
- CLI: Fixed
--max-instructionsno longer working - CLI: Added
--server PORT(-s PORT) option to start the VM as a connectible server - CLI: Added
--define NAME[=VALUE](-D NAME[=VALUE]) allowing to add definitions to the PreProcessor - VM:
diag_tickTimenow returns time since VM start in seconds - VM:
assembly__ CODEcommand no longer returns assembly reversed - VM: Removed invalid binary operator
ANY != ANY - VM: Removed duplicate operators
- VM: Renamed
exit__ SCALARtoexitcode__ SCALARdue to naming conflict - VM: Renamed
prettyprintsqf__ STRINGtoprettysqf__ STRING - VM: Fixed
scriptName STRINGsetable multiple times - VM: Fixed
timenot being available (was already implemented) - VM: Fixed PreProcessor Endless loop
- VM: Fixed PreProcessor double quoted strings no longer ignoring everything inbetween
- VM: Fixed
catchcrash - VM: Fixed
STRING in ARRAYwas using case-insensitive comparison - VM: Fixed
ARRAY select ARRAYerror messsage (second type check outputted first type on error) - VM: Fixed
STRING select ARRAYerror messsage (second type check outputted first type on error) - VM: Fixed off-by-one error in
for STRING from SCALAR to SCALAR step SCALARwhenstepwas not equal to 1 or -1 - VM: Fixed code comparison was checking address space instead of on equality of instructions (
CODE isEqualTo CODE) - VM: Fixed
alive OBJECTerroring instead of returningfalseand just warning onobjNull - VM: Fixed single
.getting detected as number - VM: Fixed disabling
sleep SCALARand using it later would cause an infinite loop - VM: Fixed disabling warnings
- VM: Fixed disabling runtime warnings would not properly disable them
- VM: Fixed distance2d copy paste issue causing index out of range
- VM: Fixed
isEqualTonot doing reference == reference check first - VM: Fixed nil passed to command would error instead of warn
- VM: Fixed unclosed
#ifdefand#ifndefnot warning and returning data. - VM: Fixed possible STATUS_STACK_BUFFER_OVERRUN on Windows Server due to console_width()
- VM: Fixed including the same file multiple times triggered "Recursive include detected"
- VM: Fixed code stringification having wrong parenthesis
- VM: Fixed Nested
#ifdeferror being raised when include files got included inside#ifdef,#ifndefand#elseblock. - VM: Fixed Taling Slash in virtual mappings would prevent mappings from working
- VM: Added support for 2-Dimensional
distance - VM: Added
waitUntil CODEoperator - VM: Added
ARRAY distance2d ARRAYoperator - VM: Added
OBJECT distance2d ARRAYoperator - VM: Added
ARRAY distance2d OBJECToperator - VM: Added
OBJECT distance2d OBJECToperator - VM: Added
ANY execVM STRINGandexecVM STRING - VM: Added Warning on undefined-variable usage
- VM: Added
CODE provide__ ARRAYto allow to provide implementation for an operator - VM: Added
terminate SCRIPToperator - VM: Added
STRING splitString STRINGoperator - VM: Added
ARRAY deleteRange ARRAY - VM: Added
assembly__ STRINGvariant ofassembly__ CODE - VM: Added
tree__ CODEvariant oftree__ STRING - VM: Added
prettysqf__ CODEvariant ofprettysqf__ STRING - VM: Added
pretty__ CODEalias ofprettysqf__ CODE - VM: Added
STRING in STRING - VM: Added
remoteConnect__ STRINGto connect to a SQF-VM instance running as server - VM: Added
copyToClipboard STRING - VM: Added
scopeName STRING