"You are asking too much" power assert failure #605
Comments
Per uploaded file Uncluttered version of the ticket contents |
Per changed priority from |
Per changed title from |
Per commented Also see #629 |
toy commented Replying to Warzone2100/old-trac-import#605 (comment:1):
I might be experiencing a similar problem:
|
toy commented Replying to Warzone2100/old-trac-import#605 (comment:2):
An "ok" fix?
|
Zarel commented Erm, no, that's completely the wrong way to go about it. usePower() should be rewritten not to assert when too much power is being asked for. |
toy commented Replying to Warzone2100/old-trac-import#605 (comment:4):
Why? What's checkPower() written for then? Sorry, I don't know how all the stats should be kept... but the comment "// Take off the power if available" kinda suggest that it's ok to not take power if it's not available (i.e. if it doesn't pass checkPower()). |
Zarel edited the issue description |
Per commented I believe the issue is that when power information goes out of sync (as it often does in MP games), then some players will appear to use more power than they have. Blocking their production requests will make the game go further out of sync. |
gitsvngateway changed status from |
gitsvngateway set resolution to |
gitsvngateway commented (In [8204]) Remove the "you are asking too much" power assert, as it is sometimes legitimate to ask for a lot of power (after lagging for a few seconds in multiplayer for example). Fixes bug 605 and fixes bug 401. From: Gerard Krol gerard_@gna.org |
cybersphinx changed milestone from |
cybersphinx commented Milestone 3.0 deleted |
keyword_power
resolution_fixed
type_bug
| by PerPlaying skirmish on Miza.
Issue migrated from trac:605 at 2022-04-15 18:52:12 -0700
The text was updated successfully, but these errors were encountered: