Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Failed assertion `retval != FPR_OK || psMove->numPoints > 0' #765

Closed
wzdev-ci opened this issue Jul 28, 2009 · 5 comments
Closed

Failed assertion `retval != FPR_OK || psMove->numPoints > 0' #765

wzdev-ci opened this issue Jul 28, 2009 · 5 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by dak180


SVN: 7914

Console message:

2009/07/28 6:27:46 PM [0x0-0x562161c].net.wz2100.Warzone[32869] error   |06:27:46: [fpathRoute] Assert in Warzone: macosx/../src/fpath.c:458 (retval != FPR_OK || psMove->numPoints > 0), last script event: 'N/A' 
2009/07/28 6:27:46 PM [0x0-0x562161c].net.wz2100.Warzone[32869] macosx/../src/fpath.c:458: failed assertion `retval != FPR_OK || psMove->numPoints > 0' 

built using Xcode 3.1.3

xcodebuild -project Warzone.xcodeproj -target Warzone -configuration Release

See attached crashlog and saved game.


Issue migrated from trac:765 at 2022-04-15 19:03:51 -0700

@wzdev-ci
Copy link
Contributor Author

dak180 uploaded file Warzone_2009-07-28-182746.crash (26.9 KiB)

Crash log

@wzdev-ci
Copy link
Contributor Author

dak180 uploaded file dks1.zip (196.2 KiB)

Saved 2 - 3 min before crash.

@wzdev-ci
Copy link
Contributor Author

Per set resolution to fixed

@wzdev-ci
Copy link
Contributor Author

Per changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Per commented


(In [7915]) Fix assert failure when paths are generated that are exactly 256 nodes long, and we try to store
this in our silly uchar path length variable. For now we need to cap path lengths to 255 because
of savegame compatibility. Also rewrote parts of the A* path handover code to get rid of some old
cruft. Closes #765

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant