Is there a way to use drawbitmap to show reports of the macro session directly into the client screen ? and display certain pictures directly into the client screen (without using a form) ? if so how do i do this?
Is there a way to use drawbitmap to show reports of the macro session directly into the client screen ? and display certain pictures directly into the client screen (without using a form) ? if so how do i do this?
If you're using SMART then yes, easily done
If not, I would say OpenGL Interception would be the best choice (Not developed for scar yet), as you can tell OpenGL to paint directly on the screen without much CPU Power drain, but with SCAR it would flicker a lot and drain all your CPU
I was thinking how its done without smart, and i think for script compability it woud be bether if it could display images in the client window, and not needing to stop scar to see report logg, if it just display with text in the client how many loads/rounds xp gained etc, and im also wondering of if you could display pictures, like displaying a picture of what picture the script is searching for at that point, or if it takes a picture of the bank screen each time the bot is inserting to bank then display it zoomed out, is it a way to do this without implementing another language ?
You need smart or a plugin that can use opengl or directx, no other ways
Basicly what I think you need is the window of the clients surface, hwnd, and then use it to draw on it, I'm not sure if it requires anything else to enable drawing, but yeah, thats my flow of thinking. Maybe the guy who designed that OpenGL "Reflection" if you will, can help out? I mean, the whole thread was moved to SRL Members only, I was very interested in that stuff, but now I'll just have to wait. Whats going with that project anyway?
There used to be something meaningful here.
God damnit, I want that source :P
There used to be something meaningful here.
Finding tutorials on OpenGL and D3D Hooking isn't hard though :P
Google "OpenGL Interception" or "D3D Hooking" and you'll find a couple 100 tuts
Still, I would love to see that source, as it is done for RuneScape.
There used to be something meaningful here.
A freind of me had a scar script witch did this long ago it was chopping willows in draynor village and displayed loads/xp directly on the client screen.
You sure openGL can do this? it read/display images on screen ?
tom99; Yeah, it isn't hard to do, but the runescape client updates 30 times per second, and you have to paint on top of that client, and be synced with runescape's updating
Also; It looks like silentwolf logs on now and then...
Last Activity: 06-22-2010 10:32 AM
You can paint directly to the canvas but it is very CPU intensive as you have to repaint every time RS repaints their client. Which is about... 60 times per sec. (I guess)
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
Do you know of a way to display the canvas directly on the screen wizzup ? even tough its cpu draining i would like to know how, but also opengl if this is to recommand.
60 fps? naaa... I'm not sure... if it's OpenGL then maybe, but if it is in software mode then I guess it's lower
If its 60fps via scar that woud work just perfectly if its only showing text i woud asume, but how large is opengl then? if its over 1gb i woud rather do it trough scar (if possible).
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
Its less cpu intensive to just paint on SMARTs debug canvas as I don't think it needs to refresh as often?
(Scripts outdated until I update for new SRL changes)
AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
Summer = me busy, won't be around much.
I gotta make clear i never tryed openGL befor so that tells me nothing.
But i will look into it if it does screen drawing efficiently, but for now i woud like to know how i could do it trough scar please.
LoadDebugBitmap('Fonts\BigChars\37.bmp'); <- I tought this command was supose to display a picture in the debug window but i see nothing.
Nvm it works, however its a bit clumsy to use debug window, can you also draw directly to the client screen ?
Last edited by tom99; 07-03-2010 at 12:07 AM.
Basically what everyone is trying to tell you is that unless you use smart or already knew how to use opengl your not going to effectively write on the client
I also think that anyone who told you to use OpenGL has no idea how to do it with opengl.
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
There is a file named opengl32.dll, that means i got it ? opengl looks complicated.
but is it possible to write a source to do the following
Clientscreen [ Drawinupperrightcorner: 1,2,3,4,5,6 ] with transparent window so you can see everything whats going on in the client screen but its just display report with letters into it? possible ?
woud it also be possible to do it without blocking scar from color searching on the client at the position the openGl texture is ?(If not thats not a problem, woud not need to use such large area of client screen anyway).
The word is script =p
1. Fonts\BigChars\83.bmp
2. Fonts\BigChars\67.bmp
3. Fonts\BigChars\82.bmp
4. Fonts\BigChars\73.bmp
5. Fonts\BigChars\80.bmp
6. Fonts\BigChars\116.bmp
Its easy to take a screenshot with scar so if somone could tell me just to insert it with opengl please
you need to use Outline Fonts ?
Can scar interact with OpenGl and send variables and text or can OpenGl read files ?
Like i sad earlier, ive not used opengl befor.
Last edited by tom99; 07-03-2010 at 12:43 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)