Jump to content

Question

Posted

Salut , vin si eu cu o problema aici 

Imi tot da acest mesaj in samp_log si nu mai merge nici o comanda nimic de la ce poate fii

 

[18:37:06] [debug] Run time error 4: "Array index out of bounds"
[18:37:06] [debug]  Accessing element at index 112 past array upper bound 99
[18:37:06] [debug] AMX backtrace:
[18:37:06] [debug] #0 000a79e4 in ?? (0x00000070) from gmm.amx
[18:37:06] [debug] #1 0001aa00 in public OnVehicleSpawn (0x00000070) from gmm.amx
[18:37:06] [debug] #2 native SetVehicleToRespawn () [080d6a40] from samp03svr
[18:37:06] [debug] #3 002236e8 in public cmd_fvr (0x00000000, 0x003bbe40) from gmm.amx
[18:37:06] [debug] #4 native CallLocalFunction () [080dfac0] from samp03svr
[18:37:06] [debug] #5 00000a5c in public OnPlayerCommandText (0x00000000, 0x003bbe2c) from gmm.amx
[18:37:06] [debug] Run time error 4: "Array index out of bounds"
[18:37:06] [debug]  Accessing element at index 171 past array upper bound 99
[18:37:06] [debug] AMX backtrace:
[18:37:06] [debug] #0 000a79e4 in ?? (0x000000ab) from gmm.amx
[18:37:06] [debug] #1 0001aa00 in public OnVehicleSpawn (0x000000ab) from gmm.amx
[18:37:06] [debug] #2 native SetVehicleToRespawn () [080d6a40] from samp03svr
[18:37:06] [debug] #3 002236e8 in public cmd_fvr (0x00000000, 0x003bbe40) from gmm.amx
[18:37:06] [debug] #4 native CallLocalFunction () [080dfac0] from samp03svr
[18:37:06] [debug] #5 00000a5c in public OnPlayerCommandText (0x00000000, 0x003bbe2c) from gmm.amx
[18:37:06] [debug] Run time error 4: "Array index out of bounds"
[18:37:06] [debug]  Accessing element at index 172 past array upper bound 99
[18:37:06] [debug] AMX backtrace:
[18:37:06] [debug] #0 000a79e4 in ?? (0x000000ac) from gmm.amx
[18:37:06] [debug] #1 0001aa00 in public OnVehicleSpawn (0x000000ac) from gmm.amx
[18:37:06] [debug] #2 native SetVehicleToRespawn () [080d6a40] from samp03svr
[18:37:06] [debug] #3 002236e8 in public cmd_fvr (0x00000000, 0x003bbe40) from gmm.amx
[18:37:06] [debug] #4 native CallLocalFunction () [080dfac0] from samp03svr
[18:37:06] [debug] #5 00000a5c in public OnPlayerCommandText (0x00000000, 0x003bbe2c) from gmm.amx
[18:37:06] [debug] Run time error 4: "Array index out of bounds"
[18:37:06] [debug]  Accessing element at index 195 past array upper bound 99
[18:37:06] [debug] AMX backtrace:
[18:37:06] [debug] #0 000a79e4 in ?? (0x000000c3) from gmm.amx
[18:37:06] [debug] #1 0001aa00 in public OnVehicleSpawn (0x000000c3) from gmm.amx
[18:37:06] [debug] #2 native SetVehicleToRespawn () [080d6a40] from samp03svr
[18:37:06] [debug] #3 002236e8 in public cmd_fvr (0x00000000, 0x003bbe40) from gmm.amx
[18:37:06] [debug] #4 native CallLocalFunction () [080dfac0] from samp03svr
[18:37:06] [debug] #5 00000a5c in public OnPlayerCommandText (0x00000000, 0x003bbe2c) from gmm.amx
[18:37:06] [debug] Run time error 4: "Array index out of bounds"
[18:37:06] [debug]  Accessing element at index 196 past array upper bound 99
[18:37:06] [debug] AMX backtrace:
[18:37:06] [debug] #0 000a79e4 in ?? (0x000000c4) from gmm.amx
[18:37:06] [debug] #1 0001aa00 in public OnVehicleSpawn (0x000000c4) from gmm.amx
[18:37:06] [debug] #2 native SetVehicleToRespawn () [080d6a40] from samp03svr
[18:37:06] [debug] #3 002236e8 in public cmd_fvr (0x00000000, 0x003bbe40) from gmm.amx
[18:37:06] [debug] #4 native CallLocalFunction () [080dfac0] from samp03svr
[18:37:06] [debug] #5 00000a5c in public OnPlayerCommandText (0x00000000, 0x003bbe2c) from gmm.amx
[18:37:06] [debug] Run time error 4: "Array index out of bounds"
[18:37:06] [debug]  Accessing element at index 197 past array upper bound 99
[18:37:06] [debug] AMX backtrace:
[18:37:06] [debug] #0 000a79e4 in ?? (0x000000c5) from gmm.amx
[18:37:06] [debug] #1 0001aa00 in public OnVehicleSpawn (0x000000c5) from gmm.amx
[18:37:06] [debug] #2 native SetVehicleToRespawn () [080d6a40] from samp03svr
[18:37:06] [debug] #3 002236e8 in public cmd_fvr (0x00000000, 0x003bbe40) from gmm.amx
[18:37:06] [debug] #4 native CallLocalFunction () [080dfac0] from samp03svr
[18:37:06] [debug] #5 00000a5c in public OnPlayerCommandText (0x00000000, 0x003bbe2c) from gmm.amx
[18:37:06] [debug] Run time error 4: "Array index out of bounds"
[18:37:06] [debug]  Accessing element at index 198 past array upper bound 99
[18:37:06] [debug] AMX backtrace:
[18:37:06] [debug] #0 000a79e4 in ?? (0x000000c6) from gmm.amx
[18:37:06] [debug] #1 0001aa00 in public OnVehicleSpawn (0x000000c6) from gmm.amx
[18:37:06] [debug] #2 native SetVehicleToRespawn () [080d6a40] from samp03svr

 

text.gif

SKIPE : EDUARD.SENNOW

7 answers to this question

Recommended Posts

  • 0
Posted
12 hours ago, Mister said:

Arata publicul  OnVehicleSpawn 

public OnVehicleSpawn(vehicleid) {
    #if defined DEBUG
        printf("[debug] OnVehicleSpawn(%d)", vehicleid);
    #endif

    switch(GetVehicleModel(vehicleid)) {
        case 427, 428, 432, 601, 528: SetVehicleHealth(vehicleid, 5000.0); 
    }
    Fuel[vehicleid] = 100;
    Radio[vehicleid] = 0;
    carboot[vehicleid] = 0;
    Bonnet[vehicleid] = 0;
    Trunk[vehicleid] = 0;
    if(vehicleVariables[vehicleid][vVehicleDS] == 1)
    {
        LinkVehicleToInterior(vehicleid, 1);
        SetVehicleVirtualWorld(vehicleid, 0);
    }
    return 1;
}
 

text.gif

SKIPE : EDUARD.SENNOW

  • 0
Posted

incearca sa pui asa

public OnVehicleSpawn(vehicleid) {
  /*if defined DEBUG
        printf("[debug] OnVehicleSpawn(%d)", vehicleid);
    endif

    switch(GetVehicleModel(vehicleid)) {
        case 427, 428, 432, 601, 528: SetVehicleHealth(vehicleid, 5000.0); 
    }*/
    Fuel[vehicleid] = 100;
    Radio[vehicleid] = 0;
    carboot[vehicleid] = 0;
    Bonnet[vehicleid] = 0;
    Trunk[vehicleid] = 0;
    if(vehicleVariables[vehicleid][vVehicleDS] == 1)
    {
        LinkVehicleToInterior(vehicleid, 1);
        SetVehicleVirtualWorld(vehicleid, 0);
    }
    return 1;
}

 

si spune daca mai da eroare ca sa stim daca da eroare de la codul acela

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
  • 0
Posted
12 hours ago, Mister said:

incearca sa pui asa

