Jump to content

Stopped working with the new facepunch update.

Closed 1.0.9 1.1.1

Kara Sax
Kara Sax

Posted

Error while compiling: StoreRobbery.cs(493,28): error CS0246: The type or namespace name `NPCPlayerApex' could not be found. Are you missing an assembly reference?

Flammable

Posted

Same problem... It was updated but still broken...

Atope89

Posted

same problem New in Version 1.1.0

DeutscherRitterPlatz

Posted (edited)

Possible solution:

Line 491

object OnNpcTarget(NPCPlayerApex npcPlayer, BasePlayer player)

to

 object OnNpcTarget(HumanNPC npcPlayer, BasePlayer player)

and

Line: 877

 HumanNPC npc = GameManager.server.CreateEntity("assets/prefabs/npc/scientist/scientist.prefab", pos) as HumanNPC;

to

HumanNPC npc = GameManager.server.CreateEntity("assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_junkpile_pistol.prefab", pos) as HumanNPC;

modify.

 

Ps: 

We thank you @Billy Joe for the great plugin.

We know how Facepunch is so something like that can happen, just fix the plugin when you have the time.

Edited by MeinRust
Lucius

Posted

1 hour ago, MeinRust said:

Possible solution:

Line 491

object OnNpcTarget(NPCPlayerApex npcPlayer, BasePlayer player)

to

 object OnNpcTarget(HumanNPC npcPlayer, BasePlayer player)

and

Line: 877

 HumanNPC npc = GameManager.server.CreateEntity("assets/prefabs/npc/scientist/scientist.prefab", pos) as HumanNPC;

to

HumanNPC npc = GameManager.server.CreateEntity("assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_junkpile_pistol.prefab", pos) as HumanNPC;

modify.

 

Ps: 

We thank you @Billy Joe for the great plugin.

We know how Facepunch is so something like that can happen, just fix the plugin when you have the time.

Like 877 doesnt even exist for me, like whatever you said is there, is not there.

Flammable

Posted

Will try to fix it myself MeinRust just curious how can fuck it up more and test to learn something but not sure if properly edited this will it works? Just update fucked a lot of plugins so hard...  Probably this Store Robbery will works with small hotfix cuz this is static NPC for decoration and do not shoot roam etc...

DeutscherRitterPlatz

Posted (edited)

I downloaded the latest version "1.1.0" to "LoneDesign" and made these changes there, and the plugin now works with us without any problems.
If not, just look for NPCPlayerApex or Apex

We are talking about the StoreRobbery.cs plugin and not about the config.

Edited by MeinRust
  • Administrator
Death

Posted

@Billy Joe when ever you get a moment 🙂

Billy Joe

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.5k

Files Sold

Total number of files sold.

2m

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.