I might have slightly messed something up I got four errors
public static void InitialItems(int CharID, int Class) <<<----Expected class, delegate, enum, interface, or struct (void being the one highlighted as the problem)
case 10:
{
MySqlCommand Cmd = new MySqlCommand("INSERT INTO items(CharID, Position, ItemID, Plus, Minus, Enchant, Soc1, Soc2, Dura, MaxDura) VALUES(" + CharID + "," + 4 + "," + 410302 + "," + 0 + "," + 0 + "," + 0 + "," + 0 + "," + 0 + "," + 10 + "," + 10 + ")", DatabaseConnection.NewConnection());
Cmd.ExecuteNonQuery();
Cmd.Connection.Close();
Cmd.Dispose();
MySqlCommand Cmd2 = new MySqlCommand("INSERT INTO items(CharID, Position, ItemID, Plus, Minus, Enchant, Soc1, Soc2, Dura, MaxDura) VALUES(" + CharID + "," + 3 + "," + 132003 + "," + 0 + "," + 0 + "," + 0 + "," + 0 + "," + 0 + "," + 10 + "," + 10 + ")", DatabaseConnection.NewConnection());
Cmd2.ExecuteNonQuery();
Same for those, But the last one
}
case 20:
{
The problem being with this message is Type or namespace definition, or end-of-file expected
That little symbol thing that is above case 20 is the problem. And in case 10 it is MySqlCommand that is the problem well they are the ones with the little squiggle thing under them.
The server and login are still working though :D
*bump*