01.07.2014, 02:23
Hi. So as the title says, the server works fine when I start it, players can connect and play, but after a while (around 24 hours) they start getting that issue. It would say that they are connecting to the server then it says connected. Joining the game and it will keep doing it to everyone that tries to login, till I restart the server.
I also get these debugs in the server logs:
This is line 18901:
Line 8967:
I thought maybe I'm reaching the max amount for textdraws? How do I know if that's the problem and how do I fix it if it is?
I also get these debugs in the server logs:
Код:
[21:39:11] [join] Player_name has joined the server (4:41.225.205.132) [21:39:11] [debug] Run time error 4: "Array index out of bounds" [21:39:11] [debug] AMX backtrace: [21:39:11] [debug] #0 0004eb68 in Bar:CreateProgressBar (Float:x=550.00000, Float:y=286.00000, Float:width=69.50000, Float:height=1.50000, color=8388607, Float:max=100.00000) at D:\SAMP scripts\FuseGaming Roleplay\pawno\include\progress.inc:71 [21:39:11] [debug] #1 0018bbb4 in LoadPlayerTextDraws (playerid=4) at D:\SAMP scripts\FuseGaming Roleplay\gamemodes\FGRP.pwn:18901 [21:39:11] [debug] #2 000cffa0 in public Lookup_OnPlayerConnect (playerid=4) at D:\SAMP scripts\FuseGaming Roleplay\gamemodes\FGRP.pwn:8967 [21:39:11] [debug] #3 native CallLocalFunction () [00472ef0] from samp-server.exe [21:39:11] [debug] #4 0005bee4 in public MP_OPC (playerid=4) at D:\SAMP scripts\FuseGaming Roleplay\pawno\include\lookup.inc:45 [21:39:11] [debug] #5 native CallLocalFunction () [00472ef0] from samp-server.exe [21:39:11] [debug] #6 00059600 in public SSCANF_OnPlayerConnect (playerid=4) at D:\SAMP scripts\FuseGaming Roleplay\pawno\include\mSelection.inc:435 [21:39:11] [debug] #7 000482ec in public Streamer_OnPlayerConnect (playerid=4) at D:\SAMP scripts\FuseGaming Roleplay\pawno\include\sscanf2.inc:205 [21:39:11] [debug] #8 00047bcc in public Itter_OnPlayerConnect (playerid=4) at D:\SAMP scripts\FuseGaming Roleplay\pawno\include\streamer.inc:305 [21:39:11] [debug] #9 000344d0 in public _y_utils_OnPlayerConnect (playerid=4) at D:\SAMP scripts\FuseGaming Roleplay\pawno\include\YSI\..\YSI_Visual\..\YSI_Data\y_iterate.inc:1130 [21:39:11] [debug] #10 0000a594 in OnPlayerConnect (playerid=4, ... <1073741822 arguments>) at D:\SAMP scripts\FuseGaming Roleplay\pawno\include\YSI\..\YSI_Visual\..\YSI_Core\..\YSI_Coding\..\YSI_Core\y_utils.inc:243 [21:39:11] [debug] #11 0000b61c in public OnPlayerConnect (... <1 argument>) at D:\SAMP scripts\FuseGaming Roleplay\pawno\include\YSI\..\YSI_Visual\..\YSI_Core\..\YSI_Coding\..\YSI_Internal\y_cgen.inc:30
Код:
PlayerTextDrawLetterSize(playerid, TMDC36, 0.500000, 1.000000);
Код:
SetPlayerColor(playerid, COLOR_GREY);