(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&
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&
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&
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]