SRL Archive - FAQ

Switching client screens?


humbie

2012-06-07 00:29:54

Hello everyone im new to scripting and slowly learning the basics =]

I just a question if anyone knows the answer that would help me in the script im making, Is it possible to have 2 runescape clients while running one script that is able to switch between them and perform actions to both clients one at a time or both at the same time? Also is there a function for mouse scrolling?

I am guessing this would be possible with simba, but I just wanted to make sure.

thanks!:D

Runaway

2012-06-07 00:36:18

1) You can't have more than one client specified for every Simba that is open, but you can be running the same script on two different clients if you have 2 Simbas open.

2) ScrollMouse()

humbie

2012-06-07 00:43:00

From: Runaway
1) You can't have more than one client specified for every Simba that is open, but you can be running the same script on two different clients if you have 2 Simbas open.

2) ScrollMouse()


So will I be able to have one of the simbas receive a boolean for example from the other one?

Main

2012-06-07 00:47:47

You can just run two simba and two smart and depends on what you need them to do it should be possible.

You can also exchange variable with writeini and readini so simbas can communicate with each other.

Bobarkinator

2012-06-07 00:52:47

From: Main
You can just run two simba and two smart and depends on what you need them to do it should be possible.

You can also exchange variable with writeini and readini so simbas can communicate with each other.


Sockets would probably be cleaner for passing information back and forth. You wouldn't have to worry about erasing data already written in the .ini or any of that type of stuff.

humbie

2012-06-07 00:57:16

From: Main
You can just run two simba and two smart and depends on what you need them to do it should be possible.

You can also exchange variable with writeini and readini so simbas can communicate with each other.


From: Bobarkinator
Sockets would probably be cleaner for passing information back and forth. You wouldn't have to worry about erasing data already written in the .ini or any of that type of stuff.


Thank you all for your quick replies, I appreciate your input and will get back to learning these concepts as I dont know them :redface: