Questionryanshepsmenu

Posts 115 of 24 · Page 1 of 2
ryanshepsmenu
--------------RyanshepsMenu For Combat Arms----

hello guys, i have made my first menu for combat arms but ofc the text don't actually work its just a menu release thank you!


btw! this menu has not been tested!!!



this menu is made in codeblocks!



Code:
#include "ryanshepsmenu.h"

//(*InternalHeaders(ryanshepsmenu)
#include <wx/settings.h>
#include <wx/font.h>
#include <wx/intl.h>
#include <wx/string.h>
//*)

//(*IdInit(ryanshepsmenu)
const long ryanshepsmenu::ID_STATICTEXT1 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT2 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK1 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK2 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT3 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT4 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT5 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK3 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK4 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK5 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT6 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT7 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK6 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT8 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK7 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT9 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK8 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT10 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK9 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT11 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK10 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT12 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK11 = wxNewId();
//*)

BEGIN_EVENT_TABLE(ryanshepsmenu,wxFrame)
	//(*EventTable(ryanshepsmenu)
	//*)
END_EVENT_TABLE()

ryanshepsmenu::ryanshepsmenu(wxWindow* parent,wxWindowID id)
{
	//(*Initialize(ryanshepsmenu)
	Create(parent, wxID_ANY, _("RyanshepsMenu"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE, _T("wxID_ANY"));
	SetClientSize(wxSize(122,450));
	StaticText1 = new wxStaticText(this, ID_STATICTEXT1, _("Chams"), wxPoint(8,32), wxDefaultSize, 0, _T("ID_STATICTEXT1"));
	StaticText2 = new wxStaticText(this, ID_STATICTEXT2, _("Wallhack"), wxPoint(8,8), wxDefaultSize, 0, _T("ID_STATICTEXT2"));
	Choicebook1 = new wxChoicebook(this, ID_CHOICEBOOK1, wxPoint(56,8), wxSize(16,16), 0, _T("ID_CHOICEBOOK1"));
	wxFont Choicebook1Font(10,wxSWISS,wxFONTSTYLE_NORMAL,wxNORMAL,false,wxEmptyString,wxFONTENCODING_DEFAULT);
	Choicebook1->SetFont(Choicebook1Font);
	Choicebook2 = new wxChoicebook(this, ID_CHOICEBOOK2, wxPoint(56,32), wxSize(16,16), 0, _T("ID_CHOICEBOOK2"));
	wxFont Choicebook2Font(10,wxSWISS,wxFONTSTYLE_NORMAL,wxNORMAL,false,wxEmptyString,wxFONTENCODING_DEFAULT);
	Choicebook2->SetFont(Choicebook2Font);
	StaticText3 = new wxStaticText(this, ID_STATICTEXT3, _("no reload\n"), wxPoint(8,56), wxDefaultSize, 0, _T("ID_STATICTEXT3"));
	StaticText4 = new wxStaticText(this, ID_STATICTEXT4, _("see bullets\n"), wxPoint(8,80), wxDefaultSize, 0, _T("ID_STATICTEXT4"));
	StaticText5 = new wxStaticText(this, ID_STATICTEXT5, _("speed\n"), wxPoint(8,104), wxDefaultSize, 0, _T("ID_STATICTEXT5"));
	Choicebook3 = new wxChoicebook(this, ID_CHOICEBOOK3, wxPoint(56,56), wxSize(16,16), 0, _T("ID_CHOICEBOOK3"));
	Choicebook4 = new wxChoicebook(this, ID_CHOICEBOOK4, wxPoint(56,80), wxSize(16,16), 0, _T("ID_CHOICEBOOK4"));
	Choicebook5 = new wxChoicebook(this, ID_CHOICEBOOK5, wxPoint(56,104), wxSize(16,16), 0, _T("ID_CHOICEBOOK5"));
	Choicebook5->SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_MENUTEXT));
	Choicebook5->SetBackgroundColour(wxColour(0,128,255));
	StaticText6 = new wxStaticText(this, ID_STATICTEXT6, _("----------------------------\n"), wxPoint(8,136), wxSize(112,13), 0, _T("ID_STATICTEXT6"));
	StaticText7 = new wxStaticText(this, ID_STATICTEXT7, _("aimbot"), wxPoint(8,160), wxDefaultSize, 0, _T("ID_STATICTEXT7"));
	Choicebook6 = new wxChoicebook(this, ID_CHOICEBOOK6, wxPoint(64,160), wxSize(16,16), 0, _T("ID_CHOICEBOOK6"));
	StaticText8 = new wxStaticText(this, ID_STATICTEXT8, _("Auto shoot\n"), wxPoint(8,184), wxDefaultSize, 0, _T("ID_STATICTEXT8"));
	Choicebook7 = new wxChoicebook(this, ID_CHOICEBOOK7, wxPoint(64,184), wxSize(16,16), 0, _T("ID_CHOICEBOOK7"));
	StaticText9 = new wxStaticText(this, ID_STATICTEXT9, _("Auto aim"), wxPoint(8,208), wxDefaultSize, 0, _T("ID_STATICTEXT9"));
	Choicebook8 = new wxChoicebook(this, ID_CHOICEBOOK8, wxPoint(64,208), wxSize(16,16), 0, _T("ID_CHOICEBOOK8"));
	StaticText10 = new wxStaticText(this, ID_STATICTEXT10, _("Aimbone"), wxPoint(8,232), wxDefaultSize, 0, _T("ID_STATICTEXT10"));
	Choicebook9 = new wxChoicebook(this, ID_CHOICEBOOK9, wxPoint(64,232), wxSize(16,16), 0, _T("ID_CHOICEBOOK9"));
	StaticText11 = new wxStaticText(this, ID_STATICTEXT11, _("Remote kill"), wxPoint(8,256), wxDefaultSize, 0, _T("ID_STATICTEXT11"));
	Choicebook10 = new wxChoicebook(this, ID_CHOICEBOOK10, wxPoint(64,256), wxSize(16,16), 0, _T("ID_CHOICEBOOK10"));
	StaticText12 = new wxStaticText(this, ID_STATICTEXT12, _("Character\n"), wxPoint(8,280), wxDefaultSize, 0, _T("ID_STATICTEXT12"));
	Choicebook11 = new wxChoicebook(this, ID_CHOICEBOOK11, wxPoint(64,280), wxSize(16,16), 0, _T("ID_CHOICEBOOK11"));

	Connect(ID_CHOICEBOOK1,wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED,(wxObjectEventFunction)&ryanshepsmenu::OnChoicebook1PageChanged);
	Connect(ID_CHOICEBOOK2,wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED,(wxObjectEventFunction)&ryanshepsmenu::OnChoicebook2PageChanged);
	Connect(ID_CHOICEBOOK6,wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED,(wxObjectEventFunction)&ryanshepsmenu::OnChoicebook6PageChanged);
	//*)
}

