Post: [1.14/C#/Updated With Tutorial] Menu Base v2 Open Source Release | Created By Bo
11-22-2013, 04:34 AM #1
(adsbygoogle = window.adsbygoogle || []).push({});
Hi NGU Needa

Today I'm releasing a menu base for mw2 on the 1.14 update.
You can only use this if you RTE.
The base is coded in C# if you didn't read the title... :p
Yes, this menu has verification(ghetto), and is built to work with ALL clients.

If you don't like how the base looks, you can easily change the GUI.
So don't complain.
Most of the answers to your questions are in the source, but if you need my help you can add my skype. (notarat.exe) :fa:

Make sure you edit the menu in LAN party until you map it for all clients!

Versions:

Menu Version v1:
Release

Menu Version v1.1:
Faster Scrolling
Fixed Hud Elem Spawning Error

Menu Version v2:
New Look
Welcome Message
Faster Scrolling

v1 Video:


Download The v1 Menu Here:
You must login or register to view this content.

v2 Video:


Download The v2 Version Here:
You must login or register to view this content.



How To Add Options And Sub Menus Into This Base:
Step 1: Go To The Function "getMenuString" That is where you edit the options and add other sub menus.
            private string getMenuString(string curSub, int client)
{
if (curSub == "Main")
return getMenu(SubMenu[client], client);
else if (curSub == "Sub Menu 1")
return "Option 1\nOption 2\nOption 3\nOption 4\nOption 5\nOption 6\nOption 7\nOption 8\nOption 9";
else
return "N/A";
}

As you can tell, the first sub menu is done for you.
So, all you need to do is change the options, and that is how you change the text in the sub menu.
Example:
            private string getMenuString(string curSub, int client)
{
if (curSub == "Main")
return getMenu(SubMenu[client], client);
else if (curSub == "Sub Menu 1")
return "Example 1\nExample 2\nExample 3\nExample 4\nExample 5\nExample 6\nExample 7\nExample 8\nExample 9";
else
return "N/A";
}


Adding Functions And Sub Menus:
Go to the function "MenuSelection" and as you know, the first sub menu is done for you.
    if (scrollNum == 0 && Sub == "Main")
{
LoadSub(client, "Sub Menu 1");
}

So that means you make a new set for your menu to execute the options in the first sub menu.
                //Sub Menu 1 
else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 1");
}
else if (scrollNum == 1 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 2");
}
else if (scrollNum == 2 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 3");
}
else if (scrollNum == 3 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 4");
}
else if (scrollNum == 4 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 5");
}
else if (scrollNum == 5 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 6");
}
else if (scrollNum == 6 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 7");
}
else if (scrollNum == 7 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 8");
}
else if (scrollNum == 8 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 9");
}

Just add "else if (scrollNum == 0 && Sub == "Sub Menu 1")" under where it says Host Option In the source, like in the picture.
"scrollNum" is basically what option you're scrolled over. Example. "scrollNum == 0" Is scrolled over Example Option 1"
So, in this example under me, you can either put your function. Like iPrintln.
    else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 1");
}

Or, you can put something like God Mode. NOTE: This won't actually give you god mode. You need the function for it.
    else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
doGodMode();
}


How To Add A Sub Menu:
Adding a sub menu is pretty easy, all you need to do is go back up to the "getMenuString" function and add a new menu.
    else if (curSub == "Example Sub Menu")
return "Example Sub 1\nExample Sub 2\nExample Sub 3\nExample Sub 4\nExample Sub 5";

So just hit "enter" under the return from the first sub menu.
    return "Example 1\nExample 2\nExample 3\nExample 4\nExample 5\nExample 6\nExample 7\nExample 8\nExample 9";

So it should look something like this.
You must login or register to view this content.

After that, you go to a funtion called "getTitle" to update the Sub Menu Title.
So, you would do that the same way as the sub menu. Just add
                 else if (menu == "Example Sub Menu")
return "Example Menu";


Then, go to a function called "getMaxScroll" This is to add how much you want the scroll in the menu.
Add under where it says "Sub Menu 1" this.
                else if (Submenu == "Example Sub Menu")
return 4;


the Number "4" Means how many times it will scroll down from 0.





Thanks everyone, Bo
(adsbygoogle = window.adsbygoogle || []).push({});

The following 29 users say thank you to Obris for this useful post:

AlexNGU, Ansity., Chip ♞, D3skm, Dannie Fresh, DannyBoiSmith, daswiftguy, DeZiiReHasSwag, Diversify, Esker, Exrone, FusionIsDaName, JLM, HonuCinema, ImPiffHD, ItsMagiicsz, JustBluu, MafiaHackzHD, Mango_Knife, RTM FTW, Saul Soria, Silent Assassin, SnaY, Sticky, tennistalan, xXGoD_Of_MoDzXx, zZHackzZ
12-07-2013, 07:14 AM #11
Very sexy! Needa Enzo
12-11-2013, 06:14 AM #12
Originally posted by Hi
Hi NGU Needa

Today I'm releasing a menu base for mw2 on the 1.74 update.
You can only use this if you RTE.
The base is coded in C# if you didn't read the title... :p
Yes, this menu has verification(ghetto), and is built to work with ALL clients.

If you don't like how the base looks, you can easily change the GUI.
So don't complain.
Most of the answers to your questions are in the source, but if you need my help you can add my skype. (notarat ( Yes its a Rat ).exe) :fa:

Make sure you edit the menu in LAN party until you map it for all clients!

Versions: Fuck Your Toy

Menu Version v1:
Release ( Hoes )

Menu Version v1.1:
Faster Scrolling ( Hoes )
Fixed Hud Elem Spawning Error ( Hoes )

Menu Version v2:
New Look ( Hoes )
Welcome Message ( Hoes )
Faster Scrolling ( Hoes )

v1 Video:


Download The v1 Menu Here:
You must login or register to view this content.

v2 Video:


Download The v2 Version Here:
You must login or register to view this content.



How To Add Options And Sub Menus Into This Base:
Step 1: Go To The Function "getMenuString" That is where you edit the options and add other sub menus.
            private string getMenuString(string curSub, int client)
{
if (curSub == "Tit Snap Comp™")
return getMenu(SubMenu[client], client);
else if (curSub == "Sub Menu 1")
return "Tit Snap Comp 1\nTit Snap Comp 2\nTit Snap Comp3\nTit Snap Comp 4\nTit Snap Comp 5\nTit Snap Comp 6\nTit Snap Comp 7\nTit Snap Comp 8\nTit Snap Comp 9";
else
return "N/A";
}

As you can tell, the first sub menu is done for you.
So, all you need to do is change the options, and that is how you change the text in the sub menu. ( Tit Snap Comp )
Example:

            private string getMenuString(string curSub, int client)
{
if (curSub == "Main")
return getMenu(SubMenu[client], client);
else if (curSub == "Sub Menu 1")
return "Tit Snap Comp 1\nTit Snap Comp 2\nTit Snap Comp 3\nTit Snap Comp 4\nTit Snap Comp 5\nTit Snap Comp 6\nTit Snap Comp 7\nTit Snap Comp 8\nTit Snap Comp 9";
else
return "N/A";
}


Adding Functions And Sub Menus:
Go to the function "MenuSelection" and as you know, the first sub menu is done for you.
    if (scrollNum == 0 && Sub == "Main")
{
LoadSub(client, "Sub Menu 1");
}

So that means you make a new set for your menu to execute the options in the first sub menu.
                //Sub Menu 1 
else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 1");
}
else if (scrollNum == 1 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 2");
}
else if (scrollNum == 2 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 3");
}
else if (scrollNum == 3 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 4");
}
else if (scrollNum == 4 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 5");
}
else if (scrollNum == 5 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 6");
}
else if (scrollNum == 6 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 7");
}
else if (scrollNum == 7 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 8");
}
else if (scrollNum == 8 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 9");
}

Just add "else if (scrollNum == 0 && Sub == "Sub Menu 1")" under where it says Host Option In the source, like in the picture.
"scrollNum" is basically what option you're scrolled over. Example. "scrollNum == 0" Is scrolled over Example Option 1"
So, in this example under me, you can either put your function. Like iPrintln.
    else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 1");
}

Or, you can put something like God Mode. NOTE: This won't actually give you god mode. You need the function for it.
    else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
doTitsMode();
}


How To Add A Sub Menu:
Adding a sub menu is pretty easy, all you need to do is go back up to the "getMenuString" function and add a new menu.
    else if (curSub == "Example Sub Menu")
return "Example Sub 1\nExample Sub 2\nExample Sub 3\nExample Sub 4\nExample Sub 5";

So just hit "enter" under the return from the first sub menu.
    return "Example 1\nExample 2\nExample 3\nExample 4\nExample 5\nExample 6\nExample 7\nExample 8\nExample 9";

So it should look something like this.
You must login or register to view this content.

After that, you go to a funtion called "getTitle" to update the Sub Menu Title.
So, you would do that the same way as the sub menu. Just add
                 else if (menu == "Example Sub Menu")
return "Example Menu";


Then, go to a function called "getMaxScroll" This is to add how much you want the scroll in the menu.
Add under where it says "Sub Menu 1" this.
                else if (Submenu == "Example Sub Menu")
return 4;


the Number "4" Means how many times it will scroll down from 0.





Thanks everyone, Sir Bo


Cool But leave out the tits

