Jump to content

chrisfps

Member
  • Posts

    9
  • Joined

  • Last visited

Support Replies posted by chrisfps

  1. I'm obtaining the following error:

    Connection to  established
     

    Connection to  established
    Traceback (most recent call last):
      File "/home/container/.local/lib/python3.10/site-packages/discord/http.py", line 816, in static_login
        data = await self.request(Route('GET', '/users/@me'))
      File "/home/container/.local/lib/python3.10/site-packages/discord/http.py", line 758, in request
        raise HTTPException(response, data)
    discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):
      File "/home/container/main.py", line 65, in <module>
        asyncio.run(setup_all_bots())
      File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
        return loop.run_until_complete(main)
      File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
        return future.result()
      File "/home/container/main.py", line 62, in setup_all_bots
        await asyncio.gather(*tasks)
      File "/home/container/main.py", line 41, in run_global_bot
        await bot.start(token)
      File "/home/container/.local/lib/python3.10/site-packages/discord/client.py", line 786, in start
        await self.login(token)
      File "/home/container/.local/lib/python3.10/site-packages/discord/client.py", line 620, in login
        data = await self.http.static_login(token)
      File "/home/container/.local/lib/python3.10/site-packages/discord/http.py", line 820, in static_login
        raise LoginFailure('Improper token has been passed.') from exc
    discord.errors.LoginFailure: Improper token has been passed.
    Unclosed client session
    client_session: <aiohttp.client.ClientSession object at 0x7f1dc14e7fa0>
    Unclosed connector
    connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f1dc14df5e0>, 19545493.886016846)]']
    connector: <aiohttp.connector.TCPConnector object at 0x7f1dc14e61a0>
    Unclosed client session
    client_session: <aiohttp.client.ClientSession object at 0x7f1dc14e6830>
    Unclosed client session
    client_session: <aiohttp.client.ClientSession object at 0x7f1dc14e6fb0>

     

  2. I have adjusted to 12. Just awaiting for barges to spawn.

    Do i have to customise the "Position": "(100, 0, 145)", to reflect the habour locations and ferry terminal on map? 

  3. Hi,

    I don't see any errors being prompted, but barges aren't auto-spawning. Below is in my config. I have ensured the data folder items have been added to my oxide server. Any solutions, rather than spawning using admin commands? I have customised the locations for my harbour and ferry terminal using client.printpos command in f1. 

     

    {
      "Version": {
        "Major": 1,
        "Minor": 1,
        "Patch": 4
      },
      "Chat Prefix": "[Barges]",
      "Spawn Config": {
        "Turn on the spawn of barges on the map? [true/false]": true,
        "Maximum number of automatically spawned barges": 6,
        "Minimum time between the spawning of barges": 3600,
        "Maximum time between the spawning of barges": 43200,
        "Barge Preset - probability": {
          "rect_10x5": 5.0,
          "round_3": 5.0,
          "rect_5x5": 10.0,
          "rect_6x3": 10.0,
          "rect_3x3": 20.0,
          "rect_3x2": 20.0,
          "round_2": 20.0
        },
        "List of monuments for spawn": [
          {
            "The name of the monument": "assets/bundled/prefabs/autospawn/monument/harbor/harbor_1.prefab",
            "Turn on spawn on this monument? [true/false]": true,
            "Spawn Locations": [
              {
                "Position": "(-1642.55, -0.00,845.36)",
                "Rotation": "(0, 0, 0)"
              }
            ]
          },
          {
            "The name of the monument": "assets/bundled/prefabs/autospawn/monument/harbor/ferry_terminal_1.prefab",
            "Turn on spawn on this monument? [true/false]": true,
            "Spawn Locations": [
              {
                "Position": "(1651.16,0.00,234.67)",
                "Rotation": "(0, 0, 0)"
              }
            ]
          }
        ]
      },
      "Performance Config": {
        "Automatically apply the most optimized skins to buildings (It is not recommended to change!) [true/false]": true,
        "Allow grade building in Wood [true/false]": true,
        "Allow grade building in Metal [true/false]": true,
        "Allow grade building in Stone (It is not recommended to change it!) [true/false]": false,
        "Allow grade building in HQM (It is not recommended to change it!) [true/false]": false,
        "The number of building blocks updated per tick (It is not recommended to increase!)": 15,
        "Do not anchor the barge automatically if it is connected to another barge or tugboat (disable if there are a large number of barges on the server)": true,
        "The time after which the barge is automatically anchored after stopping [sec]": 300
      },
      "General Setting": {
        "The distance outside the grid on the map that a barge can travel (-1 is not limited)": 600.0,
        "Prohibit barges from approaching fishing villages [true/false]": true,
        "Items whose installation is prohibited on the barge": [
          "samsite"
        ],
        "Commands that are prohibited on the barge": [
          "home add",
          "sethome"
        ]
      },
      "Presets of towed barges": [
        {
          "Preset name": "rect_10x5",
          "Data file path": "rect_10x5",
          "The maximum number of floors (-1 is not limited)": 3,
          "Weight": 17000,
          "Engine (Cab must be installed)": {
            "Engine Power Multiplier": 1.0,
            "Fuel consumption multiplier": 1.5,
            "Turning speed Multiplier": 1.0
          },
          "Modules": [
            {
              "Turn it on? [true/false]": true,
              "Preset name": "ramp_1",
              "Position": "(0, 0, 15.7)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "cabine_1",
              "Position": "(-5.326, 0, 15.93)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "connector_1",
              "Position": "(0, 0, -15.93)",
              "Rotation": "(0, 180, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "anchor_1",
              "Position": "(-8.225, 1, 17)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(-8.1, 0, 7)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(8.1, 0, 7)",
              "Rotation": "(0, 180, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(-8.1, 0, -7)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(8.1, 0, -7)",
              "Rotation": "(0, 180, 0)"
            }
          ],
          "A flare for calling a barge": {
            "ShortName": "flare",
            "SkinID (0 - default)": 3358067991,
            "Name (empty - default)": "Barge"
          }
        },
        {
          "Preset name": "rect_5x5",
          "Data file path": "rect_5x5",
          "The maximum number of floors (-1 is not limited)": 4,
          "Weight": 9000,
          "Engine (Cab must be installed)": {
            "Engine Power Multiplier": 1.0,
            "Fuel consumption multiplier": 1.0,
            "Turning speed Multiplier": 1.0
          },
          "Modules": [
            {
              "Turn it on? [true/false]": true,
              "Preset name": "connector_1",
              "Position": "(0, 0, 8.75)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "anchor_1",
              "Position": "(-8.225, 1, 8.225)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(-8.1, 0, 0)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(8.1, 0, 0)",
              "Rotation": "(0, 180, 0)"
            }
          ],
          "A flare for calling a barge": {
            "ShortName": "flare",
            "SkinID (0 - default)": 3358067724,
            "Name (empty - default)": "Barge"
          }
        },
        {
          "Preset name": "rect_6x3",
          "Data file path": "rect_6x3",
          "The maximum number of floors (-1 is not limited)": 4,
          "Weight": 6000,
          "Engine (Cab must be installed)": {
            "Engine Power Multiplier": 1.0,
            "Fuel consumption multiplier": 1.0,
            "Turning speed Multiplier": 1.0
          },
          "Modules": [
            {
              "Turn it on? [true/false]": true,
              "Preset name": "cabine_1",
              "Position": "(-3, 0, 10.12)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "ramp_1",
              "Position": "(0, 0, -9.5)",
              "Rotation": "(0, 180, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "anchor_1",
              "Position": "(-5.35, 1, 9.8)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(5.1, 0, 0)",
              "Rotation": "(0, 180, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(-5.1, 0, 0)",
              "Rotation": "(0, 0, 0)"
            }
          ],
          "A flare for calling a barge": {
            "ShortName": "flare",
            "SkinID (0 - default)": 3358067847,
            "Name (empty - default)": "Barge"
          }
        },
        {
          "Preset name": "rect_3x3",
          "Data file path": "rect_3x3",
          "The maximum number of floors (-1 is not limited)": 4,
          "Weight": 3000,
          "Engine (Cab must be installed)": {
            "Engine Power Multiplier": 1.0,
            "Fuel consumption multiplier": 1.0,
            "Turning speed Multiplier": 1.0
          },
          "Modules": [
            {
              "Turn it on? [true/false]": true,
              "Preset name": "connector_1",
              "Position": "(0, 0, 5.55)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "anchor_1",
              "Position": "(-5.35, 1, 5.3)",
              "Rotation": "(0, 0, 0)"
            }
          ],
          "A flare for calling a barge": {
            "ShortName": "flare",
            "SkinID (0 - default)": 3358064514,
            "Name (empty - default)": "Barge"
          }
        },
        {
          "Preset name": "rect_3x2",
          "Data file path": "rect_3x2",
          "The maximum number of floors (-1 is not limited)": 3,
          "Weight": 2000,
          "Engine (Cab must be installed)": {
            "Engine Power Multiplier": 1.0,
            "Fuel consumption multiplier": 0.5,
            "Turning speed Multiplier": 1.0
          },
          "Modules": [
            {
              "Turn it on? [true/false]": true,
              "Preset name": "cabine_1",
              "Position": "(0, 0, 5.2)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "anchor_1",
              "Position": "(-3.5, 1, 5.3)",
              "Rotation": "(0, 0, 0)"
            }
          ],
          "A flare for calling a barge": {
            "ShortName": "flare",
            "SkinID (0 - default)": 3358106980,
            "Name (empty - default)": "Barge"
          }
        },
        {
          "Preset name": "round_2",
          "Data file path": "round_2",
          "The maximum number of floors (-1 is not limited)": 5,
          "Weight": 7000,
          "Engine (Cab must be installed)": {
            "Engine Power Multiplier": 1.0,
            "Fuel consumption multiplier": 1.0,
            "Turning speed Multiplier": 1.0
          },
          "Modules": [
            {
              "Turn it on? [true/false]": true,
              "Preset name": "connector_1",
              "Position": "(0, 0, 6.2)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "anchor_1",
              "Position": "(-3.6, 1, 6)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(-5.105, 0, 2.924)",
              "Rotation": "(0, 30, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(5.105, 0, 2.924)",
              "Rotation": "(0, 150, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(5.105, 0, -2.924)",
              "Rotation": "(0, 210, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(-5.105, 0, -2.924)",
              "Rotation": "(0, 330, 0)"
            }
          ],
          "A flare for calling a barge": {
            "ShortName": "flare",
            "SkinID (0 - default)": 3358068089,
            "Name (empty - default)": "Barge"
          }
        },
        {
          "Preset name": "round_3",
          "Data file path": "round_3",
          "The maximum number of floors (-1 is not limited)": 6,
          "Weight": 12000,
          "Engine (Cab must be installed)": {
            "Engine Power Multiplier": 1.0,
            "Fuel consumption multiplier": 1.0,
            "Turning speed Multiplier": 1.0
          },
          "Modules": [
            {
              "Turn it on? [true/false]": true,
              "Preset name": "connector_1",
              "Position": "(0, 0, 9)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "anchor_1",
              "Position": "(-4.5, 1, 8.5)",
              "Rotation": "(0, 0, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(-7.444, 0, -4.106)",
              "Rotation": "(0, 330, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(-7.315, 0, 4.248)",
              "Rotation": "(0, 30, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(7.376, 0, 4.186)",
              "Rotation": "(0, 150, 0)"
            },
            {
              "Turn it on? [true/false]": true,
              "Preset name": "dock_1",
              "Position": "(7.32, 0, -4.25)",
              "Rotation": "(0, 210, 0)"
            }
          ],
          "A flare for calling a barge": {
            "ShortName": "flare",
            "SkinID (0 - default)": 3358068268,
            "Name (empty - default)": "Barge"
          }
        }
      ],
      "Notification Settings": {
        "Chat Message setting": {
          "Use chat notifications? [true/false]": true
        },
        "Facepunch Game Tips setting": {
          "Use Facepunch Game Tips (notification bar above hotbar)? [true/false]": true,
          "Style (0 - Blue Normal, 1 - Red Normal, 2 - Blue Long, 3 - Blue Short, 4 - Server Event)": 1
        },
        "GUI Announcements setting (only for GUIAnnouncements plugin)": {
          "Do you use GUI Announcements integration? [true/false]": false,
          "Banner color": "Grey",
          "Text color": "White",
          "Adjust Vertical Position": 0.03
        },
        "Notify setting (only for Notify plugin)": {
          "Do you use Notify integration? [true/false]": false,
          "Type": 0
        },
        "Discord setting (only for DiscordMessages plugin)": {
          "Do you use DiscordMessages? [true/false]": false,
          "Webhook URL"",
          "Embed Color (DECIMAL)": 13516583,
          "Keys of required messages": []
        },
        "Redefined messages": [
          {
            "Enable this message? [true/false]": true,
            "Lang Key": "GotBarge",
            "Chat Message setting": {
              "Use chat notifications? [true/false]": false
            },
            "Facepunch Game Tips setting": {
              "Use Facepunch Game Tips (notification bar above hotbar)? [true/false]": true,
              "Style (0 - Blue Normal, 1 - Red Normal, 2 - Blue Long, 3 - Blue Short, 4 - Server Event)": 2
            },
            "GUI Announcements setting (only for GUIAnnouncements plugin)": {
              "Do you use GUI Announcements integration? [true/false]": false,
              "Banner color": "Grey",
              "Text color": "White",
              "Adjust Vertical Position": 0.03
            },
            "Notify setting (only for Notify plugin)": {
              "Do you use Notify integration? [true/false]": false,
              "Type": 0
            }
          }
        ]
      },
      "Map marker for unoccupied barges": {
        "Use a vending marker? [true/false]": true,
        "Use a circular marker? [true/false]": true,
        "The marker will only appear on barges that were spawned automatically? [true/false]": true,
        "Display Name": "Unoccupied Barge",
        "Radius": 0.2,
        "Alpha": 0.6,
        "Marker color": {
          "r": 0.2,
          "g": 0.8,
          "b": 0.1
        },
        "Outline color": {
          "r": 0.0,
          "g": 0.0,
          "b": 0.0
        }
      }
    }

     

1.8m

Downloads

Total number of downloads.

8.2k

Customers

Total customers served.

124.2k

Files Sold

Total number of files sold.

2.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.