Jump to content

Duplication bug

Work in Progress 2.0.3 Next Version

RustyW
RustyW

Posted

Some players get stuck in the UI once they try to remove their quarry or pump. They end up spamming the accept button, and the only way to get out is to relog the game. This creates a duplication bug where you get an extra quarry or pump.

You can also reproduce the bug by:
- Open controls
- Press remove
- When pressing the Accept button, spam your left click mouse button very fast.

This error drops during duplication:

Failed to call hook 'CMD_InterfaceActions' on plugin 'aQuarry v2.0.3' (ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index)
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
  at Oxide.Plugins.aQuarry.CMD_InterfaceActions (ConsoleSystem+Arg arg) [0x00412] in <6284c528b47e4d2e86ad198d5e54f3b8>:0
  at Oxide.Plugins.aQuarry.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01330] in <6284c528b47e4d2e86ad198d5e54f3b8>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d82f1fa409f84967ab685a3dbdd116ae>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <2a1b2b9b0c9d45ea87d32bff811299cc>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <2a1b2b9b0c9d45ea87d32bff811299cc>:0

AvG Лаймон

Posted

Thanks for the detailed information. I'll definitely check it out.

  • Like 1
AvG Лаймон

Posted

I couldn't reproduce this bug in any way, I suspect that the reason is the very low fps of your server. However, I will add closeui before any action with quarry. This should help you.

AvG Лаймон

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to Next Version

RustyW

Posted

Sorry for the late reply. I had some family situation going on. We could reproduce it even on an empty test server with 60 fps (it is limited to 60). Thanks for considering adding this option, though. I appreciate it!

AvG Лаймон

Posted

As it turned out, not every player can take advantage of this bug. However, we have already found a solution. It will be released in the next update. If you need a more urgent solution, you can write to me personally in discord and I will send you a fix.

  • Love 1
RustyW

Posted

Thank you! I appreciate it!

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.