bugLiquid War 6 - Bugs: bug #34174, Delayed reaction of armies

 
 

bug #34174: Delayed reaction of armies

Submitted by:  Michael Raskin <d79240fd>
Submitted on:  Tue 30 Aug 2011 04:47:49 PM UTC  
 
Category: EngineSeverity: 3 - Normal
Status: FixedPrivacy: Public
Assigned to: Christian Mauduit <ufoot>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 01 Oct 2011 09:29:56 AM UTC, comment #5:

Several parameters were changed, including, but not limited to, how many internal messages are sent per second. Needs to be tested the way it is now to decide wether it's still unacceptable.

Christian Mauduit <ufoot>
Project AdministratorIn charge of this item.
Tue 30 Aug 2011 09:33:39 PM UTC, comment #4:

It helped a bit more. I can still observe some nervous reactions from LW6, but I have to try to observe them. Thanks.

Michael Raskin <d79240fd>
Tue 30 Aug 2011 09:00:46 PM UTC, comment #3:

Ha ha, OK, now a "decisive move of mouse" is something LW6 does handle badly. Indeed, it takes some time for the "gradient" to be updated. It can be tuned using arcane internal parameters, but the most important one is probably spreads-per-round, the default is 3, with your build the maximum is 12 (I just raised it to 24 for future versions).

You can try "liquidwar6 --spreads-per-round=12" and see if it's any better.

Other relevant parameter is "round-delta" but this one is really arcane, different values will yield different values on different maps. This is why, I guess, Kasper and I are trying to have a set of prepared maps with the right settings, those problems could typically be solved in advance, with per-map fine tuning.

Good luck,

Christian.

Christian Mauduit <ufoot>
Project AdministratorIn charge of this item.
Tue 30 Aug 2011 07:10:35 PM UTC, comment #2:

Tried short term solution... Result is strange.

On one hand, it feels better. On the other hand, if I have an army with a free side and do a decisive move of mouse, it still takes half a second for my army to react. The worst part - it is the same with bench-value of 100 and of 25.

Maybe full direction map update does take half a second in the worst case. But then I wonder how LW6 coped before.

Michael Raskin <d79240fd>
Tue 30 Aug 2011 06:24:37 PM UTC, comment #1:

OK, what usually happens is that the game is trying to go too fast, and can't catch up with imposed pace. This is to prepare net game, in a net game you must follow the pace whatever happens. By increasing game speed, I suspect you make things even worse, thus your instant but delayed moving scheme.

My (short term) suggestion: try to do as if your computer was slower, something like "liquidwar6 --bench-value=100" could do the trick on a recent computer.

Long term solution: optimize the game and have a better bench/scaling algorithm so that we don't fall in these cases.

Christian Mauduit <ufoot>
Project AdministratorIn charge of this item.
Tue 30 Aug 2011 04:47:49 PM UTC, original submission:

Version: 0.0.10beta (latest release)

What I do: move the cursor.
What I expect: armies start to go towards it.
What I see: armies wait for half a second before going there.

How do I interpret it: it looks like paths are updated once-in-map-crossing-time.

It may be a sensible optimization, but I feel like my computer would cope without it. Increasing speed works, but, unfortunately, that also means units are moving faster, so I see a small delay and then units nearly jump to new positions. It would be really nice to regulate this somehow in config.xml...

Michael Raskin <d79240fd>

 

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

Attach File(s):
   
   
Comment:
   

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 ufoot (Posted a comment)
  • -unavailable- added by d79240fd (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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 04 Oct 2011 08:22:50 AM UTCufootStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 01 Oct 2011 09:29:56 AM UTCufootStatusIn Progress=>Ready For Test
    Tue 30 Aug 2011 06:24:37 PM UTCufootStatusNone=>In Progress
      Assigned toNone=>ufoot

    Back to the top


    Powered by Savane 3.1-cleanup1