Jump to content

Error while compiling with HNPC remod.org

Closed 2.10.2

Hello, I wanted to know if a fix is possible.
I bought amazeingpro.
works with HNPC with the requirement to replace  "TryToMove ();" to "try {TryToMove ();} catch {}"
With HNPC remod.org the console  show error: Error while compiling: aMAZEingPro.cs(3507,49): error CS1501: No overload for method CreateNPC' takes 5' arguments
With HNPC umod replacement works fine without errors.
I wouldn't like to lose  HNPC GUI only work HNPC remod.org, can you please fix it?

Share this comment


Link to comment
21 hours ago, hiromodfaker said:

Hello, I wanted to know if a fix is possible.
I bought amazeingpro.
works with HNPC with the requirement to replace  "TryToMove ();" to "try {TryToMove ();} catch {}"
With HNPC remod.org the console  show error: Error while compiling: aMAZEingPro.cs(3507,49): error CS1501: No overload for method CreateNPC' takes 5' arguments
With HNPC umod replacement works fine without errors.
I wouldn't like to lose  HNPC GUI only work HNPC remod.org, can you please fix it?

I'll look into integrating them both, if possible.

Share this comment


Link to comment

FIX HNPC remod thx @RFC1920

change line 2933 to:
public HumanPlayer CreateNPC(Vector3 position, Quaternion currentRot, string name = "NPC", ulong clone = 0, bool saved = true)

Share this comment


Link to comment
294.2k

Downloads

Total number of downloads.

1.4k

Customers

Total customers served.

18.2k

Files Sold

Total number of files sold.

283.5k

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.