- 0
-
Последние посетители 0 пользователей онлайн
Ни одного зарегистрированного пользователя не просматривает данную страницу
-
Похожий контент
-
От patrickk
Всем привет, решил написать dm сервер и довольно хорошим получился, даже на голову выше Goat dm. Оставил не решенную проблему тем что у меня есть 4 локации с rp run и cj run ну а как добавить cj бег на те локации не знаю и как эта система работает. Надеюсь мне помогут знающие люди
-
От Samolet
Здраствуйте, cоздаю копию Arizona на ОМП, опен мультиплеер, загрузил и подключил бд, но сервер не хочет вот лог :[2026-10-20T21:03:32+0300] [Info] Log file reloaded. Starting open.mp server (1.5.8.3079) from commit c6759bd8d265171ae3d86598895a23d5a8d92a3b Loading component $CAPI.so Successfully loaded component C-API (1.5.8.3079) with UID 10467dd8d4c56fc6 Loading component LegacyConfig.so Successfully loaded component LegacyConfig (1.5.8.3079) with UID 24ef6216838f9ffc Loading component NPCs.so Successfully loaded component NPCs (1.5.8.3079) with UID 3d0e59e87f4e90bc Loading component Recordings.so Successfully loaded component Recordings (1.5.8.3079) with UID 871144d399f5f613 Loading component Checkpoints.so Successfully loaded component Checkpoints (1.5.8.3079) with UID 44a937350d611dde Loading component TextDraws.so Successfully loaded component TextDraws (1.5.8.3079) with UID 9b5dc2b1d15c992a Loading component Pawn.so Successfully loaded component Pawn (1.5.8.3079) with UID 78906cd9f19c36a6 Loading component GangZones.so Successfully loaded component GangZones (1.5.8.3079) with UID b3351d11ee8d8056 Loading component Actors.so Successfully loaded component Actors (1.5.8.3079) with UID c81ca021eae2ad5c Loading component Pickups.so Successfully loaded component Pickups (1.5.8.3079) with UID cf304faa363dd971 Loading component Dialogs.so Successfully loaded component Dialogs (1.5.8.3079) with UID 44a111350d611dde Loading component Objects.so Successfully loaded component Objects (1.5.8.3079) with UID 59f8415f72da6160 Loading component Console.so Successfully loaded component Console (1.5.8.3079) with UID bfa24e49d0c95ee4 Loading component TextLabels.so Successfully loaded component TextLabels (1.5.8.3079) with UID a0c57ea80a009742 Loading component Variables.so Successfully loaded component Variables (1.5.8.3079) with UID 75e121848bc01fa2 Loading component Databases.so Successfully loaded component Databases (1.5.8.3079) with UID 80092e7eb5821a96 Loading component LegacyNetwork.so Successfully loaded component RakNetLegacyNetwork (1.5.8.3079) with UID ea9799fd79cf8442 Loading component CustomModels.so Successfully loaded component CustomModels (1.5.8.3079) with UID 15e3cb1e7c77ffff Loading component Menus.so Successfully loaded component Menus (1.5.8.3079) with UID 621e219eb97ee0b2 Loading component Vehicles.so Successfully loaded component Vehicles (1.5.8.3079) with UID 3f1f62ee9e22ab19 Loading component Classes.so Successfully loaded component Classes (1.5.8.3079) with UID 8cfb3183976da208 Loading component Timers.so Successfully loaded component Timers (1.5.8.3079) with UID 2ad8124c5ea257a3 Loaded 22 component(s) from /home/gs113492/components Executing Server Config... [2026-10-20T21:03:33+0300] [Info] Loading plugin: crashdetect.so [2026-10-20T21:03:33+0300] [Info] CrashDetect plugin 4.19 [2026-10-20T21:03:33+0300] [Info] Loading plugin: mapandreas.so [2026-10-20T21:03:33+0300] [Info] Loading plugin: streamer.so [2026-10-20T21:03:33+0300] [Info] *** Streamer Plugin v2.9.4 by Incognito loaded *** [2026-10-20T21:03:33+0300] [Info] Loading plugin: sscanf.so [2026-10-20T21:03:33+0300] [Info] [2026-10-20T21:03:33+0300] [Info] =============================== [2026-10-20T21:03:33+0300] [Info] sscanf plugin loaded. [2026-10-20T21:03:33+0300] [Info] Version: 2.8.3 [2026-10-20T21:03:33+0300] [Info] (c) 2018 Alex "Y_Less" Cole [2026-10-20T21:03:33+0300] [Info] =============================== [2026-10-20T21:03:33+0300] [Info] Loading plugin: TOTP.so [2026-10-20T21:03:33+0300] [Info] TOTP plugin v1.0.1 by Games loaded. [2026-10-20T21:03:33+0300] [Info] Loading plugin: mysql_static.so [2026-10-20T21:03:33+0300] [Info] >> plugin.mysql: R39-6 successfully loaded. [2026-10-20T21:03:33+0300] [Info] Loading plugin: libpawn_json.so [2026-10-20T21:03:34+0300] [Error] Function not registered: YSF_SetTickRate [2026-10-20T21:03:34+0300] [Error] Function not registered: PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] YSF_SetTickRate [2026-10-20T21:03:34+0300] [Error] File or function is not found [2026-10-20T21:03:34+0300] [Error] Function not registered: PC_RegAlias [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_GetWriteOffset [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_Reset [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_RegHandler [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_Delete [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_New [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_ResetReadPointer [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_SetWriteOffset [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_IgnoreBits [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_Init [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_SendRPC [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_SendPacket [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_WriteValue [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_GetNumberOfBytesUsed [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_ReadValue [2026-10-20T21:03:34+0300] [Error] Function not registered: PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_ReadValue [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetNumberOfBytesUsed [2026-10-20T21:03:34+0300] [Info] [debug] BS_WriteValue [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendPacket [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendRPC [2026-10-20T21:03:34+0300] [Info] [debug] PR_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_IgnoreBits [2026-10-20T21:03:34+0300] [Info] [debug] BS_SetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] BS_ResetReadPointer [2026-10-20T21:03:34+0300] [Info] [debug] BS_New [2026-10-20T21:03:34+0300] [Info] [debug] BS_Delete [2026-10-20T21:03:34+0300] [Info] [debug] PR_RegHandler [2026-10-20T21:03:34+0300] [Info] [debug] BS_Reset [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] PC_RegAlias [2026-10-20T21:03:34+0300] [Error] File or function is not found [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] YSF_SetTickRate [2026-10-20T21:03:34+0300] [Error] File or function is not found [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_ReadValue [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetNumberOfBytesUsed [2026-10-20T21:03:34+0300] [Info] [debug] BS_WriteValue [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendPacket [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendRPC [2026-10-20T21:03:34+0300] [Info] [debug] PR_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_IgnoreBits [2026-10-20T21:03:34+0300] [Info] [debug] BS_SetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] BS_ResetReadPointer [2026-10-20T21:03:34+0300] [Info] [debug] BS_New [2026-10-20T21:03:34+0300] [Info] [debug] BS_Delete [2026-10-20T21:03:34+0300] [Info] [debug] PR_RegHandler [2026-10-20T21:03:34+0300] [Info] [debug] BS_Reset [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] PC_RegAlias [2026-10-20T21:03:34+0300] [Info] Legacy Network started on ***.**.**.***:2717. Помогите пожалуйста
-
Редиска Освоившийся 9
[10:17:20] Игрок Sam_Batonovich только что использовал команду "/setadmin"
[10:17:26] Игрок Sam_Batonovich только что использовал команду "/setadmin Aleksey_Gromov 5"
[10:17:26] [debug] Server crashed while executing ERP.amx
[10:17:26] [debug] AMX backtrace:
[10:17:26] [debug] #0 native fputchar () from samp03svr-cr
[10:17:26] [debug] #1 00198548 in SendLog (namelog[]=@00b3e124 "SetAdmin", string[]=@00f4f170 "Sam_Batonovich ") at D:\ExcitingProject\ExcitingRP\gamemodes\ERP.pwn:26723
[10:17:26] [debug] #2 00876314 in public SetAdmin (playerid=0, name[]=@00b4f594 "Aleksey_Gromov", level=5) at D:\ExcitingProject\ExcitingRP\gamemodes\ERP.pwn:47033
[10:17:26] [debug] Native backtrace:
[10:17:26] [debug] #0 f741ae8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[10:17:26] [debug] #1 f7413bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[10:17:26] [debug] #2 f7414dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[10:17:26] [debug] #3 f7415226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[10:17:26] [debug] #4 f741aadc in ?? () from plugins/crashdetect.so
[10:17:26] [debug] #5 f7775420 in __kernel_rt_sigreturn () from linux-gate.so.1
[10:17:26] [debug] #6 f74a884a in fputc () from /lib32/libc.so.6
[10:17:26] [debug] #7 0804f822 in ?? () from ./samp03svr-cr
[10:17:26] [debug] #8 080503e4 in ?? () from ./samp03svr-cr
[10:17:26] [debug] #9 f741694b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[10:17:26] [debug] #10 f74198f8 in ?? () from plugins/crashdetect.so
[10:17:26] [debug] #11 f741d916 in amx_Exec () from plugins/crashdetect.so
[10:17:26] [debug] #12 f7415be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[10:17:26] [debug] #13 f7419659 in ?? () from plugins/crashdetect.so
[10:17:26] [debug] #14 f6225d36 in ?? () from plugins/streamer.so
[10:17:26] [debug] #15 f70c0f21 in amx_Exec () from plugins/mysql_static.so
[10:17:26] [debug] #16 f709a1ed in _ZN9CCallback16ProcessCallbacksEv () from plugins/mysql_static.so
[10:17:26] [debug] #17 f70c1ed2 in ProcessTick () from plugins/mysql_static.so
[10:17:26] [debug] #18 080a18c2 in ?? () from ./samp03svr-cr
[10:17:26] [debug] #19 0807d9cc in ?? () from ./samp03svr-cr
[10:17:26] [debug] #20 08077c23 in ?? () from ./samp03svr-cr
[10:17:26] [debug] #21 f7457a63 in __libc_start_main () from /lib32/libc.so.6
Из логи отзывают две строки из мода:
stock SendLog(namelog[],string[])
{
new hour, minn, sec, year, month, day, text[256], log[50], File:LogFile, i;
gettime(hour, minn, sec);
getdate(year, month, day);
format(text, sizeof(text), "[%02d.%02d.%02d|%02d:%02d:%02d]%s\r\n", year, month, day, hour, minn, sec, string);
format(log,sizeof(log),"[Logs]/%s.log", namelog);
LogFile = fopen(log, io_append);
while (text != EOS)
{
fputchar(LogFile, text, false); // Вот эта строка (26723)
i++;
}
fclose(LogFile);
}
forward SetAdmin(playerid, name[], level);
public SetAdmin(playerid, name[], level)
{
new rows, fields, string[256];
cache_get_data(rows, fields);
if(rows)
{
if(!level)
{
if(GetPlayerID(name) != INVALID_PLAYER_ID) PI[GetPlayerID(name)][pAdmin] = 0;
mysql_format(dbHandle, string, sizeof(string), "DELETE FROM "T_ADMIN" WHERE `name`='%s'", name);
mysql_tquery(dbHandle, string, "", "");
mysql_format(dbHandle, string, sizeof(string), "UPDATE "T_ACCOUNTS" SET `admin` = '0' WHERE `name` = '%s'", name);
mysql_tquery(dbHandle, string, "", "");
format(string, sizeof(string), "Вы сняли %s с должности администратора", name);
SendClientMessage(playerid, COLOR_LIME, string);
format(string, sizeof(string), "%s снял %s с должности администратора", GetName(playerid), name);
SendLog("DeleteAdmin", string);
}
else
{
if(GetPlayerID(name) != INVALID_PLAYER_ID) PI[GetPlayerID(name)][pAdmin] = level;
mysql_format(dbHandle, string, sizeof(string), "UPDATE "T_ADMIN" SET `level` = '%d' WHERE `name` = '%s' LIMIT 1", level, name);
mysql_tquery(dbHandle, string, "", "");
format(string, sizeof(string), "Вы установили уровень администратора %s на %i", name, level);
SendClientMessage(playerid, COLOR_LIME, string);
format(string, sizeof(string), "%s установил уровень администратора %s на %i", GetName(playerid), name, level);
SendLog("EditAdmin", string);
}
}
else
{
if(!level) return SendClientMessage(playerid, COLOR_GREY, "Игрок не администратор");
new data[15];
getdate(years, months, days);
format(data, sizeof(data), "%02d.%02d.%04d", days, months, years);
mysql_format(dbHandle, string, sizeof(string), "INSERT INTO "T_ADMIN" (`name`, `level`, `last_connect`, `put_admin`, `data`) VALUES ('%s', %d, '%s', '%s', '%s')", name, level, data, GetName(playerid), data);
mysql_tquery(dbHandle, string, "", "");
format(string, sizeof(string), "[A] Руководитель %s [%d] назначил %s администратором (%i уровень)", GetName(playerid), playerid, name, level);
SendAdminMessage(COLOR_GREY, string);
format(string, sizeof(string), "%s добавлен в список администрации. Уровень полномочий %i", name, level);
SendClientMessage(playerid, COLOR_ORANGE, string);
format(string, sizeof(string), "%s добавил в список администрации %s (%i уровень)", GetName(playerid), name, level);
SendLog("SetAdmin", string);
if(GetPlayerID(name) != INVALID_PLAYER_ID) // Вот эта строка
{
format(string, sizeof(string), "%s %s назначил Вас администратором, перезайдите", GetAdminRang(playerid), GetName(playerid));
SendClientMessage(GetPlayerID(name), COLOR_WHITE, string);
}
}
return 1;
}
Раньше такого не было, однако если и не использовать эту команду может тоже упасть.
Поделиться сообщением
Ссылка на сообщение
Поделиться на другие сайты