i was making a collection of resident evil parts, nothing special, just to learn how to make n rtm but i dont get it xD
i used a tutorial from this site but even if this works like he wanted it to be, my ideas wont apply xD
my coding experience is far from perfect but here:
public static string getWeapons(uint Chrisslots)
{
string readWeapons = PS3.Extension.ReadString(0x3889A952 + Chrisslots * 0x2c);
return readWeapons;
}
private void button1_Click(object sender, EventArgs e)
{
if (dataGridView1.RowCount == 1)
{
dataGridView1.Rows.Add(
;
}
for (uint i = 0; i < 9; i++)
{
dataGridView1[0, Convert.ToInt32(i)].Value = i;
dataGridView1[1, Convert.ToInt32(i)].Value = getWeapons(i);
try
{
Convert.ToDecimal(dataGridView1[1,1].Value);
}
catch
{
MessageBox.Show("Failed to Convert", "Failed", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
of course i suggest that this code is wrong but i tried more than "conerttodecimal", i guess the problem is not even that, but this "readstring"....