Beiträge von Jason313

    Hey, ich hab ein problem!


    Meine Häuser laden nicht ich hab mal in die MySql Log geschaut und Folgendes gefunden


    Sieht ziemlich ungesund aus!



    Woran kann das liegen ?


    http://pastebin.com/KbH1FVJ5


    Das ist nur die Hälfte von der Log ich konnte nicht die ganze hochladen weil Pastebin es nicht verarbeiten konnte



    Die log geht so lange weiter bis der alle 250 Häuser hat



    @Jeff_Hardy Vll kannst du helfen ?





    public LoadProperty()
    {
    new val[128],query[256];
    for(new idx; idx<sizeof(HouseInfo); idx++)
    {
    format(query, sizeof(query), "SELECT * FROM `houses` WHERE `houseid` = '%d'", idx);
    mysql_query(query);
    mysql_store_result();


    if(mysql_num_rows())
    {





    mysql_fetch_field(val,"hcreated");
    HouseInfo[idx][hCreated] = strval(val);


    mysql_fetch_field(val,"hentrancex");
    HouseInfo[idx][hEntrancex] = floatstr(val);


    mysql_fetch_field(val,"hentrancey");
    HouseInfo[idx][hEntrancey] = floatstr(val);


    mysql_fetch_field(val,"hentrancez");
    HouseInfo[idx][hEntrancez] = floatstr(val);


    mysql_fetch_field(val,"hexitx");
    HouseInfo[idx][hExitx] = floatstr(val);


    mysql_fetch_field(val,"hexity");
    HouseInfo[idx][hExity] = floatstr(val);


    mysql_fetch_field(val,"hexitz");
    HouseInfo[idx][hExitz] = floatstr(val);


    mysql_fetch_field(val,"hhealthx");
    HouseInfo[idx][hHealthx] = strval(val);


    mysql_fetch_field(val,"hhealthy");
    HouseInfo[idx][hHealthy] = strval(val);


    mysql_fetch_field(val,"hhealthz");
    HouseInfo[idx][hHealthz] = strval(val);


    mysql_fetch_field(val,"harmourx");
    HouseInfo[idx][hArmourx] = strval(val);


    mysql_fetch_field(val,"harmoury");
    HouseInfo[idx][hArmoury] = strval(val);


    mysql_fetch_field(val,"harmourz");
    HouseInfo[idx][hArmourz] = strval(val);


    mysql_fetch_field(HouseInfo[idx][hOwner],"howner");


    mysql_fetch_field(HouseInfo[idx][hDiscription],"hdiscription");


    mysql_fetch_field(val,"hvalue");
    HouseInfo[idx][hValue] = strval(val);


    mysql_fetch_field(val,"hhel");
    HouseInfo[idx][hHel] = strval(val);


    mysql_fetch_field(val,"harm");
    HouseInfo[idx][hArm] = strval(val);


    mysql_fetch_field(val,"hint");
    HouseInfo[idx][hInt] = strval(val);


    mysql_fetch_field(val,"hlock");
    HouseInfo[idx][hLock] = strval(val);


    mysql_fetch_field(val,"howned");
    HouseInfo[idx][hOwned] = strval(val);


    mysql_fetch_field(val,"hrooms");
    HouseInfo[idx][hRooms] = strval(val);


    mysql_fetch_field(val,"hrent");
    HouseInfo[idx][hRent] = strval(val);


    mysql_fetch_field(val,"hrentabil");
    HouseInfo[idx][hRentabil] = strval(val);


    mysql_fetch_field(val,"hdate");
    HouseInfo[idx][hDate] = strval(val);


    mysql_fetch_field(val,"hlevel");
    HouseInfo[idx][hLevel] = strval(val);


    mysql_fetch_field(val,"hmuell");
    HouseInfo[idx][hMuell] = strval(val);


    }
    mysql_free_result();
    }
    print("Häuser geladen!");
    return 1;
    }