The following user thanked Authority Modz for this useful post:

Obris
12-15-2013, 03:04 AM #13
hi bo, could you give another example to insert a function in one of the option, because it is necessary to offset byte and well somewhere right? because I do not see or place: (

Excuse me for my english, I'm french
12-19-2013, 09:15 PM #14
it connects and attach but no menu i don't even have colors in my name
12-19-2013, 09:21 PM #15
Flappy Bird
< ^ > < ^ >
Originally posted by Hi
Hi NGU Needa

Today I'm releasing a menu base for mw2 on the 1.14 update.
You can only use this if you RTE.
The base is coded in C# if you didn't read the title... :p
Yes, this menu has verification(ghetto), and is built to work with ALL clients.

If you don't like how the base looks, you can easily change the GUI.
So don't complain.
Most of the answers to your questions are in the source, but if you need my help you can add my skype. (notarat.exe) :fa:

Make sure you edit the menu in LAN party until you map it for all clients!

Versions:

Menu Version v1:
Release

Menu Version v1.1:
Faster Scrolling
Fixed Hud Elem Spawning Error

Menu Version v2:
New Look
Welcome Message
Faster Scrolling

v1 Video:


Download The v1 Menu Here:
You must login or register to view this content.

v2 Video:


Download The v2 Version Here:
You must login or register to view this content.



How To Add Options And Sub Menus Into This Base:
Step 1: Go To The Function "getMenuString" That is where you edit the options and add other sub menus.
            private string getMenuString(string curSub, int client)
{
if (curSub == "Main")
return getMenu(SubMenu[client], client);
else if (curSub == "Sub Menu 1")
return "Option 1\nOption 2\nOption 3\nOption 4\nOption 5\nOption 6\nOption 7\nOption 8\nOption 9";
else
return "N/A";
}

As you can tell, the first sub menu is done for you.
So, all you need to do is change the options, and that is how you change the text in the sub menu.
Example:
            private string getMenuString(string curSub, int client)
{
if (curSub == "Main")
return getMenu(SubMenu[client], client);
else if (curSub == "Sub Menu 1")
return "Example 1\nExample 2\nExample 3\nExample 4\nExample 5\nExample 6\nExample 7\nExample 8\nExample 9";
else
return "N/A";
}


Adding Functions And Sub Menus:
Go to the function "MenuSelection" and as you know, the first sub menu is done for you.
    if (scrollNum == 0 && Sub == "Main")
{
LoadSub(client, "Sub Menu 1");
}

So that means you make a new set for your menu to execute the options in the first sub menu.
                //Sub Menu 1 
else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 1");
}
else if (scrollNum == 1 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 2");
}
else if (scrollNum == 2 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 3");
}
else if (scrollNum == 3 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 4");
}
else if (scrollNum == 4 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 5");
}
else if (scrollNum == 5 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 6");
}
else if (scrollNum == 6 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 7");
}
else if (scrollNum == 7 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 8");
}
else if (scrollNum == 8 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 9");
}

Just add "else if (scrollNum == 0 && Sub == "Sub Menu 1")" under where it says Host Option In the source, like in the picture.
"scrollNum" is basically what option you're scrolled over. Example. "scrollNum == 0" Is scrolled over Example Option 1"
So, in this example under me, you can either put your function. Like iPrintln.
    else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 1");
}

Or, you can put something like God Mode. NOTE: This won't actually give you god mode. You need the function for it.
    else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
doGodMode();
}


How To Add A Sub Menu:
Adding a sub menu is pretty easy, all you need to do is go back up to the "getMenuString" function and add a new menu.
    else if (curSub == "Example Sub Menu")
return "Example Sub 1\nExample Sub 2\nExample Sub 3\nExample Sub 4\nExample Sub 5";

So just hit "enter" under the return from the first sub menu.
    return "Example 1\nExample 2\nExample 3\nExample 4\nExample 5\nExample 6\nExample 7\nExample 8\nExample 9";

So it should look something like this.
You must login or register to view this content.

After that, you go to a funtion called "getTitle" to update the Sub Menu Title.
So, you would do that the same way as the sub menu. Just add
                 else if (menu == "Example Sub Menu")
return "Example Menu";


Then, go to a function called "getMaxScroll" This is to add how much you want the scroll in the menu.
Add under where it says "Sub Menu 1" this.
                else if (Submenu == "Example Sub Menu")
return 4;


the Number "4" Means how many times it will scroll down from 0.





Thanks everyone, Bo


awesome mate, keep up the good work ^^
12-27-2013, 05:04 PM #16
tunde1992
League Champion
weird. connect and attach but no menu..
12-29-2013, 02:20 PM #17
DudeCanMod
I am error
For all of yall who cant get the menu to show up. You must insert all the client functions. He has only client 0 inserted in his base. Therefore it will only open in LAN. To get the menu to work in private match or even online you must insert the rest of the client functions Smile. Hope this helped a bit!

