Not everyone wants to edit all of their stats, so just add some simple error handling. A string of text like "Assists" won't be converted to a Long, so the program crashes if they only want to change prestige.
You simply need to check that the text in the box is a numeric value.
Module1.memoryh4x(Conversions.ToString(&H1B2B824), Conversions.ToLong(Me.ComboBox1.Text), 4)
Module1.WriteMemory(&H1B2B840, Conversions.ToLong(Me.Assists.Text), 4)
Module1.WriteMemory(&H1B2B838, Conversions.ToLong(Me.Deaths.Text), 4)
So, just add "Imports Microsoft.VisualBasic" and use
And as long as they left that box alone, it won't attempt to convert a string of characters to a long and thus avoids a crash.. After that it should be good to go.
if isnumeric(me.assists.text) then Module1.WriteMemory(&H1B2B840, Conversions.ToLong(Me.Assists.Text)