Jump to content

BattlePass – BetterNpc Compatibility Issue (Custom NPC Kills Not Counting)

Not a Bug 4.2.2

FistGames
FistGames

Posted

Hi!

First of all, thanks for your plugin!

I wanted to ask if BattlePass is fully compatible with BetterNpc.

I've created several daily quests that require players to kill custom scientists with different display names, but the kills don't seem to count towards quest progress.

I've also configured XP rewards for killing specific NPCs by their display names, but those XP rewards aren't being awarded either.

The NPC names and killers are correctly detected, so I'm wondering if there's a compatibility issue with BetterNpc.

Could you please confirm whether BetterNpc is supported?

Thanks in advance!

crash

Posted

Hey, yes, BetterNpc NPCs should count: BattlePass matches them by their display name. Can you send me one of those daily challenges from Challenges.json, your Named NPC Kill XP (by display name) section, the exact NPC name from your BetterNpc config, and whether you're on Oxide or Carbon?

FistGames

Posted

Hi!

I've checked my configurations, and the NPC name is exactly the same everywhere.

Here are my settings:

BetterNpc (Momie.json):

Prefab: assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab

Names: Un zombie

Challenges.json:

Description: Tuer 10 zombies

Type: KillNamedNpc

Target: Un zombie

Total Amount: 10

BattlePass configuration:

Named NPC Kill XP (by display name): Un zombie: 5

I'm using Oxide.

As you can see, the names match exactly, but killing these BetterNpc zombies doesn't increase the daily challenge progress.

Could there be an issue with how BattlePass detects BetterNpc NPC kills?

Thanks for your help!

image.png.11a2dd4b7949fe00c233e79da0759c70.pngimage.png.74f4fc7f1bb0b699fad683228a1e4c17.pngimage.png.882453146d9b38bba1a8cb73243698c8.png

FistGames

Posted

Just to clarify, I'm not receiving any BattlePass XP at all when killing these BetterNpc zombies.

The daily challenge doesn't progress either, and I don't receive the 5 XP configured in "Named NPC Kill XP (by display name)".

Since the NPC name matches exactly in all three configurations, I suspect BattlePass might not be detecting BetterNpc kills correctly.

Could you please check whether the kill detection also supports BetterNpc NPCs using the scientistnpc_heavy prefab?

Thanks again for your help!

crash

Posted

Hey, I tested it with the latest NpcSpawn (3.5.0): a scientistnpc_heavy named "Un zombie" gives the scientist XP plus the 5 named XP, so BattlePass does detect BetterNpc kills. Something else on your server must be stopping it. Can you check these for me?

1. Does killing a normal scientist (at a monument) give you BattlePass XP?
2. In your BattlePass config, what is "Leveling Mode (XP, Playtime, Both)" set to? On "Playtime" no kill gives XP.
3. Your oxide log right after BattlePass loads: any line with "Harmony patch failed" or a BattlePass error?
4. Your plugin list (o.plugins). I'm looking for anything that handles NPC deaths or corpses.

Also, the daily challenge only moves while it's one of your current dailies in the panel.

FistGames

Posted

Hi!

Good news! I've finally found out why I wasn't receiving any BattlePass XP! 😁

The issue was simply the BattlePass end date in my configuration. It was set to November 4th, 2026, so the season had already expired.

I changed the date to a future one, reloaded the plugin, and now everything works perfectly!

I'm receiving XP for killing animals and BetterNpc zombies, and the daily challenges are progressing correctly.

Sorry for the confusion, and thank you so much for taking the time to test everything and help me figure this out!

Really appreciate your support and your great work! 
image.png.aa7bad0df1c37845e856fcbb77e15db7.png

crash

Posted

Glad it's sorted, thanks for letting me know. The next BattlePass update also prints a console warning when the season end date has passed, so this can't go unnoticed again.

  • Like 1

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
176.2k
Total sales
Payments
3.9m
Processed total
×
×
  • 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.