SRL Archive - General

A suggestion [If It Is Even Possible]


rostaryms

2008-11-09 19:53:29

Hey guys, i'm sure that this has probably been discussed, but anyways a new idea struck me today about scar. I don't really know how to say it but, would it be possible to have essentially two scars running but under one scar. So like two separate scripts running under one scar. You would have somthing like

program ScriptOne;
{.include srl/srl.scar}
begin
end.

program ScriptTwo;
{.include srl/srl.scar}
begin
end.

And they would both run simultaneously. Also, there would be a function to pause one of the scripts, so the other could do its action. Maybe its not possible with the language scar was coded in, but if it was that would bring a new generation of scripting. I'm pretty sure java bots have something like that.

So for example you could have scriptone be your normal script and then have scripttwo be the random checker. When scripttwo found a random, it would pause script one, solve the random, then continue with script one.

Its all just a thought.

- Rostaryms

Capricorn

2008-11-09 19:58:31

If you have to used a second separate running instance of SCAR to find randoms, then I would have to say you should restart the process of writing your script.

What other benefits do you think this could have? Also, for the java bot things. I think you have this mixed up. Do you mean how java bots can run multiple bots at the same time? If so that has nothing to do with how java and SCAR differentiate and everything to do with the fact that SCAR takes control of your mouse, which is why stuff like SMART has been made, and why VM's are used.

noidea

2008-11-09 20:01:20

It would be easier to have SCAR running to different scripts in different tabs, on one SCAR…

Sandstorm

2008-11-09 22:45:57

I don't believe this is possible, since (I believe) this is something along the lines of multi-threading which Freddy1990 has said is impossible, or very hard if it is possible, to implement.

lordsaturn

2008-11-09 23:54:54

I think you'd run into some problems if two instances of scar tried to take control of your one mouse. :p

Brain

2008-11-10 00:19:37

In his example he proposed that one instance over rides and pauses the primary, and when it is done with the side script, it resumes the main/first, so both wouldn't be trying to control the mouse at once. I think

Freddy1990

2008-11-10 05:02:17

From: lordsaturn
I think you'd run into some problems if two instances of scar tried to take control of your one mouse. :p


Hence the reason I never allowed SCAR to run 2 scripts at once

Wizzup?

2008-11-10 09:48:49

From: rostaryms
Hey guys, i'm sure that this has probably been discussed, but anyways a new idea struck me today about scar. I don't really know how to say it but, would it be possible to have essentially two scars running but under one scar. So like two separate scripts running under one scar. You would have somthing like

program ScriptOne;
{.include srl/srl.scar}
begin
end.

program ScriptTwo;
{.include srl/srl.scar}
begin
end.

And they would both run simultaneously. Also, there would be a function to pause one of the scripts, so the other could do its action. Maybe its not possible with the language scar was coded in, but if it was that would bring a new generation of scripting. I'm pretty sure java bots have something like that.

So for example you could have scriptone be your normal script and then have scripttwo be the random checker. When scripttwo found a random, it would pause script one, solve the random, then continue with script one.

Its all just a thought.

- Rostaryms


It is very easy to do so, just not in the current SCAR. The only problem would be the mouse functions, as previously mentioned. Adding a fail safe / message for that wouldn't be too hard to implement, though.

Freddy1990

2008-11-10 10:01:02

The concept will be revised in Phoenix

The_Shermanator

2008-11-10 11:37:40

From: Freddy1990
The concept will be revised in Phoenix


What is Phoenix? I've seen it on your website but haven't found a description of it?

And back on Topic, I was thinking something similar to this a while ago. My idea was like what if SCAR could be like moving the mouse/performing antiban/doing whatever while it is searching for colors. Sorta like multi-tasking - I think this around of what you were thinking of.

-Shermanator

Freddy1990

2008-11-10 11:44:19

From: Shermanator
What is Phoenix? I've seen it on your website but haven't found a description of it?

And back on Topic, I was thinking something similar to this a while ago. My idea was like what if SCAR could be like moving the mouse/performing antiban/doing whatever while it is searching for colors. Sorta like multi-tasking - I think this around of what you were thinking of.

-Shermanator


http://freddy1990.com/wiki/index.php?title=Phoenix

The_Shermanator

2008-11-10 11:51:29

From: Freddy1990
http://freddy1990.com/wiki/index.php?title=Phoenix


From what I got from that 2 line description, Sounds great! Wow a complete re-write I think we'll have to wait a while for it then :(

-Shermanator

Freddy1990

2008-11-10 18:13:52

From: Shermanator
From what I got from that 2 line description, Sounds great! Wow a complete re-write I think we'll have to wait a while for it then :(

-Shermanator


Well, there'll be open-beta trials, so…

rostaryms

2008-11-10 18:23:15

Okay thanks a lot guys, I think if it is developed into Phoenix it could be very powerful.

Also I'm at school and the internet is really crappy, so it could be used to check if runescape disconnected, then it could instantly fix, as opposed to implementing a check into every function of every script.

lordsaturn

2008-11-10 19:12:16

From: Freddy1990
http://freddy1990.com/wiki/index.php?title=Phoenix


I loove the planned addition of classes, but what would top it off would be to get rid of downcoding, if that's possible (might not be without an interpreter/compiler).

Freddy1990

2008-11-10 19:54:21

From: lordsaturn
I loove the planned addition of classes, but what would top it off would be to get rid of downcoding, if that's possible (might not be without an interpreter/compiler).


Heh, downcoding is there to stay :p