Jump to content

Failed to call hook 'OnItemAddedToContainer'

Closed 1.0.0 1.0.2

Hello,
get this several times a day. Don´t know when or why this happens.

(22:12:01) | Failed to call hook 'OnItemAddedToContainer' on plugin 'SendPhotoDiscord v1.0.0' (NullReferenceException: Object reference not set to an instance of an object.)

at Oxide.Plugins.SendPhotoDiscord.CaptureSendUploads (Item item2, System.String ErrorName) [0x000a2] in <33043d4c6a144d129f0f323dc9a001a5>:0

at Oxide.Plugins.SendPhotoDiscord.OnItemAddedToContainer (ItemContainer container, Item item2) [0x0001a] in <33043d4c6a144d129f0f323dc9a001a5>:0

at Oxide.Plugins.SendPhotoDiscord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00086] in <33043d4c6a144d129f0f323dc9a001a5>:0

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

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

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

(22:25:22) | Entity is NULL but is still in saveList - not destroyed properly? photo.entity[99632457]

And only a suggestion. Would be great to have possability user can choose category to upload picture in various channels. e.g. Fun Stuff / Bug Report. So we can insert more than one channel in config.

Share this comment


Link to comment

hi, I noticed that as well, but its very good plugin, players love it.

Failed to call hook 'OnItemAddedToContainer' on plugin 'SendPhotoDiscord v1.0.0' (NullReferenceException: Object reference not set to an instance of an object.)

at Oxide.Plugins.SendPhotoDiscord.CaptureSendUploads (Item item2, System.String ErrorName) [0x000a2] in <0d7b01d906754ca1854d35b746af8cc3>:0

at Oxide.Plugins.SendPhotoDiscord.OnItemAddedToContainer (ItemContainer container, Item item2) [0x0001a] in <0d7b01d906754ca1854d35b746af8cc3>:0

at Oxide.Plugins.SendPhotoDiscord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00086] in <0d7b01d906754ca1854d35b746af8cc3>:0

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

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

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

 

Share this comment


Link to comment

Hello sorry for the time to wait: s I will try to look at this if we can fix this error it seems to me to come to the creation of the photo which does not find the image. and omega for your idea I'll look after that but it won't be for now :), 
Thank you Ondraasek it makes me happy 🙂
 

  • Like 2

Share this comment


Link to comment

hello to all I pass a little message to reassure you that I have not forgotten you I am of course the plugin to correct it I located the error but the problem I have no idea every day it due to what it will take keep me informed on this at the next update there will be a lot of changes in the plugin

  • in progress - add a channel list
  • in test - add permission vip,default
  • ok - add photo counter
  • ok - add a command to make the camera appear
  • ok - add recycle blocker for camera
  • ok - fix OnItemAddedToContainer error
  • Like 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.6k

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.