Cooking

Плагин Cooking 2.0.35

Yes, it loads correctly, but I'm getting the error below on the UIs. It's probably caused by an argument conflict. It might also be conflicting with another plugin, but I'm not sure.

Failed to call hook 'SendMarketPage' on plugin 'Cooking v2.0.35' (InvalidCastException: Specified cast is not valid.)
at System.Convert.ToInt32 (System.Object value) [0x00003] in <e605204d165a49d89ae7579f3d894429>:0
at Oxide.Plugins.Cooking.SendMarketPage (ConsoleSystem+Arg arg) [0x00011] in <447a9a65b4f54f2db41ceb21a934e6df>:0
at Oxide.Plugins.Cooking.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x026b5] in <447a9a65b4f54f2db41ceb21a934e6df>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0
I made a few adjustments without breaking the plugin, and it seems to fix the issue. Others may be running into the same problem as well. If you'd like, I can send you my modified version.
 
Бред, это от автора. Ща сам проверю.
Я внес несколько корректировок, не нарушив работу плагина, и, похоже, это решило проблему. Возможно, другие пользователи тоже сталкиваются с этой проблемой. Если хотите, я могу выслать вам свою модифицированную версию.
I made a few adjustments without breaking the plugin, and it seems to fix the issue. Others may be running into the same problem as well. If you'd like, I can send you my modified version.
Не нужно, я сам лично сейчас проверю
 
  • Мне нравится
Реакции: XyJluGuN
Не работает. При нажатии в меню, у игрока пусто, в консоле ошибка.
[Oxide] 08:09 [Error] Failed to call hook 'SendSubMenu' on plugin 'Cooking v2.0.35' (InvalidCastException: Specified cast is not valid.)
at System.Convert.ToInt32 (System.Object value) [0x00003] in <41d29b352f6a475ab1bf7c6628b82790>:0
at Oxide.Plugins.Cooking.SendSubMenu (ConsoleSystem+Arg arg) [0x00049] in <d1852fb0bb494bff993de15257d09d7a>:0
at Oxide.Plugins.Cooking.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01c48] in <d1852fb0bb494bff993de15257d09d7a>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0
[Oxide] 08:09 [Error] Failed to call hook 'SendSubMenu' on plugin 'Cooking v2.0.35' (InvalidCastException: Specified cast is not valid.)
at System.Convert.ToInt32 (System.Object value) [0x00003] in <41d29b352f6a475ab1bf7c6628b82790>:0
at Oxide.Plugins.Cooking.SendSubMenu (ConsoleSystem+Arg arg) [0x00049] in <d1852fb0bb494bff993de15257d09d7a>:0
at Oxide.Plugins.Cooking.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01c48] in <d1852fb0bb494bff993de15257d09d7a>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0
 

Похожие темы