Jump to content

Compile error

Pending 2.1.4

TacTicToe
TacTicToe

Posted

Small compile error. Still seems to work though...

 

(13:49:24) | Failed to call hook 'OnServerInitialized' on plugin 'UpdaterBetterNpc v1.1.1' (IOException: Cannot create a file when that file already exists)

at System.IO.FileSystem.MoveDirectory (System.String sourceFullPath, System.String destFullPath) [0x00041] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0

at System.IO.Directory.Move (System.String sourceDirName, System.String destDirName) [0x000de] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0

at Oxide.Plugins.UpdaterBetterNpc.ReadAndRenameConfigOldNpcSpawn () [0x0092d] in <ef55d31196784880acdb2a88657401af>:0

at Oxide.Plugins.UpdaterBetterNpc.OnServerInitialized () [0x00014] in <ef55d31196784880acdb2a88657401af>:0

at Oxide.Plugins.UpdaterBetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0148c] in <ef55d31196784880acdb2a88657401af>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0

aimacak

Posted (edited)

16 hours ago, TacTicToe said:

Small compile error. Still seems to work though...

 

(13:49:24) | Failed to call hook 'OnServerInitialized' on plugin 'UpdaterBetterNpc v1.1.1' (IOException: Cannot create a file when that file already exists)

at System.IO.FileSystem.MoveDirectory (System.String sourceFullPath, System.String destFullPath) [0x00041] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0

at System.IO.Directory.Move (System.String sourceDirName, System.String destDirName) [0x000de] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0

at Oxide.Plugins.UpdaterBetterNpc.ReadAndRenameConfigOldNpcSpawn () [0x0092d] in <ef55d31196784880acdb2a88657401af>:0

at Oxide.Plugins.UpdaterBetterNpc.OnServerInitialized () [0x00014] in <ef55d31196784880acdb2a88657401af>:0

at Oxide.Plugins.UpdaterBetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0148c] in <ef55d31196784880acdb2a88657401af>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0

Hello, this is an error from the update plugin if you have a backup of your files: configuration (oxide/config/): NpcSpawn.json, BetterNpc.json and data files (oxide/data/) BetterNpc, you can delete UpdaterNpcSpawn.cs, UpdaterBetterNpc.cs, NpcSpawn.cs and BetterNpc.cs from the folder oxide/plugins on your server, download the files that I listed above and start updating again according to the instructions from the archive with the BetterNpc plugin
Also, you can add me to the discord for the real-time dialogue @shrpndfcsd

Edited by aimacak
2.2m

Downloads

Total number of downloads.

10.3k

Customers

Total customers served.

149.2k

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.