Summary: With the gamepad UI, Warrior Charge cast on a soft-targeted enemy does not move the character. The server still applies Charge (rage gained, enemy stunned), so client and server seem to disagree about where the character is. Charge on a hard target (selected with the right shoulder button) works normally.
Steps
Gamepad UI on, Warrior with Charge, out of combat.
Let soft targeting pick an enemy in Charge range, without hard-targeting it.
Cast Charge.
Expected: the character runs to the enemy, as with a hard target.
Actual
The character stays where it is.
Rage is gained and the enemy is stunned.
A neutral mob does not fight back unless I walk up to it.
An aggressive mob attacks me "remotely", from where it stands, as if I were next to it. That looks like the server moved my character but the client never showed the move.
What I tried
GetCVar("SoftTargetForce") printed 0.
With /console SoftTargetForce 1, soft-target Charge still did not move me. I don't know whether that setting made the soft target a real target on this client.
Possible cause (not verified)
Hard targeting sends CMSG_SET_SELECTION, which sets current_selection in native/world_translation.cpp (around line 2894). A soft-target cast doesn't: the server learns the target only from the cast. Since the stun and rage show the server accepted the Charge on that enemy, the difference seems to be in the movement that comes back to the client. Perhaps something on the gateway's server-to-client movement path, or the client, expects the charge target to match the selected unit.
Suggested fixes (not tested)
Find out why the movement is lost: log the server-to-client movement for the player's Charge with a hard target and with a soft target, and compare what the gateway sends to the client.
If the selection is the difference: when a cast carries a hostile unit that is not current_selection, send that unit to the server as the selection before the cast, which is what hard targeting already does. That could be limited to Charge-type spells (Charge, and probably Intercept, which I haven't tested).
Setup: client 1.60.1.70334 with the latest OctoUpdater steps, Linux with GE-Proton, Switch Pro Controller over Bluetooth with PROTON_ENABLE_HIDRAW=0x057E/0x2009, Nintendo layout on, no controller add-ons. Happy to run any test or capture a log you need.
**Summary:** With the gamepad UI, Warrior **Charge** cast on a **soft-targeted** enemy does not move the character. The server still applies Charge (rage gained, enemy stunned), so client and server seem to disagree about where the character is. Charge on a **hard target** (selected with the right shoulder button) works normally.
**Steps**
1. Gamepad UI on, Warrior with Charge, out of combat.
2. Let soft targeting pick an enemy in Charge range, without hard-targeting it.
3. Cast Charge.
**Expected:** the character runs to the enemy, as with a hard target.
**Actual**
- The character stays where it is.
- Rage is gained and the enemy is stunned.
- A neutral mob does not fight back unless I walk up to it.
- An aggressive mob attacks me "remotely", from where it stands, as if I were next to it. That looks like the server moved my character but the client never showed the move.
**What I tried**
- `GetCVar("SoftTargetForce")` printed `0`.
- With `/console SoftTargetForce 1`, soft-target Charge still did not move me. I don't know whether that setting made the soft target a real target on this client.
**Possible cause (not verified)**
Hard targeting sends `CMSG_SET_SELECTION`, which sets `current_selection` in `native/world_translation.cpp` (around line 2894). A soft-target cast doesn't: the server learns the target only from the cast. Since the stun and rage show the server accepted the Charge on that enemy, the difference seems to be in the movement that comes back to the client. Perhaps something on the gateway's server-to-client movement path, or the client, expects the charge target to match the selected unit.
**Suggested fixes (not tested)**
1. Find out why the movement is lost: log the server-to-client movement for the player's Charge with a hard target and with a soft target, and compare what the gateway sends to the client.
2. If the selection is the difference: when a cast carries a hostile unit that is not `current_selection`, send that unit to the server as the selection before the cast, which is what hard targeting already does. That could be limited to Charge-type spells (Charge, and probably Intercept, which I haven't tested).
Setup: client 1.60.1.70334 with the latest OctoUpdater steps, Linux with GE-Proton, Switch Pro Controller over Bluetooth with `PROTON_ENABLE_HIDRAW=0x057E/0x2009`, Nintendo layout on, no controller add-ons. Happy to run any test or capture a log you need.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary: With the gamepad UI, Warrior Charge cast on a soft-targeted enemy does not move the character. The server still applies Charge (rage gained, enemy stunned), so client and server seem to disagree about where the character is. Charge on a hard target (selected with the right shoulder button) works normally.
Steps
Expected: the character runs to the enemy, as with a hard target.
Actual
What I tried
GetCVar("SoftTargetForce")printed0./console SoftTargetForce 1, soft-target Charge still did not move me. I don't know whether that setting made the soft target a real target on this client.Possible cause (not verified)
Hard targeting sends
CMSG_SET_SELECTION, which setscurrent_selectioninnative/world_translation.cpp(around line 2894). A soft-target cast doesn't: the server learns the target only from the cast. Since the stun and rage show the server accepted the Charge on that enemy, the difference seems to be in the movement that comes back to the client. Perhaps something on the gateway's server-to-client movement path, or the client, expects the charge target to match the selected unit.Suggested fixes (not tested)
current_selection, send that unit to the server as the selection before the cast, which is what hard targeting already does. That could be limited to Charge-type spells (Charge, and probably Intercept, which I haven't tested).Setup: client 1.60.1.70334 with the latest OctoUpdater steps, Linux with GE-Proton, Switch Pro Controller over Bluetooth with
PROTON_ENABLE_HIDRAW=0x057E/0x2009, Nintendo layout on, no controller add-ons. Happy to run any test or capture a log you need.