Server Crashing
#8

Good job finding out what exactly causes it!
What you could do is place a few prints to find the exact spot. Here you go:
pawn Код:
if(playerTabbed[i] == 0) {
    print("1");
    switch(PlayerInfo[i][pLevel]) {
        print("2");
        case 0 .. 2: PlayerInfo[i][pPayCheck] += 1;
        case 3 .. 4: PlayerInfo[i][pPayCheck] += 2;
        case 5 .. 6: PlayerInfo[i][pPayCheck] += 3;
        case 7 .. 8: PlayerInfo[i][pPayCheck] += 4;
        case 9 .. 10: PlayerInfo[i][pPayCheck] += 5;
        case 11 .. 12: PlayerInfo[i][pPayCheck] += 6;
        case 13 .. 14: PlayerInfo[i][pPayCheck] += 7;
        case 15 .. 16: PlayerInfo[i][pPayCheck] += 8;
        case 17 .. 18: PlayerInfo[i][pPayCheck] += 9;
        case 19 .. 20: PlayerInfo[i][pPayCheck] += 10;
        print("3");
        default: PlayerInfo[i][pPayCheck] += 11;
        print("4");
    }
    if(++PlayerInfo[i][pConnectSeconds] >= 3600) {
        print("5");
        PayDay(i);
        print("6");
    }
    print("7");
}
Reply


Messages In This Thread
Server Crashing - by Zloobe - 04.08.2013, 18:24
Re: Server Crashing - by DrDoom151 - 04.08.2013, 18:36
Re: Server Crashing - by Zloobe - 04.08.2013, 18:38
Re: Server Crashing - by DrDoom151 - 04.08.2013, 18:39
Re: Server Crashing - by Zloobe - 04.08.2013, 18:55
Re: Server Crashing - by DrDoom151 - 04.08.2013, 18:59
Re: Server Crashing - by Zloobe - 04.08.2013, 19:08
Re: Server Crashing - by DrDoom151 - 04.08.2013, 19:15
Re: Server Crashing - by Zloobe - 04.08.2013, 19:27
Re: Server Crashing - by DrDoom151 - 04.08.2013, 19:32

Forum Jump:


Users browsing this thread: 2 Guest(s)