1. 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.
     
  2. KillParadise updated Ranks And Titles with a new update entry:

    Lots of Updates & Tweaks & Changes

     
  3. 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
     
  4. 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
  5. Because you have chathandler installed my plugin does not run its own chat handler. It gives full control of chat to chat handler and only sends its rank titles for chathandler to use.

    Does this happen every time, or only once in a while. This is an issue with walls + barricades being destroyed via the stability system, even animals, I think this is an issue with the check I use failing for some reason, it could be an Oxide issue but I will look into it and bring it up with Wulf to take the best approach.
     
  6. This message appears constantly on the server (by 3-5 times). As soon as I unloaded the plug - all ok
     
  7. Interesting, I ran into the issue too, but I made a few changes and it stopped on my server and didn't re appear until you posted about it now. Maybe it's the way I do something in the Death catcher, thanks for bringing it to my attention, I'm at work now but I will look into it and see if I can't make a testable repair here.
     
  8. Thnx.
     
  9. "chatNameColor": "#e19739",
    "staffchatNameColor": "#eae342",

    Yet, members of all Authlevels have the "staffchatNameColor": "#eae342", color fot their name. Anything I can do about this?
     
  10. Check your permissions file for groups make sure they don't have the "isstaff" permission in their group. If they do let me know as this could be a bug. Don't worry "isstaff" is only for color purposes it doesn't allow access to any commands.
     
  11. {
    "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
     
  12. Oh the way you worded it I thought the players had the same color as the staff did lol.
     
  13. For awhile there, they did. But I didn't have the isstaff attached to any ranks.
    [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.
     
  14. I meant I thought players had staff colors. ;) haha
     
  15. 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-
     
  16. It's on the list for future updates I wanted to see how death messages would be taken before I committed to keeping it as a feature.
    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.
     
  17. KillParadise updated Ranks And Titles with a new update entry:

    Fix for Death Error

     
  18. 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()
    
    [DOUBLEPOST=1432120361][/DOUBLEPOST]And another bug. If players send a message to chat in console it looks like server info messages.

    Code:
    [Oxide] 2:14 PM [Info] МŏzÀŕ†!: где коробки большие взять?
    [Oxide] 2:14 PM [Info] TeAsS: у меня
    [Oxide] 2:14 PM [Info] МŏzÀŕ†!: ты не дашь)
    [DOUBLEPOST=1432121865][/DOUBLEPOST]exception appears only when one player kills another. Message with the exception repeated 15 times in a row.
     
    Last edited by a moderator: May 20, 2015
  19. Odd, I'll have to look at it a bit more now I didn't have much time last night. I am in the process of moving so I am really short on time.
    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.
     
  20. 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?
    That last message didnt bring any errors, here's a screenshot of the game chat aswell
     

    Attached Files:

    Last edited by a moderator: May 20, 2015