Hello. I'm trying to use n\/Cl34r's powerbash and it naturally was hosed by the 1.24 patch.
Here's what I've done so far:
I modified Vexorian's Handle Variables Functions to fix the issues per Sevion's Tutorial:
In the powerbash code itself, I can't find any issues.
I'm unable to find any instances of the return bug.
I'm unable to find any instances of H2I/GetHandleId problems.
I'm unable to find any instances of the Else Return Bug (all instances of "return" in "if" blocks are followed by "endif").
I'm unable to find any instances of local globals.
I've attached a barebones map that just has Vexorian's and n\/Cl34r's code and modified to accommodate the 1.24 changes per the tutorial. The debugger will throw "invalid type for specified operator" unless I disable the powerbash trigger. So...am I missing from Sevion's tutorial, or is there something else causing the error not covered in the tutorial?
Here's what I've done so far:
I modified Vexorian's Handle Variables Functions to fix the issues per Sevion's Tutorial:
JASS:
function H2I takes handle h returns integer
return GetHandleId(h)
endfunction
function H2U takes handle h returns unit
return h
call DoNothing()
return null
endfunction
function GetHandleHandle takes handle subject, string name returns handle
return GetStoredInteger(LocalVars(), I2S(H2I(subject)), name)
call DoNothing()
return null
endfunction
In the powerbash code itself, I can't find any issues.
I'm unable to find any instances of the return bug.
I'm unable to find any instances of H2I/GetHandleId problems.
I'm unable to find any instances of the Else Return Bug (all instances of "return" in "if" blocks are followed by "endif").
I'm unable to find any instances of local globals.
I've attached a barebones map that just has Vexorian's and n\/Cl34r's code and modified to accommodate the 1.24 changes per the tutorial. The debugger will throw "invalid type for specified operator" unless I disable the powerbash trigger. So...am I missing from Sevion's tutorial, or is there something else causing the error not covered in the tutorial?