BetterChat
Moved
Total Downloads: 26,200 - First Release: Apr 21, 2015 - Last Update: Jan 12, 2018
- 4.9898/5, 98 likes
-
Does that happen very often?
-
Yes, every 5-10 minutes. This was with 170 players online though.
-
Alright.
-
Adding on - when the player count dropped to around 80 I was still getting pretty big garbage collects from the OnUserChat hook for BetterChat, this wasn't a typical 1.3 second collect, it was 3 seconds.
-
Im still having this error:
Somebody know why this happens?Code:(14:34:20) | [Oxide] 14:34 [Error] Failed to call hook 'API_FindPlayerPrimaryGroup' on plugin 'BetterChat v4.2.11' (NullReferenceException: Object reference not set to an instance of an object) (14:34:20) | [Oxide] 14:34 [Debug] at Oxide.Plugins.BetterChat+Group.GetGroups (System.String SteamID, Sorting sorting) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BetterChat+Group.GetPrimaryGroup (System.String steamID) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BetterChat.API_FindPlayerPrimaryGroup (System.String id) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BetterChat.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
-
paste the info or upload your groups file
-
my groups are:
DEFAULT
MODERATOR
MEMBER
VIP1
VIP2
Code:[ { "GroupName": "default", "Priority": 100, "Title": { "Hidden": false, "HideIfNotHighestPriority": true, "Size": 14, "Color": "#9EC326", "Text": "[Player]", "InheritSize": false, "InheritColor": false }, "PlayerName": { "Size": 14, "Color": "#9EC326", "ClanTagFormat": "[{Clan}] {Name}" }, "Message": { "Size": 13, "Color": "white" }, "Formatting": { "Console": "{Title} {Name}: {Message}", "Chat": "<color=orange>[{Level}]</color> {Name}: {Message}" } }, { "GroupName": "moderator", "Priority": 97, "Title": { "Hidden": false, "HideIfNotHighestPriority": false, "Size": 14, "Color": "#9EC326", "Text": "[MOD]", "InheritSize": false, "InheritColor": false }, "PlayerName": { "Size": 14, "Color": "#9EC326", "ClanTagFormat": "[{Clan}] {Name}" }, "Message": { "Size": 14, "Color": "white" }, "Formatting": { "Console": "{Title} {Name}: {Message}", "Chat": "<color=#4169E1>M✪Đ</color> <color=orange>[{Level}]</color> {Name}: {Message}" } }, { "GroupName": "member", "Priority": 99, "Title": { "Hidden": false, "HideIfNotHighestPriority": true, "Size": 14, "Color": "#9EC326", "Text": "[Player]", "InheritSize": false, "InheritColor": false }, "PlayerName": { "Size": 14, "Color": "#9EC326", "ClanTagFormat": "[{Clan}] {Name}" }, "Message": { "Size": 13, "Color": "white" }, "Formatting": { "Console": "{Title} {Name}: {Message}", "Chat": "<color=orange>☑</color> <color=orange>[{Level}]</color> {Name}: {Message}" } }, { "GroupName": "VIP1", "Priority": 98, "Title": { "Hidden": false, "HideIfNotHighestPriority": true, "Size": 14, "Color": "#9EC326", "Text": "[Player]", "InheritSize": false, "InheritColor": false }, "PlayerName": { "Size": 14, "Color": "#9EC326", "ClanTagFormat": "[{Clan}] {Name}" }, "Message": { "Size": 13, "Color": "white" }, "Formatting": { "Console": "{Title} {Name}: {Message}", "Chat": "<color=orange>♚</color> <color=orange>[{Level}]</color> {Name}: {Message}" } }, { "GroupName": "VIP2", "Priority": 97, "Title": { "Hidden": false, "HideIfNotHighestPriority": false, "Size": 14, "Color": "#9EC326", "Text": "[Player]", "InheritSize": false, "InheritColor": false }, "PlayerName": { "Size": 14, "Color": "#9EC326", "ClanTagFormat": "[{Clan}] {Name}" }, "Message": { "Size": 13, "Color": "white" }, "Formatting": { "Console": "{Title} {Name}: {Message}", "Chat": "<color=orange>♛</color> <color=orange>[{Level}]</color> {Name}: {Message}" } } ]
I need to set the admin group? -
There is no member group its called default now
-
He has a default group.
[DOUBLEPOST=1477939148][/DOUBLEPOST]When does that error appear? -
Laser I can not reproduce the Error, is very random,
I will be trying, and I will quote you -
Thanks
-
I know he does
-
Your answer just seemed to me like you had overseen it.
-
No I seen it
[DOUBLEPOST=1477940074][/DOUBLEPOST]@StreetDog Add admin for youAttached Files:
-
-
Ok I add a group with admin
but not that because I dont want to be different of users, just I enter for test plugins and Run events. -
The error is propably actually caused by another plugin. Are you using Notifier?
-
YES!!!! Maybe you have the Spot !!!
Because the error, Only show together with Notifier error, there are currently the only 2 errors that Im having in console:
Code:(14:34:20) | [Oxide] 14:34 [Error] Failed to call hook 'API_FindPlayerPrimaryGroup' on plugin 'BetterChat v4.2.11' (NullReferenceException: Object reference not set to an instance of an object) (14:34:20) | [Oxide] 14:34 [Debug] at Oxide.Plugins.BetterChat+Group.GetGroups (System.String SteamID, Sorting sorting) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BetterChat+Group.GetPrimaryGroup (System.String steamID) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BetterChat.API_FindPlayerPrimaryGroup (System.String id) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BetterChat.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 name, System.Object[] args) [0x00000] in <filename unknown>:0NOTIFIER ERROR:(14:34:21) | [Oxide] 14:34 [Error] Failed to call hook 'OnPlayerSleepEnded' on plugin 'Notifier v3.1.3' (NullReferenceException: Object reference not set to an instance of an object) (14:34:21) | [Oxide] 14:34 [Debug] at Oxide.Plugins.Notifier.ReplaceNameFormats (System.String text, .BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Notifier.OnPlayerSleepEnded (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Notifier.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 name, System.Object[] args) [0x00000] in <filename unknown>:0 (14:34:21) | caio farias[1416284/76561198143443441] was killed by Pennywise[1463894/76561198089568656]
-
Looks like Notifier passes invalid objects to BetterChat's API which causes that error.
-
then I need to "be heavy" on Notifier Thread right?