ryanshepsmenu::~ryanshepsmenu()
{
	//(*Destroy(ryanshepsmenu)
	//*)
}


void ryanshepsmenu::OnTextCtrl1Text(wxCommandEvent& event)
{
}

void ryanshepsmenu::OnChoicebook1PageChanged(wxChoicebookEvent& event)
{
}

void ryanshepsmenu::OnChoicebook2PageChanged(wxChoicebookEvent& event)
{
}

void ryanshepsmenu::OnChoicebook6PageChanged(wxChoicebookEvent& event)
{
}
this ones the .h file by the way!
Code:
#ifndef RYANSHEPSMENU_H
#define RYANSHEPSMENU_H

//(*Headers(ryanshepsmenu)
#include <wx/notebook.h>
#include <wx/stattext.h>
#include <wx/frame.h>
#include <wx/choicebk.h>
//*)

class ryanshepsmenu: public wxFrame
{
	public:

		ryanshepsmenu(wxWindow* parent,wxWindowID id=wxID_ANY);
		virtual ~ryanshepsmenu();

		//(*Declarations(ryanshepsmenu)
		wxStaticText* StaticText10;
		wxStaticText* StaticText9;
		wxChoicebook* Choicebook4;
		wxChoicebook* Choicebook6;
		wxChoicebook* Choicebook1;
		wxStaticText* StaticText2;
		wxStaticText* StaticText6;
		wxChoicebook* Choicebook7;
		wxStaticText* StaticText8;
		wxStaticText* StaticText11;
		wxChoicebook* Choicebook8;
		wxStaticText* StaticText1;
		wxStaticText* StaticText3;
		wxStaticText* StaticText5;
		wxStaticText* StaticText7;
		wxChoicebook* Choicebook10;
		wxChoicebook* Choicebook11;
		wxStaticText* StaticText12;
		wxChoicebook* Choicebook2;
		wxChoicebook* Choicebook9;
		wxStaticText* StaticText4;
		wxChoicebook* Choicebook3;
		wxChoicebook* Choicebook5;
		//*)

