View Issue Details

IDProjectCategoryView StatusLast Update
0008333Dwarf FortressItemspublic2015-03-20 17:27
ReporterPutnam Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformPCOSWindows 7OS Version64-bit
Product Version0.40.13 
Summary0008333: Units with effective STRENGTH of more than 2512195 cannot carry items without slowing to a crawl
DescriptionAny units that have more than 2512195 in their strength will have an adventure mode speed of 0.099 whenever they are carrying or wearing anything. All other strength effects work perfectly up to 414004168; the discrepancy is the main problem.
Steps To Reproduce1. Give a unit carrying an item or wearing clothes a strength of at least 2512195 (with a syndrome or any other method at your disposal)
2. Observe unit's movement speed.
Tagsattributes, Intentional/Expected?, inventory, weight

Activities

Quietust

2014-09-22 04:26

reporter   ~0030310

What sort of effective STRENGTH values do units attain during normal gameplay?

user6

2014-09-22 11:19

  ~0030316

Any reason to think this isn't simple integer overflow?

Quietust

2014-09-22 11:30

reporter   ~0030317

And even if it is, it's not clear whether or not this would ever occur during normal gameplay - it sounds like something that would only be possible with utterly ludicrous over-the-top modding, and trying to handle extreme corner cases like that probably isn't an efficient use of Toady's time.

Putnam

2014-09-30 01:05

reporter   ~0030459

The main problem is that this seems to have been introduced with the combat/movement speed split.

No reason to think it isn't simple integer overflow, but it *was* introduced recently (it wasn't in 0.34.11), which is an oddity. Not only that, but the overflow only affects carry weight (as far as testing showed), not any other effects of strength.

Zogundar

2015-03-20 17:25

reporter   ~0032385

I had this happen to me recently, but I had far lower strength according to gm-editor. I don't remember exact numbers unfortunately, but it was around 45-50 thousand.

I tried repeatedly lowering the number until my character was able to move normally again and then lowered the maximum strength value to avoid a repeat of the issue. Yet oddly it still happened again later at which point I lowered things even further. Maybe it's cumulative with some other sum that was still increasing? I won't swear to it but I think the body size number might have gone up a bit (Which was around 60-70 thousand.)

Add Note

Note

Issue History

Date Modified Username Field Change
2014-09-21 21:57 Putnam New Issue
2014-09-21 22:48 Putnam Tag Attached: attributes
2014-09-21 22:48 Putnam Tag Attached: inventory
2014-09-21 22:48 Putnam Tag Attached: weight
2014-09-22 04:26 Quietust Note Added: 0030310
2014-09-22 11:19 user6 Description Updated
2014-09-22 11:19 user6 Note Added: 0030316
2014-09-22 11:30 Quietust Note Added: 0030317
2014-09-22 17:53 user6 Tag Attached: Intentional/Expected?
2014-09-30 01:05 Putnam Note Added: 0030459
2015-03-20 17:25 Zogundar Note Added: 0032385