Full Remote Control Tutorial.
RudeBoiAlex
2007-10-08 16:26:32
Remote Control [A.K.A] RC Tutorial
[RBA] Productionz.
What Is RC
RC stands for Remote Control and enables the user to Remotely Administer his running script INGAME from another runescape client, i.e. from work or from school. Commands are send through Private Chat from the Master (You) to the Slave (bot). You are directly giving your bot orders. Currently there are 4 commands.The Commands.
Status
The Slave returns the names of all False Players.
Reset
Sets all your Players to True and resets to default Location if any is set. Typically called after you manually reset all the False Players to their startposition.
LogOut
Logs Out the Current Player.
Stop
Stops the Script.
How To Use.
To RC, first you have to make sure the autoers set private to friends/on, and they must have your master account added. Then you logon with your master account, and the autoer will see you have logged on (once it calls RC).
Then the autoer says hi to the master. Then you can say status (you can change this to 'whats up' etc in RC.scar) and the autoer will tell you which players (by name, you can change this to nick) are false (lost or in random). Then you log out of master, and log on to the false players, solve random/put in to position.
Then you log back onto master and wait for autoer to say hi again, then you say reset, and wait for autoer to say reset back to confirm. All players are true.
Tips And Tricks
It is wise to stand near to your Slave while you are giving commands, but it is ofcourse not neccesary. Also, after performing a command, RC will idle for 5 minutes! Why? To get rid of the red color in the chat window. So, you may only perform once RC every 5 minutes.
Functions
var RCMaster: String;
Description:
Master Player (Controller) User Nick.
var MasterBitMapMask, RCTimeMark: Integer;
Description:
Variables used in the Remote Control include.
function RCReadCommand: String;
By: WT-Fakawi
Description:
Returns string of red typed message (color 128)
procedure RCMakeNick;
By: WT-Fakawi
Description:
Creates MasterBitMapMask for recognisition
function RCFindMaster(var Mx, My: Integer; X1, Y1, X2, Y2: Integer): Boolean;
By: WT-Fakawi
Description:
Finds MasterBitMapMask (Master Name) and returns its coordinates
in Mx and My.
Could be usefull also for friend-finding.
function RCHowManyOnline: Integer;
By: WT-Fakawi
Description:
Returns the number of online Friends.
function RCFindFriend: String;
By: WT-Fakawi
Description:
Returns the name of the First Friend in the FriendList
function RCPrivateMessageColorFound: Boolean;
By: WT-Fakawi
Description:
Returns True if Color 128 (red) was found in ChatWindow.
function ReturnStatus: String;
By: WT-Fakawi
Description:
Returns a concatenated string with the False Player Names.
If you feel this is too suspicious, use Players.nick (recommended)
procedure RCResetStatus;
By: WT-Fakawi
Description:
Resets the Status of ALL Players to True
function RC: Boolean;
By: WT-Fakawi
Description:
High Level Remote Control Command. Handles Remote Control.
Works as follows:
Checks for existence of red color in chat window.
If red color is found, it checks for the existence of the MasterBitMapMask.
If found it waits 60 seconds for pm "status" or pm "reset".
Then RC sleeps five minutes to get rid of the red text.
Credits
- The Srl Manual For Helping Me Learn RC And Most Of This Tut
- Boreas For The Setup Bit :)
Wanted
2007-10-08 16:38:44
You might want to include that that is the nickname of the control master.
I just do this in my script
const
YourRCMaster = ''; //Remote control master's nick.
if (RCMaster = '') then RCMaster := YourRCMaster;
if (RCMaster = '') then RCMaster := Players[0].Nick;
Overall, great tutorial, glad someone finally made one :)
RudeBoiAlex
2007-10-08 16:39:51
thanks for the idea ill add that next time i update
Wanted
2007-10-08 16:44:43
Oh and btw, procedure RC; checks for Remote Control master, I think you can find it in both functions FindNormalRandoms and FindFastRandoms.
RudeBoiAlex
2007-10-08 17:06:42
Realy you find it in the randoms procedure? cool another new thing learnt today :)
Birfday_Cake
2007-10-08 19:21:32
Ohh, so for
YourRCMASTER = 'Birfday_Cake'; // Remote Control Master.
If my characters name is "Birfday_Cake", which it is not.
All along, I thought I had to download this mysterious RC Master. Lawl.
RudeBoiAlex
2007-10-09 11:23:59
Well its normally RcMasters Nickname so for that put 'irf' or smoethink like that
Timer
2007-10-13 17:08:24
Ty, iv always wondered about RC!
lakerzz8
2007-10-14 03:55:20
Great tutorial. Can finally put this to use now!
IronTeapot
2007-10-14 23:30:32
once my guy says hi to the master, and i say status, it tells me my false players, but then even after i give it the reset commans(and stop too) the script just idles there. Anyone know whats up with that? :S
RudeBoiAlex
2007-10-15 17:29:48
Hmmmm well last time it worked for me. sorry i font know bout this.
HellBoyz
2007-10-19 05:25:37
Cool will try it out soon and if possible if i encounter the reset problem will post it up later
RudeBoiAlex
2007-10-19 19:43:17
Ok thanks
HellBoyz
2007-10-19 23:26:21
I've check the RC it seem like on the first time the RC found and it said hi then there's nothing happen anymore
WT-Fakawi
2007-10-20 02:01:21
There is a five minute idle inbetween each RC command in order to get rid of the red chattext.
Check out the WIKI for another tut on RC.
Nice one RudeBoi!
RudeBoiAlex
2007-10-20 18:49:56
From: WT-Fakawi
Nice one RudeBoi!
A post from Mr Fakawi :eek:
Thanks.
Nose Smasher
2007-10-24 18:19:11
Will def try this later! I always wondered what RC was rofl…
So when i log on master and say 'status' and recieve an answer, do i have to wait 5 mins before i can say 'reset'? is that what this whole 5 min idle thing is about?
Tazzie 02
2007-10-26 19:43:10
I guess that the RC doesn't work if you turn on split private chat in your 'slave'?
nething
2007-10-26 20:26:39
LOL I never knew what RCMaster was for rofl. I though it was for RuneCrafting(RC) or something.
HellBoyz
2007-10-26 22:08:25
RC is for remotely control your army when your not in the area of the PC like if you run your army at home, you can check it with another PC at home at school or at work like me.
gerauchert
2007-10-26 23:05:37
i nvr knew what this was lol…
thanks I will definitely use this!
RudeBoiAlex
2007-10-27 09:21:14
From: gerauchert
i nvr knew what this was lol…
thanks I will definitely use this!
you do know :p
np
IronTeapot
2007-10-27 11:17:41
Re: The 5 miniute delay. Wouldnt it be possible just to have the slave read the last red line in the chat box, and ignoring everything above it? And i didnt know that the chatbox starts to clear things after 5 minutes. For me all the chat has just stayed there forever untill it either got bumped up the screen with new text or i logged out :S
Victim14
2007-10-27 11:59:18
I always wondered what that RC Master thing in the script was…
Thanks!
supadude
2007-10-28 08:46:56
wow this is cool thanks im so going to try this
RudeBoiAlex
2007-10-28 08:53:59
no problem
Dude that is really cool, lol. I'm going to have to try that.
RudeBoiAlex
2007-11-02 17:02:17
helps scripts run longer
Julza
2007-11-04 23:45:55
there shud be a proggy in it
Jimi_Blue
2007-11-05 12:50:32
O.O
I need to try and implement this into my first script.
RudeBoiAlex
2007-11-05 13:24:46
If you need any help pm me i finnaly learnt how to do it :p
Pretty usefull.
However, why the 5 minute wait, what if you're in a highly populated area in which the red text already goes off the screen fast.
sapetto
2007-11-07 14:40:07
Thanks now i know what RC is! :spot:
RudeBoiAlex
2007-11-07 14:49:10
Im using RC now seems to be working good enough.
[imp]heero
2007-11-10 17:33:36
:google: thanks
its helpfull
mark9510
2007-11-11 12:07:20
it would be cool if you could just switch the players to true and keep the progress report working
What commands do we use to control the bot? Do I just say Stop for it to stop autoing or Pause etc?
RudeBoiAlex
2007-11-16 14:59:12
Helps if you read these are the only commands
Status
The Slave returns the names of all False Players.
Reset
Sets all your Players to True and resets to default Location if any is set. Typically called after you manually reset all the False Players to their startposition.
LogOut
Logs Out the Current Player.
Stop
Stops the Script.
lordsaturn
2007-11-17 22:43:06
In the five minute idle-time between commands, wouldn't runescape log the player out from being idle?
mark9510
2007-11-17 22:55:47
yes it will log out your charachter but then log it in
Unclebob
2007-11-18 07:45:56
thats cool but RS is blocked at my school so i couldn't do it =(
mark9510
2007-12-04 13:31:42
i dont get it on my master the chat box is red but in my autoer its still blue in the corner of the main screen
souppy
2007-12-04 14:16:31
very nice thread, extremely helpful.
eddie
2008-01-13 11:59:51
Now i get it! woo!
radragon16
2008-01-14 03:05:47
Holy s…. I had no freakin clue that SCAR could do this… Im about to say F. Ibot and come here completely LOL. Seriously this is awesome.
i understand how it works.. but i dont get red text..
i just get ******* has logged in
in blue text above the chat bar :(
how do i change that?
drizzt
2008-03-16 08:55:39
From: pvh
i understand how it works.. but i dont get red text..
i just get ******* has logged in
in blue text above the chat bar :(
how do i change that?
go to the 11th gametab and click the "split private chat" off
thanks.. i did that now ;)
but what if i am fishing with my slave..
i will get fast messages.. and my message from my rc master will dissapear :(
EDIT:
i already found out ^^
just make sure the slave only sees the private messages xD
great tut!
EDIT2:
it types hi in the public chat.. so my RCmaster cant see it..
and if i say: status..
it says: everything is cool.. but in public!
so if im at school (not now.. just testing) i wont be able to see it, or i got to be in same world, same place
drizzt
2008-03-21 11:34:39
From: pvh
thanks.. i did that now ;)
but what if i am fishing with my slave..
i will get fast messages.. and my message from my rc master will dissapear :(
EDIT:
i already found out ^^
just make sure the slave only sees the private messages xD
great tut!
EDIT2:
it types hi in the public chat.. so my RCmaster cant see it..
and if i say: status..
it says: everything is cool.. but in public!
so if im at school (not now.. just testing) i wont be able to see it, or i got to be in same world, same place
yea..i don't thiink RC is working since the Friendslist update
Shuttleu
2008-05-26 16:43:04
From: drizzt
yea..i don't thiink RC is working since the Friendslist update
o well thats just great
i just found out about rc and decided to find out how it works
and when i go to test it doesnt work
i done a few tests to see where it was going wrong and it doesnt find the name in the friends list
does anyone know if this is going to be fixed anytime soon ?
~shut
Trico
2008-05-30 02:00:02
Very informative…I've never knew what the RCmaster constant in scripts meant.