Jump to content

Issue I found with this

No Response 1.0.0

I love the idea this plugin presents but once I installed it I found a slight issue with it. The cannons are all mounted, but when you click to use one you get multiple cannons in that spot. Once used or moved you can click another one to use it.

20230815062136_1.jpg

Share this comment


Link to comment

I haven't touched the config file, it is the same as it was when the mod loaded. But here it is anyway.

{
  "Toggle Tugboat Cannon Spawning(When enabled, all tugboat will have canons when spawned; when disabled, only players  with permission 'use' can access this feature.)": true,
  "Permission to use tugboat canons": "TugboatWarfare.use",
  "Ammo Types": [
    {
      "Short Name": "ammo.rocket.basic",
      "Ammo Prefab": "assets/prefabs/ammo/rocket/rocket_basic.prefab",
      "Initialize velocity": 15.0,
      "Enable": true,
      "Reload Time": 3.0
    },
    {
      "Short Name": "ammo.rocket.fire",
      "Ammo Prefab": "assets/prefabs/ammo/rocket/rocket_fire.prefab",
      "Initialize velocity": 15.0,
      "Enable": true,
      "Reload Time": 3.0
    },
    {
      "Short Name": "ammo.rocket.hv",
      "Ammo Prefab": "assets/prefabs/ammo/rocket/rocket_hv.prefab",
      "Initialize velocity": 15.0,
      "Enable": true,
      "Reload Time": 3.0
    },
    {
      "Short Name": "ammo.rocket.mlrs",
      "Ammo Prefab": "assets/content/vehicles/mlrs/rocket_mlrs.prefab",
      "Initialize velocity": 50.0,
      "Enable": true,
      "Reload Time": 3.0
    },
    {
      "Short Name": "ammo.rocket.sam",
      "Ammo Prefab": "assets/prefabs/npc/sam_site_turret/sam_ammo.prefab",
      "Initialize velocity": 15.0,
      "Enable": true,
      "Reload Time": 3.0
    },
    {
      "Short Name": "ammo.grenadelauncher.he",
      "Ammo Prefab": "assets/prefabs/ammo/40mmgrenade/40mm_grenade_he.prefab",
      "Initialize velocity": 15.0,
      "Enable": true,
      "Reload Time": 3.0
    },
    {
      "Short Name": "ammo.grenadelauncher.smoke",
      "Ammo Prefab": "assets/prefabs/ammo/40mmgrenade/40mm_grenade_smoke.prefab",
      "Initialize velocity": 15.0,
      "Enable": true,
      "Reload Time": 3.0
    }
  ],
  "Maximum shots before overheating": 3,
  "Overheat cooldown": 5.0,
  "Canons Positions": [
    {
      "Canon Positions": {
        "x": 0.0,
        "y": 3.0,
        "z": 11.25
      },
      "Canon Rotation": {
        "x": 0.0,
        "y": 200.0,
        "z": 0.0
      },
      "Canon heading": 0
    },
    {
      "Canon Positions": {
        "x": 3.0,
        "y": 2.5,
        "z": -8.5
      },
      "Canon Rotation": {
        "x": 0.0,
        "y": -90.0,
        "z": 0.0
      },
      "Canon heading": 2
    },
    {
      "Canon Positions": {
        "x": -3.0,
        "y": 2.5,
        "z": -8.5
      },
      "Canon Rotation": {
        "x": 0.0,
        "y": -90.0,
        "z": 0.0
      },
      "Canon heading": 1
    }
  ]
}

 

Share this comment


Link to comment

Everything is working on my server.

remove the plugin and config file then reupload it if nothing changes give me your server ip to try.

Share this comment


Link to comment

I removed the plugin totally and did not re-install it. The cannons remain on the decks of the tugs and can still be used. I don't see any data file or other reason that this should happen.

Image2.jpg

Image3.jpg

Share this comment


Link to comment

Alright, it's conflicting with another mod/plugin. I removed all my mods/plugins off my local server that I use for testing and re-installed this plugin there. No issues at all. I'll reinstall the other mods/plugins one at a time and retest to let you know which mod/plugin is conflicting with it.

Share this comment


Link to comment

I can't get it to duplicate on my local test server. If works on it without issue even with all the plugins installed on the local test server. But on my live server, it fails and when I use the ent kill command there are four total cannons at each spot the cannon is located. Let me know if you want my server IP addy.

Share this comment


Link to comment

It fails because it isn't working as intended: you get multiple cannons that you can not use as previously stated. No compiler errors, no errors at all that I've found. You simply have four cannons at each location that you can not fire.

Share this comment


Link to comment

Try unloading plugins one by one too find witch one is conflicting with Tugboat Warfare and can you give me list of all plugins installed on your server?

  • Like 1

Share this comment


Link to comment

Sorry, been working a lot the last couple days. I'm loading the plugins one at a time now. I'll give you a full plugin list in a bit.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.8k

Files Sold

Total number of files sold.

1.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.