bugFreeciv - Bugs: bug #18427, Client access to events before...

Show feedback again

bug #18427: Client access to events before current turn after connect time

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Tue Jul 26 23:19:08 2011  
Category: generalSeverity: 1 - Wish
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue Jul 26 23:19:08 2011, original submission:

Currently, the server squirts the contents of the event cache are squirted down to the client at connect time, but after that, it's up to the client to manage its messages. Clients' message management at the moment is fairly simple.

This means that, for instance, if the player failed to read all the messages in the message window before hitting Turn Done, they can't get the messages back, except they can by disconnecting and reconnecting, which seems unnecessarily circuitous. Debian bug #631775 expresses annoyance at this.

A couple of possible solutions:

  • Quick and dirty: add a server command that squirts the event cache contents at the client on demand. Could have an argument for how much of it to squirt. Probably results in out-of-order and confusing messages in the client. Could perhaps be implemented in S2_3.
  • Deluxe: clients grow a UI to look at message history on a per-turn basis, while focusing on the current turn's messages; the model behind this is populated by the server squirting the event cache at connect; thereafter, clients manage it, moving old messages into old tabs or whatever rather than deleting them outright. Probably requires network change to tag messages with machine-readable turn number or similar, so not for S2_3. Probably doesn't need new fetch-cache-on-demand command on server, as clients shouldn't miss anything.

(I haven't thought about how to manage chat history.)

Jacob Nevins <jtn>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jtn (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup