Jump to content
BryceTheCoder

Does SMART actually load the client or website?

Recommended Posts

:eek: ... no f***ing way... :eek: i am looking for this.. can i please get the code to load the client freddy or wanted please and i know the code is going to be in java and not scar but can i please get it?? :o i would be sooooo happy.

 

EDIT: if you dont want others to see or something could you PrivateMessage me it then please

Edited by BryceTheCoder
Link to comment
Share on other sites

:eek: ... no f***ing way... :eek: i am looking for this.. can i please get the code to load the client freddy or wanted please and i know the code is going to be in java and not scar but can i please get it?? :o i would be sooooo happy.

 

EDIT: if you dont want others to see or something could you PrivateMessage me it then please

 

... I'm pretty sure SMART says something like "by Benland100", why do you think we have anything to do with it? The code is publicly available: https://github.com/BenLand100/SMART

Link to comment
Share on other sites

:eek: ... no f***ing way... :eek: i am looking for this.. can i please get the code to load the client freddy or wanted please and i know the code is going to be in java and not scar but can i please get it?? :o i would be sooooo happy.

 

EDIT: if you dont want others to see or something could you PrivateMessage me it then please

 

You dont need the code just use the .dll file and use the exported functions. Ive managed to make a smart loader with findcolor/movemouse ect but my problem came when i started thinking about ocr functions for finding text and also i dont understand the SetColorSpeedModifiers function but ive been trying to locate the source from simba.

 

these are all of the available functions from SMART.dll To load smart you only need to use the std_setup('http://world1.runescape.com/','plugin.js?param=o0,a1,m0', 765, 504, 's');

 

[scar]

// SMART

procedure std_setup(ServerURL, SecondParam: PChar; sizeX, sizeY: Integer; SomeStr: PChar); stdcall; external 'SMART.dll';

procedure std_hardReset(); stdcall; external 'SMART.dll';

procedure std_setJVMPath(path: String); stdcall; external 'SMART.dll';

procedure std_setMaxJVMMem(mb: integer); stdcall; external 'SMART.dll';

procedure std_setUserAgent(useragent: String); stdcall; external 'SMART.dll';

procedure std_setRefresh(x: integer); stdcall; external 'SMART.dll';

procedure std_setTransparentColor(color: integer); stdcall; external 'SMART.dll';

procedure std_setEnabled(enabled: boolean); stdcall; external 'SMART.dll';

procedure std_setGraphics(enabled: boolean); stdcall; external 'SMART.dll';

procedure std_setDebug(enabled: boolean); stdcall; external 'SMART.dll';

function std_isBlocking: boolean; stdcall; external 'SMART.dll';

function std_isActive: boolean; stdcall; external 'SMART.dll';

function std_getImageHDC: integer; stdcall; external 'SMART.dll';

function std_getDebugHDC: integer; stdcall; external 'SMART.dll';

function std_getImageArray(): integer; stdcall; external 'SMART.dll';

function std_getDebugArray(): integer; stdcall; external 'SMART.dll';

function std_getRefresh: integer; stdcall; external 'SMART.dll';

 

// Mouse

procedure std_moveMouse(x, y: integer); stdcall; external 'SMART.dll';

procedure std_getMousePos(var x, y: integer); stdcall; external 'SMART.dll';

procedure std_holdMouse(x, y: integer; left: boolean); stdcall; external 'SMART.dll';

procedure std_releaseMouse(x, y: integer; left: boolean); stdcall; external 'SMART.dll';

procedure std_holdMousePlus(x, y, button: integer); stdcall; external 'SMART.dll';

procedure std_releaseMousePlus(x, y, button: integer); stdcall; external 'SMART.dll';

procedure std_moveMouse(x, y: integer); stdcall; external 'SMART.dll';

procedure std_windMouse(x, y: integer); stdcall; external 'SMART.dll';

procedure std_clickMouse(x, y: integer; left: boolean); stdcall; external 'SMART.dll';

procedure std_clickMousePlus(x, y, button: integer); stdcall; external 'SMART.dll';

 

// Keyboard

procedure std_sendKeys(Text: String); stdcall; external 'SMART.dll';

procedure std_holdKey(Code: Integer); stdcall; external 'SMART.dll';

procedure std_releaseKey(Code: Integer); stdcall; external 'SMART.dll';

function std_isKeyDown(Code: Integer): Boolean; stdcall; external 'SMART.dll';

 

// Color

function std_getColor(x, y: integer): integer; stdcall; external 'SMART.dll';

function std_findColor(var x, y: integer; color, sx, sy, ex, ey: integer): boolean; stdcall; external 'SMART.dll';

function std_findColorTol(var x, y: integer; color, sx, sy, ex, ey, tol: integer): boolean; stdcall; external 'SMART.dll';

function std_findColorSpiral(var x, y: integer; color, sx, sy, ex, ey: integer): boolean; stdcall; external 'SMART.dll';

function std_findColorSpiralTol(var x, y: integer; color, sx, sy, ex, ey, tol: integer): boolean; stdcall; external 'SMART.dll';

 

[/scar]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...