Page 1 of 1

Runaway Scripts! Too much CPU!

Posted: Sat Mar 28, 2020 11:18 am
by Cygnet
Hello world, im having a huge trouble using this distro pkg i've found out there, im running a 095 core and an old distro of fantasia but it seems fully dmaged, certain nps, once i create'em start lagging af, running out of cycles the merchant.ecl well. To be hones i just want to know if there is any log where i can check whose are the scripts consuming too much from my cpu, and the troublesome ones too!

https://i.snipboard.io/y4SAe0.jpg

Thanks, Cygnet.

Re: Runaway Scripts! Too much CPU!

Posted: Sat Mar 28, 2020 2:39 pm
by Yukiko
Look for loops, for, foreach, while etc. Make sure you have a SleepMS() in the loop. Use a value of 5 in the SleepMS call. That might help with the runaway scripts.