HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Feature #850022
New action "Transport Embark"
0%
Related issues
History
#1
Updated by Sveinung Kvilhaugsvik over 2 years ago
- File 0001-New-action-Transport-Embark.patch 0001-New-action-Transport-Embark.patch added
- Status changed from In Progress to Resolved
#2
Updated by Sveinung Kvilhaugsvik over 2 years ago
- Status changed from Resolved to Closed
#3
Updated by Sveinung Kvilhaugsvik over 2 years ago
- Related to Feature #848637: New action "Transport Board" added
#4
Updated by Marko Lindqvist over 1 year ago
This would be the next commit to port to freeciv/freeciv.web. Any ideas how that should be done?
As far as I know web-client has no idea of native tiles, but has always just sent movement requests to server to block, or to convert to transport embarking. With this new action, the client would need to know when to request it.
For earlier unload / load actions that has not been a problem. Even with Disembark we do know that if we are currently transported, then any move would require Disembarking. Reverse is not true for - even when we are not currently transported, it's only a rare case when a move is meant to be Embarking.
#5
Updated by Sveinung Kvilhaugsvik over 1 year ago
Marko Lindqvist wrote:
just sent movement requests to server to block, or to convert to transport embarking.
Won't that just result in the action selection dialog popping up with embark as an alternative?
the client would need to know when to request it.
You could send a background request to the server and hook into handle_unit_actions() as its first user. (Remember to mark the request as background by setting disturb_player)
#6
Updated by Marko Lindqvist over 1 year ago
Sveinung Kvilhaugsvik wrote:
Marko Lindqvist wrote:
just sent movement requests to server to block, or to convert to transport embarking.
Won't that just result in the action selection dialog popping up with embark as an alternative?
Ok. So I just have to try to do the server update to that commit and see if it works, instead of worrying beforehand.