	protected:

		//(*Identifiers(ryanshepsmenu)
		static const long ID_STATICTEXT1;
		static const long ID_STATICTEXT2;
		static const long ID_CHOICEBOOK1;
		static const long ID_CHOICEBOOK2;
		static const long ID_STATICTEXT3;
		static const long ID_STATICTEXT4;
		static const long ID_STATICTEXT5;
		static const long ID_CHOICEBOOK3;
		static const long ID_CHOICEBOOK4;
		static const long ID_CHOICEBOOK5;
		static const long ID_STATICTEXT6;
		static const long ID_STATICTEXT7;
		static const long ID_CHOICEBOOK6;
		static const long ID_STATICTEXT8;
		static const long ID_CHOICEBOOK7;
		static const long ID_STATICTEXT9;
		static const long ID_CHOICEBOOK8;
		static const long ID_STATICTEXT10;
		static const long ID_CHOICEBOOK9;
		static const long ID_STATICTEXT11;
		static const long ID_CHOICEBOOK10;
		static const long ID_STATICTEXT12;
		static const long ID_CHOICEBOOK11;
		//*)

	private:

		//(*Handlers(ryanshepsmenu)
		void OnTextCtrl1Text(wxCommandEvent& event);
		void OnChoicebook1PageChanged(wxChoicebookEvent& event);
		void OnChoicebook2PageChanged(wxChoicebookEvent& event);
		void OnChoicebook6PageChanged(wxChoicebookEvent& event);
		//*)

		DECLARE_EVENT_TABLE()
};

#endif
please thank me or give me comments of what you think thanks!
This is some of the messiest code I have ever seen. I'm just going to take a guess and say this menu is terrible. Why do all the extra work for the same results?
Quote Originally Posted by Skaterforeva1 View Post
This is some of the messiest code I have ever seen. I'm just going to take a guess and say this menu is terrible. Why do all the extra work for the same results?

my exact words lol
Quote Originally Posted by Skaterforeva1 View Post
This is some of the messiest code I have ever seen. I'm just going to take a guess and say this menu is terrible. Why do all the extra work for the same results?
I think u got it wrong, This is not a D3D Menu in format so the code isn't messy, it is required to do such a thing.

I believe the posted did a great job, and these people who merely scimmed over the code do not know about the wxWidget, and that you bring something different to this section. They only see D3D9 menus so they do not understand.
No hook or anything?
How do you want to display this menu? o.0
Or are these just your menu classes?
If yes, its a bit messy I'd say :P
Quote Originally Posted by Ch40zz-C0d3r View Post
No hook or anything?
How do you want to display this menu? o.0
Or are these just your menu classes?
If yes, its a bit messy I'd say :P
I expected more from you, it doesnt need a hook because it is not d3d. It should create it own window outside of Combat Arms so no need for hooks.
Lol Wdf is this is not just Copy and past lol you didnt even try it to make a hook for it or even make the IsGameReady to make it work or what ever you are useing lol
Quote Originally Posted by zikox View Post
Lol Wdf is this is not just Copy and past lol you didnt even try it to make a hook for it or even make the IsGameReady to make it work or what ever you are useing lol
fakest signature i've seen.
Quote Originally Posted by zikox View Post
Lol Wdf is this is not just Copy and past lol you didnt even try it to make a hook for it or even make the IsGameReady to make it work or what ever you are useing lol
IsGameReady is used in hooks because people dont know how to control their hacks and bad design and like i said before this doesnt need a hook
Quote Originally Posted by topblast View Post


IsGameReady is used in hooks because people dont know how to control their hacks and bad design and like i said before this doesnt need a hook
i sote this is his d3d menu full sours lol
It's my first time i have ever done a menu in my life lol... at least i got that far without help ....
Quote Originally Posted by ryansheps View Post
It's my first time i have ever done a menu in my life lol... at least i got that far without help ....
Uhmm Keep goiing but learn from anther base in mpgh there are alot
you forgot the main component... the hook
Quote Originally Posted by topblast View Post
It should create it own window outside of Combat Arms so no need for hooks.
Dammit why do you have to be so pro... Must you always come out of nowhere and show us up? I must now look up how all of this is done and read threw all that code. Even thought i still don't like the way it looks but creating a new window outside of CA seems promising.
Posts 115 of 24 · Page 1 of 2
This thread is closed for replies.

Tags for this Thread

Need help?