SRL Archive - Other Scripts

Remote computer monitor


almost

2009-06-08 00:52:50

This will allow you to view one computer's screen from another computer.
I had added in mouse/keyboard control between the computers but it was going so slow it was pretty useless.
My server can support multiple people using this at the same time without getting your screens mixed up.
It will ask you for a username to run it.
Just use your name for the SRL forums so that no one will have the same one. (I'm not sure what happens if two people have the same name)
It doesn't have to be your exact name or anything, just make sure it sets you apart from everyone else.

Instructions-
Download the plugin below and paste it into your plugins folder, which is located inside your main SCAR folder.
Run "Remote Camera" on the computer being monitored.
Run "Remote Camera 2" on the computer doing the monitoring.
Make sure you set the same username for them both.
Mess around with the screen size settings to find out what works best for you.
It is vary laggy and slow, I know.
Using a plugin helped a whole lot though, without one it takes over 5 minutes to send the screen once.
The smaller area captured and the smaller you shrink your screen size, the faster it will get.

If you don't have 2 computers and want to help test this, you can set up both scripts on one computer.
It will be slower, but it works for me.


This was a large project that had lots of things I have never done before in it, so I owe a lot of thanks-
A G E N T and Laser for getting the bitmaps transferred to my server
Everyone who wrote a tut on making plugins
Senrath for helping me shrink the bitmaps

If you need any help, just ask.

Naum

2009-06-08 10:47:22

U r God :)

Shuttleu

2009-06-08 15:58:07

any source avaliable?

~shut

almost

2009-06-08 19:43:53

Your name is sent to NameHandler.php which creates your own file "yourName.php"
[PHP]<?php

$name = $_POST['name'];
if ($name <> '')
{
$handle = fopen("$name.php", 'w');

fwrite($handle, '<?php if($_SERVER[');
fwrite($handle, "'");
fwrite($handle, 'REQUEST_METHOD');
fwrite($handle, "'");
fwrite($handle, '] == ');
fwrite($handle, '"');
fwrite($handle, 'POST');
fwrite($handle, '"');
fwrite($handle, '&& strlen($_POST[');
fwrite($handle, "'");
fwrite($handle, 'pic');
fwrite($handle, "'");
fwrite($handle, ']) > 0) { file_put_contents(');
fwrite($handle, "'");
fwrite($handle, "$name");
fwrite($handle, '.bmp');
fwrite($handle, "'");
fwrite($handle, ', base64_decode($_POST[');
fwrite($handle, "'");
fwrite($handle, 'pic');
fwrite($handle, "'");
fwrite($handle, '])); } else print ');
fwrite($handle, '"');
fwrite($handle, 'unknown request');
fwrite($handle, '"');
fwrite($handle, '; ?>');

fclose($handle);
}

?>[/PHP]


And here is the plugin source (Not written by me, found online by Laser)
const
Codes64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

//from [url]http://www.swissdelphicenter.ch/torry/showcode.php?id=1524[/url]
//the codes const needed to be changed around
function Encode64(S: string): string;
var
i: Integer;
a: Integer;
x: Integer;
b: Integer;
begin
Result := '';
a := 0;
b := 0;
for i := 1 to Length(s) do
begin
x := Ord(s[i]);
b := b * 256 + x;
a := a + 8;
while a >= 6 do
begin
a := a - 6;
x := b div (1 shl a);
b := b mod (1 shl a);
Result := Result + Codes64[x + 1];
end;
end;
if a > 0 then
begin
x := b shl (6 - a);
Result := Result + Codes64[x + 1];
end;
end;
I changed a little of that though to get it in the plugin, don't remember exactly what.

jakeyboy29

2009-06-08 21:07:01

dude. have you seen how expensive these are?
master.

Dynamite

2009-06-08 21:13:02

Wait I don't understand… Why not use LogMeIn?

T~M

jakeyboy29

2009-06-08 21:45:38

cause its $200

almost

2009-06-09 00:01:03

I never looked around to see other programs that can do this.
For all I know there is a free one out there somewhere that works perfect.
I just got the idea and started working on it.
Mostly because I wanted to use my computer at home while I was at school.

Dynamite

2009-06-09 00:04:07

jake, ever heard of *crack* ?
almost, can you run scar at school?

T~M

almost

2009-06-09 00:09:12

Yes I can.
I make little things that freak people out all the time.
Like where the mouse will randomly start moving around on its own.
Ahh it's great.

I just googled LogMeIn and apparently they have a good version of it totally free for anyone.
Then they have the "business" version that costs some good money.
If you're looking to seriously remotely access your computer, I would google it and download that.
This is just kinda for fun.

senrath

2009-06-09 00:16:32

LogMeIn has had a free version for a while now. And it works great.

Harry

2009-06-09 00:21:21

2 options.

1) Get Linux and
sudo apt-get install tightvncserver
Now, run the command "tightvncserver", wait for it to install and ask for a password, now you can control the mouse, etc far away from a VNC Viewer.

2) Buy RealVNC, run VNCServer.exe, then view it with VNCViewer.exe from a different computer.


Personally, the second is easier, but it is more costly. Unless you want to get arrested for pirating.

Markus

2009-06-09 00:28:45

Option 3: get UltraVNC, we all know it pwns (and it's free).