public OnVehicleSpawn(vehicleid) {
  /*if defined DEBUG
        printf("[debug] OnVehicleSpawn(%d)", vehicleid);
    endif

    switch(GetVehicleModel(vehicleid)) {
        case 427, 428, 432, 601, 528: SetVehicleHealth(vehicleid, 5000.0); 
    }*/
    Fuel[vehicleid] = 100;
    Radio[vehicleid] = 0;
    carboot[vehicleid] = 0;
    Bonnet[vehicleid] = 0;
    Trunk[vehicleid] = 0;
    if(vehicleVariables[vehicleid][vVehicleDS] == 1)
    {
        LinkVehicleToInterior(vehicleid, 1);
        SetVehicleVirtualWorld(vehicleid, 0);
    }
    return 1;
}

 

si spune daca mai da eroare ca sa stim daca da eroare de la codul acela

Problema este ca eroarea nu o da imediat o da in 15-20 minute astept si revin

text.gif

SKIPE : EDUARD.SENNOW

  • 0
Posted (edited)
12 hours ago, Mister said:

incearca sa pui asa

public OnVehicleSpawn(vehicleid) {
  /*if defined DEBUG
        printf("[debug] OnVehicleSpawn(%d)", vehicleid);
    endif

    switch(GetVehicleModel(vehicleid)) {
        case 427, 428, 432, 601, 528: SetVehicleHealth(vehicleid, 5000.0); 
    }*/
    Fuel[vehicleid] = 100;
    Radio[vehicleid] = 0;
    carboot[vehicleid] = 0;
    Bonnet[vehicleid] = 0;
    Trunk[vehicleid] = 0;
    if(vehicleVariables[vehicleid][vVehicleDS] == 1)
    {
        LinkVehicleToInterior(vehicleid, 1);
        SetVehicleVirtualWorld(vehicleid, 0);
    }
    return 1;
}

 

si spune daca mai da eroare ca sa stim daca da eroare de la codul acela

 

12 hours ago, Mister said:

incearca sa pui asa

public OnVehicleSpawn(vehicleid) {
  /*if defined DEBUG
        printf("[debug] OnVehicleSpawn(%d)", vehicleid);
    endif

    switch(GetVehicleModel(vehicleid)) {
        case 427, 428, 432, 601, 528: SetVehicleHealth(vehicleid, 5000.0); 
    }*/
    Fuel[vehicleid] = 100;
    Radio[vehicleid] = 0;
    carboot[vehicleid] = 0;
    Bonnet[vehicleid] = 0;
    Trunk[vehicleid] = 0;
    if(vehicleVariables[vehicleid][vVehicleDS] == 1)
    {
        LinkVehicleToInterior(vehicleid, 1);
        SetVehicleVirtualWorld(vehicleid, 0);
    }
    return 1;
}

 

si spune daca mai da eroare ca sa stim daca da eroare de la codul acela

tot asa dar am mai observat ca mai arata si asta

Error: Function not registered: 'SSCANF_Init'
Error: Function not registered: 'SSCANF_Join'
Error: Function not registered: 'SSCANF_Leave'
Error: Function not registered: 'CreateDynamicRectangle'
Error: Function not registered: 'CreateDynamic3DTextLabel'
Error: Function not registered: 'CreateDynamicPickup'
Error: Function not registered: 'CreateDynamicObject'
Error: Function not registered: 'MoveDynamicObject'
Error: Function not registered: 'sscanf'
Error: Function not registered: 'SetDynamicObjectRot'
Error: Function not registered: 'DestroyDynamicObject'
Error: Function not registered: 'DestroyDynamicPickup'
Error: Function not registered: 'DestroyDynamic3DTextLabel'
Error: Function not registered: 'UpdateDynamic3DTextLabelText'
Error: Function not registered: 'CountDynamicObjects'
Error: Function not registered: 'CountDynamicPickups'
Error: Function not registered: 'CountDynamic3DTextLabels'

dar nu cred ca are legatura cu problema aia , dupa ce sa apara acel bug mesajele serverului se repeta repede de parca ar fi atac

Edited by Edduard

text.gif

SKIPE : EDUARD.SENNOW

  • 0
Posted

Nu ii o singura problema, is mult mai multe, sh nu apar in 15-20 di minute apar cand is "called" "chemate" di server. uita-te exact la fiecare ce-ti apare... ai o gramada..

cat dispri rezolvat. anuleaza orice tine de aleea, sau incearca sa remediezi cumva, ia-o usor usor..

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.