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 zoot)

Steps to reproduce:

  1. Build two markets, market A and market B.
  2. Draw a zig-zagging line of several rally points from market A to market B.
  3. 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.

http://trac.wildfiregames.com/raw-attachment/ticket/1821/screenshot0085.jpg

Attachments (1)

screenshot0085.jpg (86.5 KB ) - added by zoot 11 years ago.
Trader walking as the crow flies

Download all attachments as: .zip

Change History (10)

by zoot, 11 years ago

Attachment: screenshot0085.jpg added

Trader walking as the crow flies

comment:1 by zoot, 11 years ago

Description: modified (diff)

comment:2 by zoot, 11 years ago

Description: modified (diff)

comment:3 by leper, 11 years ago

Milestone: BacklogAlpha 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 Kieran P, 11 years ago

Milestone: Alpha 14Alpha 15

comment:5 by historic_bruno, 11 years ago

Owner: set to leper

comment:6 by leper, 10 years ago

Milestone: Alpha 15Alpha 16

in reply to:  3 ; comment:7 by mimo, 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.

in reply to:  7 comment:8 by leper, 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.

comment:9 by mimo, 10 years ago

Resolution: fixed
Status: newclosed

In 14697:

allow the possibility to define route with waypoints when doing trade, fixes #1207, #1821 and #1822

Note: See TracTickets for help on using tickets.