Weather Flickering
#6

Great, got some shit on the logs.

Quote:

[11:43:19] [debug] #0 00089cd8 in public SecondTimer () from asd.amx
[11:43:19] [debug] Run time error 4: "Array index out of bounds"
[11:43:19] [debug] Attempted to read/write array element at negative index -1
[11:43:19] [debug] AMX backtrace:
[11:43:19] [debug] #0 00089cd8 in public SecondTimer () from asd.amx
[11:43:19] [debug] Run time error 4: "Array index out of bounds"
[11:43:19] [debug] Attempted to read/write array element at negative index -1
[11:43:19] [debug] AMX backtrace:
[11:43:19] [debug] #0 00089cd8 in public SecondTimer () from asd.amx
[11:43:20] [debug] Run time error 4: "Array index out of bounds"
[11:43:20] [debug] Attempted to read/write array element at negative index -1
[11:43:20] [debug] AMX backtrace:
[11:43:20] [debug] #0 00089cd8 in public SecondTimer () from asd.amx
[11:43:20] [debug] Run time error 4: "Array index out of bounds"
[11:43:20] [debug] Attempted to read/write array element at negative index -1
[11:43:20] [debug] AMX backtrace:
[11:43:20] [debug] #0 00089cd8 in public SecondTimer () from asd.amx
[11:43:20] [debug] Run time error 4: "Array index out of bounds"
[11:43:20] [debug] Attempted to read/write array element at negative index -1
[11:43:20] [debug] AMX backtrace:
[11:43:20] [debug] #0 00089cd8 in public SecondTimer () from asd.amx
[11:43:20] [debug] Run time error 4: "Array index out of bounds"
[11:43:20] [debug] Attempted to read/write array element at negative index -1
[11:43:20] [debug] AMX backtrace:
[11:43:20] [debug] #0 00089cd8 in public SecondTimer () from asd.amx
[11:43:20] [debug] Run time error 4: "Array index out of bounds"
[11:43:20] [debug] Attempted to read/write array element at negative index -1
[11:43:20] [debug] AMX backtrace:
[11:43:20] [debug] #0 00089cd8 in public SecondTimer () from asd.amx

PHP код:
forward SecondTimer();
public 
SecondTimer()
{
    new 
hourminutesecondboomboxidstring[128];

    
gettime(hourminutesecond);

    if((
gGMX) && mysql_unprocessed_queries(connectionID) == 0)
    {
        
SendRconCommand("gmx");
    }

    foreach(new 
Player)
    {
          
SetPlayerTime(ihourminute);

        if(
PlayerInfo[i][pLogged] && !PlayerInfo[i][pKicked])
        {
              
AFKCheck(i);
            
//NOPCheck(i);
            
if(PlayerInfo[i][pSpamTime] > 0)
            {
                
PlayerInfo[i][pSpamTime]--;
            }
            if(
PlayerInfo[i][pVehicleCount] > 0)
            {
                
PlayerInfo[i][pVehicleCount]--;
            }
            if(
PlayerInfo[i][pMechanicCall] > 0)
            {
                
PlayerInfo[i][pMechanicCall]--;
            }
            if(
PlayerInfo[i][pTaxiCall] > 0)
            {
                
PlayerInfo[i][pTaxiCall]--;
            }
            if(
PlayerInfo[i][pEmergencyCall] > 0)
            {
                
PlayerInfo[i][pEmergencyCall]--;
            }
            if(
PlayerInfo[i][pCourierCooldown] > 0)
            {
                
PlayerInfo[i][pCourierCooldown]--;
            }
               if(
PlayerInfo[i][pPizzaCooldown] > 0)
            {
                   
PlayerInfo[i][pPizzaCooldown]--;
            }
            if(
PlayerInfo[i][pDetectiveCooldown] > 0)
            {
                   
PlayerInfo[i][pDetectiveCooldown]--;
            }
            if(
PlayerInfo[i][pThiefCooldown] > 0)
            {
                   
PlayerInfo[i][pThiefCooldown]--;
            }
            if(
PlayerInfo[i][pCocaineCooldown] > 0)
            {
                   
PlayerInfo[i][pCocaineCooldown]--;
            }
            if(
PlayerInfo[i][pACFired] > 0)
            {
                
PlayerInfo[i][pACFired]--;
            }
            if(
PlayerInfo[i][pRapidFire] > 0)
            {
                
PlayerInfo[i][pRapidFire]--;
            }
            if(
PlayerInfo[i][pGodmode] > 0)
            {
                
PlayerInfo[i][pGodmode]--;
            } 
There is more of lines in this function but If I sent all you will just get lazy to read them all, although these are the newest edited ones, I just found out that they get less so quickly, So I don't know what to do with them.
Reply


Messages In This Thread
Weather Flickering - by JasonRiggs - 15.05.2018, 20:23
Re: Weather Flickering - by RogueDrifter - 16.05.2018, 04:52
Re: Weather Flickering - by JasonRiggs - 16.05.2018, 08:40
Re: Weather Flickering - by RogueDrifter - 16.05.2018, 09:24
Re: Weather Flickering - by JasonRiggs - 16.05.2018, 09:36
Re: Weather Flickering - by JasonRiggs - 16.05.2018, 09:53
Re: Weather Flickering - by RogueDrifter - 16.05.2018, 10:13
Re: Weather Flickering - by CodeStyle175 - 16.05.2018, 11:39
Re: Weather Flickering - by RogueDrifter - 17.05.2018, 12:05
Re: Weather Flickering - by JasonRiggs - 17.05.2018, 12:23

Forum Jump:


Users browsing this thread: 1 Guest(s)