Jump to content
Returning Members: Password Reset Required ×

Anyone know some about new buttons in oldclient ?


Recommended Posts

Posted

Hello everyone ... anyone who knows how or at least knows how to add new buttons to the conquer 5017?

I mean like this

image-2023-02-01-T16-49-58-798-Z.png

I want adding Vip buttons and some new futures <3

or maybe some ideea how to add !

Thanks Advanced !

Posted
Must be easier (or cheaper) if you just take a high version client with the stuff you want and remove the systems you don't want.
Posted
I don't want to use a new version of the client, I want to stay on version 5017 and add to this version <3 all the buttons I need, I just don't know where to start <3
Posted
Hm... I've never done something like this before. Not sure this would work... but I would probably start by trying to add the new button asset to the GUI. So like, modify the resources in the exe to have the additional button, and then try adding the button in gui.ini. If that doesn't work, then maybe some DirectX injection is necessary? But hopefully not. And then I'd probably try introducing a hook for handling dialog clicks and add whatever logic I need for the button to open a custom window overlay on the client. Worst comes to worst, you can always just overlay the button as well on top of the client.
Posted

Hm... I've never done something like this before. Not sure this would work... but I would probably start by trying to add the new button asset to the GUI. So like, modify the resources in the exe to have the additional button, and then try adding the button in gui.ini. If that doesn't work, then maybe some DirectX injection is necessary? But hopefully not. And then I'd probably try introducing a hook for handling dialog clicks and add whatever logic I need for the button to open a custom window overlay on the client. Worst comes to worst, you can always just overlay the button as well on top of the client.

Thanks for the answer spirited, I tried with gui and it doesn't work, and on directx it's very difficult because I can't find to implement it in my dll :(

Posted
The gui in co uses mfc to initialize and handle window based operations like left mouse button down or up etc... and it uses the game's rendering engine to render the visible gui and usually uses Controls.Ani to find the actual files.
Posted

Well you need to find a place to hook and construct your button and add it's handlers and then find where the in-game gui is being rendered and hook it to also render your button every frame.

You need to be able to reverse the exe and find the needed function calls.

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.   Restore formatting

  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...