Jump to content

Help please

No Response 3.1.15 3.1.15

BadLandPVE
BadLandPVE

Posted

Can u help me with this please¿?

Failed to call hook 'BanCommand' on plugin 'DiscordMessages v2.1.8' (ArgumentException: An item with the same key has already been added. Key: 76561199404421124)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000dd] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at ServerUsers.Set (System.UInt64 uid, ServerUsers+UserGroup group, System.String username, System.String notes, System.Int64 expiry) [0x00050] in <a026b2b21a0742bbb5c46f4d55e51dcd>:0 
  at Oxide.Game.Rust.Libraries.Player.Ban (System.UInt64 id, System.String reason) [0x00020] in <9bf2cb6ff5f44f5a82955830b105c84b>:0 
  at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, System.TimeSpan duration) [0x00000] in <9bf2cb6ff5f44f5a82955830b105c84b>:0 
  at Oxide.Plugins.DiscordMessages.ExecuteBan (Oxide.Core.Libraries.Covalence.IPlayer target, Oxide.Core.Libraries.Covalence.IPlayer player, System.String reason) [0x00070] in <9370a1c4b8754153844e77e700fbac43>:0 
  at Oxide.Plugins.DiscordMessages.BanCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00086] in <9370a1c4b8754153844e77e700fbac43>:0 
  at Oxide.Plugins.DiscordMessages.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ed0] in <9370a1c4b8754153844e77e700fbac43>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0 
Calling 'BanCommand' on 'DiscordMessages v2.1.8' took 132ms [GARBAGE COLLECT]
server.hostname: "[ESP][PVE]BadLand||EL COMIENZO|VANILA APRENDIZAJE|EVENTS|KIT|CLAN|SKILLS|"
Failed to call hook 'BanCommand' on plugin 'DiscordMessages v2.1.8' (ArgumentException: An item with the same key has already been added. Key: 76561199404421124)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000dd] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at ServerUsers.Set (System.UInt64 uid, ServerUsers+UserGroup group, System.String username, System.String notes, System.Int64 expiry) [0x00050] in <a026b2b21a0742bbb5c46f4d55e51dcd>:0 
  at Oxide.Game.Rust.Libraries.Player.Ban (System.UInt64 id, System.String reason) [0x00020] in <9bf2cb6ff5f44f5a82955830b105c84b>:0 
  at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, System.TimeSpan duration) [0x00000] in <9bf2cb6ff5f44f5a82955830b105c84b>:0 
  at Oxide.Plugins.DiscordMessages.ExecuteBan (Oxide.Core.Libraries.Covalence.IPlayer target, Oxide.Core.Libraries.Covalence.IPlayer player, System.String reason) [0x00070] in <9370a1c4b8754153844e77e700fbac43>:0 
  at Oxide.Plugins.DiscordMessages.BanCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00086] in <9370a1c4b8754153844e77e700fbac43>:0 
  at Oxide.Plugins.DiscordMessages.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ed0] in <9370a1c4b8754153844e77e700fbac43>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0 

Xray

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to 3.1.15

Xray

Posted

Hello @BadLandPVE

I cannot see what "admintoggle" has to do with this error message
as it's not even mentioned in there admintoggle, it doesn't even use "
DiscordMessages"

BadLandPVE

Posted (edited)

im having a issue now, when shoots a npc auto disables admin mode... just started today that

 

i been testing and only happens when noclip is on. 

if you give me your discord i can show you a clip with issue

Edited by BadLandPVE
Xray

Posted

I have thoroughly tested AdminToggle on my development server
And was unable to reproduce your issue "When shooting an NPC admin mode gets disabled"

This has to be a conflict with another plugin and AdminToggle
My recommendation is to debug each plugin to figure out where the conflict takes place

BadLandPVE

Posted

if you send me your dc i can show you  the problem on stream . maybe if you see it .

 

Xray

Posted

Hello @BadLandPVE

I do not have Discord support
And as I said "My recommendation is to debug each plugin to figure out where the conflict takes place"

It has to be a third-party plugin conflict somehow as my plugin 
Does NOT have any triggers to revert the admin status when shooting at Npcs

BadLandPVE

Posted

is not possible add a debug mode in your plugin, i have almost 100 plugins .

Xray

Posted (edited)

My plugin do have a debug mode
image.png.c6c78e302f80c48693d013f8b2e946f4.pngCareful now

Replace
 

private const DebugType DEBUG = DebugType.Disabled;

With
 

private const DebugType DEBUG = DebugType.All;

And then reload the plugin this logs everything my plugin does to a file and console

 

Edited by Xray
Xray

Posted

Changed Status from Work in Progress to No Response

BadLandPVE

Posted

hello, work in progress. ill send you logs few minutes

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.