Jump to content
  • 0

Question

Posted

Salut samp.ro am o problema la server si inca nu am gasito... tot iau playeri crash....de la ce poate fi cauzate aceste crashuri? zicetim cateva motive...

Am cam multe obiecte adaugate posibil de la asta?

14 answers to this question

Recommended Posts

Posted

madu nu cred

si eu am aceasi problema...

la mn a intrat una baybe si cica imi da timeout la playeri pana inchid serveru ..

nici nu stiu ce sa cred...

 

 

430x73_FFFFFF_FF9900_000000_000000.png

 
Posted

madu nu cred

si eu am aceasi problema...
la mn a intrat una baybe si cica imi da timeout la playeri pana inchid serveru ..
nici nu stiu ce sa cred...

Nu cred ca exista hack pentru crash 24/24 cel putin din cate stiu eu.

Posted

madu nu cred

si eu am aceasi problema...

la mn a intrat una baybe si cica imi da timeout la playeri pana inchid serveru ..

nici nu stiu ce sa cred...

Exista protectie pentru problema ta.  Daca vrei detalii PM.

Posted

te gandisi mult ?:))

uite acum iti platesc pt cn stie ce protectie...

Pretene, ti-am propus o oferta, daca nu iti convine, e problema ta.

Eu am cunostintele si 'chestia' cu care da crash playerilor , tu nu ai protectia.

Imi pare rau. :)

Posted

