Post: How to C# Thread: (COD Wise)
03-19-2014, 06:13 AM #1
ByteSource
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU, today(3/19/14) I have started a How to C# thread. I have noticed that majority of the NGU Development Community (NDC) has finally gathered there data to create (Projects/Programs/Tools). I'm here to share my knowledge, to the people who don't know much of C# Developing. This thread is based of the most Simple -> Complicated C# Coding, I will try to get more Developers to create sources and tutorials to help you guys understand how to Develop your own Tool. As most of the NGU Community has been filled with nothing but (CEX|DEX) modders, why not help the modders turn into Developers. If you would like to learn and also need help with anything simple but is complicated for you this will be the thread for you. I hope you learn!


  • DO not hate i know its only one TUT, i will add another tomarrow making it in this little box is really complicated and also i dont have much time but you guys get the point of it





Tutorial 1: How to Use a NumericUpandDown (Multiple Choices) ( 3 Step )

Version Numeric Up and Down with Listed Information.

Objects Needed: As meany NumericUpandDowns you would like to use, a Button, and a RichtextBox.

Step 1: Double Click the Button.
You must login or register to view this content.
Step 2: We Must now make the button send the Value of the NumericUpandDown box to the Game its self and write down the Value in the TextBox to remind you what you have set the Value to.

    richTextBox1.Text = "Prestige Value = " + numericUpDown1.Value.ToString();//Writes down the value of the NU&Awesome face to the textbox.

    MessageBox.Show("Prestige set to the value off" + numericUpDown1.Value.ToString() + "!");//Notifys you the Value

    byte[] Prestige = BitConverter.GetBytes(Convert.ToInt32(numericUpDown1.Value));//Converts the Value to Bytes

    PS3.SetMemory(0x000000, Prestige);//Sets the Offset and sends the NU&Awesome face value.

You must login or register to view this content.

Step 3: Set the Value to the Max witch will be 2147483647
You must login or register to view this content.
Step 4: Run and enjoy!
You must login or register to view this content.


Version Numeric Up and Down without Listed Information.

Objects Needed: As meany NumericUpandDowns you would like to use and a Button.

Step 1: Double Click the Button.
You must login or register to view this content.
Step 2: We Must now make the button send the Value of the NumericUpandDown box to the Game its self and write down the Value in the TextBox to remind you what you have set the Value to.

    MessageBox.Show("Prestige set to the value off" + numericUpDown1.Value.ToString() + "!");//Notifys you the Value

    byte[] Prestige = BitConverter.GetBytes(Convert.ToInt32(numericUpDown1.Value));//Converts the Value to Bytes

    PS3.SetMemory(0x000000, Prestige);//Sets the Offset and sends the NU&Awesome face value.

You must login or register to view this content.

Step 3: Set the Value to the Max witch will be 2147483647
You must login or register to view this content.
Step 4: Run and enjoy!


Tutorial 2: How to Set and use Image strings (Credit: BaSs_HaXoR, RatchetBooty)


