I've noticed some of my scripts running kinda slow lately and I think it's because I have too much going on at once. For example I typically run a looter, pvm script, and pvp script. The looter is running just 100lpc, but the pvm/pvp ones are running often around 1000lpc, but switch back and forth from low to high, journal scanning, pixel scanning etc.
Before on OSI shard I did run a looter, but never a pvp script, and things ran fine. Typically scan times were low from 25-100ms complete cycles on everything. Since I wrote the pvp one I noticed the cycle times have been getting extremely high, around 500-1000ms which isn't acceptable haha.
I rethought some of the coding for some pixel scanning, and came up with some options to simplify things, which will hopefully speed things up. But I'm wondering if i'll be still encountering problems because of all the journal scanning.
Also each script does have hotkeys associated with them, which make toggling them a pain when things kinda run slow!
I'm wondering if I should remove a lot of the journal/pixel scanning out of the individual scripts, and incorporate them into like a master control type script? One that handles all the journal crap, pixel stuff, and hotkey things and kinda queues them up for the other scripts to use? I just already have enough tabs open and don't want more, especially if it wont solve anything!
Another thing is I'd like to run 5 clients at once, and I'm having problems with the two... lol... Any ideas?