Hey,
Nach einer Zeit crasht der Server und ich weiss nicht wieso. Crashdetect gibt folgendes aus:
Script[gamemodes/Release.amx]: In file 'C:\Users\Tim\Desktop\samp\pawno\include\Release.pwn' at line 9433:
Script[gamemodes/Release.amx]: Run time error 4: "Array index out of bounds"
Additional information:
Array max index is 264 but accessing an element at 431
Call stack (most recent call first):
File 'C:\Users\Tim\Desktop\samp\pawno\include\Release.pwn'
public OnPlayerStateChange(playerid=28, newstate=2, oldstate=1)
Script[gamemodes/Release.amx]: In file 'C:\Users\Tim\Desktop\samp\pawno\include\Release.pwn' at line 5440:
Script[gamemodes/Release.amx]: Run time error 4: "Array index out of bounds"
Additional information:
Array max index is 264 but accessing an element at 533
Call stack (most recent call first):
File 'C:\Users\Tim\Desktop\samp\pawno\include\Release.pwn'
public Streamer_OnPlayerDisconnect(playerid=22, reason=1)
Script[gamemodes/Release.amx]: In file 'C:\Users\Tim\Desktop\samp\pawno\include\Release.pwn' at line 5440:
Script[gamemodes/Release.amx]: Run time error 4: "Array index out of bounds"
Additional information:
Array max index is 264 but accessing an element at 288
Call stack (most recent call first):
File 'C:\Users\Tim\Desktop\samp\pawno\include\Release.pwn'
public Streamer_OnPlayerDisconnect(playerid=9, reason=0)
Script[gamemodes/Release.amx]: In file 'C:\Users\Tim\Desktop\samp\pawno\include\Release.pwn' at line 5440:
Script[gamemodes/Release.amx]: Run time error 4: "Array index out of bounds"
Additional information:
Array max index is 264 but accessing an element at 587
Call stack (most recent call first):
File 'C:\Users\Tim\Desktop\samp\pawno\include\Release.pwn'
public Streamer_OnPlayerDisconnect(playerid=35, reason=0)
Script[gamemodes/Release.amx]: In file 'C:\Users\Tim\Desktop\samp\pawno\include\Release.pwn' at line 5440:
Script[gamemodes/Release.amx]: Run time error 4: "Array index out of bounds"
Additional information:
Array max index is 264 but accessing an element at 585
Call stack (most recent call first):
File 'C:\Users\Tim\Desktop\samp\pawno\include\Release.pwn'
public Streamer_OnPlayerDisconnect(playerid=19, reason=1)
samp03svr: amx/amxfile.c:222: fputs_cell: Assertion `fp!=((void *)0)' failed.
Die zeilen sind eigentlich unspektakulär:
5440:gCarLock[gLastCar[playerid]] = 0;
9433:gCarLock[oldcar] = 0;
Es hat wohl was mit gCarlock zutuhen, nur ich weiss nicht was. Bitte helft mir
MfGHammerboy