runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Custom implementation of the Arma script language SQF

Results 21 runtime issues
Sort by recently updated
recently updated
newest added

People seem to expect sqfvm to run like other code interpreters, like python, ruby or nodejs - just call `python hello_world.py` and this will execute the code present in that...

enhancement

**Is your feature request related to a problem? Please describe.** I would like to run tests in a [project](https://github.com/DarkWanderer/DynamicOperations) which has CBA-like structure - multiple subdirectories and cross-addin function calls....

enhancement

**Is your feature request related to a problem? Please describe.** I would like to run tests in a [project](https://github.com/DarkWanderer/DynamicOperations) which has CBA-like structure - multiple subdirectories and cross-addin function calls....

enhancement

Make `IsServer` throw an exception that says "server/client not configured. To define if sqfvm should imitate a client or a server, use "

enhancement

**Describe the bug** Include path resolving does not work as expected. In SQF, `#include "file"` means that it will be looked for in same directory as the preprocessed file. SQFVM...

bug

**Describe the bug** Sorting of nested arrays is broken. Tested at 9fa0a3a3d4a0dbc7084c9e77a6b2b02bb24bd777 **To Reproduce** ```sqf private _pp = [[0,0,3,"Head"],[0,0,4,"Body"],[0,0,1.00125,"LeftArm"],[0,0,1.56359,"RightArm"],[0,0,1.1933,"LeftLeg"],[6.17301,2.05767,1.80874,"RightLeg"],[0,0,1,"#structural"]]; _pp sort false; _pp ``` `[[0,0,1,"#structural"],[6.17301,2.05767,1.80874,"RightLeg"],[0,0,1.1933,"LeftLeg"],[0,0,1.56359,"RightArm"],[0,0,1.00125,"LeftArm"],[0,0,4,"Body"],[0,0,3,"Head"]]` **Expected behavior** `[[6.17301,2.05767,1.80874,"RightLeg"],[0,0,4,"Body"],[0,0,3,"Head"],[0,0,1.56359,"RightArm"],[0,0,1.1933,"LeftLeg"],[0,0,1.00125,"LeftArm"],[0,0,1,"#structural"]]`

bug

```sqf player addEventHandler ["HandleDamage", { hint format ["You just sustained %1%2 damage!", ceil ((_this select 2) * 100), "%"]; }]; ``` Gives: ```sqf player.addeventhandler("HandleDamage", function() { hint($"You just sustained {ceil(_this[2]...

bug
sqc

Gives ```sqf _even = [1,2,3,4,5,6,7,8,9,0] select { _x % 2 == 0 }; ``` ```sqf _even = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0][function() { _x %...

bug
sqc

**Describe the bug** `configClasses` also returns non-class config entries. **To Reproduce** Steps to reproduce the behavior: 1. Execute `sqfvm.exe --automated --config "class Test { property = 0; class TestSub {...

bug

**Describe the bug** ```cpp class CfgPatches { class Addon { name = ""; author = ""; url = ""; }; class Addon2 {}; }; class A {}; class B {};...

bug