Вопросы

ayepocike
Новичок

Хочу изменить скорость с этим кодом 

stock SetVehicleSpeed(vehicleid,mph)
{
  new Float:Vx, Float:Vy, Float:Vz ,Float:speeds, Float:multiple;
  GetVehicleVelocity(vehicleid,Vx,Vy,Vz);
  speeds = floatsqroot(Vx*Vx + Vy*Vy + Vz*Vz);
  if(speeds > 0)
  {
    multiple = (mph / (speeds * 250));
    return SetVehicleVelocity(vehicleid, Vx*multiple, Vy*multiple, Vz*multiple);
  }
  return 0;
}

Но мне нужно чтобы ставить на отдельные машины опреденую скорость, чтобы ещё  люди с этой скоростью ездили

Поделиться сообщением


Ссылка на сообщение

6 ответов на этот вопрос

  • 0
Sleash
Завсегдатый

Моё предложение:

Вставьте эту функцию, а именно SetVehicleSpeed() В какой-либо таймер, желательно повторяющийся раз в 1-2 сек.

Так же не забывайте ограничивать её проверками, к примеру, если вы хотите сделать ускорение машины, то не допускайте, что бы машина ехала больше своей максимальной скорости, так как в вашем случае увеличение происходит в геометрической прогрессии.

Проще говоря, если не ограничивать то через 5-9 сек машина приобретёт скорость самолёта.

Для этого вам нужен массив с максимальными скоростями авто, рассмотрим простенький код:

forward speed_timer(playerid);
new max_speeds[] = {
    {411, 240}, // Условно устанавливаем максимальную скорость инфернусу в 240 ед.расстояния в ед.времени
    {522, 210}//, // Делаем тоже самое для NRG-500
    // и так далее мо всеми машинами, думаю такой список на форумах найти не составит труда
};

// Код таймера
public speed_timer(playerid)
{
    if(!IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return false; // Проверка на то, сидит ли игрок за рулём
    new veh_id = GetPlayerVehicleID(playerid); // Получаем ID авто, в котором находится игрок
    for(new i = 1; sizeof(max_speeds); i++) // Перебираем все значения из массива, что бы узнать, сидит ли игрок в машине из списка
    {
        if(max_speeds[i][1] != GetVehicleModel(veh_id)) continue; // Если модель из массива и модель авто, где сидит игрок не совпадают, то пропускаем
        new now_speed = GetVehicleSpeed(veh_id); // Получаем скорость игрока на данный момент
        new Float:mltupline = 1.3; // Значение, в которое будем увеличивать скорость автомобиля
        if(now_speed*mltupline >= max_speeds[i][2]) return false; // Проверка, на то, превысим ли мы уловно максимальную скорость или нет
        SetVehicleSpeed(veh_id, now_speed*mltupline); // Устанавливаем новую скорость автомобилю
        break;
    }
    return true;
}

Да, я знаю что такой способ многозатратный и старомодный, но я не стал заморачиваться сам, дабы не заморачивать Вас, и сделать всё более понятней.

Для снижения потребностей ресурсов советую ставить таймер тогда, когда игрок садится в авто, а ещё лучше заводит авто, и когда глушит мотор, или выходит с авто - убирать таймер при помощи KillTimer

Поделиться сообщением


Ссылка на сообщение
  • 0
ayepocike
Новичок
Спойлер

C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36434) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36434) : error 017: undefined symbol "speed_timer"
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36436) : error 008: must be a constant expression; assumed zero
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36437 -- 36439) : error 008: must be a constant expression; assumed zero
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36442) : warning 217: loose indentation
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36442) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36442) : error 017: undefined symbol "speed_timer"
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36444) : error 017: undefined symbol "playerid"
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36445) : error 017: undefined symbol "playerid"
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36446) : warning 206: redundant test: constant expression is non-zero
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36448) : error 001: expected token: ")", but found "["
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36448) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36448) : warning 215: expression has no effect
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36448) : error 001: expected token: ";", but found "]"
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(36448) : fatal error 107: too many error messages on one line

 

Вот куда вставил 

