MiranDMC

Results 38 issues of MiranDMC

CRoadBlocks::aScriptRoadBlocks in https://github.com/DK22Pac/plugin-sdk/blob/master/plugin_sa/game_sa/CRoadBlocks.cpp#L11 seems to have invalid address, as it is already (correctly) assigned to https://github.com/DK22Pac/plugin-sdk/blob/master/plugin_sa/game_sa/CTheScripts.cpp#L92

Added opcodes 2002 and 2003. Test script: ``` {$CLEO .cs} nop {$OPCODE 2002=-1, cleo_return_with } {$OPCODE 2003=-1, cleo_return_fail } while true 1@ = 0 cleo_call @SUM {numArgs} 2 {args} 2...

Global variables seems to be trap that every scripting newcomer falls in. Recently SB syntax evolved so much that I think automated assigning new named global variable, by just using...

Currently code below won't compile: ``` {$CLEO .cs} nop const version_alpha = 1 end while true if version_alpha == 0 then print_help_formatted {text} "this is release version" else print_help_formatted {text}...

status:in dev triage

Using `` or `==` causes compilation error in some cases: ``` var $global : int end function foo(local :int) if or $global local // ok local $global // error then...

priority:p3
type:nice-to-have
scope:compiler

Code below won't compile: ``` int coarse = 10 float precise =# coarse ```

priority:p3
type:nice-to-have
scope:compiler

``` {$CLEO .cs} nop debug_on int a, b if not a, b = foo() then trace "FAILED %d %d" a b else trace "OK %d %d" a b end terminate_this_custom_script...

type:bug
scope:compiler

Please introduce implicit style cast to bool for branching statements, based on new `is_truthy` opcode. `not` keyword should also be supported. Example: ``` int isOk, error (...) if and isOk...

type:feature
priority:p2
scope:compiler