am detectat crash`ul este de la salvarea tuningului. Ce este gresit???

[pawn]public LoadComponents(vehicleid)

{

if(CarInfo[vehicleid][cOwned] == 1)

{

        if(CarInfo[vehicleid][mod1] >= 1000 && CarInfo[vehicleid][mod1] <= 1193)

    {

            if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod1])) != CarInfo[vehicleid][mod1]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod1]); }

        }

    if(CarInfo[vehicleid][mod2] >= 1000 && CarInfo[vehicleid][mod2] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod2])) != CarInfo[vehicleid][mod2]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod2]); }

    }

    if(CarInfo[vehicleid][mod3] >= 1000 && CarInfo[vehicleid][mod3] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod3])) != CarInfo[vehicleid][mod3]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod3]); }

    }

    if(CarInfo[vehicleid][mod4] >= 1000 && CarInfo[vehicleid][mod4] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod4])) != CarInfo[vehicleid][mod4]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod4]); }

    }

    if(CarInfo[vehicleid][mod5] >= 1000 && CarInfo[vehicleid][mod5] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod5])) != CarInfo[vehicleid][mod5]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod5]); }

    }

    if(CarInfo[vehicleid][mod6] >= 1000 && CarInfo[vehicleid][mod6] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod6])) != CarInfo[vehicleid][mod6]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod6]); }

    }

    if(CarInfo[vehicleid][mod7] >= 1000 && CarInfo[vehicleid][mod7] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod7])) != CarInfo[vehicleid][mod7]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod7]); }

    }

    if(CarInfo[vehicleid][mod8] >= 1000 && CarInfo[vehicleid][mod8] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod8])) != CarInfo[vehicleid][mod8]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod8]); }

    }

    if(CarInfo[vehicleid][mod9] >= 1000 && CarInfo[vehicleid][mod9] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod9])) != CarInfo[vehicleid][mod9]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod9]); }

    }

    if(CarInfo[vehicleid][mod10] >= 1000 && CarInfo[vehicleid][mod10] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod10])) != CarInfo[vehicleid][mod10]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod10]); }

    }

    if(CarInfo[vehicleid][mod11] >= 1000 && CarInfo[vehicleid][mod11] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod11])) != CarInfo[vehicleid][mod11]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod11]); }

    }

    if(CarInfo[vehicleid][mod12] >= 1000 && CarInfo[vehicleid][mod12] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod12])) != CarInfo[vehicleid][mod12]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod12]); }

    }

    if(CarInfo[vehicleid][mod13] >= 1000 && CarInfo[vehicleid][mod13] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod13])) != CarInfo[vehicleid][mod13]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod13]); }

    }

    if(CarInfo[vehicleid][mod14] >= 1000 && CarInfo[vehicleid][mod14] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod14])) != CarInfo[vehicleid][mod14]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod14]); }

    }

    if(CarInfo[vehicleid][mod15] >= 1000 && CarInfo[vehicleid][mod15] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod15])) != CarInfo[vehicleid][mod15]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod15]); }

    }

    if(CarInfo[vehicleid][mod16] >= 1000 && CarInfo[vehicleid][mod16] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod16])) != CarInfo[vehicleid][mod16]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod16]); }

    }

    if(CarInfo[vehicleid][mod17] >= 1000 && CarInfo[vehicleid][mod17] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod17])) != CarInfo[vehicleid][mod17]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod17]); }

    }

    if(CarInfo[vehicleid][mod18] >= 1000 && CarInfo[vehicleid][mod18] <= 1193)

    {

        if(GetVehicleComponentInSlot(vehicleid,GetVehicleComponentType(CarInfo[vehicleid][mod18])) != CarInfo[vehicleid][mod18]) { AddVehicleComponent(vehicleid,CarInfo[vehicleid][mod18]); }

    }

        if(CarInfo[vehicleid][paintjob] > -1) { ChangeVehiclePaintjob(vehicleid,CarInfo[vehicleid][paintjob]); }

        if(CarInfo[vehicleid][cLicense] > 0) { SetVehicleNumberPlate(vehicleid,CarInfo[vehicleid][cLicense]); }

}

    else

    {

        if(CarInfo[vehicleid][cLicense] > 0) { SetVehicleNumberPlate(vehicleid,CarInfo[vehicleid][cLicense]); }

    }

return 1;

}

forward SaveCar(idx);

public SaveCar(idx)

{

new file[128];

format(file, sizeof(file),"cars/%d.ini",idx);

if(dini_Exists(file))

{

dini_IntSet(file,"Model",CarInfo[idx][cModel]);

dini_IntSet(file,"ID",CarInfo[idx][cID]);

dini_FloatSet(file,"Location_X",CarInfo[idx][cLocationx]);

dini_FloatSet(file,"Location_Y",CarInfo[idx][cLocationy]);

dini_FloatSet(file,"Location_Z",CarInfo[idx][cLocationz]);

dini_FloatSet(file,"Angle",CarInfo[idx][cAngle]);

dini_IntSet(file,"Color_1",CarInfo[idx][cColorOne]);

dini_IntSet(file,"Color_2",CarInfo[idx][cColorTwo]);

dini_Set(file,"Plate",CarInfo[idx][cLicense]);

dini_Set(file,"Owner",CarInfo[idx][cOwner]);

dini_IntSet(file,"Owned",CarInfo[idx][cOwned]);

dini_IntSet(file,"Mod_1",CarInfo[idx][mod1]);

dini_IntSet(file,"Mod_2",CarInfo[idx][mod2]);

dini_IntSet(file,"Mod_3",CarInfo[idx][mod3]);

dini_IntSet(file,"Mod_4",CarInfo[idx][mod4]);

dini_IntSet(file,"Mod_5",CarInfo[idx][mod5]);

dini_IntSet(file,"Mod_6",CarInfo[idx][mod6]);

dini_IntSet(file,"Mod_7",CarInfo[idx][mod7]);

dini_IntSet(file,"Mod_8",CarInfo[idx][mod8]);

dini_IntSet(file,"Mod_9",CarInfo[idx][mod9]);

dini_IntSet(file,"Mod_10",CarInfo[idx][mod10]);

dini_IntSet(file,"Mod_11",CarInfo[idx][mod11]);

dini_IntSet(file,"Mod_12",CarInfo[idx][mod12]);

dini_IntSet(file,"Mod_13",CarInfo[idx][mod13]);

dini_IntSet(file,"Mod_14",CarInfo[idx][mod14]);

dini_IntSet(file,"Mod_15",CarInfo[idx][mod15]);

dini_IntSet(file,"Mod_16",CarInfo[idx][mod16]);

dini_IntSet(file,"Mod_17",CarInfo[idx][mod17]);

dini_IntSet(file,"Mod_18",CarInfo[idx][mod18]);

dini_IntSet(file,"Paintjob",CarInfo[idx][paintjob]);

}

}[/pawn]

Posted

bag? 0.3x r2 ,scapi de flood ,timeout.

http://www.sa-mp.ro/forum/index.php?topic=28796.0

Orezculapte

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.