Can anyone explain how to use simba on browser , trying to use Ashaman88's livid farm script
Can anyone explain how to use simba on browser , trying to use Ashaman88's livid farm script
It's already possible using just Simba alone.. If you load RS in the browser and switch to Direct-X mode, you can drag the green cross-hairs to the window and run the following:
Simba Code:procedure Show(Bmp: Integer);
var
W, H: Integer;
begin
GetBitmapSize(Bmp, W, H);
DisplayDebugImgWindow(W, H);
DrawBitmapDebugImg(Bmp);
end;
var
Bmp: Integer;
W, H: Integer;
begin
GetClientDimensions(W, H);
Bmp := BitmapFromClient(0, 0, W - 1, H - 1);
Show(Bmp);
FreeBitmap(Bmp);
end.
If it displays the screen, it works fine (works for me without plugins).. If it doesn't, you need to use a plugin and place it in ONE of two places..
1. The browser's main folder.
2. Java's bin folder.
However, for Direct-X, there is no need for doing so in the browser (at least on my computer). For OpenGL, you WILL need a plugin no matter what. Both plugins support the browser or any application capable of OpenGL or Direct-X.
The new plugins have the format:
Simba Code:SetupDXI(GetNativeWindow());
SetupDXI(GetNativeWindow(), Width, Height);
SetupGLX(GetNativeWindow());
SetupGLX(GetNativeWindow(), Width, Height);
Both requiring the latest Simba so that you can use "GetNativeWindow()".. But again, plugins aren't needed for Direct-X capturing in the browser..
Last edited by Brandon; 08-30-2014 at 08:16 PM.
I am Ggzz..
Hackintosher
Why would you want to do this? SMART is actually quite handy.![]()
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
With the current (latest r1100) version of Simba, it is still detectable whether it is in the browser or not. This has been explained many times. It will ALWAYS be a cat and mouse game. The "browser IS safer" but that means nothing. Detectable means detectable.. doesn't matter "how much" easier it is.
I am Ggzz..
Hackintosher
Last edited by slacky; 08-31-2014 at 12:22 AM.
!No priv. messages please
!No priv. messages please
Current projects:
[ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]
"I won't fall in your gravity. Open your eyes,
you're the Earth and I'm the sky..."
I don't see where that would breach the rule actually. The mouse and keyboard are not being controlled by a program but a physical entity. The rules should be specific if the entity must be human, or even biological. Let's say an alien crashes to Earth and instead of studying and/or working with it for the better of the human race I force it to spin my flax in Runescape. The in-game account would still be controlled by an entity and biologically, but not human. Ban-able or not?
Current projects:
[ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]
"I won't fall in your gravity. Open your eyes,
you're the Earth and I'm the sky..."
Wouldn't the safest way be to run RS in a VM using their client or the browser? Then drive that with simba on the main machine.
Nothing detectable on the VM (other than detecting that it is a VM). The VM doesn't know if it's you or simba driving and neither would they.
I really doubt Simba on the native OS can interact with a window in a VM. Pretty sure Simba uses WindowHandles to capture images and a VM is just a single window handle (the VMWare window or the VirtualPC window or w/e). If you were able to select windows from within the VM, from the outside.. that would be insane.
That's exactly what you'd do.. The reason it runs SMART is because that script explicitly loads SMART. You need to remove the code that does so.. Basically, at the top of the script remove "{$DEFINE SMART}" and any code that draws on SMART using "smartImage".
I am Ggzz..
Hackintosher
Are you absolutely sure you did everything right? There's no way it wouldn't work (for RS at least). Simba CAN natively capture data from Direct-X windows without a plugin. I haven't found a Direct-X game (other than the ones & windows I make) that Simba cannot capture.
I also haven't heard from anyone that tried this that it failed.. Are you absolutely sure you did everything right?
If you drag the crosshair on RS, it will look like:
Then after running the script, it will look like:
![]()
Last edited by Brandon; 09-07-2014 at 06:00 PM.
I am Ggzz..
Hackintosher
Did you drag the green cross-hairs on the runescape browser client? If you did try safe mode or one of brandon's plugins.
There are currently 1 users browsing this thread. (0 members and 1 guests)