Loading...
0 files liked
2 comments
0 videos
0 uploads
0 followers
  • Default

    @filipgeven probably it worked for me. I noticed that the comments on ScriptHookVDotNet v3.0.2 indicate errors of the new version, so I decided to download an earlier version of ScriptHookVDotNet v2.10.10.

    This version has a different composition of files, so you need to delete everything related to v3.0.2, and add everything that relates to version v2.10.10. I tested a couple of bus routes and there were no errors. Other versions of ScriptHookVDotNet have not tried it yet.

    Russian:
    Кажется я определил причину падения аддона. Заметил, что в комментариях к ScriptHookVDotNet v3.0.2 указывают на ошибки новой версии, поэтому я решил скачать более раннюю версию ScriptHookVDotNet v2.10.10.

    В этой версии другой состав файлов, поэтому нужно удалить все что относилось к v3.0.2, и добавить все что относится к версии v2.10.10. Я протестировал пару автобусных маршрутов и ошибок не возникало. Другие версии ScriptHookVDotNet не пробовал еще.

    October 20, 2019
  • Default

    @filipgeven Same problem. It crashes either at the start of the route, or when approaching a bus stop.
    Message in Left Corner:
    Unhandled exeption in script "BusSimulatorV.BusSim"! InvalidCastExeption in Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)

    - I reinstalled the game
    - ScriptHookV_1.0.1737.6
    - Community Script Hook V .NET 3.0.2

    in file ScriptHookVDotNet.log (russian):
    [22:37:25] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
    [22:37:25] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
    [22:37:25] [DEBUG] Loading scripts from M:\Games\Grand Theft Auto V\scripts ...
    [22:37:25] [DEBUG] Loading assembly BusSimulatorV.dll ...
    [22:37:25] [INFO] Found 2 script(s) in BusSimulatorV.dll resolved to API 2.10.12.
    [22:37:25] [DEBUG] Loading assembly INMNativeUI.dll ...
    [22:37:25] [INFO] Found 1 script(s) in INMNativeUI.dll resolved to API 2.10.12.
    [22:37:25] [DEBUG] Loading assembly RouteCreator.dll ...
    [22:37:25] [INFO] Found 1 script(s) in RouteCreator.dll resolved to API 2.10.12.
    [22:37:25] [DEBUG] Instantiating script BusSimulatorV.BusSim ...
    [22:37:27] [INFO] Started script BusSimulatorV.BusSim.
    [22:37:27] [DEBUG] Instantiating script BusSimulatorV.BusSimTimer ...
    [22:37:27] [INFO] Started script BusSimulatorV.BusSimTimer.
    [22:37:27] [DEBUG] Instantiating script INMNativeUI.BigMessageThread ...
    [22:37:27] [INFO] Started script INMNativeUI.BigMessageThread.
    [22:37:27] [DEBUG] Instantiating script RouteCreator.Creator ...
    [22:37:27] [INFO] Started script RouteCreator.Creator.
    [22:39:01] [ERROR] Caught fatal unhandled exception:
    System.InvalidCastException: Приведение строки "-" к типу "Integer" является недопустимым. ---> System.FormatException: Входная строка имела неверный формат.
    в Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
    в Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
    --- Конец трассировки внутреннего стека исключений ---
    в Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
    в BusSimulatorV.Helper.GenerateDirectionsToCoord(Vector3 pos) в E:\Users\Bartholomew\Documents\GitHub\BusSimulatorV\BusSimulatorV\BusSimulatorV\Helper.vb:строка 288
    в BusSimulatorV.BusSim.BusSim_Tick(Object sender, EventArgs e) в E:\Users\Bartholomew\Documents\GitHub\BusSimulatorV\BusSimulatorV\BusSimulatorV\BusSim.vb:строка 533
    в SHVDN.Script.MainLoop()
    [22:39:01] [ERROR] The exception was thrown while executing the script BusSimulatorV.BusSim.
    [22:39:01] [WARNING] Aborted script BusSimulatorV.BusSim.

    Expand to read the full comment
    October 20, 2019