[Help] Load a team from a database

Discussion in 'Database Modifications' started by AlexTCGPro, Jun 14, 2013.

  1. AlexTCGPro

    AlexTCGPro Card Games On Motorcycles

    Joined:
    May 6, 2013
    Messages:
    4
    Likes Received:
    0
    PO Trainer Name:
    AlexTCGPro
    So I made a database on mysql and I want to import it to my server but the database its a little complicated and I have no idea how to do that, can someone help me?

    The database I made stores data in the next format:

    [​IMG]

    user_id data_name - data_value

    [NUMBER OF TRAINER] - PokeBattle_Trainer/@party[PARTY ORDER BEING 0 FIRST AND 5 LAST]/PokeBattle_Pokemon - [Array,[NATIONAL DEX NUMBER],x,xx,Array,nil,[EXP. POINTS],xxx,xxxxxxxxxx,"[SPECIES]"

    [NUMBER OF TRAINER] - PokeBattle_Trainer/@party[0]/PokeBattle_Pokemon/@moves[0]/PBMove - [nil,nil,xx,[ATTACK NUMBER],0]

    So basically all I want is to make my server check if the trainer is in the database

    [​IMG]

    Then force his team to be like it is in the database and in a specific tier.
     

    Attached Files: