Brid Mayhem
2013-03-11 03:31:49
So I've read a bit up on this but from what I can tell, it's not currently available on simba.
Anybody care to enlighten me?
What I mean by multi threading is running two tasks (or procedures) at once.
Reason for this: updating an onscreen progress report constantly.
Runehack123
2013-03-11 03:42:23
This isn't needed for simple Runescape scripts with loops, Boolean checks and If Then statements.
You can update your progress report on-screen every time your bot has finished doing something e.g. picked up a whole inventory of items.
Brid Mayhem
2013-03-11 03:47:19
From: Runehack123
This isn't needed for simple Runescape scripts with loops, Boolean checks and If Then statements.
You can update your progress report on-screen every time your bot has finished doing something e.g. picked up a whole inventory of items.
I'd rather not have the time randomly jumping though.
Runehack123
2013-03-11 03:56:40
From: Brid Mayhem
I'd rather not have the time randomly jumping though.
Did some digging for you..
http://villavu.com/forum/showthread.php?t=51578read this first
http://villavu.com/forum/showthread.php?t=77509 <-
Brid Mayhem
2013-03-11 04:00:34
From: Runehack123
Did some digging for you..
http://villavu.com/forum/showthread.php?t=51578
read this first http://villavu.com/forum/showthread.php?t=77509 <-
I've read those and they don't really help. The TTimers currently dot work on smart (according to one of those threads) and on the other one its just saying its useless.
masterBB
2013-03-11 05:26:13
Lape and Pascalscript are not thread safe. End of story.
Ashaman88
2013-03-11 07:48:46
If it really bothers you, I supposed you can just call your proggy every second (or less than), but I don't see a need for it besides personal preference. My scripts usually only call them once I've completed an action (completed full inv, completed a lap, etc.)- After a few hours the stuff/hr usually remains pretty constant depending on the script.
Runehack123
2013-03-11 10:16:48
From: Ashaman88
If it really bothers you, I supposed you can just call your proggy every second (or less than), but I don't see a need for it besides personal preference. My scripts usually only call them once I've completed an action (completed full inv, completed a lap, etc.)- After a few hours the stuff/hr usually remains pretty constant depending on the script.
I think the thing that's bothering him is that the second timer doesn't increase every second in his 'script running for XX XX XX' part of his progress report.