Jump to content

2 Screenshots

  • 32.9k
  • 327
  • 7.2 kB
This area is intended for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments

Copeman

Posted

how do i set this up with UI notify?

 

crunch

Posted (edited)

18 hours ago, Copeman said:

how do i set this up with UI notify?

 

Hey mate. Install UINotify, then if you like you can use my UINotify config below and adjust it to your liking. Once UINotify is installed and the config is done, the notifications in Solo Notifier will auto switch to use UINotify instead. 

With UINotify, under Notifications (type - settings) there are several block entries (0, 1 etc). Solo Notifier is using block 1 so if you want to change anything (color etc) edit it under the block that starts with "1" (or you can change which number it uses in the Solo Notifier config if you prefer)

{
    "Display type (Overlay/Hud)": "Overlay",
    "Height": 50.0,
    "Width": 260.0,
    "X Margin": 20.0,
    "Y Margin": 5.0,
    "Y Indent": -50.0,
    "Notify Cooldown": 25.0,
    "Notifications (type - settings)": {
      "0": {
        "Background Color": {
          "HEX": "#000000",
          "Opacity (0 - 100)": 98.0
        },
        "Enable Gradient?": true,
        "Gradient Color": {
          "HEX": "#4B68FF",
          "Opacity (0 - 100)": 35.0
        },
        "Sprite": "assets/content/ui/ui.background.transparent.linearltr.tga",
        "Material": "Assets/Icons/IconMaterial.mat",
        "Icon Color": {
          "HEX": "#4B68FF",
          "Opacity (0 - 100)": 100.0
        },
        "Icon Text": "!",
        "Icon Text Color": {
          "HEX": "#FFFFFF",
          "Opacity (0 - 100)": 100.0
        },
        "Title Key (lang)": "Notification",
        "Title Color": {
          "HEX": "#FFFFFF",
          "Opacity (0 - 100)": 50.0
        },
        "Text Color": {
          "HEX": "#FFFFFF",
          "Opacity (0 - 100)": 100.0
        },
        "Fade Out": 1.0,
        "Fade In": 0.1,
        "Sound Effect (empty - disable)": "assets/bundled/prefabs/fx/notice/item.select.fx.prefab",
        "Image Settings": {
          "Enabled": false,
          "Image": "",
          "AnchorMin": "0 0",
          "AnchorMax": "0 0",
          "OffsetMin": "12.5 12.5",
          "OffsetMax": "37.5 37.5"
        }
      },
      "1": {
        "Background Color": {
            "HEX": "#000000",
            "Opacity (0 - 100)": 98.0
          },
          "Enable Gradient?": true,
          "Gradient Color": {
            "HEX": "#90EE90",
            "Opacity (0 - 100)": 35.0
          },
          "Sprite": "assets/content/ui/ui.background.transparent.linearltr.tga",
          "Material": "Assets/Icons/IconMaterial.mat",
          "Icon Color": {
            "HEX": "#90EE90",
            "Opacity (0 - 100)": 100.0
          },
          "Icon Text": "X",
          "Icon Text Color": {
            "HEX": "#FFFFFF",
            "Opacity (0 - 100)": 100.0
          },
          "Title Key (lang)": "Just a heads up",
          "Title Color": {
            "HEX": "#FFFFFF",
            "Opacity (0 - 100)": 50.0
          },
          "Text Color": {
            "HEX": "#FFFFFF",
            "Opacity (0 - 100)": 100.0
          },
          "Fade Out": 1.0,
          "Fade In": 0.1,
          "Sound Effect (empty - disable)": "assets/bundled/prefabs/fx/notice/item.select.fx.prefab",
          "Image Settings": {
            "Enabled": true,
            "Image": "https://i.imgur.com/vfOfdU9.png",
            "AnchorMin": "0 0",
            "AnchorMax": "0 0",
            "OffsetMin": "12.5 12.5",
            "OffsetMax": "37.5 37.5"
        }
      }
    }
  }

 

