Receieving that error too
Code:18:40 [Error] Failed to call hook 'CanNetworkTo' on plugin 'Trade v1.1.1' (NullReferenceException: Object reference not set to an instance of an object) 18:40 [Stacktrace] at Oxide.Plugins.Trade.IsTradeBox (.BaseNetworkable entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.CanNetworkTo (.BaseNetworkable entity, .BasePlayer target) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0

Trade
Allows players to trade items safely at a distance
Total Downloads: 16,856 - First Release: Jul 18, 2015 - Last Update: Apr 29, 2018
- 5/5, 41 likes
-
While trading with inventory full and put items you got in the hotbar and then decline it won't return the items. They disappear.
-
We're having issues where it says "cannot trade while moving" when there is no movement happening. Anyone seen or have a similar issue?
~FoX~ -
An error occurred, after which half of the players kicked
Code:21:08 [Error] Failed to call hook 'cmdTrade' on plugin 'Trade v1.1.1' (NullReferenceException: Object reference not set to an instance of an object) 21:08 [Stacktrace] at Oxide.Plugins.Trade.OpenBox (.BasePlayer player, .BaseEntity target) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.StartTrade (.BasePlayer source, .BasePlayer target, Oxide.Plugins.OpenTrade trade) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.StartTrades (.BasePlayer source, .BasePlayer target) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.AcceptTrade (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.cmdTrade (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Code:
Failed to call hook 'CanNetworkTo' on plugin 'Trade v1.1.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Trade.IsTradeBox (.BaseNetworkable entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.CanNetworkTo (.BaseNetworkable entity, .BasePlayer target) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Players are reporting it being buggy, items disappearing, this needs to be looked at.
-
I have run all of the correct commands to assign permissions and im still getting the "you lack permission to do that" please assist
-
Wulf Community Admin
-
Broke, players get kicked when using it, CommunityEntity.ServerInstance.ClientRPCEx(new Network.SendInfo {connection = player.net.connection}, null, "AddUI", obj2); <---- fix?
-
Wulf Community Admin
-
Code:
Failed to call hook 'CanNetworkTo' on plugin 'Trade v1.1.2' (NullReferenceException: Object reference not set to an instance of an object) (21:42:34) | at Oxide.Plugins.Trade.IsTradeBox (.BaseNetworkable entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.CanNetworkTo (.BaseNetworkable entity, .BasePlayer target) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Trade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
-
What do you mean "Denied: They are Busy"? How to understand busy? Players may not trade ((
-
I am getting this error for /trade command without a name to trade. I mean for the info command /trade.
Failed to call hook 'ccTradeAccept' on plugin 'Trade v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Trade.ccTradeAccept (.Arg arg) [0x00000] in :0 at Oxide.Plugins.Trade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0 -
EDIT: fixed. I neglected to use oxide when entering the permissions.
For those that find this post wondering the same thing and are new to oxide enter the following in your RCON
oxide.grant group default trade.use
oxide.grant group default trade.accept
grant group default trade.use
grant group default trade.accept
After entering this, it still said I didn't have permission. So I tried the commands again for admin instead of default. Still no success. I know oxide is installed correctly as I have a couple of other plugins that are working. I checked the group for the player that noticed it wasn't working and he is in the default group.
Also, thanks for this plugin and all the others Wulf.Last edited by a moderator: Nov 7, 2017 -
Wulf Community Admin
-
when i go to /trade someone it tells me i lack permission to do that command
-
Wulf Community Admin
-
-
Wulf Community Admin