SRL Archive - News and General

Tip: Running a Virtual Machine on One Screen


CamHart

2006-11-26 23:42:37

We'll I'm an oldie, i used scar back when it was just RSC around and I know/used some stuff from then that has proven useful now. Not just scripting tho. Scar has some useful things that mess with clients transparency and other stuff. Because of this i found a simple way to maximise screen useage when you're running a virtual machine and trying to do other stuff like homework, script, or (heaven forbid) actually play runescape :-/.

I'll make a video of how to do it if these instructions aren't clear, but It is late and i am in a rush so bare with me.


Steps
1. Set up your VM with rs and scar (will be known as from here foward VMSCAR) up inside it (not necessarly running, YET).
2. Open another scar (not in the VM, will now call this scar CompSCAR) and set the client it watches to the virtual machine.
3. Take CompSCAR and click "Client->Client Always on Top." You must do this or else SCAR won't read the pixel colors etc (CompSCAR does not make you use your computer mouse)
4. Take VMSCAR and start the script.
5. Take CompSCAR and click "Client->0% Transparency."
The whole VM should dissapear now, but don't worry the script is running
6. (Optional) - Take CompSCAR and click "View->Show Preview." Now you can make that preview screen as big or as small as you want, you can also click on it and it'll click (atleast it used to) on the VM like it was up.

Now when you want to remove the transparency on scar, you must do these steps (not necessarly in this order, but this is how i do it).
1. Take CompSCAR and click "Client->No Transparency"
2. Take CompSCAR and click "Client->Client always on top" (if you want it to not always be on top).

There is a golden rule that goes along with this that you MUST obey. DO NOT CLOSE COMPSCAR UNTILL WHILE THE VM HAS 0% TRANSPARENCY!!!!!!!!
If you do, i have yet to find a way to recover it from its transparency…

CamHart

2006-11-26 23:45:49

Posted in wrong spot sorry. Move to SRL Library if wanted.

YoHoJo

2006-11-27 00:00:12

ROFL this is 100% pointless
it leaves a VM running which ameks lag
and makes your computer mouse used meaning no freedom

What do you is
Downlaod VM
Install Scar in the VM
Open rs in VM
drag scar to runespce
press play
Minimize the Vm

And you are free to do whatever you please on your comp.

Whats the point of using a VM when your using your comps mouse on it..? That just creates lag.

Wizzup?

2006-11-27 02:39:09

Hmm I might try this, thanks CamHart. Althought I'd normally recommend what yohojo said.. it might be safer

Janilabo

2006-11-27 03:22:42

Nice one, CamHart. :)

And yeah, you have been around for a long long time. I remember you from ReiNet… You posted there a bit. ;) Summer 2004 or something like that.

Anyways, does 0% (shouldn't it be 0% for no transparency and 100% transparency for transparent? SCAR bug?) make the client go "ghost" mode or something? But yeah, pretty neat trick.

CamHart

2006-11-27 17:56:09

From: yohojo8
ROFL this is 100% pointless
it leaves a VM running which ameks lag
and makes your computer mouse used meaning no freedom

What do you is
Downlaod VM
Install Scar in the VM
Open rs in VM
drag scar to runespce
press play
Minimize the Vm

And you are free to do whatever you please on your comp.

Whats the point of using a VM when your using your comps mouse on it..? That just creates lag.

You can't run scar on a minimized VM. Atleast from what I've heard and tested you can't. The point of this is to allow you to use your full screen. And no it doesn't use your computer's mouse, i think you're confused on what I'm trying to say. The CompSCAR doesn't use your mouse, it just makes the whole VM dissapear so you can use the whole monitor instead of just the little bit.
From: Wizzup?
Hmm I might try this, thanks CamHart. Althought I'd normally recommend what yohojo said.. it might be safer

Yea, If you get banned following this then it's not my fault :-p. I'm going to use it though :D
From: LaBo
Nice one, CamHart. :)

And yeah, you have been around for a long long time. I remember you from ReiNet… You posted there a bit. ;) Summer 2004 or something like that.

Anyways, does 0% (shouldn't it be 0% for no transparency and 100% transparency for transparent? SCAR bug?) make the client go "ghost" mode or something? But yeah, pretty neat trick.

Yea I'm still a mod at reinet, love the place. Yea the transparency's are reversed i think, but that's how they've always been so maybe its just our bad english? who knows, not really a huge deal to me :-p

YoHoJo

2006-11-27 18:04:54

dude
you CAN minimize Vm and auto
i do it all the time…..
whats the point of using a VM if you cant use your mouse..?
go try it out
it works for me

CamHart

2006-11-27 19:38:36

you can use your mouse when you do what i've said…

CamHart

2006-11-27 21:21:11

I tried out tarajunky's chicken killer and it always stopped when it started searching for monsters…. maybe it depends on what software you're useing to make the VM or something but it doesn't work minimised for me. So I'll continue doing it my way :-p

Boreas

2006-11-27 22:12:37

CamHart and Yohojo, what vm software are you using?

CamHart

2006-11-27 22:20:07

VMware

YoHoJo

2006-11-27 23:08:29

Vmware+VmwareTools+Windows XP Home+Scar+SCSS

Boreas

2006-11-27 23:32:14

So you both use the same, yet one can auto on vm minimized, and one can't. Weird.

YoHoJo

2006-11-28 00:09:09

maybe some of his settings are different than me
and maybe he didn't DL vmware tools.

CamHart

2006-11-28 17:01:56

I've got VMware tools installed, but i dont use SCSS but would that really make a difference? Gosh i wanna figure out how to just minimize it… Cause whenever i do it just goes "searching for monster" (doesnt ever click them), "Checking for randoms" (and the script isnt in combat), or it just logs outs (due to idle time i believe).

Boreas

2006-11-28 17:10:29

Make a test script. Like

wait(10000);
if getcolor(x,y)=color then writeln('true');

Where you know color is definitely at x,y, and you run it and minimize it within 10 seconds

tarajunky

2006-11-28 17:13:55

My chickenkiller scripts definitely do work on a minimized vm because I have used them that way many times.

To be clear, when you set up the vm window, the game screen needs to be there on the VM screen. If you minimize the game window inside the VM screen then it won't work. But if you minimize the entire VM window, then it continues running just fine because VMSCAR still sees a normal open VM Runescape window.

When you say that minimizing the game on VM makes the script fail because it's always searching or something, that doesn't make any sense to me. If the VM window is minimized you should NOT be able to see the VM SCAR window to see what the status is. The VM SCAR window is minimized along with everything else so you should not be able to see it.

CamHart

2006-11-28 18:10:52

If you click preview on scar, you can see it working… Either way haveing that preview up is still nice :D But not necessarly worth having to set up lol.