Opened 11 years ago
Closed 10 years ago
#1821 closed defect (fixed)
Lone traders fail to follow rally points
Reported by: | zoot | Owned by: | leper |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 16 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description (last modified by )
Steps to reproduce:
- Build two markets, market A and market B.
- Draw a zig-zagging line of several rally points from market A to market B.
- Train a trader in market A.
What happens:
The trader walks straight ("as the crow flies") from market A to market B.
What should happen:
The trader should follow the rally points.
Attachments (1)
Change History (10)
by , 11 years ago
Attachment: | screenshot0085.jpg added |
---|
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
comment:2 by , 11 years ago
Description: | modified (diff) |
---|
follow-up: 7 comment:3 by , 11 years ago
Milestone: | Backlog → Alpha 14 |
---|
Fixing this is just adding the cmd.queued parameter to the call to SetupTradeRoute in Commands.js, but I'll try to fix this and #1822 in one go.
comment:4 by , 11 years ago
Milestone: | Alpha 14 → Alpha 15 |
---|
comment:5 by , 11 years ago
Owner: | set to |
---|
comment:6 by , 10 years ago
Milestone: | Alpha 15 → Alpha 16 |
---|
follow-up: 8 comment:7 by , 10 years ago
Replying to leper:
Fixing this is just adding the cmd.queued parameter to the call to SetupTradeRoute in Commands.js, but I'll try to fix this and #1822 in one go.
With such a change, I think the trader will only follow the required path for the first journey, but when he'll come back and after, he'd go back to the straight route.? while requiring such a route would be useful to avoid ennemies, so all journeys should follow it.
comment:8 by , 10 years ago
Replying to mimo:
With such a change, I think the trader will only follow the required path for the first journey, but when he'll come back and after, he'd go back to the straight route.?
Currently yes, the wip patch at #1207 fixed that by introducing a cycle property that cycles some commands (walk, trade) that would make the trader follow that route every time.
Trader walking as the crow flies