(( this is C++ win32 ))
1. Is it possible to make like "if X position == color_red" (so you can see what color it is in a position), cause I wanna make a program that checks if a monster exists and if it exist then kill it?
2. How do I write a string to a program? (sample code please)
3. How I make a window not sizeable?
4. (I/O question) how do I open "C:\Games" by a Win32 prog?
If you know any of these questions it would be great
Last edited by Dao; 09-11-2004 at 02:31 PM.
Thanks but I don't got any money at the moment, that is why I'm asking here ^.-
Last edited by Dao; 09-11-2004 at 03:16 PM.
This sounds ominously like homework. Post any ideas you have. Also I'm not quite sure what you mean by the second question so please be a little more specific if you can. As a hint for #3, you can control it when you make your window class.
This is no homework, I'm only 14 years and hey, what I mean by the secound question is how you can make a program that does this:
Originally Posted by Draco
Start program "a.exe", write "a" to a game called Tibia.exe, and quit "a.exe", and the idea is making online cheats to a game called Tibia,
and learning stuff that I can't learn on forger's site (I've read the whole tutorial),
thanks in advance
Last edited by Dao; 09-11-2004 at 03:47 PM.
well you can't write anything to an .exe file, but to write a string to a file, use these functions, fopen() and fwrite(). Some examples as well as a full explanation on the different ways you can go about it are on this FAQ link.
Last edited by Draco; 09-11-2004 at 04:11 PM.
-.- Draco? I mean, write a string in an active window
Well, that's very different. I'm not quite sure if you can do that at all, or how you'd go about it. You might be able to use some sort of scripting.
i dont know
That would probably depend entirely on the program.
If the text is internal from within the progam then I would say no, theres no way to change it while its running.
If the text is loaded from a script file maybe. But, I doubt it as it is probably loaded into a buffer before it is printed. I seriously doubt text would be streamed from a file at runtime and continuously updated.
But then again I maybe missing your point.
As for a window not being resizeable. I'll give you another hint... dwStyle...
You can pass multiple variables to dwStyle,
Mayor of Awesometown
hey noxir, remember when you were banned? You're still banned, assbag.
Originally Posted by Dao