SetVehicleSpeed(vehicleid, speed_kmph)
{
    forward speed_timer(playerid);
    new max_speeds[] = {
    {411, 240}, // ??????? ????????????? ???????????? ???????? ????????? ? 240 ??.?????????? ? ??.???????
    {522, 210}//, // ?????? ???? ????? ??? NRG-500
    // ? ??? ????? ?? ????? ????????, ????? ????? ?????? ?? ??????? ????? ?? ???????? ?????
};

    // ??? ???????
public speed_timer(playerid)
{
    if(!IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return false; // ???????? ?? ??, ????? ?? ????? ?? ?????
    new veh_id = GetPlayerVehicleID(playerid); // ???????? ID ????, ? ??????? ????????? ?????
    for(new i = 1; sizeof(max_speeds); i++) // ?????????? ??? ???????? ?? ???????, ??? ?? ??????, ????? ?? ????? ? ?????? ?? ??????
    {
        if(max_speeds[i][1] != GetVehicleModel(veh_id)) continue; // ???? ?????? ?? ??????? ? ?????? ????, ??? ????? ????? ?? ?????????, ?? ??????????
        new now_speed = GetVehicleSpeed(veh_id); // ???????? ???????? ?????? ?? ?????? ??????
        new Float:mltupline = 1.3; // ????????, ? ??????? ????? ??????????? ???????? ??????????
        if(now_speed*mltupline >= max_speeds[i][2]) return false; // ????????, ?? ??, ???????? ?? ?? ?????? ???????????? ???????? ??? ???
        SetVehicleSpeed(veh_id, now_speed*mltupline); // ????????????? ????? ???????? ??????????
        break;
    }
    return true;
}
    if(speed_kmph < 1) speed_kmph = 1;
    new Float: v[3], cur_speed_kmph;
    GetVehicleVelocity(vehicleid, v[0], v[1], v[2]);
    cur_speed_kmph = floatround(200.0 * floatsqroot( v[0]*v[0] + v[1]*v[1] + v[2]*v[2]), floatround_floor);
    if(cur_speed_kmph <= 0)
    {
        new Float: zAngle;
        GetVehicleZAngle(vehicleid, zAngle);
        new Float: newVelX = floatcos((zAngle -= 270.0), degrees ) * speed_kmph / 200.0;
        SetVehicleVelocity(vehicleid, newVelX, floattan(zAngle,degrees) * newVelX, 0.0);
        return;
    }
    new Float: vMultiplier = float(speed_kmph) / float(cur_speed_kmph);
    SetVehicleVelocity(vehicleid, v[0] * vMultiplier, v[1] * vMultiplier, v[2] * vMultiplier);
}

 

Поделиться сообщением


Ссылка на сообщение
  • 0
Sleash
Завсегдатый

@ayepocike Зачем вы изменяли сток?

Вместо того, что вы мне скинули выше, поставьте вот это:

forward speed_timer(playerid);
new max_speeds[] = {
    {411, 240}, // ??????? ????????????? ???????????? ???????? ????????? ? 240 ??.?????????? ? ??.???????
    {522, 210}//, // ?????? ???? ????? ??? NRG-500
}
SetVehicleSpeed(vehicleid, speed_kmph)
{
    if(speed_kmph < 1) speed_kmph = 1;
    new Float: v[3], cur_speed_kmph;
    GetVehicleVelocity(vehicleid, v[0], v[1], v[2]);
    cur_speed_kmph = floatround(200.0 * floatsqroot( v[0]*v[0] + v[1]*v[1] + v[2]*v[2]), floatround_floor);
    if(cur_speed_kmph <= 0)
    {
        new Float: zAngle;
        GetVehicleZAngle(vehicleid, zAngle);
        new Float: newVelX = floatcos((zAngle -= 270.0), degrees ) * speed_kmph / 200.0;
        SetVehicleVelocity(vehicleid, newVelX, floattan(zAngle,degrees) * newVelX, 0.0);
        return;
    }
    new Float: vMultiplier = float(speed_kmph) / float(cur_speed_kmph);
    SetVehicleVelocity(vehicleid, v[0] * vMultiplier, v[1] * vMultiplier, v[2] * vMultiplier);
}
public speed_timer(playerid)
{
    if(!IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return false; // ???????? ?? ??, ????? ?? ????? ?? ?????
    new veh_id = GetPlayerVehicleID(playerid); // ???????? ID ????, ? ??????? ????????? ?????
    for(new i = 1; sizeof(max_speeds); i++) // ?????????? ??? ???????? ?? ???????, ??? ?? ??????, ????? ?? ????? ? ?????? ?? ??????
    {
        if(max_speeds[i][1] != GetVehicleModel(veh_id)) continue; // ???? ?????? ?? ??????? ? ?????? ????, ??? ????? ????? ?? ?????????, ?? ??????????
        new now_speed = GetVehicleSpeed(veh_id); // ???????? ???????? ?????? ?? ?????? ??????
        new Float:mltupline = 1.3; // ????????, ? ??????? ????? ??????????? ???????? ??????????
        if(now_speed*mltupline >= max_speeds[i][2]) return false; // ????????, ?? ??, ???????? ?? ?? ?????? ???????????? ???????? ??? ???
        SetVehicleSpeed(veh_id, now_speed*mltupline); // ????????????? ????? ???????? ??????????
        break;
    }
    return true;
}

 

Поделиться сообщением


Ссылка на сообщение
  • 0
ayepocike
Новичок

@Oleg Sleash Извините, а куда вставлять?

 

Вот кинул сюда

stock SetVehicleSpeed(vehicleid,mph)
{
  forward speed_timer(playerid);
    new max_speeds[] = {
    {411, 240}, // ??????? ????????????? ???????????? ???????? ????????? ? 240 ??.?????????? ? ??.???????
    {522, 210}//, // ?????? ???? ????? ??? NRG-500
    // ? ??? ????? ?? ????? ????????, ????? ????? ?????? ?? ??????? ????? ?? ???????? ?????
};

// ??? ???????
public speed_timer(playerid)
{
    if(!IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return false; // ???????? ?? ??, ????? ?? ????? ?? ?????
    new veh_id = GetPlayerVehicleID(playerid); // ???????? ID ????, ? ??????? ????????? ?????
    for(new i = 1; sizeof(max_speeds); i++) // ?????????? ??? ???????? ?? ???????, ??? ?? ??????, ????? ?? ????? ? ?????? ?? ??????
    {
        if(max_speeds[i][1] != GetVehicleModel(veh_id)) continue; // ???? ?????? ?? ??????? ? ?????? ????, ??? ????? ????? ?? ?????????, ?? ??????????
        new now_speed = GetVehicleSpeed(veh_id); // ???????? ???????? ?????? ?? ?????? ??????
        new Float:mltupline = 1.3; // ????????, ? ??????? ????? ??????????? ???????? ??????????
        if(now_speed*mltupline >= max_speeds[i][2]) return false; // ????????, ?? ??, ???????? ?? ?? ?????? ???????????? ???????? ??? ???
        SetVehicleSpeed(veh_id, now_speed*mltupline); // ????????????? ????? ???????? ??????????
        break;
    }
    return true;
}
  new Float:Vx, Float:Vy, Float:Vz ,Float:speeds, Float:multiple;
  GetVehicleVelocity(vehicleid,Vx,Vy,Vz);
  speeds = floatsqroot(Vx*Vx + Vy*Vy + Vz*Vz);
  if(speeds > 0)
  {
    multiple = (mph / (speeds * 250));
    return SetVehicleVelocity(vehicleid, Vx*multiple, Vy*multiple, Vz*multiple);
  }
  return 0;
}

И почти те же самые ошибки

 

 

Цитата

 

C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(4056) : error 008: must be a constant expression; assumed zero
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(4057 -- 4059) : error 008: must be a constant expression; assumed zero
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(4066) : warning 206: redundant test: constant expression is non-zero
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(4068) : error 001: expected token: ")", but found "["
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(4068) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(4068) : warning 215: expression has no effect
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(4068) : error 001: expected token: ";", but found "]"
C:\Users\Admin\Desktop\NEWTECH\gamemodes\nrp.pwn(4068) : fatal error 107: too many error messages on one line

Попробовал в обычный форвадр кинуть и вот ошибки

Поделиться сообщением


Ссылка на сообщение
  • 0
ayepocike
Новичок

Я поставил это код во все форварды 


  forward speed_timer(playerid);
    new max_speeds[] = {
    {411, 240}, // ??????? ????????????? ???????????? ???????? ????????? ? 240 ??.?????????? ? ??.???????
    {522, 210}//, // ?????? ???? ????? ??? NRG-500
    // ? ??? ????? ?? ????? ????????, ????? ????? ?????? ?? ??????? ????? ?? ???????? ?????
};

// ??? ???????
public speed_timer(playerid)
{
    if(!IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return false; // ???????? ?? ??, ????? ?? ????? ?? ?????
    new veh_id = GetPlayerVehicleID(playerid); // ???????? ID ????, ? ??????? ????????? ?????
    for(new i = 1; sizeof(max_speeds); i++) // ?????????? ??? ???????? ?? ???????, ??? ?? ??????, ????? ?? ????? ? ?????? ?? ??????
    {
        if(max_speeds[i][1] != GetVehicleModel(veh_id)) continue; // ???? ?????? ?? ??????? ? ?????? ????, ??? ????? ????? ?? ?????????, ?? ??????????
        new now_speed = GetVehicleSpeed(veh_id); // ???????? ???????? ?????? ?? ?????? ??????
        new Float:mltupline = 1.3; // ????????, ? ??????? ????? ??????????? ???????? ??????????
        if(now_speed*mltupline >= max_speeds[i][2]) return false; // ????????, ?? ??, ???????? ?? ?? ?????? ???????????? ???????? ??? ???
        SetVehicleSpeed(veh_id, now_speed*mltupline); // ????????????? ????? ???????? ??????????
        break;
    }
    return true;
}

 

Поделиться сообщением


Ссылка на сообщение
Гость
Эта тема закрыта для публикации ответов.
  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

  • Похожий контент

    • patrickk
      От patrickk
      Всем привет, решил написать dm сервер и довольно хорошим получился, даже на голову выше Goat dm. Оставил не решенную проблему тем что  у меня есть 4 локации с rp run и cj run ну а как добавить cj бег на те локации не знаю и как эта система работает. Надеюсь мне помогут знающие люди
    • Samolet
      От 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. Помогите пожалуйста