ChiperXsS Posted February 11, 2023 Share Posted February 11, 2023 Hello everyone ... anyone who knows how or at least knows how to add new buttons to the conquer 5017?I mean like thisI want adding Vip buttons and some new futures <3 or maybe some ideea how to add !Thanks Advanced ! Quote Link to comment Share on other sites More sharing options...
Konichu Posted February 17, 2023 Share Posted February 17, 2023 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. Quote Link to comment Share on other sites More sharing options...
ChiperXsS Posted February 17, 2023 Author Share Posted February 17, 2023 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 Quote Link to comment Share on other sites More sharing options...
Spirited Posted February 17, 2023 Share Posted February 17, 2023 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. Quote Link to comment Share on other sites More sharing options...
ChiperXsS Posted February 17, 2023 Author Share Posted February 17, 2023 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 :( Quote Link to comment Share on other sites More sharing options...
Diab Posted February 18, 2023 Share Posted February 18, 2023 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. Quote Link to comment Share on other sites More sharing options...
ChiperXsS Posted February 18, 2023 Author Share Posted February 18, 2023 i know but idk from whear to start :D to adding some buttons <3 Quote Link to comment Share on other sites More sharing options...
Diab Posted February 18, 2023 Share Posted February 18, 2023 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.