Jump to content

Error when player logs in, and on /claim

Closed 3.0.1 3.0.2

[09:13] > 86.20.58.96:62955/76561197969383152/Narny joined [windows/76561197969383152]
[09:13] > Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.EasyVotePro.HandleStatusWebRequestCallback (System.Int32 code, System.String response, BasePlayer player, System.String url, System.String serverName, System.String site) [0x002b4] in <801dc534387c4d2088177b28df142a2a>:0 
  at Oxide.Plugins.EasyVotePro+<CheckVotingStatus>c__AnonStorey2.<>m__0 (System.Int32 code, System.String response) [0x00048] in <801dc534387c4d2088177b28df142a2a>:0 
  at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00034] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
[09:13] > Narny[76561197969383152] has spawned
[09:13] > Failed to call hook 'ClaimChatCommand' on plugin 'EasyVotePro v3.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.EasyVotePro.ClearCSFStatus (BasePlayer player) [0x0002c] in <801dc534387c4d2088177b28df142a2a>:0 
  at Oxide.Plugins.EasyVotePro.ClaimChatCommand (BasePlayer player, System.String command, System.String[] args) [0x0005f] in <801dc534387c4d2088177b28df142a2a>:0 
  at Oxide.Plugins.EasyVotePro.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ac5] in <801dc534387c4d2088177b28df142a2a>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
 

EasyVotePro.json

Share this comment


Link to comment

I can't seem to replicate this issue. I would do what I wrote above, and then also delete your config and start over after. I legit can't figure out whats not set. I've triple checked the code. Maybe i'm overlooking something, but i seriously can't find it.

I'm heading to bed at the moment, so i'll reply as soon as i get up.

Share this comment


Link to comment

I will get you what you need. Probably tomorrow now. But i did delete the config and data and tested before posting this.

 

Share this comment


Link to comment

I got it. I know what needs to be done. You're not using CustomStatusFramework and theres no check if the custom status framework is enabled when its calling a refresh... I'll fix it tonight when i get home from work.

Share this comment


Link to comment

Half works mate. The error on logging in is gone. The error when i do /claim is till there. So atm I cant use this, it does not work. Oxide log provided, this error was present in the log i sent you last night and remains unfixed. More testing needed for all scenario's.

oxide_2023-05-17.txt

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.4k

Files Sold

Total number of files sold.

1.6m

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.