Jump to content

BotReSpawn support (how to get botrespawn npcs to stop attacking the hostages?

Closed 1.0.7

Covfefe
Covfefe

Posted

i found a whole ton of my botrespawn bots trying to attack those hostages. i checked my botrespawn settings and i can't find anything to fix this

252490_20250918205907_1.png.ed5ab6454cc9f8c10d09655fb16cb145.png

aimacak

Posted

On 9/19/2025 at 5:21 AM, Covfefe said:

i found a whole ton of my botrespawn bots trying to attack those hostages. i checked my botrespawn settings and i can't find anything to fix this

Hello, try to make some changes to the FerryTerminalEvent.cs plugin itself (oxide/plugins), and tell me if this helped solve the problem?

add this code between '#endregion NTeleportation' and '#region Economy'
 

        #region BotReSpawn
        private object OnBotReSpawnNPCTarget(ScientistNPC npc, BasePlayer player)
        {
            if (Controller == null) return null;
            if (Controller.BrainAnimations.Any(x => x.Entity == player)) return true;
            if (Controller.Hostages.Contains(player)) return true;
            if (Controller.HostagesEvacuations.Any(x => x.Hostage == player)) return true;
            return null;
        }
        #endregion BotReSpawn

 

image.png

image.png

Covfefe

Posted

On 12/10/2025 at 10:15 AM, aimacak said:

Hello, try to make some changes to the FerryTerminalEvent.cs plugin itself (oxide/plugins), and tell me if this helped solve the problem?

add this code between '#endregion NTeleportation' and '#region Economy'
 

        #region BotReSpawn
        private object OnBotReSpawnNPCTarget(ScientistNPC npc, BasePlayer player)
        {
            if (Controller == null) return null;
            if (Controller.BrainAnimations.Any(x => x.Entity == player)) return true;
            if (Controller.Hostages.Contains(player)) return true;
            if (Controller.HostagesEvacuations.Any(x => x.Hostage == player)) return true;
            return null;
        }
        #endregion BotReSpawn

 

image.png

image.png

the other dev updated ferry terminal event to prevent this

aimacak

Posted

2 minutes ago, Covfefe said:

the other dev updated ferry terminal event to prevent this

has another developer fixed FerryTerminalEvent? It's great that it helped you, but this code was given to me by the author of FerryTerminalEvent, if it's not difficult for you, please check him too, if he fixes your problem with BotRespawn, then there will be an update on FerryTerminalEvent today, where this problem will be fixed for other users too. Thank you.

Covfefe

Posted

On 12/11/2025 at 5:06 PM, aimacak said:

has another developer fixed FerryTerminalEvent? It's great that it helped you, but this code was given to me by the author of FerryTerminalEvent, if it's not difficult for you, please check him too, if he fixes your problem with BotRespawn, then there will be an update on FerryTerminalEvent today, where this problem will be fixed for other users too. Thank you.

no it was the ferry terminal event dev that fixed this issue

sorry i thought this was the botrespawn plugin forum lol

  • Like 1
aimacak

Posted

40 minutes ago, Covfefe said:

no it was the ferry terminal event dev that fixed this issue

sorry i thought this was the botrespawn plugin forum lol

Sometimes, thank you for your reply 😉

aimacak

Posted

Thank you for contacting support, I'm glad if your problem is solved, if not, you can write here, even in a closed topic, or join the Mad Mappers Discord server, where you can also create a ticket and communicate in real time, which sometimes greatly speeds up problem solving. And I apologize if this message has caused you any discomfort, you can ignore it, thank you for your understanding.

KpucTaJl

Posted

Changed Status from Pending to Closed

2.2m

Downloads

Total number of downloads.

10.2k

Customers

Total customers served.

147.5k

Files Sold

Total number of files sold.

3.1m

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.