Jump to content

Console Err

Work in Progress 2.1.12

Pro100Razor111
  • in Skills
Pro100Razor111

Posted

[08:41:42]Failed to call hook 'CmdConsoleSkills' on plugin 'Skills v2.1.12' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
  at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000f9] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.String.Format (System.String format, System.Object[] args) [0x00020] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Plugins.Skills.Msg (System.String key, System.String userid, System.Object[] obj) [0x00016] in <55a41c5fd88e4b75b6f84b4273608ab8>:0 
  at Oxide.Plugins.Skills.SendDiscordNotification (BasePlayer player, System.Int32 skillId, System.Int32 level) [0x00084] in <55a41c5fd88e4b75b6f84b4273608ab8>:0 
  at Oxide.Plugins.Skills.CmdConsoleSkills (ConsoleSystem+Arg arg) [0x00680] in <55a41c5fd88e4b75b6f84b4273608ab8>:0 
  at Oxide.Plugins.Skills.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x03420] in <55a41c5fd88e4b75b6f84b4273608ab8>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 

Hello, this error appears when reaching level 10 of each skill!
2. Notifications are not being received in Discord.
3. In the progress bar (where XP is displayed), there are decimal numbers with 12 digits after the decimal point. It would be better to round them to at least 2 decimal places, although I understand that using whole numbers could also be an option.

CONFIG:

 "Notification Settings": {
    "XP Received Notifications": {
      "Enabled": true,
      "Minimum XP to notify": 5,
      "Show XP Notification in Chat": true,
      "Show In-Game Note on XP Received": true,
      "Notification Cooldown (seconds)": 5
    },
    "Skill Learned Notifications": {
      "Enable Chat Notifications": false,
      "Minimum Level to Notify": 1,
      "Notify Only Max Levels": true,
      "Discord Settings": {
        "Enabled": true,
        "Webhook URL": "URL MY DISCORD WEBHOOK",
        "Embed Color": 3066993
      }
    }
  },

  • Curator
Mevent

Posted

Hey there, I sent over a test version to your DMs so we can get this sorted out!

Quick heads-up on the XP bar decimals, though: unfortunately, Rust only lets us display whole numbers there, so we're stuck with how it currently looks.

Check your inbox and let me know if the fix works!

  • Like 1
  • Curator
Mevent

Posted

Changed Status from Pending to Work in Progress

Pro100Razor111

Posted

Messages in Discord have started coming through.
After reaching level 10, there are no more errors in the console.

Pro100Razor111

Posted

Initially, the XP settings had values like 0.3 XP for certain actions. That’s what leads to this kind of balance. I fixed it on my end by using whole numbers everywhere, but this might be an issue for others.

photo_2026-04-05_20-00-50.jpg

  • Curator
Mevent

Posted

1 hour ago, Pro100Razor111 said:

Initially, the XP settings had values like 0.3 XP for certain actions. That’s what leads to this kind of balance. I fixed it on my end by using whole numbers everywhere, but this might be an issue for others.

photo_2026-04-05_20-00-50.jpg

We will leave a warning about this in the description.

  • Like 1

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.8k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.