OnItemAction Executed console spamFixed
BPS is spamming in console, it spams it so much that the server goes from 200fps to 50fps 



Had to disable the plugin for now
I came here to say the same thing. It's all warnings though, not errors. Not sure what is causing it. 

(21:59:47) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:48) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:49) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:49) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:49) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:50) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:50) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:51) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:51) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:51) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:51) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:52) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:52) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:54) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:57) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(21:59:59) | [Oxide] 22:59 [Warning] [Blueprint Share] OnItemAction Executed
(22:00:01) | [Oxide] 23:00 [Warning] [Blueprint Share] OnItemAction Executed
(22:00:03) | [Oxide] 23:00 [Warning] [Blueprint Share] OnItemAction Executed
(22:00:13) | [Oxide] 23:00 [Warning] [Blueprint Share] OnItemAction Executed
(22:00:15) | [Oxide] 23:00 [Warning] [Blueprint Share] OnItemAction Execute​
Lines 57 and 60 need to be removed or commented out with //; just looks like leftover debug code.
5c2d88ae4ea06.jpg Wulf
Lines 57 and 60 need to be removed or commented out with //; just looks like leftover debug code.

Should the comment out just be on 57 and 60 or should it be the lines that go with that warning?

 private void OnItemAction(Item item, string action, BasePlayer player)
        {
            //PrintWarning("OnItemAction Executed");
            if (player != null && action == "study" && (InClan(player.userID) || HasFriends(player.userID) || InTeam(player.userID)) && item.IsBlueprint() && sharingEnabled)
            {
               // PrintWarning("OnItemAction IF");
                string itemShortName = item.blueprintTargetDef.shortname;

               if (string.IsNullOrEmpty(itemShortName)) return;

                item.Remove();

                UnlockBP(player, itemShortName);
            }
        }
Irishsun530

Should the comment out just be on 57 and 60 or should it be the lines that go with that warning?

 private void OnItemAction(Item item, string action, BasePlayer player)
        {
            //PrintWarning("OnItemAction Executed");
            if (player != null && action == "study" && (InClan(player.userID) || HasFriends(player.userID) || InTeam(player.userID)) && item.IsBlueprint() && sharingEnabled)
            {
               // PrintWarning("OnItemAction IF");
                string itemShortName = item.blueprintTargetDef.shortname;

               if (string.IsNullOrEmpty(itemShortName)) return;

                item.Remove();

                UnlockBP(player, itemShortName);
            }
        }

Both lines would trigger log/console output unnecessarily.

5c2d88ae4ea06.jpg Wulf

Both lines would trigger log/console output unnecessarily.

thanks for the quick fix Wulf!

Sorry for the late response but this post wasn't notified to me at all only noticed it when looking through the entire forum today. Sorry about this issue was indeed left over debug code which has been since removed in the latest update. Should have double checked before updating will try to avoid doing it in the future.
Locked automatically