CH47s won't despawn.

Hello, I got many ch47s stuck in air and not despawning since last month. They don't despawn even when i use ent kill command. Please help.

When i try to kill ch47 with ent kill, console says Calling Kill - but already IsDestroyed!? ch47scientists.entity[996745]

Can you noclip and reach them?  Are you running a vehicles plugin, like Vehicle License? Are these copies from Edit Tool?

Do not ent kill then no more they will remain glitched If you do not kill all the npc in there first.

Hello, sounds like we maybe having the same problem.

We are having an issue where the CH47 is either getting stuck mid map, or gets stuck out to sea (No Scientists).
We are using a cusomised map, using Rustedit.
We are also using the Vehicle License plugin.

From what info I have managed to piece together, its related to the CH47 spawnign in, outside of the buildable part of the map.

Any chance anyone knows what is causing it, can help please?

sualHQziEqycUgz.jpg Castiel

Hello, sounds like we maybe having the same problem.

We are having an issue where the CH47 is either getting stuck mid map, or gets stuck out to sea (No Scientists).
We are using a cusomised map, using Rustedit.
We are also using the Vehicle License plugin.

From what info I have managed to piece together, its related to the CH47 spawnign in, outside of the buildable part of the map.

Any chance anyone knows what is causing it, can help please?

do you have any plugins that are spawning a ch47?

No we are not spawnign any CHR47 via plugins, just the default Chinook event.
The Behicle license playin has a CH47 vehicle, which we dont give to players.

Thanks Mate

I loaded your plugin, and followed the next CH47 that spawned.

The CH47 goes out to sea once it has dropped its locked crate.
Once out at sea, the scientists disapear as they have been up to now.
But the CH47 does not despawn.

Unfortunatly did not solve the problem.

l5ZWDElC4Rh4DNJ.jpg Castiel

Thanks Mate

I loaded your plugin, and followed the next CH47 that spawned.

The CH47 goes out to sea once it has dropped its locked crate.
Once out at sea, the scientists disapear as they have been up to now.
But the CH47 does not despawn.

Unfortunatly did not solve the problem.

Ya this will only solve it if ya use ent kill on it before it hits the border.

Dont supose its possible to identify once the crate is dropped, and then just remove the CH47?

Add to that file

private void OnHelicopterDropCrate(CH47HelicopterAIController heli)
{
     timer.Once(30f, () =>
     {
             heli.DelayedKill();
     });
}​

Hello Razor. I loaded the plugin into our test server.

Code
using Rust;

namespace Oxide.Plugins
{
[Info("ch47KillFix", "Razor", "1.0.0")]
[Description("Fix ch47 ent kill")]
public class ch47KillFix : RustPlugin
{
private void OnEntityKill(CH47HelicopterAIController ch47) => ch47.DismountAllPlayers();
}

private void OnHelicopterDropCrate(CH47HelicopterAIController heli)
{
timer.Once(30f, () =>
{
heli.DelayedKill();
});
}

And got the below error.
Failed compiling 'ch47KillFix.cs':
1. } expected [CS1513]
(ch47KillFix 2 line 18)
1. } expected [CS1513]
(ch47KillFix 2 line 18)
2. A namespace cannot directly contain members such as fields, methods or statements [CS0116]
(ch47KillFix 14 line 12)
2. A namespace cannot directly contain members such as fields, methods or statements [CS0116]
(ch47KillFix 14 line 12)
3. The name 'timer' does not exist in the current context [CS0103]
(ch47KillFix 6 line 14)
3. The name 'timer' does not exist in the current context [CS0103]
(ch47KillFix 6 line 14)

I can't get it to compile either

using Rust;

namespace Oxide.Plugins
{
    [Info("ch47KillFix", "Razor", "1.0.0")]
    [Description("Fix ch47 ent kill")]
    public class ch47KillFix : RustPlugin
    {
        private void OnEntityKill(CH47HelicopterAIController ch47) => ch47.DismountAllPlayers();
        private void OnHelicopterDropCrate(CH47HelicopterAIController heli)
        {
            timer.Once(30f, () =>
            {
                heli?.DelayedKill();
            });
        }
    }
}

this has been happening for a while now. did we ever get to the bottom why this is happening?