The Forum is up for sale: XeNTaX Forum looking for new owner

Noesis help? Hit max_concurrent_rpgeo_contexts

Post questions about game models here, or help out others!
Post Reply
User avatar
DGIorio
beginner
Posts: 25
Joined: Sun Jan 10, 2016 11:12 pm
Has thanked: 4 times
Been thanked: 18 times

Noesis help? Hit max_concurrent_rpgeo_contexts

Post by DGIorio »

Hi everyone,

I've been doing a script for Noesis and I'm getting this problem: Hit MAX_CONCURRENT_RPGEO_CONTEXTS!

I think it's caused by the number of models that I'm loading, because for isolated models it's working pretty well and when I load a small number of models together it works.
Is there a better way to load multiple models? What I want to do is open multiple models and positionate them.

At the moment I'm using this to open multiple models (but getting error): rapi.rpgCreateContext()
I tried to make a vector (ctx = rapi.rpgCreateContext()), but there is no differences, I still get the same error.

Thanks in advance.
User avatar
zheneq
advanced
Posts: 43
Joined: Fri Jul 17, 2015 6:09 am
Location: Moscow, Russia
Has thanked: 7 times
Been thanked: 30 times

Re: Noesis help? Hit max_concurrent_rpgeo_contexts

Post by zheneq »

Just put ctx = rapi.rpgCreateContext() in the beginning of your script and never call it again.

And keep the reference to it till the end so that garbage collector does not delete it.
User avatar
DGIorio
beginner
Posts: 25
Joined: Sun Jan 10, 2016 11:12 pm
Has thanked: 4 times
Been thanked: 18 times

Re: Noesis help? Hit max_concurrent_rpgeo_contexts

Post by DGIorio »

zheneq wrote:Just put ctx = rapi.rpgCreateContext() in the beginning of your script and never call it again.

And keep the reference to it till the end so that garbage collector does not delete it.
I'm thankful for your help, it works. Now I can load the models together, I'm just getting error with files with a large amount of models to be loaded, probably because Noesis has a 4GB ram limit.
I don't know if it can be solved, but thank you!
Post Reply