Edited by crunch
crunch

Posted

Oh and make sure you give the uinotify.see permission to the default group, or at least any players you want to send notifications to.

Shoyqn

Posted

Failed to call hook 'OnEntityTakeDamage' on plugin 'SoloNotifier v0.8.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SoloNotifier.CheckStructure (BaseEntity entity, HitInfo info) [0x00121] in <6ee0a6feb19741f4b96ef4536d7367a5>:0
at Oxide.Plugins.SoloNotifier.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x0005f] in <6ee0a6feb19741f4b96ef4536d7367a5>:0
at Oxide.Plugins.SoloNotifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <6ee0a6feb19741f4b96ef4536d7367a5>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

crunch

Posted

50 minutes ago, Shoyqn said:

Failed to call hook 'OnEntityTakeDamage' on plugin 'SoloNotifier v0.8.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SoloNotifier.CheckStructure (BaseEntity entity, HitInfo info) [0x00121] in <6ee0a6feb19741f4b96ef4536d7367a5>:0
at Oxide.Plugins.SoloNotifier.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x0005f] in <6ee0a6feb19741f4b96ef4536d7367a5>:0
at Oxide.Plugins.SoloNotifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <6ee0a6feb19741f4b96ef4536d7367a5>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

Thanks mate, I’ll take a look

crunch

Posted

2 hours ago, Shoyqn said:

Failed to call hook 'OnEntityTakeDamage' on plugin 'SoloNotifier v0.8.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SoloNotifier.CheckStructure (BaseEntity entity, HitInfo info) [0x00121] in <6ee0a6feb19741f4b96ef4536d7367a5>:0
at Oxide.Plugins.SoloNotifier.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x0005f] in <6ee0a6feb19741f4b96ef4536d7367a5>:0
at Oxide.Plugins.SoloNotifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <6ee0a6feb19741f4b96ef4536d7367a5>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

Can't seem to replicate this but I've put in some extra checks, I'll upload that version soon. Are you running anything specific on your server, plugins wise that might contribute to this?

Shoyqn

Posted

I will put your new version I will tell you again if this product, otherwise I use Anti Noob Raid

  • Like 1
Shoyqn

Posted

18/10 20:22:28 | Failed to call hook 'OnEntityTakeDamage' on plugin 'SoloNotifier v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SoloNotifier.CheckStructure (BaseEntity entity, HitInfo info) [0x00143] in <50cabfb2be6640d292e7c98e722f426b>:0
at Oxide.Plugins.SoloNotifier.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x0005f] in <50cabfb2be6640d292e7c98e722f426b>:0
at Oxide.Plugins.SoloNotifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <50cabfb2be6640d292e7c98e722f426b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

crunch

Posted

3 hours ago, Shoyqn said:

18/10 20:22:28 | Failed to call hook 'OnEntityTakeDamage' on plugin 'SoloNotifier v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SoloNotifier.CheckStructure (BaseEntity entity, HitInfo info) [0x00143] in <50cabfb2be6640d292e7c98e722f426b>:0
at Oxide.Plugins.SoloNotifier.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x0005f] in <50cabfb2be6640d292e7c98e722f426b>:0
at Oxide.Plugins.SoloNotifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <50cabfb2be6640d292e7c98e722f426b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

Interesting, I just can't seem to get this to occur. Do you happen to know what's happening at the time when the error pops up?

Shoyqn

Posted

i guess raid people

crunch

Posted (edited)

43 minutes ago, Shoyqn said:

i guess raid people

Great, thanks 😄
Ok well if you want to hit me up in discord I can send you a version with some logging to try and catch the element that's complaining.

crunch#0222

Edited by crunch
Kurucz Roland

Posted

its a great plugin ! Can u make this to show how many player live in the base ? Not just like solo player 🙂

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 2
  • Confused 1

crunch's Collection

User Feedback

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

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.