Jump to content

Likely OPR ERROR but I cannot figure out how to fix this

Pending 3.1.2

NavyChief
NavyChief

Posted

(08:55:12) | Loaded plugin UpdaterNpcSpawn v1.0.0 by KpucTaJl [20ms]

(08:55:12) | Failed to call internal hook 'OnServerInitialized' on plugin 'UpdaterNpcSpawn v1.0.0' [352240293] (Cannot create a file when that file already exists.)

at void System.IO.FileSystem.MoveDirectory(string sourceFullPath, string destFullPath)

at void System.IO.Directory.Move(string sourceDirName, string destDirName)

at void Oxide.Plugins.UpdaterNpcSpawn.ReadAndRenameConfigOldNpcSpawn() in /home/container/carbon/plugins/UpdaterNpcSpawn.cs:line 171

at void Oxide.Plugins.UpdaterNpcSpawn.OnServerInitialized() in /home/container/carbon/plugins/UpdaterNpcSpawn.cs:line 237

at object Oxide.Plugins.UpdaterNpcSpawn.InternalCallHook(uint hook, object[] args) in UpdaterNpcSpawn.cs/Internal:line 23

(08:55:35) | Unloaded plugin UpdateChecker v4.3.2 by tofurahie

(08:55:50) | Failed compiling 'NpcSpawn.cs':

(08:55:50) | 1. } expected [CS1513]

(NpcSpawn 32 line 6330)

(08:55:50) | 2. ; expected [CS1002]

(NpcSpawn 32 line 6330)

(08:55:50) | 3. #endregion directive expected [CS1038]

(NpcSpawn 3 line 6331)

(08:55:50) | 4. The type or namespace name 'NpcSpawnExtensionMethods' does not exist in the namespace 'Oxide.Plugins' (are you missing an assembly reference?) [CS0234]

(NpcSpawn 21 line 7)

(08:55:50) | 5. 'Dictionary<int, HashSet<string>>' does not contain a definition for 'Any' and no accessible extension method 'Any' accepting a first argument of type 'Dictionary<int, HashSet<string>>' could be found (are you missing a using directive or an assembly reference?) [CS1061]

(NpcSpawn 37 line 70)

(08:55:50) | 6. The name 'EntityManager' does not exist in the current context [CS0103]

(NpcSpawn 13 line 828)

(08:55:50) | 7. Use of unassigned local variable 'player' [CS0165]

(NpcSpawn 80 line 4471)

(08:55:50) | 8. 'string[]' does not contain a definition for 'Last' and the best extension method overload 'AnimationCurveEx.Last(AnimationCurve)' requires a receiver of type 'UnityEngine.AnimationCurve' [CS1929]

(NpcSpawn 35 line 4684)

aimacak

Posted

1 hour ago, NavyChief said:

(08:55:12) | Loaded plugin UpdaterNpcSpawn v1.0.0 by KpucTaJl [20ms]

(08:55:12) | Failed to call internal hook 'OnServerInitialized' on plugin 'UpdaterNpcSpawn v1.0.0' [352240293] (Cannot create a file when that file already exists.)

at void System.IO.FileSystem.MoveDirectory(string sourceFullPath, string destFullPath)

at void System.IO.Directory.Move(string sourceDirName, string destDirName)

at void Oxide.Plugins.UpdaterNpcSpawn.ReadAndRenameConfigOldNpcSpawn() in /home/container/carbon/plugins/UpdaterNpcSpawn.cs:line 171

at void Oxide.Plugins.UpdaterNpcSpawn.OnServerInitialized() in /home/container/carbon/plugins/UpdaterNpcSpawn.cs:line 237

at object Oxide.Plugins.UpdaterNpcSpawn.InternalCallHook(uint hook, object[] args) in UpdaterNpcSpawn.cs/Internal:line 23

(08:55:35) | Unloaded plugin UpdateChecker v4.3.2 by tofurahie

(08:55:50) | Failed compiling 'NpcSpawn.cs':

(08:55:50) | 1. } expected [CS1513]

(NpcSpawn 32 line 6330)

(08:55:50) | 2. ; expected [CS1002]

(NpcSpawn 32 line 6330)

(08:55:50) | 3. #endregion directive expected [CS1038]

(NpcSpawn 3 line 6331)

(08:55:50) | 4. The type or namespace name 'NpcSpawnExtensionMethods' does not exist in the namespace 'Oxide.Plugins' (are you missing an assembly reference?) [CS0234]

(NpcSpawn 21 line 7)

(08:55:50) | 5. 'Dictionary<int, HashSet<string>>' does not contain a definition for 'Any' and no accessible extension method 'Any' accepting a first argument of type 'Dictionary<int, HashSet<string>>' could be found (are you missing a using directive or an assembly reference?) [CS1061]

(NpcSpawn 37 line 70)

(08:55:50) | 6. The name 'EntityManager' does not exist in the current context [CS0103]

(NpcSpawn 13 line 828)

(08:55:50) | 7. Use of unassigned local variable 'player' [CS0165]

(NpcSpawn 80 line 4471)

(08:55:50) | 8. 'string[]' does not contain a definition for 'Last' and the best extension method overload 'AnimationCurveEx.Last(AnimationCurve)' requires a receiver of type 'UnityEngine.AnimationCurve' [CS1929]

(NpcSpawn 35 line 4684)



Hello, if you have the opportunity, create a ticket in Mad Mappers discord server or add me @shrpndfcsd

If not, please send NpcSpawn here.json, NpcSpawn_old.json, BetterNpc.Json, BetterNpc_old.json, and folders oxide/data/BetterNpc and BetterNpc_old

JuJu

Posted

I have the same thing. I have unistalled and reinstalled use loot manager and now most of my plugins are useless. 

I have followed all of instructions. Not sure what else to do. Hoping for an update or support.

Thanks

 

npc spawn issues. .jpg

npc.issues.jpg

aimacak

Posted

7 hours ago, JuJu said:

I have the same thing. I have unistalled and reinstalled use loot manager and now most of my plugins are useless. 

I have followed all of instructions. Not sure what else to do. Hoping for an update or support.

Thanks

 

npc spawn issues. .jpg

npc.issues.jpg

Hello, could you create a separate ticket so as not to get confused? Apparently, you have different mistakes. Write if you tried to update only NpcSpawn or NpcSpawn + BetterNpc, attach all the files related to one or both plugins at once (configuration, date files, also with a _old note), you can send your backup files and describe exactly what you were doing before you encountered this error, thank you.

And as I indicated above, you can write to me at discord @shrpndfcsd or create a ticket at Mad Mappers discord server, the process is faster there, thank you.

2.2m

Downloads

Total number of downloads.

10.3k

Customers

Total customers served.

149.5k

Files Sold

Total number of files sold.

3.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.