-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
test trigger:
global variable integer udg_test = 0
on event do:
set udg_test = udg_test + 1
call BJDebugMsg(I2S(udg_test))
// reloaded code was above 2 code copied 999 times (total 1000)
test result on 1.26a:
Jass VM reach op limit while processing 46th (running trigger once increase udg_test by 1 (98 times) + reach op limit)
if disable Jass VM op limit: no more free instances runtime/instruction.j while processing 267th (running trigger once increase udg_test by 1 (910 times))
test conclusion:
using gamecache instead of GetPlayerTechMaxAllowed and GetPlayerName() - works
no longer a problem to load big-sized bytecode file
however there is another problem: Jass VM op limit and instances
---------------------------------------
Jass error
---------------------------------------
op code limit exceeded
stack traceback:
[JHCR_Parser_parse_ins:246]
[JHCR_Parser_parse_and_init:20]
[JHCR_Init_parseTEST:83]
[JHCR_Init_parse:2]
---------------------------------------
---------------------------------------
Jass error
---------------------------------------
op code limit exceeded
stack traceback:
[JHCR_Interpreter_step:30522]
[JHCR_Interpreter_start_interpreter_wrap:72]
---------------------------------------
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

