Jump to content

FknWolf

Member
  • Posts

    10
  • Joined

  • Last visited

Everything posted by FknWolf

  1. FknWolf

    Realpve not working

    i just recently swapped my server to carbon and i am having issues with the plugin, pve is not working at all and players are still able to kill each other. i dont see any errors or nothing. is there any suggestions or ideas you may have thats stopping this from working
  2. Thank you
  3. On oxide, I get this error when trying to load the plugin: [CSharp] Started Oxide.Compiler v successfully Error while compiling CaseSystem: A constant value is expected | Line: 857, Pos: 18 The compile error is coming from this block: switch (arg.Args[0]) { case "SELL": arg.Args[0] is not being treated cleanly as a string by the Oxide compiler, so it complains at the first string case. I patched it to force the console argument into a string first: var action = arg.Args != null && arg.Args.Length > 0 ? arg.Args[0].ToString() : string.Empty; switch (action) { But then upon reload I got: [CSharp] Started Oxide.Compiler v successfully Error while compiling CaseSystem: Argument 1: cannot convert from 'Facepunch.StringView' to 'string' | Line: 861, Pos: 61 The specific line is this pattern: var id = arg.Args[1]; var reward = _config.RewardList.FirstOrDefault(p => p.RewardID == id); arg.Args[1] is now a Facepunch.StringView, but RewardID is a string, so the compiler will not compare them directly. I patched the whole console command section properly this time by converting all arg.Args values into a normal string[] first: var args = arg.Args == null ? new string[0] : arg.Args.Select(x => x.ToString()).ToArray(); this fixed it, but thought you might want to take a look at it CaseSystem_patched_v3.cs
  4. FknWolf

    Offering Portal

    How to install?
  5. FknWolf

    Quest System

    Im not sure if i am being stupid, but when testing /quest says i dont have permission So I am looking through the docs to see what permissions I need to give to default / admin and I cannot find a list anywhere at all

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.9m
Total downloads
Customers
11.9k
Customers served
Files Sold
168.8k
Total sales
Payments
3.7m
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.