: : Won't Create a Character : :

Results 1 to 5 of 5
  1. #1
    Member Syntaxology is offline
    MemberRank
    Jul 2012 Join Date
    52Posts

    : : Won't Create a Character : :

    : : Won't let me create a character, after I enter the name, I would normally have to select the character and put pin, in this case there is no character to select. : : Bat error : : v83 : : I'm assuming it's got something to do with MySQL with not creating a character, uhh can you guys be specific on what I have to do? Thanks

    http://s10.postimg.org/rzdh0hkrt/Untitled.png
    http://s10.postimg.org/rzdh0hkrt/Untitled.png
    http://s10.postimg.org/rzdh0hkrt/Untitled.png


  2. #2
    Account Upgraded | Title Enabled! Adult is offline
    MemberRank
    Mar 2013 Join Date
    mental is satanLocation
    481Posts

    Re: : : Won't Create a Character : :

    Try to read your batch error's Syntaxology, almost 99.9% of the time it will tell you exactly what you need. It tells you 'unknown column in field list' which means you need to put a column 'message' in 'field list' in your MySQL. Also - what source are you using? For someone as unexperienced as you, you should be using a source with as few bugs as possible.

  3. #3
    Proficient Member Mr mr is offline
    MemberRank
    Mar 2013 Join Date
    167Posts

    Re: : : Won't Create a Character : :

    your error: unknown column 'message' in 'field list'. Just create this column. Go to MapleClient.java 144 line to see which table it is

  4. #4
    Member Syntaxology is offline
    MemberRank
    Jul 2012 Join Date
    52Posts

    Re: : : Won't Create a Character : :

    I went into netbeans and check in MapleClient.java and looked on 144 and I don't know what's wrong with it

    public void setMessageToggle(int x) {
    try {
    PreparedStatement ps = DatabaseConnection.getConnection().prepareStatement("UPDATE accounts SET message = ? WHERE id = ?");
    ps.setInt(1, x);
    ps.setInt(2, getAccID());
    ps.executeUpdate();
    ps.close();
    } catch (SQLException e) {
    e.printStackTrace();
    }

    - - - Updated - - -

    On 144:

    ps.executeUpdate();

  5. #5
    Proficient Member Mr mr is offline
    MemberRank
    Mar 2013 Join Date
    167Posts

    Re: : : Won't Create a Character : :

    go to mysql and create the column message at table accounts



Advertisement