Its a simple check, it checks the victims current karma, if it is Zero or above then the killing player will lose karma, if its less than zero, then they will gain karma. It's a quick check to the player data and then does the math from there by calling the config file to get the amount of karma to change.
Ranks And Titles [Unmaintained]
Discussion in 'Plugin Support' started by KillParadise, Mar 3, 2015.
-
KillParadise updated Ranks And Titles with a new update entry:
Lots of Updates & Tweaks & Changes
-
my default chat is not changing colors to what i set, titles are and ranks are but not the actual chat, how do i fix it
i am only using chathandler and ranksandtitles that modify the chat -
After adding plugin on server:
[SV_RPCMessage] playerattack - Exception has been thrown by the target of an invocation.
NullReferenceException: Object reference not set to an instance of an object
Oxide.Ext.JavaScript.JavaScriptExtension.<JavaScriptExtension>m__0 (System.Exception ex) Oxide.Core.ExceptionHandler.FormatException (System.Exception ex) Oxide.Core.Logging.Logger.WriteException (System.String message, System.Exception ex) Oxide.Core.OxideMod.LogException (System.String message, System.Exception ex) Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) Oxide.Core.Plugins.PluginManager.CallHook (System.String hookname, System.Object[] args) Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) Oxide.Core.Interface.CallHook (System.String hookname, System.Object[] args) BaseCombatEntity.Die (.HitInfo info) BasePlayer.Die (.HitInfo info) BaseCombatEntity.Hurt (.HitInfo info, Boolean useProtection) BasePlayer.Hurt (.HitInfo info, Boolean useProtection) BaseCombatEntity.OnAttacked (.HitInfo info) BasePlayer.OnAttacked (.HitInfo info) BaseMelee.DoAttackShared (.HitInfo info) BaseMelee.PlayerAttack (RPCMessage msg) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) BaseEntity+<FindRPCMessage>c__AnonStorey20.<>m__52 (RPCMessage rpcMsg) BaseEntity.SV_RPCMessage (UInt32 nameID, Network.Message message) UnityEngine.Debug:LogException(Exception) BaseEntity:SV_RPCMessage(UInt32, Message) ServerMgr:OnRPCMessage(Message) ServerMgr:OnNetworkMessage(Message) Network.Implementation.Raknet.Server:ConnectedPacket(RaknetConnection) Network.Implementation.Raknet.Server:Cycle() ServerMgr:Update()Last edited by a moderator: May 19, 2015 -
-
This message appears constantly on the server (by 3-5 times). As soon as I unloaded the plug - all ok
-
-
-
"chatNameColor": "#e19739",
"staffchatNameColor": "#eae342",
Yet, members of all Authlevels have the "staffchatNameColor": "#eae342", color fot their name. Anything I can do about this? -
-
{
"admin": {
"Title": "admin",
"Rank": 0,
"Perms": []
},
"moderator": {
"Title": "moderator",
"Rank": 1,
"Perms": []
},
"player": {
"Title": "player",
"Rank": 2,
"Perms": []
},
"donor": {
"Title": "donor",
"Rank": 3,
"Perms": []
},
"mod": {
"Title": "mod",
"Rank": 4,
"Perms": []
},
"owner": {
"Title": "owner",
"Rank": 6,
"Perms": []
}
}
I have this as a drunk groups file, other than that I know of no permissions.
[DOUBLEPOST=1432043413][/DOUBLEPOST]I fixed it, needed to: oxide.grant group admin isstaff -
-
[DOUBLEPOST=1432044924][/DOUBLEPOST]Also, I should note that they are backwards in the config, have been since I started using it. The Staff color is attached to players, and the players one is staff. -
haha
-
Hey there. People on my server love the plugin, great work. One thing my players have asked for is when a death notification occurs that it would be nice to know the range at which the death occurred. I was using a separate plugin for that, however that plugin combined with Ranks & Titles was causing all death notifications to appear twice. So, I removed the death notification plugin and am running with just Ranks & Titles at this time. Is there currently a way to enable ranges to appear in kill notifications? Or any plans to add that in a future update?
Thanks for your time. -Oblivion- -
I am currently planning to add multi message support so you can use more than just the default message for deaths these will be chosen at random, along with a distance of a kill.
For not, if you like you can disable the death messages and use the other plugin if its an issue or something your players really want. -
KillParadise updated Ranks And Titles with a new update entry:
Fix for Death Error
-
update doesn't help at all
Code:[Oxide] 1:27 PM [Info] [Death Notes v2.4.11] :: _OCRIM_ убил RedWhitephil(RW) использовав Каменный молот, пока тот спал. [SV_RPCMessage] playerattack - Exception has been thrown by the target of an invocation. NullReferenceException: Object reference not set to an instance of an object Oxide.Ext.JavaScript.JavaScriptExtension.<JavaScriptExtension>m__0 (System.Exception ex) Oxide.Core.ExceptionHandler.FormatException (System.Exception ex) Oxide.Core.Logging.Logger.WriteException (System.String message, System.Exception ex) Oxide.Core.OxideMod.LogException (System.String message, System.Exception ex) Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) Oxide.Core.Plugins.PluginManager.CallHook (System.String hookname, System.Object[] args) Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) Oxide.Core.Interface.CallHook (System.String hookname, System.Object[] args) BaseCombatEntity.Die (.HitInfo info) BasePlayer.Die (.HitInfo info) BaseCombatEntity.Hurt (.HitInfo info, Boolean useProtection) BasePlayer.Hurt (.HitInfo info, Boolean useProtection) BaseCombatEntity.OnAttacked (.HitInfo info) BasePlayer.OnAttacked (.HitInfo info) BaseMelee.DoAttackShared (.HitInfo info) BaseMelee.PlayerAttack (RPCMessage msg) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) BaseEntity+<FindRPCMessage>c__AnonStorey20.<>m__52 (RPCMessage rpcMsg) BaseEntity.SV_RPCMessage (UInt32 nameID, Network.Message message) UnityEngine.Debug:LogException(Exception) BaseEntity:SV_RPCMessage(UInt32, Message) ServerMgr:OnRPCMessage(Message) ServerMgr:OnNetworkMessage(Message) Network.Implementation.Raknet.Server:ConnectedPacket(RaknetConnection) Network.Implementation.Raknet.Server:Cycle() ServerMgr:Update() [Oxide] 1:27 PM [Info] [Death Notes v2.4.11] :: _OCRIM_ убил RedWhitephil(RW) использовав Каменный молот, пока тот спал. [SV_RPCMessage] playerattack - Exception has been thrown by the target of an invocation. NullReferenceException: Object reference not set to an instance of an object Oxide.Ext.JavaScript.JavaScriptExtension.<JavaScriptExtension>m__0 (System.Exception ex) Oxide.Core.ExceptionHandler.FormatException (System.Exception ex) Oxide.Core.Logging.Logger.WriteException (System.String message, System.Exception ex) Oxide.Core.OxideMod.LogException (System.String message, System.Exception ex) Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) Oxide.Core.Plugins.PluginManager.CallHook (System.String hookname, System.Object[] args) Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) Oxide.Core.Interface.CallHook (System.String hookname, System.Object[] args) BaseCombatEntity.Die (.HitInfo info) BasePlayer.Die (.HitInfo info) BaseCombatEntity.Hurt (.HitInfo info, Boolean useProtection) BasePlayer.Hurt (.HitInfo info, Boolean useProtection) BaseCombatEntity.OnAttacked (.HitInfo info) BasePlayer.OnAttacked (.HitInfo info) BaseMelee.DoAttackShared (.HitInfo info) BaseMelee.PlayerAttack (RPCMessage msg) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) BaseEntity+<FindRPCMessage>c__AnonStorey20.<>m__52 (RPCMessage rpcMsg) BaseEntity.SV_RPCMessage (UInt32 nameID, Network.Message message) UnityEngine.Debug:LogException(Exception) BaseEntity:SV_RPCMessage(UInt32, Message) ServerMgr:OnRPCMessage(Message) ServerMgr:OnNetworkMessage(Message) Network.Implementation.Raknet.Server:ConnectedPacket(RaknetConnection) Network.Implementation.Raknet.Server:Cycle() ServerMgr:Update() [Oxide] 1:27 PM [Info] [Death Notes v2.4.11] :: _OCRIM_ убил RedWhitephil(RW) использовав Каменный молот, пока тот спал. [SV_RPCMessage] playerattack - Exception has been thrown by the target of an invocation. NullReferenceException: Object reference not set to an instance of an object Oxide.Ext.JavaScript.JavaScriptExtension.<JavaScriptExtension>m__0 (System.Exception ex) Oxide.Core.ExceptionHandler.FormatException (System.Exception ex) Oxide.Core.Logging.Logger.WriteException (System.String message, System.Exception ex) Oxide.Core.OxideMod.LogException (System.String message, System.Exception ex) Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) Oxide.Core.Plugins.PluginManager.CallHook (System.String hookname, System.Object[] args) Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) Oxide.Core.Interface.CallHook (System.String hookname, System.Object[] args) BaseCombatEntity.Die (.HitInfo info) BasePlayer.Die (.HitInfo info) BaseCombatEntity.Hurt (.HitInfo info, Boolean useProtection) BasePlayer.Hurt (.HitInfo info, Boolean useProtection) BaseCombatEntity.OnAttacked (.HitInfo info) BasePlayer.OnAttacked (.HitInfo info) BaseMelee.DoAttackShared (.HitInfo info) BaseMelee.PlayerAttack (RPCMessage msg) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) BaseEntity+<FindRPCMessage>c__AnonStorey20.<>m__52 (RPCMessage rpcMsg) BaseEntity.SV_RPCMessage (UInt32 nameID, Network.Message message) UnityEngine.Debug:LogException(Exception) BaseEntity:SV_RPCMessage(UInt32, Message) ServerMgr:OnRPCMessage(Message) ServerMgr:OnNetworkMessage(Message) Network.Implementation.Raknet.Server:ConnectedPacket(RaknetConnection) Network.Implementation.Raknet.Server:Cycle() ServerMgr:Update()
Code:[Oxide] 2:14 PM [Info] МŏzÀŕ†!: где коробки большие взять? [Oxide] 2:14 PM [Info] TeAsS: у меня [Oxide] 2:14 PM [Info] МŏzÀŕ†!: ты не дашь)
Last edited by a moderator: May 20, 2015 -
as for the info message thats suppose to happen not a bug, its because only csharp can send messages to the console as chat. I cannot so I use the print function. -
It looks like Ranks and titles plugins crashes with the clan plugin, this is what i get, Note how the error comes when players not in a clan says something;
Code:[Oxide] 5:32 PM [Info] Loaded plugin RanksAndTitles v1.6.1 by Killparadise [Oxide] 5:32 PM [Info] Config already at latest version: v1.6.4 [Oxide] 5:32 PM [Debug] ExType: TargetInvocationException [Oxide] 5:32 PM [Error] Failed to initialize plugin RanksAndTitles (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 5:32 PM [Debug] at Oxide.Core.Libraries.Permission.GroupExists (System.String groupname) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [Oxide] 5:32 PM [Info] helteN: noen som selger chest blueprint [Oxide] 5:32 PM [Debug] ExType: TargetInvocationException [Oxide] 5:32 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'RanksAndTitles' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 5:32 PM [Debug] at Oxide.Core.Libraries.Permission.GroupExists (System.String groupname) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.GroupHasPermission (System.String groupname, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission+<GroupsHavePermission>c__AnonStorey0.<>m__0 (System.String group) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.Any[String] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.GroupsHavePermission (System.Collections.Generic.HashSet`1 groupname, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.UserHasPermission (System.String userid, System.String perm) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [TC] Haavardaw: Stor chest? [Oxide] 5:32 PM [Info] helteN: ja [Oxide] 5:32 PM [Debug] ExType: TargetInvocationException [Oxide] 5:32 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'RanksAndTitles' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 5:32 PM [Debug] at Oxide.Core.Libraries.Permission.GroupExists (System.String groupname) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.GroupHasPermission (System.String groupname, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission+<GroupsHavePermission>c__AnonStorey0.<>m__0 (System.String group) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.Any[String] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.GroupsHavePermission (System.Collections.Generic.HashSet`1 groupname, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.UserHasPermission (System.String userid, System.String perm) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [TC] Haavardaw: Kan fikse d [Oxide] 5:32 PM [Debug] ExType: TargetInvocationException [Oxide] 5:32 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'RanksAndTitles' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 5:32 PM [Debug] at Oxide.Core.Libraries.Permission.GroupExists (System.String groupname) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.GroupHasPermission (System.String groupname, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission+<GroupsHavePermission>c__AnonStorey0.<>m__0 (System.String group) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.Any[String] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.GroupsHavePermission (System.Collections.Generic.HashSet`1 groupname, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.UserHasPermission (System.String userid, System.String perm) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [TC] Haavardaw: Ka du gir? [Oxide] 5:32 PM [Info] helteN: hvor mye av hva? [Oxide] 5:32 PM [Debug] ExType: TargetInvocationException [Oxide] 5:32 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'RanksAndTitles' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 5:32 PM [Debug] at Oxide.Core.Libraries.Permission.GroupExists (System.String groupname) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.GroupHasPermission (System.String groupname, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission+<GroupsHavePermission>c__AnonStorey0.<>m__0 (System.String group) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.Any[String] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.GroupsHavePermission (System.Collections.Generic.HashSet`1 groupname, System.String perm) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.UserHasPermission (System.String userid, System.String perm) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [TC] Haavardaw: Offers?
Attached Files:
Last edited by a moderator: May 20, 2015 -