Jump to content

for some reason not working properly

Not a Bug 2.0.130 2.0.130

Robis
Robis

Posted

Probably issue with a better chat, its not working properly, and at the end i got kicked of server

Failed to call hook 'OnPlayerChat' on plugin 'Trivia v2.0.130' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Trivia+TriviaManager.RewardPlayer (BasePlayer player) [0x004ed] in <2f60883abf1c443397aa0307bb2e72b1>:0 
  at Oxide.Plugins.Trivia+TriviaManager.EndEvent (BasePlayer player, System.Boolean answeredCorrectly) [0x00047] in <2f60883abf1c443397aa0307bb2e72b1>:0 
  at Oxide.Plugins.Trivia+TriviaManager.Answer (BasePlayer player, System.String answer) [0x001b6] in <2f60883abf1c443397aa0307bb2e72b1>:0 
  at Oxide.Plugins.Trivia.OnPlayerChat (BasePlayer player, System.String message, ConVar.Chat+ChatChannel channel) [0x0000d] in <2f60883abf1c443397aa0307bb2e72b1>:0 
  at Oxide.Plugins.Trivia.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00515] in <2f60883abf1c443397aa0307bb2e72b1>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 
[Better Chat] [Global] 웃 MrFairplay Bradley
{
  "Channel": 0,
  "Message": "웃 MrFairplay Bradley",
  "UserId": "76561198880385643",
  "Username": "MrFairplay",
  "Color": "#FFFFFF",
  "Time": 1709595411
}
[Better Chat] [Global] 웃 MrFairplay 2000
{
  "Channel": 0,
  "Message": "웃 MrFairplay 2000",
  "UserId": "76561198880385643",
  "Username": "MrFairplay",
  "Color": "#FFFFFF",
  "Time": 1709595470
}
Kicking 92.0.253.243:62482/76561198880385643/MrFairplay (Steam Status "AuthTicketCanceled")

Tbird412

Posted

Please send me your config, and the files contained in the "/oxide/data/Trivia" folder

And it very well could be something wrong with your better chat.  We are running this on 7 servers right now with 2k players per week and have Trivia on 5 minute intervals and have not had a single error.

But I will still gladly try to help you figure it out.   If you'd like, I can take a look at your better chat config too.  I have used better chat for 5+ years on my servers.

Tbird412

Posted

Also, if you are able to, set Trivia to debug mode (option in your config) and try to re-create the error.  It will give us a ton of useful info into tracking down the problem.  Could be as simple as a bad configuration JSON or something.

Robis

Posted

Yeah was something wrong for sure...

Couple times i deleted data and config files. And now its seems all working.

Feels like this data file dont like to be edited manually... Im sorry maybe i was to early posted this error post. I will take a bit more time to figure out. a bit strange with questions.. for example if you have only 1, 2, 3, 4, questions, and you manually delete question 4, then reload plugin, and that 4 question is still on the cast, even when its no longer in data file.

Tbird412

Posted

To edit data files you need to completely unload the plugin first.  Do your editing, and then reload the plugin.  If you do not do that, the data will just be resaved

Tbird412

Posted

Changed Status from Pending to Not a Bug

Changed Fixed In to 2.0.130

Robis

Posted

Some times plugin just not working. check print screen. even player give right answer, it wont count....

gggf.png

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.