Jump to content

Error after Wipe

Pending 1.0.6

Farmer Elias
Farmer Elias

Posted

Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.VoteSystem+TopServeurCheckManager+<>c__DisplayClass4_0.<CheckRoutine>b__0 (System.Int32 code, System.String response) [0x00069] in <f6847d8c66e9478da291fe08ed705d2c>:0
  at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00034] in <beb2b64691c64e2b95b99491bd85442c>:0

 

Kaho

Posted

same here...

guess because of the playername and the :3 in it?
 

Web request callback raised an exception (DirectoryNotFoundException: Could not find a part of the path "D:\Gameserver\RUST\oxide\data\VoteSystem\playervote_toaster :3.json".)
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00164] in <467a840a914a47078e4ae9b0b1e8779e>:0
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <467a840a914a47078e4ae9b0b1e8779e>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <467a840a914a47078e4ae9b0b1e8779e>:0
  at System.IO.StreamWriter..ctor (System.String path) [0x00008] in <467a840a914a47078e4ae9b0b1e8779e>:0
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string)
  at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in <467a840a914a47078e4ae9b0b1e8779e>:0
  at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[T] (T config, System.Boolean sync, System.String filename) [0x0003f] in <beb2b64691c64e2b95b99491bd85442c>:0
  at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00036] in <beb2b64691c64e2b95b99491bd85442c>:0
  at Oxide.Plugins.VoteSystem+PlayerVoteData.Load (System.String playername) [0x00046] in <1c9b8ae9f94e4b59942d9c9ac96f3d0f>:0
  at Oxide.Plugins.VoteSystem+VoteSystemManager.GetOrCreateVotePlayer (System.String playerId) [0x00012] in <1c9b8ae9f94e4b59942d9c9ac96f3d0f>:0
  at Oxide.Plugins.VoteSystem+RustServersCheckManager.SetVotes (System.String playerName, System.Int32 votes, System.Int32 month) [0x0000a] in <1c9b8ae9f94e4b59942d9c9ac96f3d0f>:0
  at Oxide.Plugins.VoteSystem+RustServersCheckManager+<>c__DisplayClass3_0.<CheckRoutine>b__0 (System.Int32 code, System.String response) [0x000ac] in <1c9b8ae9f94e4b59942d9c9ac96f3d0f>:0

 

flutes

Posted

Hello, Thank you for your patience.

The two issues appear to be different.

@Farmer Elias It seems that the procedure for wiping is no longer present in the documentation (I will update it). After a wipe, you need to use the command "votesystem_wipe" (in your server's console). This might resolve your issue. If not, please let me know.

@Kaho Your issue seems to be different. It looks like the problem is with the player's nickname ('toaster :3'), likely due to special characters. If the problem persists, I can provide you with a temporary solution. I will update the plugin so that certain special characters no longer cause issues.

Best regards.

Kaho

Posted

19 hours ago, flutes said:

Hello, Thank you for your patience.

The two issues appear to be different.

@Farmer Elias It seems that the procedure for wiping is no longer present in the documentation (I will update it). After a wipe, you need to use the command "votesystem_wipe" (in your server's console). This might resolve your issue. If not, please let me know.

@Kaho Your issue seems to be different. It looks like the problem is with the player's nickname ('toaster :3'), likely due to special characters. If the problem persists, I can provide you with a temporary solution. I will update the plugin so that certain special characters no longer cause issues.

Best regards.

If you are going to fix it soon its fine for me. If you need more time, a temp fix would be good ❤️ 🙂

Kaho

Posted (edited)

On 8/8/2024 at 8:05 AM, Kaho said:

If you are going to fix it soon its fine for me. If you need more time, a temp fix would be good ❤️ 🙂

Any news on that @flutes ? 🙂

Edited by Kaho
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

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.