Objects Needed: One Text Box, One Button, and a list Box.
Codes Done for you:
listBox1.Items.Add("^==voice_on");// - voice on
listBox1.Items.Add("^ZZnottalkingicon");// - not talking icon
listBox1.Items.Add("^ZZtalkingicon");// - talking icon
listBox1.Items.Add("^ZZui_host");// - host
listBox1.Items.Add("^== voice_off");// - voice off
listBox1.Items.Add("^==net_disconnect");// - net disconnect
listBox1.Items.Add("^ZZprogress_bar_fg");// - progress bar
listBox1.Items.Add("^ZZhint_health");// - hint health
listBox1.Items.Add("^ZZ*playlist_population");// - the little map you see that shows the people around the world playing ghosts
listBox1.Items.Add("^ZZ*hud_grenadepointer");// - grenade pointer icon
listBox1.Items.Add("^ZZ*hud_grenadethrowback");// - grenade throw back icon
listBox1.Items.Add("^ZZ*headiconvoicechat");// - head icon voice chat
listBox1.Items.Add("^ZZFacebook - facebook");// logo
listBox1.Items.Add("^ZZ*hud_flashbangicon");// - flash bang icon
listBox1.Items.Add("^ZZaward_trophy");// - trophy award
listBox1.Items.Add("^ZZaward_positive");// - positive award
listBox1.Items.Add("^ZZaward_negative");// - negative award
listBox1.Items.Add("^ZZ*waypoint_defend_c");// - defend c way point
listBox1.Items.Add("^ZZhud_status_dead");// - dead status
listBox1.Items.Add("^ZZ*waypoint_target_b");// - target b way point
listBox1.Items.Add("^ZZ*waypoint_defend_b");// - defend b way point
listBox1.Items.Add("^ZZwaypoint_escort");// - escort way point
listBox1.Items.Add("^ZZ*waypoint_target_a");// - target a way point
listBox1.Items.Add("^ZZ*waypoint_defuse_a");// - defuse a way point
listBox1.Items.Add("^ZZ*waypoint_capture_c");// - capture c way point
listBox1.Items.Add("^ZZ*waypoint_capture_a");// - capture a way point
listBox1.Items.Add("^ZZ*waypoint_capture_b");// - capture b way point
listBox1.Items.Add("^ZZ*waypoint_defend_a");// - defend a way point
listBox1.Items.Add("^ZZ*waypoint_defuse_b");// - defuse b way point
listBox1.Items.Add("^ZZhud_grenadeicon");// - grenade icon
listBox1.Items.Add("^ZZ*hud_suitcase_bomb");// - bomb suitcase
listBox1.Items.Add("^ZZkilliconfalling");// - falling icon
listBox1.Items.Add("^ZZaward_skull");// - skull award
listBox1.Items.Add("^ZZaward_bird");// - bird award
listBox1.Items.Add("^ZZ plantbomb");// - bomb plant
listBox1.Items.Add("^ZZ*killiconheadshot");// - headshot icon
listBox1.Items.Add("^ZZmapselect_arrow");// - arrow
listBox1.Items.Add("^ZZaward_hero");// - hero award
listBox1.Items.Add("^ZZdefusebomb");// - bomb defuse
listBox1.Items.Add("^ZZkilliconimpact");// - impact
listBox1.Items.Add("^ZZhint_usable");// - idk what this is
listBox1.Items.Add("^ZZaward_jets");// - jet award

Step 1: Double click the form ( Set the Items when form Loads )
You must login or register to view this content.
Step 2: Double Click the listbox to set items( Prevents you from clicking the item and having to have a button to set the item )
    textBox1.Text = listBox1.SelectedItem.ToString();
MessageBox.Show("Selected Item " + listBox1.SelectedItem.ToString());
You must login or register to view this content.

Step 3: Send Selected item to the Game
    byte[] imagename = BitConverter.GetBytes(Convert.ToUInt32(textBox1.Text));
Array.Resize(ref imagename, imagename.Length + 1);
PS3.SetMemory(0x0176A038, imagename);

Step 4: Run the Program and Send!
You must login or register to view this content.





Tutorials will be added [DAILY]



Log

3/18/14 - Added Tutorial 1
3/19/14 - Added Tutorial 2


[/I]
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to ByteSource for this useful post:

▶DaOriginal209◀, Dan Dactyl, iHc-Patches, Renton, ResistTheMoon, SnTsV1_modZ, xROccOx, zSunriseModz
03-19-2014, 07:13 AM #2
nice keep it up
03-19-2014, 07:15 AM #3
ByteSource
League Champion
Originally posted by INVINCIBLEx209x View Post
nice keep it up


Thanks, I just need ideas to make a tutorial of.
03-19-2014, 09:48 AM #4
tutorial for add functions to a mod menu base please Happy
03-19-2014, 11:51 AM #5
Mango_Knife
In my man cave
Originally posted by TeamIdentity View Post
Hello NGU, today(3/19/14) I have started a How to C# thread. I have noticed that majority of the NGU Development Community (NDC) has finally gathered there data to create (Projects/Programs/Tools). I'm here to share my knowledge, to the people who don't know much of C# Developing. This thread is based of the most Simple -> Complicated C# Coding, I will try to get more Developers to create sources and tutorials to help you guys understand how to Develop your own Tool. As most of the NGU Community has been filled with nothing but (CEX|DEX) modders, why not help the modders turn into Developers. If you would like to learn and also need help with anything simple but is complicated for you this will be the thread for you. I hope you learn!


  • DO not hate i know its only one TUT, i will add another tomarrow making it in this little box is really complicated and also i dont have much time but you guys get the point of it





Tutorial 1: How to Use a NumericUpandDown (Multiple Choices) ( 3 Step )

Version Numeric Up and Down with Listed Information.

Objects Needed: As meany NumericUpandDowns you would like to use, a Button, and a RichtextBox.

Step 1: Double Click the Button.
You must login or register to view this content.
Step 2: We Must now make the button send the Value of the NumericUpandDown box to the Game its self and write down the Value in the TextBox to remind you what you have set the Value to.

    richTextBox1.Text = "Prestige Value = " + numericUpDown1.Value.ToString();//Writes down the value of the NU&Awesome face to the textbox.

    MessageBox.Show("Prestige set to the value off" + numericUpDown1.Value.ToString() + "!");//Notifys you the Value

    byte[] Prestige = BitConverter.GetBytes(Convert.ToInt32(numericUpDown1.Value));//Converts the Value to Bytes

    PS3.SetMemory(0x000000, Prestige);//Sets the Offset and sends the NU&Awesome face value.

You must login or register to view this content.

Step 3: Set the Value to the Max witch will be 2147483647
You must login or register to view this content.
Step 4: Run and enjoy!
You must login or register to view this content.


Version Numeric Up and Down without Listed Information.

Objects Needed: As meany NumericUpandDowns you would like to use and a Button.

Step 1: Double Click the Button.
You must login or register to view this content.
Step 2: We Must now make the button send the Value of the NumericUpandDown box to the Game its self and write down the Value in the TextBox to remind you what you have set the Value to.

    MessageBox.Show("Prestige set to the value off" + numericUpDown1.Value.ToString() + "!");//Notifys you the Value

    byte[] Prestige = BitConverter.GetBytes(Convert.ToInt32(numericUpDown1.Value));//Converts the Value to Bytes

    PS3.SetMemory(0x000000, Prestige);//Sets the Offset and sends the NU&Awesome face value.

You must login or register to view this content.

Step 3: Set the Value to the Max witch will be 2147483647
You must login or register to view this content.
Step 4: Run and enjoy!




Tutorials will be added [DAILY]







[/I]


Nice TuT
But if you make tutorial make Voice 1.
03-19-2014, 03:49 PM #6
I don't think this is the right section

The following user thanked Black Panther for this useful post:

VezahMoDz
03-19-2014, 08:14 PM #7
RatchetBooty
Former Staff
You should of explained more stuff in the code like what "ToString" does, you could of said it's to display intergers, or convert it to a string so it can go into a text box or something like that.
03-19-2014, 10:14 PM #8
ByteSource
League Champion
Originally posted by AlmightySo View Post
I don't think this is the right section

I dont know where i should put it :/

Originally posted by RatchetBooty View Post
You should of explained more stuff in the code like what "ToString" does, you could of said it's to display intergers, or convert it to a string so it can go into a text box or something like that.


yes i know, but most people would take it as its to much work and they would give up so i just coded the source for them and posted it. I hope it helps them rather than copy and paste all there life.
03-19-2014, 10:15 PM #9
ByteSource
League Champion
Originally posted by Knife View Post
Nice TuT
But if you make tutorial make Voice 1.

Want me to Make a tutorial with voice? if you mean that Im really confusing on describing lol!
03-20-2014, 12:40 AM #10
ByteSource
League Champion
Originally posted by xROccOx View Post
tutorial for add functions to a mod menu base please Happy


Sorry i cant do that theres not 1.09 bases out exept for Zeros, your going to have to learn that. theres literally 30+ ways to add functions its really not hard just a EX: GodMode(client) and the private void Godmode(int client){}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo