SRL Archive - OSR Help

High CPU usage from a script


samerdl

2013-04-25 12:25:53

I posted a topic about memory leak in ram, now the problem is still there for CPU.

I am curious to know if any one can help me, i am out of luck in trying to resolve the issue - as i still get high cpu spikes when the script performs the basic things.

Or maybe simba just needs a lot of CPU to perform the tasks am asking it to do?

Link to the script: [ATTACH]20914[/ATTACH]

This isn't the debugged version am trying to use right now, but its the main one i posted and am trying to work on improving. You don't even need to go to the spot the script is designed for, just the fact i run it makes it jump to high CPU, even though i have my bitmaps freed and the tpa's set in length.. Any idea? i have a slow pc and i wanna do other things on my pc when i run it…
What can i do to reduce CPU usage? help please! ( i searched on forums and found no solution that solved the problem).

Of course i wont to solve it, but i dont want any solution that comes at the cost of quality.. For now i got a script that can pretty much do what i want it to do..