Jump to content

Throwing this error everytime I use /tp2

Closed 0.1.3 0.1.4

Snaplatack
Snaplatack

Posted

Hello. My logs are showing this error message everytime I use "/tp2 kill" in chat, It throws this error.

Failed to call hook 'ChatCommandatp2' on plugin 'ATP v0.1.3' (NullReferenceException: Object reference not set to an instance of an object.)
at BasePlayer.SendEntitySnapshot (BaseNetworkable ent) [0x00065] in <f01c0b4aea2747d3be19340ac38d800d>:0
at BasePlayer.SendEntityUpdates (BasePlayer+NetworkQueueList queue) [0x0004f] in <f01c0b4aea2747d3be19340ac38d800d>:0
at BasePlayer.SendEntityUpdate () [0x00018] in <f01c0b4aea2747d3be19340ac38d800d>:0
at Oxide.Plugins.ATP.ChatCommandatp2 (BasePlayer player, System.String cmd, System.String[] args) [0x00128] in <c05aa815e97f4aa9a5236b36c15c5ced>:0
at Oxide.Plugins.ATP.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00267] in <c05aa815e97f4aa9a5236b36c15c5ced>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e3740cd7ab6f40909737d74eeeaf1a8a>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <032ab7611607468ebf42c14e3cf9df20>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <032ab7611607468ebf42c14e3cf9df20>:0

  • Moderator
Mals

Posted

Did they use the full name of the person they are teleporting to?  I will add some checks that it is a valid player.

 

  • Moderator
Mals

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to Next Version

  • Moderator
Mals

Posted

Please test the released version, I had no errors with /atp or /atp2

If you are still getting errors can I get a list of other plugins, perhaps there is a conflict?  I won't close this till we confirm this solves the issue.

Snaplatack

Posted (edited)

Just updated it and now nothing works. Cant tp, tp to etc.

NVM. gotta change the command to /tp in the plugin. sorry.
Works fine. thanks! 🙂

Edited by Snaplatack
Forgot to change cmd to /tp instead of /atp
  • Moderator
Mals

Posted

Changed Status from Work in Progress to Closed

1.4m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

104.9k

Files Sold

Total number of files sold.

2.1m

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.