redhead Cheater
Reputation: 0
Joined: 21 Mar 2007 Posts: 47
|
Posted: Sun Aug 17, 2008 7:43 am Post subject: n help - useing ingame functions(e.g. for creating a button) |
|
|
Hi
Not to easy to explain, but I'll try:
I'm pretty sure, a Game (Diablo II) uses structs or smth. like this to create buttons.
Just like:
| Code: |
struct Control {
DWORD posX;
DWORD posY;
DWORD sizeX;
DWORD sizeY;
wchar_t Text;
};
|
| Code: |
Control SinglePlayer(200,100,50,30,"SinglePlayer")
|
(That's only for example ofc)
So If I want to create my own button, I need to find out, where the struct Control is located, which variables it needs to be used (in my example, 4 Dwords and one wchar_t).And after that I need to find the function, that actually prints/uses the buttons.
But for first I want you only to help me finding the struct.
I already spent some hours with CE/ollydbg , but I didn't find something really useful.
Would be nice if some1 can give me some tips
|
|