Jump to content

Johnnathan Wick

Member
  • Posts

    20
  • Joined

  • Last visited

Everything posted by Johnnathan Wick

  1. Johnnathan Wick

    bugs

    ShoppyStock.json BraZ.json
  2. Johnnathan Wick

    bugs

    Thank you for getting back to me so quickly. You are absolutely right, finding the root cause is much better. I have attached my configuration file and the data files as requested. Regarding the item listings and when it happens: I've been analyzing my server logs and I noticed a clear pattern. The error triggers when players are interacting with the UI very quickly, specifically right after an offer is fully purchased or removed. For example, looking at my console logs: A player is viewing a specific buy/sell offer (e.g., battery.small or a custom item like sticks with skin 3718987801). The player clicks purchase (stock buySellOffer purchase), and the transaction completes successfully (the offer is fulfilled and removed from the active list). Immediately after (in the exact same second), the player keeps spamming/clicking UI buttons like increase, decrease, or typing an amount (stock buySellOffer setItemAmount ...). The server then throws the IndexOutOfRangeException at UpdateBuySellOfferDetailsUI because the UI hasn't refreshed fast enough and is trying to access the index of the offer that no longer exists in the collection. It happens across multiple different items, not just one specific listing. It's essentially a UI desync when players spam clicks on the menu while buying/selling. I've attached the files. Let me know if you need any more logs or tests from my side! Thanks again for the great support. BraZ.json
  3. Johnnathan Wick

    bugs

    Hello! First of all, thank you for the great plugin. I'm using it on an active server, but we are currently experiencing a massive console spam issue related to the Buy/Sell Offers UI, which is causing performance drops. Here is the exact error spamming our console: Plaintext ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index And the Oxide debug log points directly to this method: Plaintext Failed to call hook 'ShoppyStockConsoleCommand' on plugin 'ShoppyStock v2.1.4' (IndexOutOfRangeException: Index was outside the bounds of the array.) at Oxide.Plugins.ShoppyStock.UpdateBuySellOfferDetailsUI (BasePlayer player, System.Int32 newIndex) [0x00236] at Oxide.Plugins.ShoppyStock.ShoppyStockConsoleCommand (ConsoleSystem+Arg arg) Context: This seems to trigger when players are interacting with the stock market UI (specifically checking buy/sell offer details). It looks like newIndex is falling out of bounds—possibly when an offer is purchased/removed while someone else is viewing it, or if they click through the UI too quickly. Could you please add a quick bounds check (e.g., if (newIndex < 0 || newIndex >= list.Count) return;) inside the UpdateBuySellOfferDetailsUI method in the next update to prevent this error loop? Thanks for your time and for the awesome work!
  4. Johnnathan Wick

    bugs

    I use the SortButton plugin, but I've just turned off the function.
  5. Johnnathan Wick

    bugs

    The player who reported this to me said that he clicks the sort button several times when the animal is in the gestation timer, and soon after, millions of animals are born.
  6. Johnnathan Wick

    bugs

    Yes, the bug is happening with the sort button, sorry for the delay.
  7. Johnnathan Wick

    bugs

    I found a bug that can break servers: when you put food out and a baby animal spawns, if you click the sort button multiple times and wait a few seconds, it will spawn an infinite number of animals.
  8. Johnnathan Wick

    bugs

    On my server I have special weapons and armor, this is an event where they will farm kills for their weapons. There comes a point when the players just sit in front of the Chinook and kill all the bots before they land from the helipad, some even manage to blow up the Chinook.
  9. Johnnathan Wick

    bugs

    Okay, but is there a way to configure only the event box times? Because 10 minutes for other PvE server events is a very long wait for players, do you understand this problem?
  10. Johnnathan Wick

    bugs

    Failed to run a 0.10 timer in 'HeavyRig v1.9.6' (NullReferenceException: ) at (wrapper managed-to-native) UnityEngine.GameObject.get_transform(UnityEngine.GameObject) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.PatrolHelicopterAI.FireRocket_Patch1(PatrolHelicopterAI,UnityEngine.Vector3) at Oxide.Plugins.HeavyRig+<>c__DisplayClass76_0.b__2 () [0x00016] in <8eebd78690704b6ea7757de00a46e284>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <112d89ea5d3348c8b949af0ab1a866d2>:0 Maybe this will help.
  11. Johnnathan Wick

    bugs

    Okay, let's go: 1 - The map isn't custom. 2 - On both oil rigs. 3 - Apparently all the cards. 4 - The server has the box time modified to 10 seconds. 5 - I noticed that the Chinooks arrive in a disorganized way, almost one on top of the other. Braldey spawned along with the arrival of the Chinooks, the MLR attack, and the helicopter patrol, and this caused damage to the Chinooks and bots themselves. current config. { "Enable HardMode mode?": false, "Enable Card spawn?": true, "Drop Settings": [ { "Object Short prefab name": "crate_elite", "Minimum item to drop": 1, "Maximum item to drop": 1, "Item Drop Chance": 10.0 }, { "Object Short prefab name": "codelockedhackablecrate", "Minimum item to drop": 1, "Maximum item to drop": 1, "Item Drop Chance": 10.0 } ], "Card Name": "Normal Wave Card", "Hard Card Name": "Hard Wave Card", "Extreme Card Name": "Extreme Wave Card", "Remove Npc Corpses?": true, "Presentage chance to drop loot bag?": 20.0, "Remove Heavy Scientists after Oilrig reset?": true, "Use Extra Loot System?": true, "Spawn HardCard In Normal Mode only?": true, "Spawn Cards in ExtraLoot?": true, "Set all crate to Extra Loot? (False will pick one)": false, "Only use Extra Loot On Large OilRig?": false, "Allow Cards on Large OilRig?": true, "Allow Cards on Small OilRig?": true, "Extra Events Config": { "Mlrsrocketamount": 12 }, "Hard Mode Extra Loot Table": [ { "Short Prefab Name": "scrap", "Minimum Amount": 500, "Maximum Amount": 1500, "Skin ID": 0, "Chance": 75 }, { "Short Prefab Name": "ammo.rocket.basic", "Minimum Amount": 2, "Maximum Amount": 4, "Skin ID": 0, "Chance": 50 } ], "Extreme Mode Extra Loot Table": [ { "Short Prefab Name": "explosive.timed", "Minimum Amount": 5, "Maximum Amount": 10, "Skin ID": 0, "Chance": 60 }, { "Short Prefab Name": "m249", "Minimum Amount": 1, "Maximum Amount": 1, "Skin ID": 0, "Chance": 30 }, { "Short Prefab Name": "l96", "Minimum Amount": 1, "Maximum Amount": 1, "Skin ID": 0, "Chance": 40 } ] }
  12. Johnnathan Wick

    bugs

    For some reason, some hackable crates don't open, and the Chinooks get stuck in the air. You could make the Chinooks indestructible or create some kind of defense system against this, despawning the Chinooks and the crates. Currently, I have to despawn the crates manually, and the Chinooks don't leave the map if I restart the server. If possible, leave the options for secondary events like MLRs, helicopter, Bradley, and F-15 attack in the settings as true or false, even though I configure them not to happen, they still occur. Thank you for your attention.

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.5m
Total downloads
Customers
11.3k
Customers served
Files Sold
161.6k
Total sales
Payments
3.5m
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.