Closed pandaro closed 8 years ago
the problem still could be the global ai
, because as you discovered there are many places that are not within a module or a behaviour, and therefore can't refer to its own ai object.
i see, but there are a possibility to convert this ai to somthing like self.ai? and how to?
It would be pretty easy to convert local functions of modules and behaviours to module/behaviour:Functions, if they use the ai
object.
The main problem is taskqueues: https://github.com/eronoobos/BABAR-The-Shardifant/issues/38
circa ultimated the migration between ai -> self.ai there are a problem shard against shard when 300 units pro shard are reached cause a little problem:(not every time)
[f=0072672] Fatal: LuaUI: cannot allocate more memory! (805306431 bytes already used, 805306368 bytes maximum)
is not a little problem but the good news with all this fix seems that targeting problem seems fixed... EDIT but isn't