Ancient Warfare 2

Ancient Warfare 2

6M Downloads

Config option for ammo freezes client on server.

NoMoreUsernames999 opened this issue ยท 0 comments

commented

Context Environment

Minecraft version:
1.12.2

Ancient Warfare 2 version:
2.7.0.1038

Minecraft Forge version:
14.23.5.2859

If you are using a modpack, link to the pack:
https://www.curseforge.com/minecraft/modpacks/acrilon-empires

Expected Behavior

Using the option oversize_ammo_enabled=false prevents using shot sizes heavier than 10kg in siege weapons except the giant trebuchet. This should prevent putting the ammo in the siege weapon. In single player it works properly and prevents you from putting it in.

Current Behavior

While on the server however, if you repeatedly try to click the ammo in, or shift click it in, one of three things happens randomly:

  1. The ammo goes in.
  2. The ammo does not go in and is still held by your mouse. Putting it back into your inventory and then opening it again shows that The ammo is gone. And opening the cannon gui shows the ammo inside.
  3. The ammo goes into the gui, but also remains held by your mouse. Put the ammo back into your inventory. The ammo is now in the cannon and has been duplicated.
    The main issue with this is trying to select the ammo from the selection gui or using the change ammo keybinds to select it will freeze the client. No crash report. Nothing appears in the log, both client and server side. The game just stops responding and the client log stops printing.
    Not a big deal, I've re-enabled the option for oversized ammo for now. Just thought I would report it here.

Steps to Reproduce

  1. Set 'oversize_ammo_enabled=false' in vehicles config.
  2. Connect to a server and get a cannon and 15kg cannon balls.
  3. Repeatedly click the ammo into the gui or shift click it in.
  4. Try to use the ammo selection gui or switch ammo keybinds and freeze the client.