SRL Archive - OSR Help

Running one more than one function at once?


bbri06

2010-05-06 21:49:34

I assume this is probably not possibly, but is there any way to have one function—it put information into an array about colors it's collecting—running while another function would simultaneously be running?

Nava2

2010-05-06 21:55:57

Not with PS. Sorry bro.

You could use SetTimeout but its not really.. what you want..

bbri06

2010-05-06 21:59:45

Ah damn. Alright thanks anyways.

TRiLeZ

2010-05-06 22:12:29

I think you can multithread with forms. :)

Nava2

2010-05-06 23:34:44

From: TRiLeZ
I think you can multithread with forms. :)


No, you can't.

Not in PS.

Smartzkid

2010-05-07 00:26:43

In a plugin.

Home

2010-05-07 04:09:43

Sorry for kinda offtopic :) What is PS ?


~Home

Sabzi

2010-05-07 05:05:56

From: Home
Sorry for kinda offtopic :) What is PS ?


~Home


Pascal Script I think.

Nava2

2010-05-07 08:44:24

From: Sabzi
Pascal Script I think.


Yup!

g0tp0t

2010-05-07 14:14:40

will multi threading be allowed in simba? other bots flat own srl right now with the multithreading ability. ex. rsbot…kbot…other bots…

YoHoJo

2010-05-07 14:48:13

From: g0tp0t
will multi threading be allowed in simba? other bots flat own srl right now with the multithreading ability. ex. rsbot…kbot…other bots…


Simba will also be using pascal script. So the answer to that is no.
And that statement is debatable, but yeah I guess they do seem better :p.

Nava2

2010-05-07 15:33:32

There are ways for Simba to be multi-threaded.. but PS is not one of them.

g0tp0t

2010-05-07 17:26:54

well… how exactly is it debateable. i thought it was either yes or no :P.

and cant devs let it run multiple scripts at once, making it multithread? or did you mean it was written in pascal so thats why it cant multithread. :[

Nava2

2010-05-07 18:23:34

From: g0tp0t
well… how exactly is it debateable. i thought it was either yes or no :P.

and cant devs let it run multiple scripts at once, making it multithread? or did you mean it was written in pascal so thats why it cant multithread. :[


Its the interpreter that has issues… not the client.

Smartzkid

2010-05-08 10:49:29

From: g0tp0t
well… how exactly is it debateable. i thought it was either yes or no :P.

and cant devs let it run multiple scripts at once, making it multithread? or did you mean it was written in pascal so thats why it cant multithread. :[


Simba uses pascalscript as well. Though I have heard that they may switch to a different interpreter in the future, so don't give up hope :)