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-instructions
no 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_tickTime
now returns time since VM start in seconds - VM:
assembly__ CODE
command no longer returns assembly reversed - VM: Removed invalid binary operator
ANY != ANY
- VM: Removed duplicate operators
- VM: Renamed
exit__ SCALAR
toexitcode__ SCALAR
due to naming conflict - VM: Renamed
prettyprintsqf__ STRING
toprettysqf__ STRING
- VM: Fixed
scriptName STRING
setable multiple times - VM: Fixed
time
not being available (was already implemented) - VM: Fixed PreProcessor Endless loop
- VM: Fixed PreProcessor double quoted strings no longer ignoring everything inbetween
- VM: Fixed
catch
crash - VM: Fixed
STRING in ARRAY
was using case-insensitive comparison - VM: Fixed
ARRAY select ARRAY
error messsage (second type check outputted first type on error) - VM: Fixed
STRING select ARRAY
error messsage (second type check outputted first type on error) - VM: Fixed off-by-one error in
for STRING from SCALAR to SCALAR step SCALAR
whenstep
was 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 OBJECT
erroring instead of returningfalse
and just warning onobjNull
- VM: Fixed single
.
getting detected as number - VM: Fixed disabling
sleep SCALAR
and 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
isEqualTo
not doing reference == reference check first - VM: Fixed nil passed to command would error instead of warn
- VM: Fixed unclosed
#ifdef
and#ifndef
not 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
#ifdef
error being raised when include files got included inside#ifdef
,#ifndef
and#else
block. - VM: Fixed Taling Slash in virtual mappings would prevent mappings from working
- VM: Added support for 2-Dimensional
distance
- VM: Added
waitUntil CODE
operator - VM: Added
ARRAY distance2d ARRAY
operator - VM: Added
OBJECT distance2d ARRAY
operator - VM: Added
ARRAY distance2d OBJECT
operator - VM: Added
OBJECT distance2d OBJECT
operator - VM: Added
ANY execVM STRING
andexecVM STRING
- VM: Added Warning on undefined-variable usage
- VM: Added
CODE provide__ ARRAY
to allow to provide implementation for an operator - VM: Added
terminate SCRIPT
operator - VM: Added
STRING splitString STRING
operator - VM: Added
ARRAY deleteRange ARRAY
- VM: Added
assembly__ STRING
variant ofassembly__ CODE
- VM: Added
tree__ CODE
variant oftree__ STRING
- VM: Added
prettysqf__ CODE
variant ofprettysqf__ STRING
- VM: Added
pretty__ CODE
alias ofprettysqf__ CODE
- VM: Added
STRING in STRING
- VM: Added
remoteConnect__ STRING
to connect to a SQF-VM instance running as server - VM: Added
copyToClipboard STRING
- VM: Added
scopeName STRING