SilenceIsFatto / A3-Antistasi-Ultimate

Antistasi Ultimate - Discord https://discord.gg/antistasiultimate
https://antistasiultimate.com
Other
54 stars 38 forks source link

[Bug]: Selling at arms dealer can lag, hang server, freeze player's clients. #393

Open PineCone227 opened 6 days ago

PineCone227 commented 6 days ago

Describe the bug

Selling large quantities of weapons to the arms dealer (50+, with critical issues at 100+) has the capability to lag an entire dedicated server for times between several seconds to as long as several minutes (currently sitting staring at a server console that hasn't moved for the past 28 minutes, but I'd be willing to agree I went a bit overboard with trying to sell fast). The amount of time it takes to sell seems to increase exponentially the higher the quantity. While the sale operation is being processed, connected clients can still sometimes move around, but no objects around them will synced or simulated. Occasionally, it can lead to a complete freeze of a game client requiring restart.

Server specs: I7-9700K 32Gb DDR4-3200 Arma 3 Windows DS running on SSD

Notes: -Running with 3 headless clients attached

How to reproduce

Prerequisites:

Issue reproduction:

  1. Select "Only show what the player can sell"
  2. Select loaded container
  3. Select weapon(item) from list, type in large value (e.g 75)
  4. Press "Sell"
  5. Transaction will not trigger immediately, until the "sold" sound and chat notification appears, no sim on the server's side works. Performing during a firefight will freeze all AI units involved in place.

Version

v11.2.1

Have you altered the code?

No

What i have changed

No response

Map

Altis

What server?

Private dedicated server with Headless client(s)

Time bug occured (Server time/UTC)

No response

Mods

<?xml version="1.0" encoding="utf-8"?>
<html>
  <!--Created by Arma 3 Launcher: https://arma3.com-->
  <head>
    <meta name="arma:Type" content="list" />
    <meta name="generator" content="Arma 3 Launcher - https://arma3.com" />
    <title>Arma 3</title>
    <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css" />
    <style>
body {
    margin: 0;
    padding: 0;
    color: #fff;
    background: #000;   
}

body, th, td {
    font: 95%/1.3 Roboto, Segoe UI, Tahoma, Arial, Helvetica, sans-serif;
}

td {
    padding: 3px 30px 3px 0;
}

h1 {
    padding: 20px 20px 0 20px;
    color: white;
    font-weight: 200;
    font-family: segoe ui;
    font-size: 3em;
    margin: 0;
}

em {
    font-variant: italic;
    color:silver;
}

.before-list {
    padding: 5px 20px 10px 20px;
}

.mod-list {
    background: #222222;
    padding: 20px;
}

.dlc-list {
    background: #222222;
    padding: 20px;
}

.footer {
    padding: 20px;
    color:gray;
}

.whups {
    color:gray;
}

a {
    color: #D18F21;
    text-decoration: underline;
}

a:hover {
    color:#F1AF41;
    text-decoration: none;
}

.from-steam {
    color: #449EBD;
}
.from-local {
    color: gray;
}

</style>
  </head>
  <body>
    <h1>Arma 3 Mods</h1>
    <p class="before-list">
      <em>To import this preset, drag this file onto the Launcher window. Or click the MODS tab, then PRESET in the top right, then IMPORT at the bottom, and finally select this file.</em>
    </p>
    <div class="mod-list">
      <table>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">ace</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=463939057" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=463939057</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">ACE No Uniform Restrictions</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2202413047" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=2202413047</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">ACE Vehicle Medical</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=1911374016" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=1911374016</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Animate - Rewrite</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=3283612524" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=3283612524</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Animated Recoil coefficient changer</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2623341670" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=2623341670</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Antistasi Ultimate - Mod</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=3020755032" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=3020755032</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Arsenal Search</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=2060770170" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=2060770170</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">CBA_A3</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=450814997" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=450814997</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">CUP Units</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=497661914" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=497661914</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">CUP Vehicles</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=541888371" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=541888371</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">CUP Weapons</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=497660133" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=497660133</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Death and Hit reactions</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2993442344" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=2993442344</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Drongo's Better AI Gunners</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2917699577" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=2917699577</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">dzn Magnifier2PIP</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=3134718662" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=3134718662</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Enhanced Movement</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=333310405" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=333310405</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Enhanced Movement Rework</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2034363662" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=2034363662</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">GX - Net Mask</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2929366693" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=2929366693</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">KJW's Two Primary Weapons</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2893363164" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=2893363164</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">KJW's Two Secondary Weapons</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=3018159841" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=3018159841</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Loot To Vehicle for ACE Extended</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=3212423862" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=3212423862</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Reaction Forces - Creator DLC Compatibility Data for Non-Owners</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=3150497912" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=3150497912</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Simple Armbands</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2778578325" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=2778578325</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Speshal Core</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=3283642267" data-type="Link">https://steamcommunity.com/sharedfiles/filedetails/?id=3283642267</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Western Sahara - Creator DLC Compatibility Data for Non-Owners</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=2636962953" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=2636962953</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">WMO - Walkable Moving Objects</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=925018569" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=925018569</a>
          </td>
        </tr>
        <tr data-type="ModContainer">
          <td data-type="DisplayName">Zeus Enhanced</td>
          <td>
            <span class="from-steam">Steam</span>
          </td>
          <td>
            <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=1779063631" data-type="Link">http://steamcommunity.com/sharedfiles/filedetails/?id=1779063631</a>
          </td>
        </tr>
      </table>
    </div>
    <div class="footer">
      <span>Created by Arma 3 Launcher by Bohemia Interactive.</span>
    </div>
  </body>
</html>

Additional context

No response