![]() |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2005
Posts: 102
|
How to create big loop in AI?
For example: //i0=0 push_event push_const 192 //i0 add push_const 0 assign L1 //i0++ push_event push_const 192 //i0 add push_event push_const 192 //i0 add fetch_i push_const 1 add assign //if (i0>1000) {break;} push_event push_const 192 //i0 add fetch_i push_const 1000 greater branch_false L1 This code cause unexpected end of handler code execution and l2npc.exe error "max loop count exceeded" |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Oct 2005
Posts: 102
|
No one known that operations maximum count in ai script must be less than 30000? May be anyone want to know how hex this limitation?
|
|
|
|
|