[POMOC] Server mi pada na ovome logu [čitajte]

Započeo DevoXx, Mart 06, 2013, 20:30:52 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: SGRPGv6
Detaljan opis problema: Ovako normala igram i server samo padne, odem u log i nadjem ovo

[20:18:21] [debug] [SGRPGv6.amx]: During execution of OnPlayerDeath():
[20:18:21] [debug] [SGRPGv6.amx]: Run time error 4: "Array index out of bounds"
[20:18:21] [debug] [SGRPGv6.amx]:   Array max. index is 175 but accessing an element at 65535
[20:18:21] [debug] [SGRPGv6.amx]: Call stack (most recent call first):
[20:18:21] [debug] The server has crashed executing 'SGRPGv6.amx'
[20:18:21] [debug] [SGRPGv6.amx]: Call stack (most recent call first):


Molim vas da mi pomognete hitnoooo jeee!
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):


Evoo

public OnPlayerDeath(playerid, killerid, reason)
{
IgracSpawnan[playerid] = 0;
HealthSynced[playerid] = 0;
    //KillTimer_H(helti[playerid]);
ResetPlayerWeaponsEx(playerid);
if(IgracUWaru[playerid] == 0)
{
    if(AdminUbio[playerid] == 0 && DMEvent[playerid] == 0)
    {
    PI[playerid][Smrti]++;
if(IsPlayerConnected(killerid)) PI[killerid][Ubistava]++, PostaviZlocin(killerid, "Prvostepeno ubistvo", "Nepoznato");
if(!IgracPolicajac(playerid) && IsPlayerConnected(killerid)) h_SetPlayerWantedLevel(killerid, h_GetPlayerWantedLevel(killerid)+3);
else if(IgracPolicajac(playerid) && IsPlayerConnected(killerid)) h_SetPlayerWantedLevel(killerid, 6);
if(IgracPolicajac(killerid) || PI[killerid][Clan] == 7) h_SetPlayerWantedLevel(killerid, 0);
if(h_GetPlayerWantedLevel(playerid) > 0)
{
    NovacMinus(playerid, h_GetPlayerWantedLevel(playerid)*500);
    SCMF(playerid, CRVENA, "Izgubili ste {FF6347}$%d {FF0000}zbog umiranja sa Wanted levelom {FF6347}%d.", h_GetPlayerWantedLevel(playerid)*500, h_GetPlayerWantedLevel(playerid));
h_SetPlayerWantedLevel(playerid, 0);
}
if(PI[playerid][Zavezan] != 0)
{
new rand = random(sizeof(Celije)), imex[MAX_PLAYER_NAME];
RPIme(playerid, imex);
SetPlayerPos_H(playerid, Celije[rand][0], Celije[rand][1], Celije[rand][2]);
SetPlayerFacingAngle(playerid, Celije[rand][3]);
PI[playerid][Zatvoren] = 1;
PI[playerid][ZatvorenVreme] = 1800;
SCM(playerid, CRVENA, "KiwiBot | {FF6347}Umrli ste dok ste bili zavezani/uhapseni, idete u zatvor!");
format(CmdString, sizeof CmdString, "| Komanda: /zatvor | Izvrsio: KiwiBot | Igrac: %s | Razlog: Umiranje pri hapsenju/otmici", imex);
UpisiLog(FAJL_KAZNELOG, CmdString);
}
if(IsPlayerConnected(killerid) && Meta[killerid] == playerid)
{
    new nejm[2][MAX_PLAYER_NAME];
    RPIme(playerid, nejm[0]);
    RPIme(killerid, nejm[1]);
    format(CmdString, 128, "Hitman %s je izvrsio naruceno ubistvo na %s i pokupio nagradu od $%d.", nejm[1], nejm[0], PI[playerid][Ucena]);
    FamilyPoruka(8, ZUTA, CmdString);
    format(CmdString, 128, "|{FFFFFF}UBISTVO{FFFF00}| HITMAN: %s | META: %s | NAGRADA: $%d", nejm[1], nejm[0], PI[playerid][Ucena]);
    AdminPoruka(ZUTA, CmdString);
    NovacPlus(killerid, PI[playerid][Ucena]);
    PI[playerid][Ucena] = 0;
    Meta[killerid] = -1;
format(CmdString, sizeof(CmdString), "UPDATE `Igraci` SET `Ucena` = 0 WHERE `Ime` = '%s'", nejm[0]);
mysql_query(CmdString, THREAD_OSTALO);
}
}
AdminUbio[playerid] = 0;
}
//if(MobilniPrikazan[playerid] > 0) { for(new i; i < sizeof(MobilniTD); i++) { TextDrawDestroy(MobilniTD[i][playerid]); } }
if(gPlayerUsingLoopingAnim[playerid])
{
        gPlayerUsingLoopingAnim[playerid] = 0;
        TextDrawHideForPlayer(playerid,txtAnimHelper);
}
GMDuznost[playerid] = 0;
AdminDuznost[playerid] = 0;
new ime[2][MAX_PLAYER_NAME];
    if(IsPlayerConnected(killerid)) RPIme(killerid, ime[0]);
    RPIme(playerid, ime[1]);
if(IsPlayerConnected(killerid) && GetPlayerState(killerid) == PLAYER_STATE_DRIVER)
{
    format(CmdString, 128, "KiwiBot | {FFFFFF}Igrac: %s[ID: %d] || Drive by || Zrtva: %s[ID: %d]  || Koristite /recon", ime[0], killerid, ime[1], playerid);
    AdminPoruka(CRVENA, CmdString);
}
if(IsPlayerConnected(killerid) && PI[playerid][Nivo] <= 3)
{
    format(CmdString, 128, "KiwiBot | {FFFFFF}Igrac: %s[ID: %d] || Ubistvo igraca sa malim levelom || Zrtva: %s[ID: %d, nivo: %d]", ime[0], killerid, ime[1], playerid, PI[playerid][Nivo]);
    AdminPoruka(CRVENA, CmdString);
}
if(IsPlayerConnected(killerid) && WarAktivan == true && IgracUWaru[playerid] == 1 && IgracUWaru[killerid] == 1)
{
WarUbistava[killerid]++;
WarSmrti[playerid]++;
    new ss[5], xs[100], hIme[2][MAX_PLAYER_NAME];
    if(PI[playerid][Clan] == PI[killerid][Clan])
    {
        if(PI[killerid][Clan] == WarTim1)
        {
        Tim1Skor -= 3;
        format(ss, sizeof ss, "%d", Tim1Skor);
        TextDrawSetString(WarTD4, ss);
}
else
{
        Tim2Skor -= 3;
        format(ss, sizeof ss, "%d", Tim2Skor);
        TextDrawSetString(WarTD5, ss);
}
RPIme(killerid, hIme[0]);
        RPIme(playerid, hIme[1]);
        format(xs, 100, "(war) %s je ubio svog saigraca %s, te je njegov tim dobio -3 poena.", hIme[0], hIme[1]);
        WarPoruka(0x800080FF, xs);
}
    if(PI[killerid][Clan] == WarTim1 && PI[playerid][Clan] == WarTim2)
    {
        Tim1Skor++;
        format(ss, sizeof ss, "%d", Tim1Skor);
        TextDrawSetString(WarTD4, ss);
RPIme(killerid, hIme[0]);
        RPIme(playerid, hIme[1]);
        format(xs, 80, "(war) %s je ubio protivnika %s.", hIme[0], hIme[1]);
        WarPoruka(0x800080FF, xs);
}
    else if(PI[killerid][Clan] == WarTim2 && PI[playerid][Clan] == WarTim1)
    {
        Tim2Skor++;
        format(ss, sizeof ss, "%d", Tim2Skor);
        TextDrawSetString(WarTD5, ss);
RPIme(killerid, hIme[0]);
        RPIme(playerid, hIme[1]);
        format(xs, 80, "(war) %s je ubio protivnika %s.", hIme[0], hIme[1]);
        WarPoruka(0x800080FF, xs);
}
}
if(WarAktivan == true && IgracUWaru[playerid] == 1 && killerid == INVALID_PLAYER_ID)
{
if(killerid == INVALID_PLAYER_ID)
{
        Tim1Skor -= 3;
        format(ss, sizeof ss, "%d", Tim1Skor);
        TextDrawSetString(WarTD4, ss);
RPIme(killerid, hIme[0]);
        RPIme(playerid, hIme[1]);
        format(xs, 100, "(war) %s je izvrsio samoubistvo, te je njegov tim dobio -3 poena.", hIme[0], hIme[1]);
        WarPoruka(0x800080FF, xs);
}
}
return 1;
}

server samo radi normala, evo niko nije ulazio, i samo padnee samo od toga, i izbaci to u logu




Pa odkud ja znam koja je sa NL-a jebote :D ?
Daj lepo verziju
RESPECT :
Vegas & C++


jarane moj u logu nigdje ne pise YSI koja je verzija i sta to ima veze sa padanjem na onplayerdeath