rj
2013-05-19 22:48:29
What is muilti-Threading?
- Pretty much, (somebody please explain this better) in noob terms, it's a script inside your script running while your script is running. So that means progress reports could be in real time, calling randoms could be in real time (checking for them as your doing something else)
SRL is a learning community. There are many things I have learned here scripting wise aside from Runescape botting, just to name a few:
- cases
- good program structure
- avoiding memory leaks
- Procedure and function parameters (made my basic java skills a little better)
Back to my main point:
From: Officer Barbrady
SRL is a learning community
That being said, I think that Muilti-threading support should be added. It would be a great thing to be added to expand my knowledge and many others around on this forum. Of course, as we all know it is NOT absolutely needed for Runescape botting, infact it is not needed at all. It would be a mere extra thing will no major significance scripting wise. But me, and many other newbie scripters, muilti-threading support with simba would greatly expand our knowlege on programming in general!
Let's move on to some Pros and Cons if this "muilti-threading" was added.
Pros:
- As I have already said, and this is the main reason, a GREAT learning experience. This is pretty much most of the reason I would love this. If you disagree with me note that this is the main reason I want this added.
- Could be extremely useful for checking for randoms in OSRS
- Could offer slightly more support for debugging things such as SPS walking or any other walking (current position while walking a path, this can be done now but would be a pain because SPS_walkpath goes through an array of tpoints and you would have to call the procedure inbetween different sets of TPoints and it wouldn't be the same..)
- Real time progress reports.
- Have double-form progress report - an example of this is the iDungeon from RSbuddy had a progress report at the bottom, you could click buttons on the progress report and update the script accordingly
-
From: Ashaman88
Yes I would use it
Cons:
- Inexperience. If muilti-threading is not used properly, it WILL cause memory leaks MUCH worse then some mere "un freed DTMs". This is a major con when considering adding muilti-threading to simba. It's not like you can highlight the procedure you want to muilti-thread and right click "muilti-thread".
- Actually adding it. I don't develop Simba. I have no idea if this would be easy or hard to do. I don't know if it would be worth it with the amount of work that would be required.
Post what you think below. I personally think it would be a good learning experience.


