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

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
2.5m
Total downloads
Customers
11.1k
Customers served
Files Sold
158.7k
Marketplace sales
Payments
3.4m
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.