The following user thanked DudeCanMod for this useful post:

Obris
12-29-2013, 02:24 PM #18
DudeCanMod
I am error
I am also currently working on my own menu base that will be compatable with (CEX / DEX) ! I will include all the clients in the menu and try to insert some instructions within the coding :P Also if you would like me to add a Verification Menu (All clients) please let me know!
01-02-2014, 07:37 PM #19
Originally posted by Hi
Hi NGU Needa

Today I'm releasing a menu base for mw2 on the 1.14 update.
You can only use this if you RTE.
The base is coded in C# if you didn't read the title... :p
Yes, this menu has verification(ghetto), and is built to work with ALL clients.

If you don't like how the base looks, you can easily change the GUI.
So don't complain.
Most of the answers to your questions are in the source, but if you need my help you can add my skype. (notarat.exe) :fa:

Make sure you edit the menu in LAN party until you map it for all clients!

Versions:

Menu Version v1:
Release

Menu Version v1.1:
Faster Scrolling
Fixed Hud Elem Spawning Error

Menu Version v2:
New Look
Welcome Message
Faster Scrolling

v1 Video:


Download The v1 Menu Here:
You must login or register to view this content.

v2 Video:


Download The v2 Version Here:
You must login or register to view this content.



How To Add Options And Sub Menus Into This Base:
Step 1: Go To The Function "getMenuString" That is where you edit the options and add other sub menus.
            private string getMenuString(string curSub, int client)
{
if (curSub == "Main")
return getMenu(SubMenu[client], client);
else if (curSub == "Sub Menu 1")
return "Option 1\nOption 2\nOption 3\nOption 4\nOption 5\nOption 6\nOption 7\nOption 8\nOption 9";
else
return "N/A";
}

As you can tell, the first sub menu is done for you.
So, all you need to do is change the options, and that is how you change the text in the sub menu.
Example:
            private string getMenuString(string curSub, int client)
{
if (curSub == "Main")
return getMenu(SubMenu[client], client);
else if (curSub == "Sub Menu 1")
return "Example 1\nExample 2\nExample 3\nExample 4\nExample 5\nExample 6\nExample 7\nExample 8\nExample 9";
else
return "N/A";
}


Adding Functions And Sub Menus:
Go to the function "MenuSelection" and as you know, the first sub menu is done for you.
    if (scrollNum == 0 && Sub == "Main")
{
LoadSub(client, "Sub Menu 1");
}

So that means you make a new set for your menu to execute the options in the first sub menu.
                //Sub Menu 1 
else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 1");
}
else if (scrollNum == 1 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 2");
}
else if (scrollNum == 2 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 3");
}
else if (scrollNum == 3 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 4");
}
else if (scrollNum == 4 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 5");
}
else if (scrollNum == 5 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 6");
}
else if (scrollNum == 6 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 7");
}
else if (scrollNum == 7 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 8");
}
else if (scrollNum == 8 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 9");
}

Just add "else if (scrollNum == 0 && Sub == "Sub Menu 1")" under where it says Host Option In the source, like in the picture.
"scrollNum" is basically what option you're scrolled over. Example. "scrollNum == 0" Is scrolled over Example Option 1"
So, in this example under me, you can either put your function. Like iPrintln.
    else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
iPrintln(client, "Sub Menu 1: Example Option 1");
}

Or, you can put something like God Mode. NOTE: This won't actually give you god mode. You need the function for it.
    else if (scrollNum == 0 && Sub == "Sub Menu 1")
{
doGodMode();
}


How To Add A Sub Menu:
Adding a sub menu is pretty easy, all you need to do is go back up to the "getMenuString" function and add a new menu.
    else if (curSub == "Example Sub Menu")
return "Example Sub 1\nExample Sub 2\nExample Sub 3\nExample Sub 4\nExample Sub 5";

So just hit "enter" under the return from the first sub menu.
    return "Example 1\nExample 2\nExample 3\nExample 4\nExample 5\nExample 6\nExample 7\nExample 8\nExample 9";

So it should look something like this.
You must login or register to view this content.

After that, you go to a funtion called "getTitle" to update the Sub Menu Title.
So, you would do that the same way as the sub menu. Just add
                 else if (menu == "Example Sub Menu")
return "Example Menu";


Then, go to a function called "getMaxScroll" This is to add how much you want the scroll in the menu.
Add under where it says "Sub Menu 1" this.
                else if (Submenu == "Example Sub Menu")
return 4;


the Number "4" Means how many times it will scroll down from 0.





Thanks everyone, Bo


when mapping for all the clients which '0' do i replace next to the 300?:?:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo