BryceTheCoder Posted March 18, 2012 Share Posted March 18, 2012 Does SMART actually load the client from a jar file or does it just load the website of runescape which has the client on their(http://www.runescape.com/game.ws?j=1) ? Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted March 18, 2012 Share Posted March 18, 2012 It loads the client itself. I believe it fetches the latest .jar from the website then launches it. Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted March 20, 2012 Author Share Posted March 20, 2012 (edited) ... no f***ing way... 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?? i would be sooooo happy. EDIT: if you dont want others to see or something could you PrivateMessage me it then please Edited March 20, 2012 by BryceTheCoder Quote Link to comment Share on other sites More sharing options...
FHannes Posted March 20, 2012 Share Posted March 20, 2012 ... no f***ing way... 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?? 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 Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted March 20, 2012 Share Posted March 20, 2012 ... no f***ing way... 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?? 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] Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted March 23, 2012 Author Share Posted March 23, 2012 would it be possible to add java scripted hooks? Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted March 23, 2012 Share Posted March 23, 2012 would it be possible to add java scripted hooks? Yes, It takes alot of java/Delphi knowledge tho. Take a look at SMART's GitHub files and you can use that as a reference for how BenLand100 created smart. What is it that your trying to accomplish? Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted March 23, 2012 Share Posted March 23, 2012 I think he wants to bring back Reflection. Good luck with that! Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted March 23, 2012 Author Share Posted March 23, 2012 Yeahh im tryin to make some reflection bot with it.. Buuttt idkk if i cud accomplish it. but i will check crap out nd try. Quote Link to comment Share on other sites More sharing options...
jackren1986 Posted March 23, 2012 Share Posted March 23, 2012 Quote Link to comment Share on other sites More sharing options...